CN110879685A - Interaction method of application program interface and electronic equipment - Google Patents
Interaction method of application program interface and electronic equipment Download PDFInfo
- Publication number
- CN110879685A CN110879685A CN201911070268.1A CN201911070268A CN110879685A CN 110879685 A CN110879685 A CN 110879685A CN 201911070268 A CN201911070268 A CN 201911070268A CN 110879685 A CN110879685 A CN 110879685A
- Authority
- CN
- China
- Prior art keywords
- target application
- interface
- application interface
- touch operation
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/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
- G06F3/0488—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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- 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
- G06F3/0488—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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—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 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 invention discloses an interaction method of an application program interface and electronic equipment, which are used for solving the problem of poor convenience in executing interaction operation on the application program interface. In the embodiment of the invention, first touch operation of a user on the target application interface is received, a card and an interaction area of the target application interface are displayed, and then the card of the target application interface is moved to the interaction area according to second touch operation of the user on the target application interface, so that the interaction interface of the target application interface is displayed according to a function corresponding to the interaction area. The embodiment of the invention is convenient for the user to execute interactive operation on the application interface which is currently displayed, the operation steps are simple and quick, and the use experience of the user is improved.
Description
Technical Field
The invention relates to the field of terminals, in particular to an interaction method of an application program interface and electronic equipment.
Background
Various application programs are often installed on the existing mobile terminal so as to meet various daily requirements of users. Since the requirements of different users are often different, the user usually performs personalized adjustment on the settings of the application according to actual needs. When a user needs to adjust the setting items of the application program, the user usually needs to enter the system setting first and then find the application program to be adjusted on the system setting interface, so as to enter the interface containing the setting items of the application program. Because the number of the application programs installed in the mobile terminal is large, a certain time is needed for finding the application program to be set from the system setting, the convenience is poor, and the operation is complicated.
How to conveniently and quickly execute interactive operation on an application program interface is a technical problem to be solved by the invention.
Disclosure of Invention
The embodiment of the invention aims to provide an interaction method of an application program interface and electronic equipment, which are used for solving the problem of poor convenience in executing interaction operation on the application program interface.
In a first aspect, an interaction method for an application program interface is provided, including:
receiving a first touch operation of a user on a target application interface, and displaying a card and an interaction area of the target application interface;
receiving a second touch operation of a user on a target application interface, and moving a card of the target application interface to the interaction area;
and displaying the interactive interface of the target application interface according to the function corresponding to the interactive area.
In a second aspect, an electronic device is provided, comprising:
the first receiving module is used for receiving a first touch operation of a user on a target application interface and displaying a card and an interaction area of the target application interface;
the second receiving module is used for receiving a second touch operation of a user on a target application interface and moving a card of the target application interface to the interaction area;
and the display module displays the interactive interface of the target application interface according to the function corresponding to the interactive area.
In a third aspect, an electronic device is provided, the electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method according to the first aspect.
In the embodiment of the invention, first touch operation of a user on the target application interface is received, a card and an interaction area of the target application interface are displayed, and then the card of the target application interface is moved to the interaction area according to second touch operation of the user on the target application interface, so that the interaction interface of the target application interface is displayed according to a function corresponding to the interaction area. The embodiment of the invention is convenient for the user to execute interactive operation on the application interface which is currently displayed, and the operation steps are simple and quick.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1a is a flowchart illustrating an interaction method of an application interface according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of an operation interface before a user performs a first touch operation by applying the interaction method of the application program interface according to the embodiment of the present invention;
fig. 1c is a schematic view of an operation interface after a user performs a sliding operation of a first touch operation by applying the interaction method of the application program interface according to the embodiment of the present invention;
fig. 1d is a schematic view of an operation interface after a user completes a first touch operation by applying the interaction method of the application program interface according to the embodiment of the present invention;
fig. 1e is a schematic view of an operation interface before a user performs a second touch operation by applying the interaction method of the application program interface according to the embodiment of the present invention;
fig. 1f is a schematic view of an operation interface after a user completes a second touch operation by applying the interaction method of the application program interface according to the embodiment of the present invention;
FIG. 2 is a schematic diagram of an operation trajectory of a user performing an operation of an interaction method of an application program interface according to an embodiment of the present invention;
FIG. 3a is a second flowchart illustrating an interaction method of an application program interface according to an embodiment of the invention;
FIG. 3b is a schematic diagram of an operation interface of a user performing a sliding operation of a preset distance by applying the interaction method of the application program interface according to the embodiment of the present invention;
FIG. 3c is a schematic diagram of an operation interface of an application program interface changing with a user sliding operation, to which an interaction method of the application program interface according to an embodiment of the present invention is applied;
FIG. 4a is a third flowchart illustrating an interaction method of an application interface according to an embodiment of the present invention;
FIG. 4b is a schematic diagram of an operation interface of a user performing a second touch operation by applying the interaction method of the application program interface according to the embodiment of the present invention;
FIG. 5a is a fourth flowchart illustrating an interaction method of an application interface according to an embodiment of the present invention;
FIG. 5b is a schematic diagram of an operation interface in which the distance between the application program interface and the interaction area is preset by applying the interaction method of the application program interface according to the embodiment of the present invention;
FIG. 6a is a fifth flowchart illustrating an interaction method of an application program interface according to an embodiment of the present invention;
FIG. 6b is a schematic diagram of an operation interface of a user clicking interface setting to which an interaction method of an application program interface according to an embodiment of the present invention is applied;
FIG. 6c is a schematic view of an operation interface after a user clicks a setting interface by applying the interaction method of the application program interface according to the embodiment of the present invention;
FIG. 7 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention. The reference numbers in the present invention are only used for distinguishing each step in the scheme, and are not used for limiting the execution sequence of each step, and the specific execution sequence is subject to the description in the specification.
In order to solve the problems in the prior art, the present invention provides an interaction method for an application interface, which is described in an embodiment of the present invention with an electronic device as an execution subject, and as shown in fig. 1a, the embodiment of the present invention includes the following steps:
s11: the method comprises the steps that electronic equipment receives first touch operation of a user on a target application interface, and a card and an interaction area of the target application interface are displayed;
s12: the electronic equipment receives a second touch operation of a user on a target application interface, and moves a card of the target application interface to the interaction area;
s13: and the electronic equipment displays the interactive interface of the target application interface according to the function corresponding to the interactive area.
In step S11, the target application interface may be an interface of an application being used by the user, and the received first touch operation performed on the target application interface by the user may be a touch operation performed on an area where a title in the target application interface is located. Fig. 1b is a schematic view of an application scenario according to an embodiment of the present invention, in which a user performs an operation on an application interface currently displayed on an electronic device. Wherein a target application title bar may be included in the target application interface. In step S11 of the present invention, the user can perform the first touch operation on the area where the title bar of the target application interface is located.
The first touch operation may include a long press, multiple continuous clicks, and the like, or may also include a preset gesture, for example, the preset gesture may be "M", and when the user draws "M" in an area where a title bar of the target application interface is located, it is determined that the user has performed the first touch operation on the target application interface. In this embodiment, it is assumed that the first touch operation is a long press operation. In practical applications, the determination time of the long press operation may be preset, for example, when the user presses the area where the title bar of the target application interface is located and the time of no movement reaches 2 seconds, it is determined that the user performs the long press operation.
Preferably, the first touch operation further includes a sliding operation, and a card of the target application interface can be displayed in the interface after the user performs the long-time pressing operation. The size of the card of the target application interface may be the same as the size of the original target application interface before the first touch operation is performed, and the card of the target application interface may also be a thumbnail status card smaller than the size of the original target application interface. The card can move with the user's operation when the user performs a slide operation. Referring to fig. 1c, it is shown that the user performs the long-press operation and then performs the sliding operation in the first direction, and the card of the target application interface moves in the first direction along with the sliding operation performed by the user.
In addition, after receiving the first touch operation performed by the user, the interaction area may also be displayed in the display area of the electronic device. Referring to fig. 1d, optionally, the area where the interaction area is located may be an area where the title bar of the target application program is located before the user performs the first touch operation. The interactive area may be displayed at any time during the first touch operation performed by the user, for example, after the long-press operation performed by the user and before the sliding operation performed by the user, or for example, after the sliding operation performed by the user and a certain distance along the first direction, the interactive area may be displayed.
Subsequently, in step S12, as shown in fig. 1e, the card of the target application interface is dragged to the interaction area according to the second touch operation of the user on the target application interface. The second touch operation may be a sliding operation, a track of the sliding operation may be as indicated by an arrow in fig. 1e, and the card of the target application interface may move along the sliding track of the sliding operation.
Then, step S13 is executed, and the electronic device displays an interactive interface of the target application interface according to the function corresponding to the interactive area. Specifically, the interactive interface may be displayed based on the second touch operation, the function corresponding to the interactive area, and the target application interface. Assuming that the second touch operation is a sliding operation, in step S13, the interactive interface of the target application interface may be displayed when the position of the sliding operation is within the interactive area, or may be displayed when the position at which the sliding operation ends is within the interactive area. If the user performs the touch operation by using a finger, the position of the sliding operation may be a position where the user's finger touches the screen, and the position where the sliding operation ends may be a position where the user last touches the screen before lifting the finger.
When the function corresponding to the interactive area is a setting function, the interactive interface of the target application interface may include a plurality of setting items, as shown in fig. 1f, which may be displayed in groups according to actual setting contents, and the user may quickly find a setting item desired to be modified according to a setting desired to be performed in groups.
In the embodiment of the invention, first touch operation of a user on the target application interface is received, a card and an interaction area of the target application interface are displayed, and then the card of the target application interface is moved to the interaction area according to second touch operation of the user on the target application interface, so that the interaction interface of the target application interface is displayed according to a function corresponding to the interaction area. The embodiment of the invention is convenient for the user to execute interactive operation on the application interface which is currently displayed, the operation steps are simple and quick, and the use experience of the user is improved.
Based on the solution provided by the above embodiment, preferably, the first touch operation and the second touch operation are two sub-operations in one touch operation.
In this embodiment, the user may continuously perform the first touch operation and the second touch operation, and may control the electronic device to display the interactive interface of the target application interface through one touch operation. Referring to fig. 2, a touch operation performed by a user in the interface may be, as shown by a one-way arrow in the figure, started from an area where a title bar of the target application interface is located, slide a certain distance in a direction away from the title bar of the target application interface, and then slide back to the area where the title bar of the target application interface is located.
Specifically, in one touch operation performed by the user, the portion of the touch operation from the start of the touch operation until the distance between the touch point position and the touch start point is equal to the preset distance may be a first touch operation, and after the first touch operation until the end of the touch operation may be a second touch operation. Assuming that the first direction is shown by a dotted arrow in the figure, the touch operation from the start of the touch operation until the distance from the touch point to the start point in the first direction is equal to the preset distance is the first touch operation, and after the first touch operation, the touch operation is ended to be the second touch operation. In addition, the boundary point between the first touch operation and the second touch operation may also be adjusted according to actual requirements, for example, a touch operation before the ordinate of the touch operation point in the display area of the electronic device meets a preset condition is the first touch operation, or an operation before the distance from the touch operation point to the center point of the title bar of the target application interface is equal to a preset distance is the first touch operation.
According to the scheme provided by the embodiment of the invention, a user can control the electronic equipment to display the interactive interface of the target application interface through one-time coherent touch operation, the operation process is simple and rapid, the fluency is strong, and the use experience of the user is improved.
Based on the solution provided by the above embodiment, as shown in fig. 3a, the step S11 includes the following steps:
s111: after the sliding distance of the first touch operation along the first direction is equal to a preset distance, the electronic device displays the interaction area, wherein the size of the card of the target application interface changes along with the sliding distance of the first touch operation along the first direction.
Referring to fig. 3b, the received first touch operation performed by the user is shown as a solid one-way arrow in the figure, a sliding distance of the first touch operation in the first direction reaches a preset distance, and at this time, an interaction area is displayed in the interface. The scheme of the invention can avoid the overlapping of the interaction area and the target application interface, and can ensure that the interface display is clear. In addition, the interactive region can be displayed in an animation mode when being displayed, for example, the interactive region is displayed through the effects of fading in, blinds, grids and the like, and the user experience is optimized.
In the process of executing the first touch operation by the user, the size of the card of the target application interface changes along the sliding distance of the first touch operation along the first direction. Preferably, the size of the card of the target application interface is inversely related to the sliding distance of the first touch operation along the first direction. Optionally, the size of the card of the target application interface is reduced to 80% of the original size of the target application interface. As shown in fig. 3c, the first direction is shown as a dotted arrow in the figure, and during the first touch operation performed by sliding the user along the first direction, the size of the card of the target application interface decreases with the increase of the sliding distance.
By the scheme of the embodiment, the interface display effect can be optimized, and the operation progress is fed back to the user in a mode of displaying the interaction area and changing the card size of the target application interface. The user can know the current operation stage according to the interaction area displayed in the interface and the size of the card of the target application interface so as to adjust the operation executed subsequently. For example, after the interaction area is displayed in the interface, the user may slide along a direction opposite to the first direction to perform a second touch operation to drag a card of the target application interface into the interaction area.
Based on the solution provided by the foregoing embodiment, as shown in fig. 4a, the foregoing step S12 preferably includes:
s121: and the electronic equipment moves the card of the target application interface to the interaction area along with the touch track of the second touch operation.
In the process of executing the second touch operation by the user, the card of the target application interface may move along the touch point position of the second touch operation, that is, along the actual touch trajectory of the second touch operation. In addition, the card of the target application interface can also be moved to the interaction area along a straight line, an arc line or other irregular curves according to the position of the second touch operation.
In addition, the card of the target application interface can be moved to the interaction area when the second touch operation meets the preset condition. For example, when the second touch operation is an operation of rapidly sliding to the interaction area and the sliding distance satisfies the preset distance, the card of the target application interface is dragged to the interaction area. The endpoint of the second touch operation may be within the interaction area or outside the interaction area. As shown in fig. 4b, the second touch operation may include a quick slide operation in an arrow direction, and an end point of the slide operation may be outside the interaction area, at which time the card of the target application interface may be moved to the interaction area.
According to the scheme provided by the embodiment of the invention, the card of the target application interface is moved to the interaction area in the process of executing the second touch operation, so that the interface controllability is improved, a user can adjust the touch operation at any time according to actual requirements, and the user experience is optimized.
Based on the solution provided by the foregoing embodiment, preferably, as shown in fig. 5a, the foregoing step S13 includes:
s131: and when the distance from the position of the card of the target application interface to the interaction area is smaller than or equal to the preset distance, the electronic equipment displays the interaction interface of the target application interface.
The preset distance in this embodiment may be preset according to an actual situation, where the distance from the position of the card of the target application interface to the interaction area may be a straight-line distance between one side of the interaction area close to the card of the target application interface and one side of the card of the target application interface close to the interaction area, and the interface shown in fig. 5b is an interface where the distance is equal to the preset distance. At this time, the interactive interface of the target application interface can be displayed in the interface, so that the user can further operate the interactive interface.
By the scheme provided by the embodiment of the invention, the interactive interface of the target application interface can be displayed when the distance from the position of the card of the target application interface to the interactive area is less than or equal to the preset distance, so that the action amplitude of the actual operation of a user is reduced, and the user can conveniently and quickly operate and control the target application interface.
Based on the solutions provided by the above embodiments, preferably, the interaction interface of the target application interface may be a setting interface of the target application interface, and the setting interface of the target application interface may include at least one setting sub-option corresponding to the target application interface and a setting item corresponding to the at least one setting sub-option.
Based on the solution provided by the foregoing embodiment, preferably, as shown in fig. 6a, the interactive interface is a setting interface, and in the step S13, the method further includes the following steps:
s14: and setting the target application by the electronic equipment based on the setting operation of the user on the interactive interface.
The setting operation of the user on the setting interface may include at least one click operation, the setting interface may include a plurality of setting items, and for an application including a large number of setting items, a plurality of setting tabs may be displayed in the setting interface, and fig. 6b illustrates a setting interface including an "interface setting" tab and an "application setting" tab. For the setting interface shown in fig. 6b, the tab for setting items that need to be set may be clicked, for example, the user clicks the "interface setting" tab, and at this time, the setting interface may be as shown in fig. 6c, in which a plurality of setting items associated with the clicked "interface setting" tab are included. Subsequently, the user can further click on the setting item to be modified for setting.
In addition, other unchecked setting tabs, such as an "application setting" tab, may also be included in the setting interface shown in fig. 6c, and the user may click the "application setting" tab on the interface to switch between the interface setting options and the application setting options. The setting operation may also include a sliding operation, and in the setting interface shown in fig. 6c, the user may switch from the setting item interface related to the "interface setting" tab to the setting item interface related to the "application setting" tab through an operation of sliding to the left. When the number of the setting items is large, the user can also scroll and display the setting items through the operation control setting interface which slides down and slides up, so that the user can find the setting item which is desired to be set. In addition, taking the interface shown in fig. 6c as an example, when the interface slides down to the end, the setting items in the interface setting are all displayed and then slide down continuously, and a setting interface corresponding to the "application setting" tab can be entered, so as to implement quick switching.
According to the scheme provided by the embodiment of the invention, the target application is set according to the setting operation executed by the user on the setting interface. The user can check the current setting state of the target application in the setting interface and modify the setting of the target application according to actual requirements. The setting process is convenient and fast, and the flexibility is strong.
In addition, in the scheme provided by the embodiment of the invention, the user can also return to the target application interface in the process of executing the touch operation. For example, according to a first touch operation of a user on the target application interface, a card and an interaction area of the target application interface are displayed in the interface. At this time, the user does not want to enter the interactive interface, and the card of the target application interface can be dragged to one side of the interface far away from the interactive area. For example, in the interface shown in FIG. 1d, the user may drag the card of the target application interface to go below the screen. After the touch operation is finished, the target application interface can be displayed in a full screen mode in the interface without entering the interactive interface. Through the scheme provided by the embodiment of the invention, the user can return to the target application interface at any time, and the flexibility is good.
Preferably, when the interactive interface is a setting interface and the target application interface comprises a settable target, the setting interface comprises a setting item corresponding to the settable target. In general, a user can enter a setting interface for setting when meeting a target needing to be modified, and through the scheme provided by the invention, the operation of the user on the setting interface can be simplified, setting items which are possibly required to be set by the user can be displayed, and the user experience can be optimized.
Preferably, when the target application interface includes a setting key, the setting interface includes a setting item corresponding to the setting key. If the current interface is not provided with the setting button, the interface triggered by the setting button of the interface closest to the current interface hierarchy is preferentially displayed from top to bottom from shallow to deep until the interface content triggered by all the setting buttons in the whole application is displayed.
In order to solve the problems in the prior art, as shown in fig. 7, the present invention further provides an electronic device 70, including:
the first receiving module 71 receives a first touch operation of a user on a target application interface, and displays a card and an interaction area of the target application interface;
the second receiving module 72 receives a second touch operation of the user on the target application interface, and moves the card of the target application interface to the interaction area;
and the display module 73 displays the interactive interface of the target application interface according to the function corresponding to the interactive area.
Based on the solution provided by the above embodiment, preferably, the first touch operation and the second touch operation are two sub-operations in one touch operation.
Based on the solution provided in the foregoing embodiment, preferably, the first receiving module 71 is configured to:
and displaying the interaction area after the sliding distance of the first touch operation along the first direction is equal to a preset distance, wherein the size of the card of the target application interface changes along with the sliding distance of the first touch operation along the first direction.
Based on the solutions provided in the above embodiments, preferably, the second receiving module 72 is configured to:
and moving the card of the target application interface to the interaction area along with the touch track of the second touch operation.
Based on the solutions provided in the above embodiments, preferably, the display module 73 is configured to:
and when the distance from the position of the card of the target application interface to the interaction area is less than or equal to a preset distance, displaying the interaction interface of the target application interface.
The electronic device provided by the embodiment of the invention can firstly receive the first touch operation of the user on the target application interface, display the card and the interaction area of the target application interface, and then move the card of the target application interface to the interaction area according to the second touch operation of the user on the target application interface, so that the interaction interface of the target application interface is displayed according to the function corresponding to the interaction area. The embodiment of the invention is convenient for the user to execute interactive operation on the application interface which is currently displayed, the operation steps are simple and quick, and the use experience of the user is improved.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to receive a first touch operation of a user on a target application interface, and display a card and an interaction area of the target application interface;
receiving a second touch operation of a user on a target application interface, and moving a card of the target application interface to the interaction area;
and displaying the interactive interface of the target application interface according to the function corresponding to the interactive area.
In the embodiment of the invention, first touch operation of a user on the target application interface is received, a card and an interaction area of the target application interface are displayed, and then the card of the target application interface is moved to the interaction area according to second touch operation of the user on the target application interface, so that the interaction interface of the target application interface is displayed according to a function corresponding to the interaction area. The embodiment of the invention is convenient for the user to execute interactive operation on the application interface which is currently displayed, the operation steps are simple and quick, and the use experience of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above-mentioned interaction method for an application program interface, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned interaction method for an application program interface, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (12)
1. An interactive method of an application program interface is characterized by comprising the following steps:
receiving a first touch operation of a user on a target application interface, and displaying a card and an interaction area of the target application interface;
receiving a second touch operation of a user on a target application interface, and moving a card of the target application interface to the interaction area;
and displaying the interactive interface of the target application interface according to the function corresponding to the interactive area.
2. The method of claim 1, wherein the first touch operation and the second touch operation are two sub-operations in one touch operation.
3. The method of claim 1, wherein the receiving a first touch operation of a user on a target application interface, displaying a card and an interaction area of the target application interface, comprises:
and displaying the interaction area after the sliding distance of the first touch operation along the first direction is equal to a preset distance, wherein the size of the card of the target application interface changes along with the sliding distance of the first touch operation along the first direction.
4. The method of claim 1, wherein the receiving a second touch operation of a target application interface by a user, and moving a card of the target application interface to the interaction area comprises:
and moving the card of the target application interface to the interaction area along with the touch track of the second touch operation.
5. The method of claim 1, wherein the displaying the interactive interface of the target application interface according to the function corresponding to the interactive region comprises:
and when the distance from the position of the card of the target application interface to the interaction area is less than or equal to a preset distance, displaying the interaction interface of the target application interface.
6. An electronic device, comprising:
the first receiving module is used for receiving a first touch operation of a user on a target application interface and displaying a card and an interaction area of the target application interface;
the second receiving module is used for receiving a second touch operation of a user on a target application interface and moving a card of the target application interface to the interaction area;
and the display module displays the interactive interface of the target application interface according to the function corresponding to the interactive area.
7. The electronic device of claim 6, wherein the first touch operation and the second touch operation are two sub-operations in a one-touch operation.
8. The electronic device of claim 6, wherein the first receiving module is to:
and displaying the interaction area after the sliding distance of the first touch operation along the first direction is equal to a preset distance, wherein the size of the card of the target application interface changes along with the sliding distance of the first touch operation along the first direction.
9. The electronic device of claim 6, wherein the second receiving module is to:
and moving the card of the target application interface to the interaction area along with the touch track of the second touch operation.
10. The electronic device of claim 6, wherein the display module is to:
and when the distance from the position of the card of the target application interface to the interaction area is less than or equal to a preset distance, displaying the interaction interface of the target application interface.
11. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911070268.1A CN110879685B (en) | 2019-11-05 | 2019-11-05 | Interaction method of application program interface and electronic equipment |
PCT/CN2020/124619 WO2021088707A1 (en) | 2019-11-05 | 2020-10-29 | Interaction method for application program interface, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911070268.1A CN110879685B (en) | 2019-11-05 | 2019-11-05 | Interaction method of application program interface and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110879685A true CN110879685A (en) | 2020-03-13 |
CN110879685B CN110879685B (en) | 2021-04-23 |
Family
ID=69729005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911070268.1A Active CN110879685B (en) | 2019-11-05 | 2019-11-05 | Interaction method of application program interface and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110879685B (en) |
WO (1) | WO2021088707A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021088707A1 (en) * | 2019-11-05 | 2021-05-14 | 维沃移动通信有限公司 | Interaction method for application program interface, and electronic device |
CN114168020A (en) * | 2021-12-10 | 2022-03-11 | Oppo广东移动通信有限公司 | Interaction method, interaction device, terminal equipment and readable storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103218151A (en) * | 2011-11-25 | 2013-07-24 | 三星电子株式会社 | Device and method for displaying object in terminal |
CN103593138A (en) * | 2013-11-15 | 2014-02-19 | 深圳市中兴移动通信有限公司 | Method for operating mobile terminal with one hand and mobile terminal |
CN105391839A (en) * | 2014-08-29 | 2016-03-09 | Lg电子株式会社 | Mobile terminal and deleted information managing method thereof |
CN105867742A (en) * | 2016-04-14 | 2016-08-17 | 深圳天珑无线科技有限公司 | Method for quickly calling third-party application information by force touch technology |
CN107656674A (en) * | 2017-09-26 | 2018-02-02 | 网易(杭州)网络有限公司 | Information interacting method, device, electronic equipment and storage medium |
CN107748647A (en) * | 2017-09-19 | 2018-03-02 | 刘剑涛 | A kind of touch control terminal operating method |
CN108345425A (en) * | 2018-02-09 | 2018-07-31 | 维沃移动通信有限公司 | A kind of management method and mobile terminal of application |
CN109062634A (en) * | 2018-10-30 | 2018-12-21 | 维沃移动通信有限公司 | A kind of application starting method and mobile terminal |
CN109976606A (en) * | 2019-02-26 | 2019-07-05 | 维沃移动通信有限公司 | Information display method, mobile terminal |
CN110109604A (en) * | 2019-04-29 | 2019-08-09 | 维沃移动通信有限公司 | A kind of application interface display methods and mobile terminal |
CN110308838A (en) * | 2019-06-28 | 2019-10-08 | 维沃移动通信有限公司 | A kind of application interaction processing method and terminal device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100792284B1 (en) * | 2004-03-10 | 2008-01-07 | 삼성전자주식회사 | Method for setting driver program of image processing device and image processing system with transparent function |
CN106873854B (en) * | 2017-01-20 | 2019-12-13 | 北京安云世纪科技有限公司 | Terminal and interface interaction control method, and contact object creation method and device |
CN107132979A (en) * | 2017-03-14 | 2017-09-05 | 网易(杭州)网络有限公司 | Exchange method, device and the computer-readable recording medium of accurate selection target in mobile device game |
CN110879685B (en) * | 2019-11-05 | 2021-04-23 | 维沃移动通信有限公司 | Interaction method of application program interface and electronic equipment |
-
2019
- 2019-11-05 CN CN201911070268.1A patent/CN110879685B/en active Active
-
2020
- 2020-10-29 WO PCT/CN2020/124619 patent/WO2021088707A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103218151A (en) * | 2011-11-25 | 2013-07-24 | 三星电子株式会社 | Device and method for displaying object in terminal |
CN103593138A (en) * | 2013-11-15 | 2014-02-19 | 深圳市中兴移动通信有限公司 | Method for operating mobile terminal with one hand and mobile terminal |
CN105391839A (en) * | 2014-08-29 | 2016-03-09 | Lg电子株式会社 | Mobile terminal and deleted information managing method thereof |
CN105867742A (en) * | 2016-04-14 | 2016-08-17 | 深圳天珑无线科技有限公司 | Method for quickly calling third-party application information by force touch technology |
CN107748647A (en) * | 2017-09-19 | 2018-03-02 | 刘剑涛 | A kind of touch control terminal operating method |
CN107656674A (en) * | 2017-09-26 | 2018-02-02 | 网易(杭州)网络有限公司 | Information interacting method, device, electronic equipment and storage medium |
CN108345425A (en) * | 2018-02-09 | 2018-07-31 | 维沃移动通信有限公司 | A kind of management method and mobile terminal of application |
CN109062634A (en) * | 2018-10-30 | 2018-12-21 | 维沃移动通信有限公司 | A kind of application starting method and mobile terminal |
CN109976606A (en) * | 2019-02-26 | 2019-07-05 | 维沃移动通信有限公司 | Information display method, mobile terminal |
CN110109604A (en) * | 2019-04-29 | 2019-08-09 | 维沃移动通信有限公司 | A kind of application interface display methods and mobile terminal |
CN110308838A (en) * | 2019-06-28 | 2019-10-08 | 维沃移动通信有限公司 | A kind of application interaction processing method and terminal device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021088707A1 (en) * | 2019-11-05 | 2021-05-14 | 维沃移动通信有限公司 | Interaction method for application program interface, and electronic device |
CN114168020A (en) * | 2021-12-10 | 2022-03-11 | Oppo广东移动通信有限公司 | Interaction method, interaction device, terminal equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110879685B (en) | 2021-04-23 |
WO2021088707A1 (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108762954B (en) | Object sharing method and mobile terminal | |
CN108255378B (en) | Display control method and mobile terminal | |
CN108536365B (en) | Image sharing method and terminal | |
CN107835321B (en) | Incoming call processing method and mobile terminal | |
CN107977132B (en) | Information display method and mobile terminal | |
CN109814822B (en) | Multimedia play control method and device and terminal equipment | |
CN108646958B (en) | Application program starting method and terminal | |
CN109032447B (en) | Icon processing method and mobile terminal | |
CN108897473B (en) | Interface display method and terminal | |
CN109800045B (en) | Display method and terminal | |
CN109525710B (en) | Method and device for accessing application program | |
CN108897486B (en) | Display method and terminal equipment | |
CN107728923B (en) | Operation processing method and mobile terminal | |
CN109683802B (en) | Icon moving method and terminal | |
CN109683768B (en) | Application operation method and mobile terminal | |
CN108446156B (en) | Application program control method and terminal | |
CN108228902B (en) | File display method and mobile terminal | |
CN111610904B (en) | Icon arrangement method, electronic device and storage medium | |
CN110825295B (en) | Application program control method and electronic equipment | |
CN109710130B (en) | Display method and terminal | |
CN110795189A (en) | Application starting method and electronic equipment | |
CN109388324B (en) | Display control method and terminal | |
CN108469940B (en) | Screenshot method and terminal | |
CN110941469B (en) | Application splitting creation method and terminal equipment thereof | |
CN110007821B (en) | Operation method and terminal equipment |
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 |