[go: up one dir, main page]

CN106951299A - The operating method and device of application program - Google Patents

The operating method and device of application program Download PDF

Info

Publication number
CN106951299A
CN106951299A CN201710277690.9A CN201710277690A CN106951299A CN 106951299 A CN106951299 A CN 106951299A CN 201710277690 A CN201710277690 A CN 201710277690A CN 106951299 A CN106951299 A CN 106951299A
Authority
CN
China
Prior art keywords
user
desktop
preset
application program
gadget
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.)
Pending
Application number
CN201710277690.9A
Other languages
Chinese (zh)
Inventor
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710277690.9A priority Critical patent/CN106951299A/en
Publication of CN106951299A publication Critical patent/CN106951299A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • G06F3/04817Interaction 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 using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to a kind of operating method of application program and device, this method includes:Receive trigger action of the user to destination application, determine whether the trigger action meets preset trigger condition, when the trigger action meets the preset trigger condition, show the corresponding desktop widget of the destination application, and obtain user's operation of the user, when user operation is the operation on the desktop widget, the user is performed by the desktop widget to operate, so, solve due to the problem of desktop widget addition influences desktop layouts and occupancy desk-top space on the table, and allow user directly to carry out related operation in desktop widget, without opening the corresponding application program of the desktop widget, avoid the system resource of occupied terminal, so as to improve the experience of user.

Description

