CN113360037B - Method and device for setting application program use duration - Google Patents

Method and device for setting application program use duration Download PDF

Info

Publication number
CN113360037B
CN113360037B CN202110594667.9A CN202110594667A CN113360037B CN 113360037 B CN113360037 B CN 113360037B CN 202110594667 A CN202110594667 A CN 202110594667A CN 113360037 B CN113360037 B CN 113360037B
Authority
CN
China
Prior art keywords
input
target
time
control
target application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110594667.9A
Other languages
Chinese (zh)
Other versions
CN113360037A (en
Inventor
李宝平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110594667.9A priority Critical patent/CN113360037B/en
Publication of CN113360037A publication Critical patent/CN113360037A/en
Application granted granted Critical
Publication of CN113360037B publication Critical patent/CN113360037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/451Execution arrangements for user interfaces

Abstract

The application discloses a method and a device for setting application program use duration, and belongs to the technical field of communication. The method mainly comprises the following steps: receiving a first input of a user on a desktop of the electronic device; responding to the first input, displaying a first control, wherein the first control comprises N first time-length partitions, and N is a positive integer; receiving a second input of a user for moving a target application icon to a first target time zone in the N first time zones; and responding to the second input, and setting the using time length of the target application program corresponding to the target application icon as the using time length corresponding to the first target time length partition.

Description

Method and device for setting application program use duration
Technical Field
The application belongs to the field of communication, and particularly relates to a method and a device for setting application program use duration.
Background
Application programs such as a game program, a video playing program and a news pushing program can be installed on the electronic equipment, so that a user can obtain better entertainment experience through the electronic equipment, the time for using the electronic equipment by the user is longer and longer, and the user can be enthusiastic to use the application programs.
In the related art, a user may set an option in an electronic device, and through steps such as "application use quota, add application, set quota time", etc., the setting of the use duration of an application program is implemented. According to the setting method, each setting can be completed through a plurality of steps, and the operation path is long.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for setting application program use duration, which can solve the problem of long operation path for setting application program use duration in the prior art.
In a first aspect, an embodiment of the present application provides a method for setting a usage duration of an application, where the method includes:
receiving a first input of a user on a desktop of the electronic device;
responding to the first input, displaying a first control, wherein the first control comprises N first time-length partitions, and N is a positive integer;
receiving a second input of a user for moving a target application icon to a first target time zone in the N first time zones;
and responding to the second input, and setting the using time length of the target application program corresponding to the target application icon as the using time length corresponding to the first target time length partition.
In a second aspect, an embodiment of the present application provides a device for setting a usage duration of an application, where the device includes: the device comprises a first receiving module, a first display module, a second receiving module and a setting module;
the first receiving module is used for receiving a first input of a user on a desktop of the electronic equipment;
the first display module is configured to display a first control in response to the first input received by the first receiving module, where the first control includes N first time-long partitions, and N is a positive integer;
the second receiving module is configured to receive a second input that a user moves a target application icon to a first target time zone among the N first time zones displayed by the first display module;
the setting module is configured to set, in response to the second input received by the second receiving module, a usage duration of the target application program corresponding to the target application icon as a usage duration corresponding to the first target duration partition.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a non-volatile storage medium, the program product being executable by at least one processor to implement a method as provided in the first aspect.
In the embodiment of the application, first, a first input of a user on a desktop of an electronic device is received, then, in response to the first input, a first control is displayed, then, a second input of the user for moving a target application icon to a first target time length partition in the N first time length partitions is received, and finally, in response to the second input, the use time length of a target application program corresponding to the target application icon is set to be the use time length corresponding to the first target time length partition. Therefore, through the first control used for setting the use duration, the electronic equipment can directly select duration partitions corresponding to different use durations in the first control based on the requirements of the user, so that the proper use duration is flexibly set for the target application program, the operation path for setting the use duration of the application program is reduced, and the operation efficiency and the man-machine interaction performance are improved.
Drawings
Fig. 1 is one of schematic diagrams of a method for setting a duration of use of an application according to an embodiment of the present application;
FIG. 2 is one of the schematic diagrams of the first control provided by the embodiments of the present application;
FIG. 3 is a second schematic diagram of a first control provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a first control in receiving a second input provided by an embodiment of the present application;
FIG. 5 is a second schematic diagram of a method for setting a duration of use of an application according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a first control for setting a common use duration according to an embodiment of the present application;
FIG. 7 is a third schematic diagram of a method for setting a duration of use of an application according to the embodiment of the present application;
FIG. 8 is a schematic diagram of a control for setting a duration of use of an application by a deadline according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a device for setting a use duration of an application provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a device for setting a use duration of an application provided in an embodiment of the present application;
fig. 11 is one of hardware schematic diagrams of an electronic device provided in an embodiment of the present application;
fig. 12 is a second hardware schematic of the electronic device according to the embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
As shown in fig. 1, an embodiment of the present application provides a method for setting a usage duration of an application. The method may include steps 101 to 104 described below. The method will be exemplarily described below taking a setting device (hereinafter simply referred to as a setting device) in which an execution subject is a use period of an application program as an example.
Step 101: a first input by a user on a desktop of an electronic device is received.
In an embodiment of the present application, the first input may include: touch input (e.g., click input, slide input), or other feasibility inputs may be specifically determined according to actual use requirements, which is not limited in the embodiments of the present application.
Illustratively, the first input may be: and the user inputs the touch control of the blank position on the desktop of the electronic equipment. It should be noted that, only the target application icon may be displayed on the desktop of the electronic device, or other application icons may be displayed, which is not limited in the embodiment of the present application.
Step 102: in response to the first input, a first control is displayed.
In this embodiment of the present application, the first control includes N first time-length partitions, where N is a positive integer. Each first time period partition corresponds to a use time period.
In this embodiment of the present application, the shape of the first control may be any possible shape, such as a circle, a rectangle, a triangle, a diamond, a ring, or a polygon, and may specifically be determined according to actual use requirements, which is not limited in this embodiment of the present application.
In the embodiment of the present application, the first control may be a suspension control. For example, the first control may be displayed in a hovering manner on the interface including the target image, and may be moved on the interface including the target image according to a drag operation of the user when the user drags the first control.
In this embodiment of the present application, the first control may be displayed in an overlapping manner with a preset transparency in the interface including the target image, for example, if the preset transparency is marked as T1, the value range of T1 may be 0% < T1<100%. In addition, the first control may be displayed on the first interface with high brightness or low brightness, which is not limited in this application.
In the embodiment of the application, the first control is located at the upper layer of the desktop of the electronic device, that is, at the part where the first control overlaps with other application icons or controls in the desktop of the electronic device, the function corresponding to the first control is preferentially responded.
In this embodiment of the present application, the first control may be displayed in a preset graphic color and a preset font color.
In this embodiment of the present application, the first control may determine a control color according to an interface color including the target application icon, and display the first control according to the control color.
Optionally, in an embodiment of the present application, then the first control includes an annular display area and a circular display area located within the annular display area; the annular display area is divided into N sub-display areas, and one sub-display area corresponds to one first time length partition.
Further alternatively, in this embodiment of the present application, the annular display area may be divided into N sub-display areas that are uniformly distributed according to the longest usage time (which may be preset, or may be set by the user) in the first time partition, and the number of first time partitions (which may be preset, or may be set by the user).
In one example, the usage duration of each sub-display area in the annular display area is equal.
For example, as shown in fig. 2, the annular display area is a time scale ring, where the longest use time of the first time zone is 60 minutes, the number of the first time zone is 6, the annular display area is divided into 6 sub-display areas with equal radians, the use duration corresponding to one of the sub-display areas is 10 minutes, and then the use durations of the other sub-display areas are set according to a clockwise direction and in a manner of sequentially increasing the use durations for 10 minutes.
In another example, the usage periods corresponding to each of the sub-display areas in the annular display area are not uniformly distributed, i.e., the usage periods corresponding to each of the sub-display areas may not be equal.
For example, as shown in fig. 3, the annular display area is a time scale ring, where the longest service time of the first time zone is 120 minutes, the number of the first time zone is 6, the annular display area is divided into 6 sub-display areas with equal radian, the service time corresponding to one of the sub-display areas is 10 minutes, and then the service time of the other sub-display areas is respectively 15 minutes, 30 minutes, 50 minutes, 80 minutes and 120 minutes according to a clockwise direction and in a manner of sequentially increasing the service time.
Further optionally, in an embodiment of the present application, a display manner of displaying the first control may include at least one of: and displaying the corresponding use time in all the sub-display areas, and displaying the corresponding use time only in the sub-display areas meeting the preset conditions.
Further alternatively, in embodiments of the present application, a circular display area may be used to isolate the above-described sub-display areas. For example, the circular display area and the sub display area are displayed in different colors.
Further alternatively, in embodiments of the present application, a circular display area may be used to display the target application icon.
Further alternatively, in the embodiment of the present application, the circular display area may also be used to adjust the duration of use in the first control. For example, by clicking the circular display area, a dialogue interface may be opened, so as to modify a control attribute of the first control through the dialogue interface.
It should be noted that, the control attribute includes at least one of the following: the control display size, the display size of the circular area, the display color of the circular area, the number of sub-display areas, the display color of the sub-display areas, the corresponding use time length of each sub-display area, the font and color of the use time length displayed in the sub-display area, and the like.
Step 103: and receiving a second input of the user for moving the target application icon to a first target time length partition in the N first time length partitions.
In an embodiment of the present application, the second input may include, similar to the first input: touch input (e.g., click input, slide input), or other feasibility inputs may be specifically determined according to actual use requirements, which is not limited in the embodiments of the present application.
In this embodiment of the present application, the first target time duration partition is at least one time duration partition of the N first time duration partitions.
In one example, the second input described above may include: and in the process of pressing the target application icon, dragging the target application icon to the dragging input of the first target time length partition in the N first time length partitions.
In another example, the second input may include: and the user inputs the target application icon by long pressing, and inputs the target application icon by sliding by taking the position of the target application icon as a starting point and taking the first target time zone in the N first time zones as an end point.
Alternatively, in the embodiment of the present application, the first control may be updated and displayed during the process of receiving the second input, or after receiving the second input.
Further optionally, in the embodiment of the present application, after the setting device receives the second input to move the target application icon in the circular display area to the first target duration partition, the setting device displays the target application icon in a sub display area corresponding to the first target duration partition.
As shown in fig. 4, the target application icon is displayed in the circular display area, and in the process of moving the target application icon, the target application icon moves along with the second input, and finally, the target application icon is displayed in the sub-display area corresponding to the first target time length partition with the use time length of 30 minutes.
Further optionally, in this embodiment of the present application, in a case where all the sub-display areas in the first control display their corresponding use durations, the setting device may respond to the second input to highlight the sub-display areas corresponding to the first target duration partition in the first control, or the use durations corresponding to the sub-display areas.
By way of example, the above-described highlighting may include at least one of: changing the display color, transparency or brightness of the target sub-display area (the sub-display area corresponding to the first target time length partition), and changing the font, color, font size thickening inclination or brightness of the using time length of the target sub-display area.
Further optionally, in the embodiment of the present application, in a case where the corresponding usage time length is displayed in the first control only in the sub-display area that satisfies the preset condition, the setting device may respond to the second input to display the usage time length corresponding to the first target time length partition.
In the process of receiving the drag input or the slide input of the second input, the sub-display area corresponding to each first time zone through which the drag input or the slide input passes displays the use time, and finally only the use time corresponding to the first target time zone is displayed.
Further optionally, in an embodiment of the present application, displaying the usage period may include at least one of: and embedding display in the sub-display area, floating on the sub-display area for display, and displaying in the mapping area corresponding to the sub-display area.
Step 104: and responding to the second input, and setting the using time length of the target application program corresponding to the target application icon as the using time length corresponding to the first target time length partition.
Optionally, in an embodiment of the present application, the usage duration of the target application refers to: the limited use time of the target application program is started next time, or the limited use time of the target application program is started every time.
Alternatively, in the embodiment of the present application, the setting means may start the timer while starting the target application after setting the use time period of the target application. At this time, if the current use duration of the target application reaches the set use duration, the message prompt interface is popped up.
Further optionally, the message prompting interface is configured to prompt at least one of the following information: the set usage time period is reached by the target application program, the usage parameters of the target application program (including power consumption, usage flow, number of watched videos, number of popup advertisements, number of transmitted barrages, etc.), and prompt information about whether to agree to forcedly exit the target application program.
Further optionally, in this embodiment, when the device pops up the message prompt interface, a screen is locked, and at the same time, whether the use duration needs to be prolonged is prompted, and input of an extension time is prompted, or an optional extension time is prompted, so that the adult user can supervise the use duration of the target application program for underage use.
Optionally, in the embodiment of the present application, before the setting device pops up the message prompt interface, the setting device may further display a time alert message to alert the user that the remaining time period is longer than the usage time period, for example, 5 minutes is longer to reach the limit usage time.
Still further optionally, in an embodiment of the present application, the setting device displays a time alert message, specifically includes: and when the residual duration is smaller than the preset duration, repeatedly displaying the message reminder at preset time intervals, and updating the actual time reaching the limit of the use time when redisplaying the message reminder, wherein the display duration of each time of displaying the time reminder message is the preset time.
Further optionally, in an embodiment of the present application, the setting device displays a time alert message, specifically includes: the time reminding message displays the remaining use duration in real time in a countdown mode, wherein the display mode can be suspension, semi-hiding and display according to preset transparency, and the countdown display mode of the remaining use duration is not limited in the embodiment of the application.
Further optionally, in the embodiment of the present application, after the setting device sets the usage time, if a preset input is received, the setting device exits the first control for the usage time, and the first control is not displayed any more.
In the method for setting the application program use duration, first, a first input of a user on a desktop of an electronic device is received, then, in response to the first input, a first control is displayed, then, a second input of a user for moving a target application icon to a first target duration partition in the N first duration partitions is received, and finally, in response to the second input, the use duration of the target application program corresponding to the target application icon is set as the use duration corresponding to the first target duration partition. Therefore, through the first control used for setting the use duration, the electronic equipment can directly select duration partitions corresponding to different use durations in the first control based on the requirements of the user, so that the proper use duration is flexibly set for the target application program, the operation path for setting the use duration of the application program is reduced, and the operation efficiency and the man-machine interaction performance are improved.
Optionally, in an embodiment of the present application, if the first input is: step 102 may also be implemented by step 102a if the user first inputs a target application icon on the desktop of the electronic device.
Step 102a: and responding to the first input, displaying a first control, and displaying the target application icon in the circular display area.
In this embodiment, before step 102a, a first input of a target application icon on a desktop of the electronic device is received, for example, the first input is an input of a long press target application icon.
In the embodiment of the application, the setting means displays the first control in response to the first input after the time period reaches 5 seconds.
In this embodiment of the present application, the setting device for the application use duration displays, in a circular display area of the first control, a target application icon, which may include at least one of the following: and adjusting the size of the target application icon to display the target application icon in the circular display area, wherein the size of the target application icon is adjusted to ensure that the target application icon completely covers the circular display area, and the target application icon is displayed in the circular display area according to the current size of the target application icon.
Therefore, by displaying the target image on the first control, a user can observe which application program is currently set in use time at any time, and the situation that the target application icon is displayed in the sub-display area and the use time corresponding to the partition displaying the first target time are blocked can be avoided.
Alternatively, as shown in fig. 5, in the embodiment of the present application, the above step 104 may also be implemented through steps 501 to 503.
Step 501: and responding to the second input, and acquiring the use time length corresponding to the first target time length partition.
Step 502: and receiving a third input of the user to the circular display area.
Step 503: and setting the common use time length of X application programs corresponding to the X icons as the use time length corresponding to the first target time length partition when the target application icon comprises the X icons in response to the third input.
In the embodiment of the present application, X is a positive integer. For example, when X is 2, the target application icon comprises a first icon and a second icon, and the second input is used to move both the first icon and the second icon to the first target time-duration sub-zone.
In this embodiment of the present application, if X is greater than or equal to 2, the second input may move multiple target application icons simultaneously, or move the X-1 icon before moving according to the first preset moving mode (capable of implementing moving the icon while indicating that there are other icons behind it needs to be moved), and then move the X-1 icon according to the second preset mode (capable of implementing moving the icon while indicating that there are no other icons behind it needs to be moved).
In this embodiment of the present application, after receiving the second input, the plurality of target application icons are displayed in the first target duration partition or in an area corresponding to the first target duration partition, where a display manner package may include at least one of the following: meanwhile, the display mode of the first icon and the second icon is not limited in the embodiment of the present application.
In the embodiment of the present application, similar to the first input and the second input, the third input may include: touch input (e.g., click input, slide input), or other feasibility inputs may be specifically determined according to actual use requirements, which is not limited in the embodiments of the present application.
Further optionally, in an embodiment of the present application, if the first input is: step 101 may be implemented by step 101b and step 102 may also be implemented by step 102b, if the user inputs the first entry of a blank position in the icon interface.
Step 101b: a first input by a user of a blank position on a desktop of an electronic device is received.
In the embodiment of the application, the blank position refers to a non-icon position on the desktop of the electronic device.
Step 102b: and displaying a first control in response to the first input, and displaying a determination button in the circular display area.
In the embodiment of the application, whether the set using time is effective or not can be determined by determining the key. The user is enabled to explicitly perceive a display of whether the set usage period was successful, as compared to directly determining the set usage period in response to the second input.
Further alternatively, in the embodiment of the present application, as shown in fig. 5, in the case of displaying the determination key in the circular display area, the step 502 may be implemented through the step 502 b.
Step 502b: and receiving a third input of the user to the determination key under the condition that the determination key is displayed in the circular display area.
In the embodiment of the present application, the common usage time length refers to the sum of usage times of X applications corresponding to the X icons.
For example, X is 2 and the use duration corresponding to the first target duration partition is 60 minutes, and assuming that the short video application corresponding to the first icon has been used for 10 minutes, the short video application corresponding to the second icon can also be used for 50 minutes at most.
For example, based on fig. 2, as shown in fig. 6, it is assumed that three icons (an icon a, an icon B, and an icon C in fig. 6, respectively) are displayed in the icon display interface, corresponding to an application a, an application B, and an application C, respectively, in this order. And the user presses the icon A and the icon B in the same time length, drags the icon A and the icon B to the area with the use time length of 60 in the annular display area in the process of pressing the icon A and the icon B, and clicks a determination button (namely the third input) displayed in the circular display area, so that the setting device can determine the use time length corresponding to the first target time length partition as the common use time length of the application program A and the application program B for 60 minutes.
Further optionally, in an embodiment of the present application, the setting device exits the first control for setting the usage period after responding to the third input, and the first control is not displayed any more.
Therefore, the common use time length of a plurality of application programs can limit the use time length of a certain type of application programs, so that the purpose of limiting the use time length of a user is achieved.
Optionally, as shown in fig. 7, in the embodiment of the present application, after step 103, the method for setting the application use duration provided in the embodiment of the present application may further include step 701 and step 702.
Step 701: in response to the second input, a second control is displayed.
Step 702: and responding to the second input, determining a first time corresponding to the first target time length partition according to a first time unit corresponding to the first control, determining a second time corresponding to the second target time length partition according to a second time unit corresponding to the second control, and setting the use deadline of the target application program corresponding to the target application icon according to the first time and the second time.
In this embodiment of the present application, the second control includes M second duration partitions.
In an embodiment of the present application, the second input includes: moving the target application icon to a first sub-input of the first target time zone, and moving the target application icon to a second sub-input of a second target time zone of the M second time zones; m is a positive integer.
Further optionally, in an embodiment of the present application, the setting device of the application use duration responds to the second input when the stay time of the second input in the first target duration partition is greater than or equal to a predetermined duration, and displays a second control.
In this embodiment of the present application, the first control is used to set a first usage time of a target application program corresponding to the target application icon, and the second control is used to set a second usage time of the target application program corresponding to the target application icon.
As shown in fig. 8, the first time unit corresponding to the first control is "time", and marked by "clock dial", the annular area of the first control is divided into 12 areas, and similar to the time indicated by the pointer-type clock, after setting the initial first time zone (i.e., the time zone corresponding to "1" hour), the time corresponding to each area is increased by 1 hour in the clockwise direction. The second time unit corresponding to the second control is "minute", the annular area of the second control is also divided into 12 areas by the mark of "minute disc", similar to the time indicated by the pointer type clock, after setting the initial second time length partition (i.e. "5" minutes corresponds to the time length partition), the time corresponding to each area is increased by 5 minutes in the clockwise direction.
Based on this, as shown in fig. 8, when the user wants to set the use period for the application 1, the icon of the application 1 can be moved to "8" in the "clock disk": the unit of "hour" in the use deadline of the application 1 is determined to be 8 points (i.e. the first use time), and then the icon of the application 1 is moved to the second target time partition (i.e. the second sub-input) corresponding to "30 minutes in the" minute disc ", and the unit of" minute "in the use deadline of the application 1 is determined to be" 30 minutes "(i.e. the second use time). Thus, the use deadline of application 1 can be set to 8:30.
It should be noted that, in the above example, the clock dial of the first control is divided in the first time unit (time), so that in order to avoid that the sub-display area is too small and is unfavorable for the user to input, the clock dial is set to include 12 hours, where setting information of the morning and afternoon is implied. Similarly, the clock dial of the second control is divided in second time units (minutes), and the time of 1 hour is divided into 12 areas in 5 minutes as a step length. Thus, the cutoff time is an integer multiple of 5 in the above example.
It should be noted that, in the method for setting the application use duration provided in the embodiment of the present application, the execution body may be a device for setting the application use duration, or a control module of a method for executing the setting of the application use duration in the device for setting the application use duration. In the embodiment of the present application, a method for setting an application use duration by using a device for setting an application use duration is taken as an example, and the device for setting an application use duration provided in the embodiment of the present application is described.
As shown in fig. 9, an embodiment of the present application provides a device for setting a usage duration of an application. The device for setting the application program use time length comprises: a first receiving module 91, a first display module 92, a second receiving module 93, and a setting module 94;
the first receiving module 91 is configured to receive a first input from a user on a desktop of the electronic device;
the first display module 92 is configured to display a first control in response to the first input received by the first receiving module 91, where the first control includes N first time-long partitions, and N is a positive integer;
the second receiving module 93 is configured to receive a second input that a user moves a target application icon to a first target time zone among the N first time zones displayed by the first display module 92;
The setting module 94 is configured to set, in response to the second input received by the second receiving module 93, a usage duration of the target application program corresponding to the target application icon as a usage duration corresponding to the first target duration partition.
Optionally, the first control includes an annular display area and a circular display area located in the annular display area; the annular display area is divided into N sub-display areas, and one sub-display area corresponds to one first time length partition.
Alternatively, as shown in fig. 10, the first input is: a first input by a user of a target application icon on a desktop of the electronic device;
the first display module 92 is specifically configured to display a first control in response to the first input received by the first receiving module 91, and display the target application icon in the circular display area.
Optionally, the setting module 94 is further configured to:
responding to the second input, and acquiring the use time length corresponding to the first target time length partition;
receiving a third input of a user to the circular display area;
and responding to the third input, and setting the common use duration of X application programs corresponding to X icons as the use duration corresponding to the first target duration partition under the condition that the target application icon comprises X icons, wherein X is a positive integer.
Alternatively, as shown in fig. 10, the first receiving module 91 is specifically configured to:
receiving a first input of a user to a blank position on a desktop of the electronic device;
the first display module 92 is specifically configured to display a first control in response to the first input received by the first receiving module 91, and display a determination button in the circular display area.
Optionally, as shown in fig. 10, the apparatus further includes: a second display module 95;
the second display module 95 is configured to display a second control in response to the second input received by the second receiving module 93 after the first display module 92 displays the first control, where the second control includes M second duration partitions;
wherein said second input comprises: moving the target application icon to a first sub-input of the first target time zone, and moving the target application icon to a second sub-input of a second target time zone of the M second time zones; m is a positive integer;
the setting module 94 is further configured to: in response to the second input received by the second receiving module 93, determining a first time corresponding to the first target duration partition according to a first time unit corresponding to the first control, determining a second time corresponding to the second target duration partition according to a second time unit corresponding to the second control, and setting a use deadline of the target application program corresponding to the target application icon according to the first time and the second time.
In the setting device for the application program use duration provided in the embodiment of the present application, first, a first input of a user on a desktop of an electronic device is received, then, in response to the first input, a first control is displayed, then, a second input of a user to move a target application icon to a first target duration partition in the N first duration partitions is received, and finally, in response to the second input, the use duration of a target application program corresponding to the target application icon is set as the use duration corresponding to the first target duration partition. Therefore, through the first control used for setting the use duration, the electronic equipment can directly select duration partitions corresponding to different use durations in the first control based on the requirements of the user, so that the proper use duration is flexibly set for the target application program, the operation path for setting the use duration of the application program is reduced, and the operation efficiency and the man-machine interaction performance are improved.
The device for setting the application use duration in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The device for setting the application use duration in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The device for setting the application use duration provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. N to n+x, and in order to avoid repetition, a description is omitted here.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
Optionally, as shown in fig. 11, the embodiment of the present application further provides an electronic device 1100, including a processor 1101, a memory 1102, and a program or an instruction stored in the memory 1102 and capable of running on the processor 1101, where the program or the instruction implements each process of the embodiment of the method for setting a use duration of an application program when executed by the processor 1101, and the same technical effects can be achieved, so that repetition is avoided and redundant description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1210 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 1207 is configured to receive a first input of a user on a desktop of the electronic device;
a display unit 1206, configured to display a first control in response to the first input, where the first control includes N first time-long partitions, and N is a positive integer;
The user input unit 1207 is further configured to receive a second input that a user moves the target application icon to a first target time zone of the N first time zones;
the processor 1210 is configured to set, in response to the second input, a usage duration of the target application program corresponding to the target application icon to a usage duration corresponding to the first target duration partition.
Optionally, the first control includes an annular display area and a circular display area located in the annular display area; the annular display area is divided into N sub-display areas, and one sub-display area corresponds to one first time length partition.
Optionally, the first input is: a first input by a user of a target application icon on a desktop of the electronic device;
the display unit 1206 is further configured to display a first control in response to the first input, and display the target application icon in the circular display area.
Optionally, the processor 1210 is further configured to obtain a usage time length corresponding to the first target time length partition in response to the second input;
the user input unit 1207 is further configured to receive a third input from a user to the circular display area;
The processor 1210 is further configured to set, in response to the third input, a common usage time length of X applications corresponding to the X icons to a usage time length corresponding to the first target time length partition when the target application icon includes X icons, where X is a positive integer.
Optionally, the user input unit 1207 is further configured to receive a first input of a blank position on a desktop of the electronic device by a user;
the display unit 1206 is further configured to display a first control in response to the first input, and display a determination button in the circular display area.
Optionally, the display unit 1206 is further configured to, after the displaying of the first control, display a second control in response to the second input, where the second control includes M second duration partitions;
wherein said second input comprises: moving the target application icon to a first sub-input of the first target time zone, and moving the target application icon to a second sub-input of a second target time zone of the M second time zones; m is a positive integer;
the processor 1210 is further configured to determine, in response to the second input, a first time corresponding to the first target duration partition according to a first time unit corresponding to the first control, determine, in response to a second time unit corresponding to the second control, a second time corresponding to the second target duration partition, and set, in response to the first time and the second time, a use deadline of the target application corresponding to the target application icon.
Optionally, the display unit 1206 is further configured to display a second control in response to the second input if the dwell time of the second input in the first target time period partition is greater than or equal to a predetermined time period.
In the electronic device provided in this embodiment of the present application, first, a first input of a user to a desktop of the electronic device is received, then, in response to the first input, a first control is displayed, then, a second input of the user to move a target application icon to a first target duration partition in the N first duration partitions is received, and finally, in response to the second input, a usage duration of a target application program corresponding to the target application icon is set to a usage duration corresponding to the first target duration partition. Therefore, through the first control used for setting the use duration, the electronic equipment can directly select duration partitions corresponding to different use durations in the first control based on the requirements of the user, so that the proper use duration is flexibly set for the target application program, the operation path for setting the use duration of the application program is reduced, and the operation efficiency and the man-machine interaction performance are improved. The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts, a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 209 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. Processor 1210 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, where the program or the instruction implements each process of the method embodiment for setting the application use duration when executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, each process of the embodiment of the method for setting the use duration of the application is implemented, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A method for setting a use time of an application program, the method comprising:
receiving a first input of a user on a desktop of the electronic device;
responding to the first input, displaying a first control, wherein the first control comprises N first time-long partitions, and N is a positive integer;
receiving a second input of a user to move a target application icon to a first target time zone in the N first time zones;
responding to the second input, and setting the using time length of the target application program corresponding to the target application icon as the using time length corresponding to the first target time length partition;
the first control comprises an annular display area and a circular display area positioned in the annular display area; the annular display area is divided into N sub-display areas, and one sub-display area corresponds to one first time length partition;
The responding to the second input, setting the using time length of the target application program corresponding to the target application icon as the using time length corresponding to the first target time length partition, including:
responding to the second input, and acquiring the use time length corresponding to the first target time length partition;
receiving a third input of a user to the circular display area;
and responding to the third input, and setting the common use duration of X application programs corresponding to X icons as the use duration corresponding to the first target duration partition under the condition that the target application icon comprises X icons, wherein X is a positive integer.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the first input is: a first input by a user of a target application icon on a desktop of the electronic device;
the displaying, in response to the first input, a first control comprising:
and responding to the first input, displaying a first control, and displaying the target application icon in the circular display area.
3. The method of claim 1, wherein receiving a first input from a user on a desktop of the electronic device comprises:
Receiving a first input of a user to a blank position on a desktop of the electronic device;
the displaying, in response to the first input, a first control comprising:
and in response to the first input, displaying a first control and displaying a determination button in the circular display area.
4. A method according to any one of claims 1 to 3, wherein after the displaying the first control, the method further comprises:
responsive to the second input, displaying a second control, the second control comprising M second time-duration partitions;
wherein the second input comprises: moving the target application icon to a first sub-input of the first target time zone and moving the target application icon to a second sub-input of a second target time zone of the M second time zones; m is a positive integer;
the responding to the second input, setting the using time length of the target application program corresponding to the target application icon as the using time length corresponding to the first target time length partition, including:
responding to the second input, determining a first time corresponding to the first target time length partition according to a first time unit corresponding to the first control, determining a second time corresponding to the second target time length partition according to a second time unit corresponding to the second control, and setting the use deadline of the target application program corresponding to the target application icon according to the first time and the second time.
5. An apparatus for setting a use period of an application program, the apparatus comprising: the device comprises a first receiving module, a first display module, a second receiving module and a setting module;
the first receiving module is used for receiving a first input of a user on a desktop of the electronic equipment;
the first display module is used for responding to the first input received by the first receiving module and displaying a first control, wherein the first control comprises N first time-length partitions, and N is a positive integer;
the second receiving module is used for receiving a second input of a user for moving the target application icon to a first target time length partition in the N first time length partitions displayed by the first display module;
the setting module is configured to set a usage duration of the target application program corresponding to the target application icon as a usage duration corresponding to the first target duration partition in response to the second input received by the second receiving module;
the first control comprises an annular display area and a circular display area positioned in the annular display area; the annular display area is divided into N sub-display areas, and one sub-display area corresponds to one first time length partition;
The setting module is further configured to:
responding to the second input, and acquiring the use time length corresponding to the first target time length partition;
receiving a third input of a user to the circular display area;
and responding to the third input, and setting the common use duration of X application programs corresponding to X icons as the use duration corresponding to the first target duration partition under the condition that the target application icon comprises X icons, wherein X is a positive integer.
6. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the first input is: a first input by a user of a target application icon on a desktop of the electronic device;
the first display module is specifically configured to display a first control in response to the first input received by the first receiving module, and display the target application icon in the circular display area.
7. The apparatus of claim 5, wherein the first receiving module is specifically configured to:
receiving a first input of a user to a blank position on a desktop of the electronic device;
the first display module is specifically configured to display a first control in response to the first input received by the first receiving module, and display a determination button in the circular display area.
8. The apparatus according to any one of claims 5 to 7, further comprising: a second display module;
the second display module is configured to, after the first display module displays the first control, respond to the second input received by the second receiving module to display a second control, where the second control includes M second duration partitions;
wherein the second input comprises: moving the target application icon to a first sub-input of the first target time zone and moving the target application icon to a second sub-input of a second target time zone of the M second time zones; m is a positive integer;
the setting module is further configured to:
responding to the second input received by the second receiving module, determining a first time corresponding to the first target time length partition according to a first time unit corresponding to the first control, determining a second time corresponding to the second target time length partition according to a second time unit corresponding to the second control, and setting the use deadline of the target application program corresponding to the target application icon according to the first time and the second time.
9. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction when executed by the processor implementing the steps of the method of setting a duration of use of an application as claimed in any one of claims 1 to 4.
10. A readable storage medium, wherein a program or instructions are stored on the readable storage medium, which when executed by a processor, implement the steps of the method for setting a use time of an application program according to any one of claims 1 to 4.
CN202110594667.9A 2021-05-28 2021-05-28 Method and device for setting application program use duration Active CN113360037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110594667.9A CN113360037B (en) 2021-05-28 2021-05-28 Method and device for setting application program use duration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110594667.9A CN113360037B (en) 2021-05-28 2021-05-28 Method and device for setting application program use duration

Publications (2)

Publication Number Publication Date
CN113360037A CN113360037A (en) 2021-09-07
CN113360037B true CN113360037B (en) 2023-05-16

Family

ID=77528169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110594667.9A Active CN113360037B (en) 2021-05-28 2021-05-28 Method and device for setting application program use duration

Country Status (1)

Country Link
CN (1) CN113360037B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786561B (en) * 2017-10-31 2020-07-24 广东小天才科技有限公司 Application use duration management and control method and client
CN110413315B (en) * 2019-07-29 2021-06-25 维沃移动通信有限公司 Application program control method and electronic equipment
CN111158781B (en) * 2019-12-27 2022-09-30 维沃移动通信有限公司 Application control method and electronic equipment
CN112764611B (en) * 2021-01-21 2023-05-16 维沃移动通信(杭州)有限公司 Application program control method and device and electronic equipment

Also Published As

Publication number Publication date
CN113360037A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN111966258B (en) Permission setting method and device and electronic equipment
CN113141293B (en) Message display method and device and electronic equipment
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
EP3754959B1 (en) Quick access to an application in the lock screen
CN112162807A (en) Function execution method and device
CN112162665A (en) Operation method and device
US20230152952A1 (en) Display Method and Apparatus for Message Detail Page, and Electronic Device
CN111695151A (en) Application permission setting method and device, electronic equipment and readable storage medium
CN112148166A (en) Desktop component management method and device
CN111857511B (en) Wallpaper display control method and device and electronic equipment
CN112269508A (en) Display method and device and electronic equipment
CN112099702A (en) Application running method and device and electronic equipment
CN113485603A (en) Message display method and device and electronic equipment
CN112764611B (en) Application program control method and device and electronic equipment
CN113282213A (en) Interface display method and device
CN113568534A (en) Application icon display method and device and electronic equipment
CN113703627A (en) Display method, display device, electronic equipment and readable storage medium
CN113407272A (en) Display method and device
CN113360037B (en) Method and device for setting application program use duration
CN111638828A (en) Interface display method and device
CN114244952B (en) Alarm clock processing method and device, electronic equipment and medium
CN112637409B (en) Content output method and device and electronic equipment
CN113342755A (en) Display control method and device
CN113900553A (en) Display method and device and electronic equipment
CN112286611A (en) Icon display method and device and electronic 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