Application program operation method and device
Technical Field
The present disclosure relates to the field of intelligent terminals, and in particular, to an operating method and an operating device for an application program.
Background
At present, a user may add a desktop widget corresponding to an application installed in a terminal on a desktop of the terminal, so that the user may preview the attention information displayed in the desktop widget without starting the application, and if the user wants to perform a further operation on the attention information, such as comment on the attention information, the user needs to click the displayed attention information, at this time, the terminal needs to start the application corresponding to the desktop widget and display an operation page to the user in the started application, so that the user performs a corresponding operation on the attention information in the operation page (such as comment on the attention information).
However, the desktop widget added to the desktop may cause too many icons displayed on the desktop, occupy the desktop space of the terminal, affect user experience, and cause waste of system resources due to the fact that the application program is started up to occupy the system resources when the desktop widget is operated.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an operating method and apparatus of an application program.
According to a first aspect of the embodiments of the present disclosure, an operation method of an application program is provided, which includes receiving a trigger operation of a user on a target application program; determining whether the trigger operation meets a preset trigger condition; when the triggering operation meets the preset triggering condition, displaying a desktop widget corresponding to the target application program; acquiring user operation of the user; when the user operation is an operation on the desktop gadget, performing the user operation through the desktop gadget.
Optionally, the triggering operation includes a pressing operation, and the determining whether the triggering operation satisfies a preset triggering condition includes: determining whether the pressure of the pressing operation reaches a preset pressure; when the pressure of the pressing operation reaches the preset pressure, determining that the triggering operation meets the preset triggering condition; or determining whether the pressing time of the pressing operation reaches a preset time; and when the pressing time length of the pressing operation reaches the preset time length, determining that the triggering operation meets the preset triggering condition.
Optionally, the triggering operation includes a click operation, and the determining whether the triggering operation satisfies a preset triggering condition includes: determining whether the clicking times of the clicking operation reach preset times within a preset time period; and if the clicking times of the clicking operation reach the preset times within the preset time period, determining that the triggering operation meets the preset triggering condition.
Optionally, the displaying the desktop gadget corresponding to the target application includes: determining a display area; and displaying the desktop widget corresponding to the target application program on the display area.
Optionally, the method further comprises: when the user operation is not an operation on the desktop widget, determining whether the user operation is an operation outside the display area; and when the user operation is an operation outside the display area, closing the display of the desktop widget.
Optionally, the method further comprises: receiving a deleting instruction of the target desktop gadget displayed in the display area; wherein the target desktop gadget is any one of the desktop gadgets; and deleting the target desktop gadgets displayed in the display area according to the deleting instruction.
According to a second aspect of the embodiments of the present disclosure, there is provided an operating device of an application program, including: the first receiving module is configured to receive a trigger operation of a user on a target application program; the first determination module is configured to determine whether the trigger operation meets a preset trigger condition; the display module is configured to display the desktop gadget corresponding to the target application program when the trigger operation meets the preset trigger condition; an acquisition module configured to acquire a user operation of the user; an execution module configured to execute the user operation through the desktop gadget when the user operation is an operation on the desktop gadget.
Optionally, the triggering operation includes a pressing operation, and the first determining module is configured to determine whether a pressure of the pressing operation reaches a preset pressure; when the pressure of the pressing operation reaches the preset pressure, determining that the triggering operation meets the preset triggering condition; or determining whether the pressing time of the pressing operation reaches a preset time; and when the pressing time length of the pressing operation reaches the preset time length, determining that the triggering operation meets the preset triggering condition.
Optionally, the triggering operation includes a click operation, and the first determining module is configured to determine whether the number of clicks of the click operation reaches a preset number within a preset time period; and if the clicking times of the clicking operation reach the preset times within the preset time period, determining that the triggering operation meets the preset triggering condition.
Optionally, the display module comprises: a determination submodule configured to determine a presentation area; and the display sub-module is configured to display the desktop gadget corresponding to the target application program on the display area.
Optionally, the apparatus further comprises: a second determination module configured to determine whether the user operation is an operation outside the presentation area when the user operation is not an operation on the desktop widget; a closing module configured to close the display of the desktop widget when the user operation is an operation outside the display area.
Optionally, the apparatus further comprises: a second receiving module configured to receive a deletion instruction for the target desktop gadget displayed in the display area; wherein the target desktop gadget is any one of the desktop gadgets; and the deleting module is configured to delete the target desktop gadget displayed in the display area according to the deleting instruction.
According to a third aspect of the embodiments of the present disclosure, there is provided an operating device of an application program, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: receiving a trigger operation of a user on a target application program; determining whether the trigger operation meets a preset trigger condition; when the triggering operation meets the preset triggering condition, displaying a desktop widget corresponding to the target application program; acquiring user operation of the user; when the user operation is an operation on the desktop gadget, performing the user operation through the desktop gadget.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of operation of an application program provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: receiving a trigger operation of a user on a target application program, determining whether the trigger operation meets a preset trigger condition, displaying a desktop widget corresponding to the target application program when the trigger operation meets the preset trigger condition, and acquiring a user operation of the user, and executing the user operation through the desktop widget when the user operation is an operation on the desktop widget.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of operation of an application according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of operation of yet another application according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating an operating device of a first application according to an example embodiment.
Fig. 4 is a block diagram illustrating an operating device of a second application according to an example embodiment.
Fig. 5 is a block diagram illustrating an operating device of a third application according to an example embodiment.
Fig. 6 is a block diagram illustrating an operating device of a fourth application according to an example embodiment.
Fig. 7 is a block diagram illustrating an operating device of a fifth application according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
First, an application scenario of the present disclosure is described, at present, a user may install different application programs to meet their own requirements for different functions, for example, the user needs information retrieval, can install a retrieval-type application program, the user needs to check weather, can install a weather-type application program, the user needs to check time, and can install a time-type application program, however, in order to meet different experiences of the user, the existing application program often adds multiple related additional functions in the same application program, for example, for the retrieval-type application program, not only includes information retrieval, but also includes functions such as news display, for example, for the weather-type application program, not only includes weather prediction, but also includes weather prediction for the next 5 days, for the time-type application program, not only includes check time, and also comprises functions of viewing a calendar and the like.
In real life, a user may often use one of the functions, while other functions are infrequently used, for example, for an application program in a time class, the user may often view time without paying much attention to a calendar, so that when the user uses the one function, the application program corresponding to the function needs to be opened, thereby making the user cumbersome to operate, and the opened application program may occupy system resources of the terminal, and therefore, in order to solve the above problems, each application program may set a plurality of desktop widgets according to its own function, each desktop widget may correspond to one or more functions, for example, for an application program in a time class, the set desktop widgets may include a widget for viewing time and a widget for viewing, so that the user may set a desired desktop widget on a desktop of the terminal, thus, the corresponding function can be realized without starting the application program.
However, when a user needs to add a desktop widget on a desktop of a terminal, the desktop layout is inevitably affected, and the added desktop widget occupies a desktop space, and in addition, if the user wants to perform further operations in the desktop widget set on the desktop, the user still needs to jump to an application program corresponding to the desktop widget to perform operations, for example, taking an application program "microblog" as an example, if the desktop widget set on the desktop by the user is a widget for viewing a hot microblog, when the user views the hot microblog through the desktop widget, when the user wants to further perform a comment operation on the viewed hot microblog, the user needs to click the viewed hot microblog, at this time, the terminal needs to start the application program "microblog" to comment on the hot microblog, and as can be known from the above operations, the process of performing further operations by the user is cumbersome, and the started application program can occupy the system resource of the terminal, so that the use experience of the user is reduced.
In order to solve the above problems, the present invention provides an operating method and apparatus for an application program, the method including receiving a trigger operation of a user on a target application program, determining whether the trigger operation satisfies a preset trigger condition, when the triggering operation meets the preset triggering condition, displaying the desktop widget corresponding to the target application program, and acquiring the user operation of the user, when the user operation is an operation on the desktop widget, the user operation is performed through the desktop widget, thus, the problems that the layout of the desktop is influenced and the space of the desktop is occupied because the desktop gadget is added on the desktop are solved, and the user can directly perform related operations in the desktop widget without opening an application program corresponding to the desktop widget, so that the occupation of system resources of the terminal is avoided, and the user experience is improved.
The present disclosure is illustrated in detail below by specific examples.
Fig. 1 is a flowchart illustrating an operation method of an application program, which is used in a terminal as shown in fig. 1, according to an exemplary embodiment, and includes the following steps.
In step 101, a trigger operation of a user on a target application program is received.
The target application may include any one of the applications installed in the terminal, for example, the target application may be a time-class application (e.g., a clock-class application), or, for example, the target application may be a search-class application (e.g., a hundredth-class application), or, for example, the target application may be a social-class application (e.g., a microblog-class application), and the triggering operation may be a pressing operation or a clicking operation, which are merely examples, and the disclosure is not limited thereto.
In step 102, it is determined whether the triggering operation satisfies a preset triggering condition.
In step 103, when the trigger operation satisfies the preset trigger condition, the desktop widget corresponding to the target application is displayed.
Illustratively, when the target application is a clock, the desktop gadgets may be a gadget for viewing time, and a gadget for viewing a calendar, and a gadget for creating an alarm; when the target application is hundredth, the desktop gadgets may be gadgets for retrieving information, and gadgets for showing news, and gadgets for opening collections; when the target application is a microblog, the desktop gadgets may be a gadget for issuing a microblog, a gadget for viewing a hot microblog, and a gadget for scanning a two-dimensional code, which are merely examples, and the disclosure is not limited thereto.
In step 104, the user operation of the user is acquired.
The user operation may include a click operation of a user on a terminal desktop, specifically, a click operation of the user on the desktop widget, or a click operation of the user outside the desktop widget.
In step 105, when the user operation is an operation on the desktop widget, the user operation is performed by the desktop widget.
For example, if the target application is a microblog and the user operation is an operation of clicking a widget (equivalent to a desktop widget) for issuing a microblog by a user, the user can directly issue the microblog in the widget for issuing the microblog without starting the microblog; if the target application program is hundred degrees, the user operation is the operation that the user clicks a gadget (equivalent to a desktop gadget) for opening the collection, and the user can directly view the collection in the gadget for opening the collection without starting the hundred degrees; if the target application program is a clock, the user operation is the operation that the user clicks a gadget (equivalent to a desktop gadget) used for creating the alarm clock, the user can directly create the alarm clock in the gadget used for creating the alarm clock without starting the clock.
By adopting the method, the problems that the desktop layout is influenced and the desktop space is occupied due to the fact that the desktop gadget is added on the desktop are solved, and the user can directly carry out related operations in the desktop gadget without opening the application program corresponding to the desktop gadget, so that the occupation of system resources of the terminal is avoided, and the user experience is improved.
Fig. 2 is a flowchart illustrating an operation method of an application program, as shown in fig. 2, for use in a terminal, according to an exemplary embodiment, the method including the steps of:
in step 201, a trigger operation of a user on a target application program is received.
The target application may include any one of the applications installed in the terminal, for example, the target application may be a time-class application (e.g., a clock-class application), or, for example, the target application may be a search-class application (e.g., a hundredth-class application), or, for example, the target application may be a social-class application (e.g., a microblog-class application), and the triggering operation may be a pressing operation or a clicking operation, which are merely examples, and the disclosure is not limited thereto.
In step 202, it is determined whether the triggering operation satisfies a preset triggering condition.
The triggering operation may include a pressing operation or a clicking operation, and based on this, the step may include the following two implementation manners:
the first method is as follows: when the trigger operation includes a pressing operation, in one possible implementation, it may be determined whether the pressure of the pressing operation reaches a preset pressure, and when it is determined that the pressure of the pressing operation reaches the preset pressure, it is determined that the trigger operation satisfies the preset trigger condition.
In another possible implementation manner, it may also be determined whether the pressing duration of the pressing operation reaches a preset duration, and when the pressing duration of the pressing operation reaches the preset duration, it is determined that the triggering operation satisfies the preset triggering condition, for example, if the preset duration is 2 seconds, and when the obtained pressing duration of the user is greater than 2 seconds, it is determined that the triggering operation satisfies the preset triggering condition.
The second method comprises the following steps: when the trigger operation includes a click operation, it may be determined whether the number of clicks of the click operation within a preset time period reaches a preset number, and if the number of clicks of the click operation within the preset time period reaches the preset number, it is determined that the trigger operation satisfies the preset trigger condition, for example, if the preset time period is 2 seconds, the preset number is 3, and when it is obtained that the number of clicks of the user within 2 seconds exceeds 3, it is determined that the trigger operation satisfies the preset trigger condition.
Executing step 203 to step 206 when the triggering operation satisfies the preset triggering condition;
and returning to step 201 when the triggering operation does not meet the preset triggering condition.
In step 203, a presentation area is determined.
In this step, the current position of the icon of the target application program in the terminal desktop may be determined, the display area is set near the current position where the icon of the target application program is located (for example, the current position may be adjacent to the upper side or the lower side or the left side or the right side), and the display area does not obscure the icon of the target application program, for example, if the icon of the target application program is at the topmost position of the terminal desktop, the display area may be set at a position below the icon of the target application program; if the icon of the target application program is at the bottommost position of the terminal desktop, the display area can be arranged at a position above the icon of the target application program; if the icon of the target application program is in the middle position of the terminal desktop, the display area can be set at the left or right position of the icon of the target application program, so that if the desktop widget in the display area does not have the operation which the user wants to perform, the user can quickly find the current position where the icon of the target application program is located, and enter the target application program by clicking the icon of the target application program, so that the user performs the operation,
in addition, when the current position of the icon of the target application in the terminal changes, the display area also changes accordingly, for example, the icon of the target application is originally at the topmost position of the terminal desktop, and the display area is originally set at a position below the icon of the target application, if the user moves the icon of the target application to the lowest position of the terminal desktop, the setting of the display area may be set according to the position of the moved icon of the target application, for example, the display area is set at a position above the icon of the target application, which is only an example, and the disclosure does not limit this.
In step 204, a desktop widget corresponding to the target application is displayed on the display area.
Illustratively, when the target application is a clock, the desktop gadgets may be a gadget for viewing time, and a gadget for viewing a calendar, and a gadget for creating an alarm; when the target application is hundredth, the desktop gadgets may be gadgets for retrieving information, and gadgets for showing news, and gadgets for opening collections; when the target application is a microblog, the desktop gadgets may be a gadget for issuing a microblog, a gadget for viewing a hot microblog, and a gadget for scanning a two-dimensional code, which are merely examples, and the disclosure is not limited thereto.
In this way, the desktop widget of the target application is displayed in the manner from step 201 to step 204, so that the desktop widget does not need to be added on the desktop, thereby solving the problem of too many icons displayed in the desktop, and avoiding occupying the space of the terminal desktop, so that the user can perform related operations in the displayed desktop widget, and the specific process of the related operations may refer to the following step 205 to step 209.
In step 205, the user operation of the user is obtained.
In this step, the user operation may include a click operation of a user on a terminal desktop, for example, a click operation of a user on the desktop widget, for example, if the target application is a microblog and the corresponding desktop widget is a widget for issuing a microblog, the user operation may include an operation of a user clicking a widget for issuing a microblog in the display area; if the target application is a hundred degrees and the corresponding desktop gadget is a gadget for opening a favorite, the user operation may include an operation of the user clicking on the gadget for opening a favorite in the presentation area; if the target application is a clock and the corresponding desktop widget is a widget used to create an alarm clock, the user operation may include an operation of the user clicking the widget used to create the alarm clock in the presentation area; in addition, the user operation may also be a click operation of the user outside the desktop widget, such as a click operation outside the display area or a click operation on another area of the display area except the desktop widget, which is only exemplified by the above examples, and the disclosure is not limited thereto.
In step 206, it is determined whether the user operation is an operation on the desktop gadget.
Upon determining that the user operation is an operation on the desktop widget, perform step 207;
upon determining that the user operation is not an operation on the desktop widget, step 208 is performed.
In step 207, the user operation is performed through the desktop gadget.
For example, if the target application is a microblog and the user operation is an operation of clicking a widget (equivalent to a desktop widget) for issuing a microblog by a user, the user can directly issue the microblog in the widget for issuing the microblog without starting the microblog; if the target application program is hundred degrees, the user operation is the operation that the user clicks a gadget (equivalent to a desktop gadget) for opening the collection, and the user can directly view the collection in the gadget for opening the collection without starting the hundred degrees; if the target application program is a clock, the user operation is the operation that the user clicks a gadget (equivalent to a desktop gadget) used for creating the alarm clock, the user can directly create the alarm clock in the gadget used for creating the alarm clock without starting the clock.
In step 208, it is determined whether the user operation is an operation outside the presentation area.
When it is determined that the user operation is an operation outside the display area, it indicates that the user needs to quit the display of the desktop widget, so step 209 is executed;
when it is determined that the user operation is an operation on the presentation area, since the user operation does not affect the presentation area, the presentation area is not changed, and then the process returns to step 205.
In step 209, the desktop widget's display is closed.
It should be noted that, since the desktop gadgets displayed in the display area may not be commonly used by the user, in this case, the desktop gadgets that are not commonly used in the display area may be deleted, and the process of deleting the desktop gadgets that are not commonly used may refer to the following steps:
in step S21, a delete instruction for the target desktop widget displayed in the display area is received.
Wherein, the target desktop gadget is any desktop gadget in the desktop gadgets.
In step S22, the target desktop widget displayed in the display area is deleted according to the deletion instruction.
For example, taking the target application as a microblog as an example, the desktop widget is a widget for issuing a microblog, a widget for checking a hot microblog, and a widget for scanning a two-dimensional code, in this case, if a user rarely uses a widget for scanning a two-dimensional code in a microblog, the user may press the widget for scanning a two-dimensional code for a long time, at this time, an "x" symbol appears in the upper left corner of the widget for scanning a two-dimensional code, and when the user clicks the "x" symbol, the terminal will show "ask for a question to delete the widget for scanning a two-dimensional code? The 'delete' button and the 'cancel' button, so that if the user clicks the 'delete' button, the gadget for scanning the two-dimensional code is deleted; if the user clicks the "cancel" button, the widget for scanning the two-dimensional code is discarded from being deleted.
In addition, if the user deletes the target desktop widget, the user wants to add the target desktop widget back, or the user wants to add some new desktop widgets, the description is continued by taking the target application program as the microblog, if the user wants to add the deleted widget for scanning the two-dimensional code back, in view of the situation, the terminal can display a "+" button in the display area, and when the user clicks the "+" button, the terminal can display the desktop widget list corresponding to the microblog to the user, so that the user can find the deleted desktop widget in the desktop widget list, and the terminal can display the deleted desktop widget to the user again in the display area; for another example, if the user wants to add a widget for sharing a "microblog" in the display area, the user can click the "+" button displayed in the display area, so that the terminal can display the desktop widget list corresponding to the microblog to the user, the user can select the desktop widget to be added in the desktop widget list, and the terminal displays the desktop widget to be added to the user in the display area.
By adopting the method, the problems that the desktop layout is influenced and the desktop space is occupied due to the fact that the desktop gadget is added on the desktop are solved, and the user can directly carry out related operations in the desktop gadget without opening the application program corresponding to the desktop gadget, so that the occupation of system resources of the terminal is avoided, and the user experience is improved.
Fig. 3 is a block diagram illustrating an operating device of an application according to an example embodiment. Referring to fig. 3, the apparatus includes a first receiving module 31, a first determining module 32, a presenting module 33 and an obtaining module 34, and an executing module 35.
The first receiving module 31 is configured to receive a trigger operation of a user on a target application program;
the first determination module 32 is configured to determine whether the triggering operation meets a preset triggering condition;
the display module 33 is configured to display the desktop widget corresponding to the target application program when the trigger operation meets the preset trigger condition;
the obtaining module 34 is configured to obtain a user operation of the user;
the execution module 35 is configured to execute the user operation through the desktop gadget when the user operation is an operation on the desktop gadget.
Optionally, the triggering operation includes a pressing operation, and the first determining module 32 is configured to determine whether a pressure of the pressing operation reaches a preset pressure; when the pressure of the pressing operation reaches the preset pressure, determining that the triggering operation meets the preset triggering condition; or determining whether the pressing time of the pressing operation reaches a preset time; and when the pressing time of the pressing operation reaches the preset time, determining that the triggering operation meets the preset triggering condition.
Optionally, the triggering operation includes a click operation, and the first determining module 32 is configured to determine whether the number of clicks of the click operation reaches a preset number within a preset time period; and if the clicking times of the clicking operation reach the preset times within the preset time period, determining that the triggering operation meets the preset triggering condition.
Fig. 4 is a block diagram of an operating device of an application program according to the embodiment shown in fig. 3, and as shown in fig. 4, the presentation module 33 includes:
a determination submodule 331 configured to determine a presentation area;
and the display sub-module 332 is configured to display the desktop widget corresponding to the target application program on the display area.
Fig. 5 is a block diagram of an operating device of an application program according to the embodiment shown in fig. 3, and as shown in fig. 5, the operating device further includes:
a second determination module 36 configured to determine whether the user operation is an operation outside the presentation area when the user operation is not an operation on the desktop widget;
a closing module 37 configured to close the presentation of the desktop widget when the user operation is an operation outside the presentation area.
Fig. 6 is a block diagram of an operating device of an application program according to the embodiment shown in fig. 3, and as shown in fig. 6, the operating device further includes:
a second receiving module 38 configured to receive a deletion instruction for the target desktop widget displayed in the display area; wherein the target desktop gadget is any desktop gadget in the desktop gadgets;
and the deleting module 39 is configured to delete the target desktop gadget displayed in the display area according to the deleting instruction.
By adopting the device, the problems that the desktop layout is influenced and the desktop space is occupied due to the fact that the desktop gadget is added on the desktop are solved, and a user can directly carry out related operations in the desktop gadget without opening an application program corresponding to the desktop gadget, so that the occupation of system resources of a terminal is avoided, and the user experience is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an operating device 700 for an application according to an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the method of operation of the application program described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described operation methods of the application programs.
In an exemplary embodiment, a computer readable storage medium is also provided, on which computer program instructions are stored, such as the memory 704 comprising instructions, which when executed by the processor 720 of the apparatus 700, implement the steps of the method of operation of the application program provided by the present disclosure. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. An operation method of an application program, applied to a terminal, the method comprising:
receiving a trigger operation of a user on a target application program;
determining whether the trigger operation meets a preset trigger condition;
when the triggering operation meets the preset triggering condition, displaying a desktop widget corresponding to the target application program;
acquiring user operation of the user;
when the user operation is an operation on the desktop gadget, performing the user operation through the desktop gadget.
2. The method of claim 1, wherein the trigger operation comprises a press operation, and wherein determining whether the trigger operation satisfies a preset trigger condition comprises:
determining whether the pressure of the pressing operation reaches a preset pressure; when the pressure of the pressing operation reaches the preset pressure, determining that the triggering operation meets the preset triggering condition; or,
determining whether the pressing time of the pressing operation reaches a preset time; and when the pressing time length of the pressing operation reaches the preset time length, determining that the triggering operation meets the preset triggering condition.
3. The method of claim 1, wherein the trigger operation comprises a click operation, and wherein the determining whether the trigger operation satisfies a preset trigger condition comprises:
determining whether the clicking times of the clicking operation reach preset times within a preset time period;
and if the clicking times of the clicking operation reach the preset times within the preset time period, determining that the triggering operation meets the preset triggering condition.
4. The method of claim 1, wherein exposing the desktop gadget corresponding to the target application comprises:
determining a display area;
and displaying the desktop widget corresponding to the target application program on the display area.
5. The method of claim 4, further comprising:
when the user operation is not an operation on the desktop widget, determining whether the user operation is an operation outside the display area;
and when the user operation is an operation outside the display area, closing the display of the desktop widget.
6. The method of claim 4, further comprising:
receiving a deleting instruction of the target desktop gadget displayed in the display area; wherein the target desktop gadget is any one of the desktop gadgets;
and deleting the target desktop gadgets displayed in the display area according to the deleting instruction.
7. An operating device for an application program, applied to a terminal, the device comprising:
the first receiving module is configured to receive a trigger operation of a user on a target application program;
the first determination module is configured to determine whether the trigger operation meets a preset trigger condition;
the display module is configured to display the desktop gadget corresponding to the target application program when the trigger operation meets the preset trigger condition;
an acquisition module configured to acquire a user operation of the user;
an execution module configured to execute the user operation through the desktop gadget when the user operation is an operation on the desktop gadget.
8. The apparatus of claim 7, wherein the trigger operation comprises a pressing operation, and the first determination module is configured to determine whether a pressure of the pressing operation reaches a preset pressure; when the pressure of the pressing operation reaches the preset pressure, determining that the triggering operation meets the preset triggering condition; or,
determining whether the pressing time of the pressing operation reaches a preset time; and when the pressing time length of the pressing operation reaches the preset time length, determining that the triggering operation meets the preset triggering condition.
9. The apparatus according to claim 7, wherein the trigger operation comprises a click operation, and the first determining module is configured to determine whether the number of clicks of the click operation reaches a preset number within a preset time period; and if the clicking times of the clicking operation reach the preset times within the preset time period, determining that the triggering operation meets the preset triggering condition.
10. The apparatus of claim 7, wherein the display module comprises:
a determination submodule configured to determine a presentation area;
and the display sub-module is configured to display the desktop gadget corresponding to the target application program on the display area.
11. The apparatus of claim 10, further comprising:
a second determination module configured to determine whether the user operation is an operation outside the presentation area when the user operation is not an operation on the desktop widget;
a closing module configured to close the display of the desktop widget when the user operation is an operation outside the display area.
12. The apparatus of claim 10, further comprising:
a second receiving module configured to receive a deletion instruction for the target desktop gadget displayed in the display area; wherein the target desktop gadget is any one of the desktop gadgets;
and the deleting module is configured to delete the target desktop gadget displayed in the display area according to the deleting instruction.
13. An operating device for an application program, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: receiving a trigger operation of a user on a target application program; determining whether the trigger operation meets a preset trigger condition; when the triggering operation meets the preset triggering condition, displaying a desktop widget corresponding to the target application program; acquiring user operation of the user; when the user operation is an operation on the desktop gadget, performing the user operation through the desktop gadget.
14. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 6.
CN201710277690.9A 2017-04-25 2017-04-25 The operating method and device of application program Pending CN106951299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710277690.9A CN106951299A (en) 2017-04-25 2017-04-25 The operating method and device of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710277690.9A CN106951299A (en) 2017-04-25 2017-04-25 The operating method and device of application program

Publications (1)

Publication Number Publication Date
CN106951299A true CN106951299A (en) 2017-07-14

Family

ID=59477512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710277690.9A Pending CN106951299A (en) 2017-04-25 2017-04-25 The operating method and device of application program

Country Status (1)

Country Link
CN (1) CN106951299A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526493A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of small tool display methods, equipment and computer-readable recording medium
CN107977428A (en) * 2017-11-29 2018-05-01 广东欧珀移动通信有限公司 Application program method for pushing, device, server and storage medium
WO2019134228A1 (en) * 2018-01-08 2019-07-11 平安科技(深圳)有限公司 Method for deleting application, readable storage medium, terminal apparatus, and device
CN111951500A (en) * 2020-08-17 2020-11-17 上海商米科技集团股份有限公司 Scanning method and device
CN112732144A (en) * 2021-02-23 2021-04-30 深圳酷赛通信科技有限公司 Method, system, equipment and storage medium for deleting terminal desktop small component
CN114020381A (en) * 2021-10-29 2022-02-08 青岛海信移动通信技术股份有限公司 Terminal device, plug-in deployment method and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391619A (en) * 2014-10-13 2015-03-04 贵阳朗玛信息技术股份有限公司 Function presentation method and device of application program
CN104714723A (en) * 2015-01-22 2015-06-17 上海华豚科技有限公司 Widget starting and exiting method for application software
CN106528252A (en) * 2016-12-09 2017-03-22 北京小米移动软件有限公司 Object launching method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391619A (en) * 2014-10-13 2015-03-04 贵阳朗玛信息技术股份有限公司 Function presentation method and device of application program
CN104714723A (en) * 2015-01-22 2015-06-17 上海华豚科技有限公司 Widget starting and exiting method for application software
CN106528252A (en) * 2016-12-09 2017-03-22 北京小米移动软件有限公司 Object launching method and apparatus

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526493A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of small tool display methods, equipment and computer-readable recording medium
CN107977428A (en) * 2017-11-29 2018-05-01 广东欧珀移动通信有限公司 Application program method for pushing, device, server and storage medium
CN107977428B (en) * 2017-11-29 2020-07-24 Oppo广东移动通信有限公司 Application program pushing method and device, server and storage medium
WO2019134228A1 (en) * 2018-01-08 2019-07-11 平安科技(深圳)有限公司 Method for deleting application, readable storage medium, terminal apparatus, and device
CN111951500A (en) * 2020-08-17 2020-11-17 上海商米科技集团股份有限公司 Scanning method and device
CN111951500B (en) * 2020-08-17 2022-03-25 上海商米科技集团股份有限公司 Scanning method and device
CN112732144A (en) * 2021-02-23 2021-04-30 深圳酷赛通信科技有限公司 Method, system, equipment and storage medium for deleting terminal desktop small component
CN114020381A (en) * 2021-10-29 2022-02-08 青岛海信移动通信技术股份有限公司 Terminal device, plug-in deployment method and storage medium
CN114020381B (en) * 2021-10-29 2024-03-22 青岛海信移动通信技术有限公司 Terminal equipment, plug-in deployment method and storage medium

Similar Documents

Publication Publication Date Title
CN105955607B (en) Content sharing method and device
US11086482B2 (en) Method and device for displaying history pages in application program and computer-readable medium
US10942616B2 (en) Multimedia resource management method and apparatus, and storage medium
CN104866179B (en) Terminal application program management method and device
CN104834559B (en) Notification message display method and device
US20180121040A1 (en) Method and device for managing notification messages
CN106951299A (en) The operating method and device of application program
EP3128411B1 (en) Interface display method, terminal, computer program and recording medium
CN106919629B (en) Method and device for realizing information screening in group chat
CN104462296B (en) File management method and device and terminal
CN104679599A (en) Application program duplicating method and device
CN108629178B (en) Resource access authority configuration method and device of application program
CN106020682A (en) Multi-task management method and device
CN107562349B (en) Method and device for executing processing
CN104461236A (en) Method and device for displaying application icons
CN107885571B (en) Display page control method and device
CN104317402A (en) Description information display method and device and electronic equipment
CN111651104A (en) Method and device for displaying application page and storage medium
CN106095236A (en) The method and device of arranging desktop icons
CN110968364A (en) Method and device for adding shortcut plug-in and intelligent equipment
CN105242837B (en) Five application page acquisition methods and terminal
CN109783171B (en) Desktop plug-in switching method and device and storage medium
CN107491238B (en) Display method and device of push information
CN106919302B (en) Operation control method and device of mobile terminal
CN107229637A (en) A kind of webpage collection 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170714

RJ01 Rejection of invention patent application after publication