CN111596844B - Time display method and device and electronic equipment - Google Patents

Time display method and device and electronic equipment Download PDF

Info

Publication number
CN111596844B
CN111596844B CN202010362232.7A CN202010362232A CN111596844B CN 111596844 B CN111596844 B CN 111596844B CN 202010362232 A CN202010362232 A CN 202010362232A CN 111596844 B CN111596844 B CN 111596844B
Authority
CN
China
Prior art keywords
time
target
precision
input
control
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
CN202010362232.7A
Other languages
Chinese (zh)
Other versions
CN111596844A (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 Co Ltd
Original Assignee
Vivo Mobile Communication 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 Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010362232.7A priority Critical patent/CN111596844B/en
Publication of CN111596844A publication Critical patent/CN111596844A/en
Application granted granted Critical
Publication of CN111596844B publication Critical patent/CN111596844B/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/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/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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Abstract

The embodiment of the application discloses a time display method and device and electronic equipment. The method comprises the following steps: receiving a first input of a user; responding to the first input, and adjusting the time precision of the electronic equipment to a target time precision corresponding to the first input; and displaying the time information according to the target time precision. By the aid of the time display method and the time display device, the problems that time display precision cannot meet user requirements and application range is narrow can be solved.

Description

Time display method and device and electronic equipment
Technical Field
The embodiment of the application relates to the field of electronic equipment, in particular to a time display method and device and electronic equipment.
Background
With the popularization of electronic devices, more and more people use the time display function of the electronic devices instead of the conventional timepieces.
However, the time display accuracy in the time display function of the existing electronic device is fixed, can only be accurate to minutes, and cannot be adjusted according to the requirements of users, and for some scenes requiring other time accuracies, the time display accuracy cannot meet the requirements of users, and the application range is narrow.
Disclosure of Invention
The embodiment of the application provides a time display method and device and electronic equipment, and aims to solve the problems that time display precision cannot meet user requirements and application range is narrow.
In a first aspect, an embodiment of the present application provides a time display method, including:
receiving a first input of a user;
responding to the first input, and adjusting the time precision of the electronic equipment to a target time precision corresponding to the first input;
and displaying the time information according to the target time precision.
In a second aspect, an embodiment of the present application further provides a time display apparatus, including:
the first receiving module is used for receiving a first input of a user;
the precision adjusting module is used for responding to the first input and adjusting the time precision of the electronic equipment to a target time precision corresponding to the first input;
and the display module is used for displaying the time information according to the target time precision.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the time display method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the time display method according to the first aspect.
In the embodiment of the application, after the first input of the user is received, the time precision of the electronic equipment can be adjusted to the target time precision corresponding to the first input, and the time information under the target time precision is displayed. The embodiment of the application provides richer time precision on the basis of the traditional time display function, so that the user can adjust the time precision of the electronic equipment according to the self requirement, the time precision requirement of the user in various scenes is met, and the application range of the time display function of the electronic equipment is widened.
Drawings
The present application may be better understood from the following description of specific embodiments of the application taken in conjunction with the accompanying drawings, in which like or similar reference numerals identify like or similar features.
Fig. 1 is a schematic flowchart of a time display method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an accuracy option interface provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of displaying second-level time precision at a display position of a time display application of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of displaying time accuracies of 1 millisecond, 2 millisecond and 3 millisecond bits at a display position of a time display application of an electronic device according to an embodiment of the present application;
FIG. 5 is a schematic view of a target floating window according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating an association between a first control and a second control according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a setup menu provided in an embodiment of the present application;
fig. 8 is a schematic diagram illustrating simultaneous display of second-level time information in a display position and a target floating window of a time display application of an electronic device according to an embodiment of the present application;
FIG. 9 is a schematic view of another embodiment of a target suspended window;
fig. 10 is a schematic diagram illustrating a first control and a plurality of second controls associated with the first control according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a time display device according to an embodiment of the present application;
fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
As background art, with the spread of electronic devices, more and more people use the time display function of the electronic devices instead of the conventional clocks. The time display function of the existing electronic equipment can only display fixed precision, namely, the precision is accurate to time and minute, and a user cannot adjust the precision of time information according to the requirement of the user. For example, in some service usage scenarios with high requirements on time accuracy and high dependence on seconds and milliseconds, such as timed ticket preemption, whole second killing, and the like, if a user directly uses the time information given by the electronic device, a certain time error may be caused, thereby affecting the normal use of the user.
If the user assists in ticket robbing through other time tool software, time delay exists in the switching of the two applications, and the button position of the ticket robbing needs to be found after the two applications are switched back, so that a part of time loss is brought to the two operations invisibly, the ticket robbing success rate of the user is not improved, and the experience is poor. For example, the operation process of the user may be as follows: entering a coupon robbing interface in the Taobao application, and confirming the coupon issuing time (accurate to minute/second); entering time tool software to set ticket robbing time and observing high-precision time change; when the ticket robbing time is up, switching to the treasure washing application again, finding a ticket robbing button and clicking the ticket robbing button.
In order to solve the above-mentioned drawbacks, an embodiment of the present application provides a time display method, and referring to fig. 1, fig. 1 shows a schematic flow chart of the time display method provided by the embodiment of the present application; the method is applied to the electronic equipment and comprises the following steps:
s101, receiving a first input of a user;
the first input here is an input operation for adjusting the time accuracy of the electronic apparatus. The first input may be an input to a specific control in a time setting function in a setting menu, or may also be an input to a specific control in a certain time display application, and the application does not limit a specific object of the first input.
S102, responding to the first input, and adjusting the time precision of the electronic equipment to a target time precision corresponding to the first input;
here, the time precision adjustment operation may be performed immediately after the first input is received, or may be performed after a period of time after the first input is received, and a specific implementation manner will be described in detail below.
And S103, displaying the time information according to the target time precision.
The specific implementation of this step will be described in detail below.
For convenience of understanding, taking the coupon robbing scenario in the panning application as an example, the user operates as follows: entering a coupon robbing interface in the Taobao application to confirm the coupon issuing time (accurate to seconds); adjusting the time precision of the time information of the electronic equipment to be second or millisecond; and observing time information under the target time precision, and clicking a ticket grabbing button to grab the ticket when the ticket grabbing time is up.
In the embodiment of the application, after the first input of the user is received, the time precision of the electronic equipment can be adjusted to the target time precision corresponding to the first input, and the time information under the target time precision is displayed. The embodiment of the application provides richer time precision on the basis of the traditional time display function, so that the user can adjust the time precision of the electronic equipment according to the self requirement, the time precision requirement of the user in various scenes is met, and the application range of the time display function of the electronic equipment is widened. For example, the time display function of the electronic device may not be limited to the summary time display in time and level, but may support business scenarios such as ticket robbing and killing for shopping software requiring high time precision, so that the user does not need to frequently switch between the time tool software and the shopping software in the high time precision usage scenario, the success rate of the user in the ticket robbing and killing scenarios is improved, and the user experience is improved.
Optionally, the S101 may specifically include: a first input of a target precision option by a user is received. Namely, different precision options correspond to different time precisions, and a user can select the time precision desired by the user by selecting the target precision option. For example, any one of the precision options of second, millisecond 1 bit, millisecond 2 bit, millisecond 3 bit may be selected. As shown in fig. 2, fig. 2 is a schematic diagram illustrating an accuracy option interface provided in an embodiment of the present application. Correspondingly, the step S102 may specifically include: and adjusting the time precision of the electronic equipment to the target time precision corresponding to the target precision option. For example, the time precision corresponding to the target precision option is time, minute and second.
In other embodiments of the present application, the time precision adjustment operation may be performed after a period of time after the first input is received, and based on this, the S102 may include:
responding to the first input, and acquiring a target trigger moment of a target event; the target trigger time is determined by a target event;
under the condition of reaching the target time, adjusting the time precision of the electronic equipment to the target time precision corresponding to the first input; the target time is the time before the target triggering time, and the time length from the target triggering time is the first preset time length.
That is, in this embodiment, the user may set a trigger time of an event, for example, a time of a coupon robbery through a first input, and select a target time precision, and then adjust the target trigger time precision at a target time before the event arrives, for example, the target trigger time of the coupon robbery event is 12:30:45, and then adjust the target trigger time precision 5 minutes before the target trigger time, that is, 12:25: 45. This way, when there is still a long time from the target trigger time, the user can check the time with normal time/minute precision without paying attention to more precise precision, thereby reducing the waste of energy to the user.
In addition, based on the above embodiment, for the convenience of daily use of the user, the time precision of the electronic device is adjusted to the original time precision, that is, the time precision before adjustment according to the first input, at the time after the target trigger time and at the second preset time length from the target trigger time. For example, the target trigger time for a ticket robbery event is 12:30:45, and at 12:35:45, the time precision is adjusted back to minutes. Or the time precision of the electronic equipment can be adjusted to the original time precision after the triggering input of the target event is received. By the method, after the target event is finished, the time precision of the electronic equipment can be adjusted back to the original time precision, such as time/minute, so that a user does not need to manually adjust the time precision again, and the daily time display requirement of the user is facilitated.
In other embodiments of the present application, the step S103 may include:
the time information is displayed at a display position of a time display application of the electronic device with a target time precision. The display position of the time display application here may be a time display position in the center of a desktop of the electronic device, or may be a time display position in the upper left corner or the upper right corner of the desktop of the electronic device, such as the position 110 in fig. 3, and fig. 3 shows a schematic diagram that shows second-level time precision at the display position of the time display application of the electronic device according to the embodiment of the present application; and referring to the positions 111, 112 and 113 shown in fig. 4, fig. 4 shows a schematic diagram for displaying the time precision of the millisecond 1 bit, the millisecond 2 bit and the millisecond 3 bit at the display position of the time display application of the electronic device according to the embodiment of the application.
In this embodiment, the precision of the time information at the display position of the time display application on the electronic device is directly adjusted to the target time precision, so that the user can directly use the time displayed on the desktop of the electronic device to complete some work requiring high-precision time. For example, the precision of the time information displayed at the upper left corner of the desktop of the electronic equipment is adjusted, so that when a ticket is subsequently robbed in shopping software, a user can check the high-precision time information at the upper left corner while opening a ticket robbing page, thereby meeting the requirement of the user on high-precision time and improving the user experience.
In other embodiments of the present application, the S103 may include:
and displaying a target floating window, wherein the target floating window comprises time information displayed according to the target time precision. As shown in fig. 5, fig. 5 is a schematic view illustrating a target floating window provided in an embodiment of the present application.
The embodiment shows a target floating window, which can be set to be displayed on the uppermost layer, that is, the target floating window can be floating displayed on the page of each application, in this case, the time information of the target time precision is displayed in the target floating window, so that the user can directly check the target floating window when needing the time information of the target time precision, without switching to time tool software, thereby improving the convenience of the user, and the target floating window can also play a role in prompting the user. For example, when a user wants to perform ticket robbery through shopping software, the user can open a ticket robbery page, and the target floating window is suspended on the ticket robbery page, so that the user can directly check high-precision time information, and the ticket robbery success rate of the user is improved.
In still other embodiments of the present application, S103 may include:
a target hover window is displayed that can include a first control therein.
Specifically, before S103, the method may further include:
and associating the first control in the target floating window with the second control in the target application, so that the target application is controlled to output a response after receiving the preset input of the second control under the condition of receiving the preset input of the first control.
As shown in fig. 6, fig. 6 illustrates a schematic diagram that a first control is associated with a second control according to an embodiment of the present application.
In this embodiment, by associating the first control in the target floating window with the second control in the target application, after receiving the preset input of the user to the first control, the target application is controlled to output a response after receiving the preset input to the second control, for example, an interface entered after receiving the preset input to the second control is displayed. For example, the first control is associated with an ticket robbing button in a ticket robbing page, and after the first control is triggered, the user can jump to a page behind the ticket robbing button clicked by the user. By the aid of the association mode, the user does not need to open a target page in the target application, and the first control is directly triggered, so that the operation of the user is simplified.
In a specific embodiment, the association operation may be performed in response to a second input after receiving the second input to the association control from the user. Optionally, the association control may also be used as an opening control of the target floating window, and the target floating window is displayed in subsequent S103 when a second input to the association control by the user is received. For example, as shown in fig. 7, fig. 7 is a schematic diagram illustrating a setup menu provided in an embodiment of the present application. The associated control can be a control of setting a 'newly-built ticket grabbing auxiliary floating window' in the menu.
Or, optionally, the associating operation may be to automatically associate the second control in the foreground display interface of the target application with the first control in response to the first input. This is not a limitation of the present application.
Specifically, in combination with the above embodiments, the S103 may specifically include any one of the following implementation manners:
the implementation mode is as follows: and displaying time information according to the target time precision at the display position of the time display application of the electronic equipment, and displaying a target floating window, wherein the target floating window comprises a first control.
For convenience of understanding, taking the coupon robbing scenario in the panning application as an example, the user operates as follows:
entering a coupon robbing interface in the Taobao application to confirm the coupon issuing time (accurate to seconds); adjusting the time precision of the time information of the electronic equipment to be second or millisecond; observing time information displayed on the electronic equipment under the target time precision, wherein the display interface of the electronic equipment can stay on a coupon robbing interface of the Taobao and can also stay on other interfaces; and when the ticket robbing time is up, clicking a first control in the target floating window to carry out ticket robbing.
In this implementation manner, the target floating window may only include the first control, and in this case, the user may time according to the time information displayed at the display position of the time display application by the electronic device, and when the time displayed at the display position of the time display application reaches the target trigger time, the user triggers the first control. The method can reduce the number of controls contained in the target floating window and simplify the design of the target floating window.
The second implementation mode is as follows: and displaying time information according to the target time precision at the display position of the time display application of the electronic equipment, and displaying a target floating window, wherein the target floating window comprises a first control and a target trigger time associated with a second control. The target trigger time associated with the second control refers to a time at which the second control should be triggered theoretically, that is, the target trigger time of the target event mentioned in the foregoing embodiment.
For convenience of understanding, taking a coupon robbing scenario in the panning application as an example, the user operates as follows:
entering a coupon robbing interface in the Taobao application to confirm the coupon issuing time (accurate to seconds); adjusting the time precision of the time information of the electronic equipment to be second or millisecond, and displaying the coupon issuing time in the target floating window; observing time information displayed on the electronic equipment under the target time precision, wherein the display interface of the electronic equipment can stay on a coupon robbing interface of the Taobao and can also stay on other interfaces; and when the ticket robbing time is up, clicking a first control in the target floating window to carry out ticket robbing.
In this implementation manner, the user can know the correct trigger time through the target trigger time associated with the second control, and perform timing through the time information displayed at the display position of the time display application of the electronic device, thereby ensuring that the first control is triggered at the correct time. By the method, a user does not need to memorize the correct trigger time and open the target page of the target application to check the target trigger time, so that the user operation is simplified, and the user can trigger the first control at the correct time as far as possible.
The implementation mode is three: and displaying a target floating window, wherein the target floating window comprises a first control and time information displayed according to the target time precision.
For convenience of understanding, taking a coupon robbing scenario in the panning application as an example, the user operates as follows:
entering a coupon robbing interface in the Taobao application to confirm the coupon issuing time (accurate to seconds); adjusting the time precision of the time information of the electronic equipment to be second or millisecond, and displaying the time information in the target floating window; observing time information displayed at a display position of a time display application on the electronic equipment or actual information displayed in a target floating window, wherein the display interface of the electronic equipment can stay at a coupon robbing interface of the Taobao and can also stay at other interfaces; and when the ticket robbing time is up, clicking a first control in the target floating window to carry out ticket robbing.
In this implementation, since the time information is already displayed in the target floating window, the user can directly time according to the time information in the target floating window, and trigger the first control when the target trigger time is reached. In this case, the display position of the time display application of the electronic device may display time information with the target time precision, as shown in fig. 8, fig. 8 shows a schematic diagram that the time information of the second level is simultaneously displayed in the display position of the time display application of the electronic device and the target floating window provided in the embodiment of the present application, or only the time information with the original time precision may be displayed, as shown in fig. 5, fig. 5 shows a schematic diagram of a target floating window provided in the embodiment of the present application. In this way, the user can directly focus on the information in the target floating window without looking up the time information at other positions, thereby simplifying the operation of the user.
In addition, since there may be a plurality of second controls to be triggered, and the target triggering time of each second control is different, in this case, in other embodiments of the present application, S103 may further include: and displaying a plurality of target floating windows, wherein each target floating window comprises a first control and a target trigger time of a second control. As shown in fig. 9, fig. 9 is a schematic view illustrating another target floating window provided in the embodiment of the present application.
In addition, since there may be a plurality of second controls to be triggered, and the target triggering time of each second control is the same, for example, a user wants to perform ticket robbing in a plurality of ticket robbing pages, and the ticket robbing time of each ticket robbing page is the same. Therefore, in order to avoid a situation that the user needs to click on the plurality of first controls or the plurality of second controls respectively, in some specific embodiments of the present application, the target application includes N sub-pages; each sub-page includes a second control therein; n is a positive integer greater than 1;
the associating the first control in the target floating window with the second control in the target application may include:
and respectively associating the first control with each second control, so that under the condition of receiving the preset input of the first control, the control target application outputs the response after respectively receiving the preset input of each second control. As shown in fig. 10, fig. 10 illustrates a schematic diagram that a first control is associated with multiple second controls according to an embodiment of the present application.
In this embodiment, a user can display each sub-page in a split-screen manner in advance, and in this embodiment, one first control can be associated with a plurality of second controls respectively, so that when a plurality of second controls which need to be triggered simultaneously exist, the user only needs to trigger the first control once, thereby simplifying the operation of the user, and ensuring the simultaneity and accuracy when each second control is triggered.
In some specific embodiments of the present application, the associating the first control in the target floating window with the second control in the target application may include:
displaying a target interface opened in the target application;
receiving a third input by the user at a second screen location within the target interface;
the first screen position of the first control is associated with the second screen position.
In this embodiment, when the control association is needed, a target interface opened in the target application, for example, a ticket robbing interface of the shopping application, may be displayed, and a second control to be associated, for example, a ticket robbing button, needs to be included in the target interface. It should be noted that the target interface displayed at this time is only one image, for example, a screenshot of the target interface displayed on the desktop before, the image is used for the user to select the second screen position, and the actual function of the control in the target interface cannot be realized by receiving the user click. For example, the target interface includes a purchase button, but the user does not proceed with the payment interface after clicking the purchase button, but rather associates the screen position of the purchase button with the first screen position of the first control.
In this embodiment, the second screen position of the second control is determined according to the third input of the user, which can avoid the association between the first control and the wrong second control, and ensure the accuracy of the association. And then, associating the first screen position of the first control with the second screen position of the second control, so that a display interface of the triggered second screen position can be displayed after the trigger input of the user is received at the first screen position.
In addition, in other embodiments, instead of displaying the target interface and receiving the third input of the user, the second control in the target interface displayed in the foreground in the target application may be directly identified, and the second screen position of the second control may be directly associated with the first screen position. The method simplifies the operation process of the user and improves the convenience of the user. The above method is specifically adopted, and the present application is not limited.
Moreover, when the first control needs to be associated with a plurality of second controls, the association process may also refer to the method in the foregoing embodiment, and associate the first screen position of the first control with the second screen position of each second control respectively.
In further embodiments of the present application, before S101, the method may further include:
receiving the trigger input of a user to a control for setting time precision;
in response to the trigger input, a time precision setting interface is displayed. Optionally, the time precision setting interface includes a plurality of precision options.
In this embodiment, only after the user triggers the time precision setting control, the user can input the first input in the time precision setting interface (e.g., precision option interface) to select the time precision. The setting time precision control may be located in the setting menu, as shown in fig. 7, which is, of course, not limited in this application.
Based on the embodiments of the time display method provided by the embodiments, correspondingly, the embodiments of the present application further provide a time display device, and referring to fig. 11, fig. 11 shows a schematic structural diagram of the time display device provided by the embodiments of the present application. The device comprises:
a first receiving module 201, configured to receive a first input of a user;
the precision adjusting module 202 is configured to, in response to the first input, adjust the time precision of the electronic device to a target time precision corresponding to the first input;
and a display module 203 for displaying the time information according to the target time precision.
In the embodiment of the application, after the first input of the user is received, the time precision of the electronic equipment can be adjusted to the target time precision corresponding to the first input, and the time information under the target time precision is displayed. The embodiment of the application provides richer time precision on the basis of the traditional time display function, so that the user can adjust the time precision of the electronic equipment according to the self requirement, the time precision requirement of the user in various scenes is met, and the application range of the time display function of the electronic equipment is widened.
Optionally, the first receiving module 201 may specifically be configured to: a first input of a target precision option by a user is received. Accordingly, the precision adjustment module 202 may be specifically configured to: and adjusting the time precision of the electronic equipment to the target time precision corresponding to the target precision option. Namely, different precision options correspond to different time precisions, and a user can select the time precision desired by the user by selecting the target precision option.
In other embodiments of the present application, the time precision adjustment operation may be performed after a period of time after the first input is received, and based on this, the precision adjustment module 202 includes:
the setting unit is used for responding to the first input and acquiring the target trigger time of the target event;
the adjusting unit is used for adjusting the time precision of the electronic equipment to the target time precision corresponding to the first input under the condition that the target time is reached; the target time is the time before the target triggering time, and the time length from the target triggering time is the first preset time length.
That is, in this embodiment, the user may set a trigger time of an event, for example, a time of panning and robbing a coupon, and select a target time precision, and then adjust the target trigger time precision at the target time before the event arrives, which may enable the user to check the time with normal time/minute precision without paying attention to more precise precision when the time is longer than the target trigger time, thereby reducing waste of energy of the user.
Furthermore, based on the above embodiment, in order to facilitate the user to use daily, the adjusting unit may be further configured to:
and adjusting the time precision of the electronic equipment to the original time precision after the target triggering time and at the time which is a second preset time length away from the target triggering time, namely adjusting the time precision before the adjustment according to the first input. Or the time precision of the electronic equipment can be adjusted to the original time precision after the triggering input of the target event is received.
By the method, after the target event is finished, the time precision of the electronic equipment can be adjusted back to the original time precision, such as time/minute, so that a user does not need to manually adjust the time precision again, and the daily time display requirement of the user is facilitated.
In some embodiments of the present application, the display module 203 may include:
a first display unit for displaying time information at a display position of a time display application of the electronic device with a target time precision. The display position of the time display application here may be a time display position in the center of the electronic device desktop, or may be a time display position in the upper left corner or the upper right corner of the electronic device desktop.
In this embodiment, the precision of the time information at the display position of the time display application on the electronic device is directly adjusted to the target time precision, so that the user can directly use the time displayed on the desktop of the electronic device to complete some work requiring high-precision time. For example, the precision of the time information displayed at the upper left corner of the desktop of the electronic equipment is adjusted, so that when ticket robbing is performed on shopping software subsequently, a user can check the high-precision time information at the upper left corner while opening a ticket robbing page, the requirement of the user on high-precision time is met, and the user experience is improved.
In other embodiments of the present application, the display module 203 may include:
and the second display unit is used for displaying the target floating window, and the target floating window comprises time information displayed according to the target time precision.
The embodiment shows a target floating window, which can be set to be displayed on the uppermost layer, that is, the target floating window can be floating displayed on the page of each application, in this case, the time information of the target time precision is displayed in the target floating window, so that the user can directly check the target floating window when needing the time information of the target time precision, without switching to time tool software, thereby improving the convenience of the user, and the target floating window can also play a role in prompting the user.
In still other embodiments of the present application, the display module 203 may be configured to: a target hover window is displayed that can include a first control therein.
Specifically, the apparatus may further include:
and the association module is used for associating the first control in the target floating window with the second control in the target application so as to control the target application to output a response after receiving the preset input of the second control under the condition of receiving the preset input of the first control.
In this embodiment, by associating the first control in the target floating window with the second control in the target application, after receiving the preset input of the user to the first control, the target application is controlled to output a response after receiving the preset input to the second control, for example, an interface entered after receiving the preset input to the second control is displayed. By the aid of the association mode, the user does not need to open a target page in the target application, and the first control is directly triggered, so that the operation of the user is simplified.
In a specific embodiment, the association operation may be performed in response to a second input after receiving the second input to the association control from the user. Optionally, the association control may also be used as an opening control of the target floating window, and the target floating window is displayed in the subsequent display module 203 only when a second input to the association control by the user is received.
Or, optionally, the associating operation may be to automatically associate the second control in the foreground display interface of the target application with the first control in response to the first input. This is not a limitation of the present application.
Specifically, in combination with the several embodiments, the display module 203 may be specifically configured to perform any one of the following steps:
step one, displaying time information according to target time precision at a display position of a time display application of the electronic equipment, and displaying a target floating window, wherein the target floating window comprises a first control.
In this implementation manner, the target floating window may only include the first control, and in this case, the user may time according to the time information displayed at the display position of the time display application by the electronic device, and trigger the first control when the time displayed at the display position of the time display application reaches the target trigger time. The method can reduce the number of controls contained in the target floating window and simplify the design of the target floating window.
Step two: and displaying time information according to the target time precision at the display position of the time display application of the electronic equipment, and displaying a target floating window, wherein the target floating window comprises a first control and a target trigger time associated with a second control. The target trigger time associated with the second control refers to a time at which the second control should be triggered theoretically, that is, the target trigger time of the target event mentioned in the foregoing embodiment.
In this implementation manner, the user can know the correct trigger time through the target trigger time associated with the second control, and perform timing through the time information displayed at the display position of the time display application of the electronic device, thereby ensuring that the first control is triggered at the correct time. By the method, a user does not need to memorize the correct trigger time and open the target page of the target application to check the target trigger time, so that the user operation is simplified, and the user can trigger the first control at the correct time as far as possible.
Step three: and displaying a target floating window, wherein the target floating window comprises a first control and time information displayed according to the target time precision.
In this implementation manner, since the time information is already displayed in the target floating window, the user can directly time according to the time information in the target floating window, and trigger the first control when the target trigger time is reached. In this case, the time information with the target time accuracy may be displayed at the display position of the time display application of the electronic device, or only the time information with the original time accuracy may be displayed. In this way, the user can directly focus on the information in the target floating window without looking up the time information at other positions, thereby simplifying the operation of the user.
In addition, since there may be a plurality of second controls to be triggered, and the target trigger time of each second control is different, in this case, in other embodiments of the present application, the display module 203 may further be configured to: and displaying a plurality of target floating windows, wherein each target floating window comprises a first control and a target triggering moment of a second control.
In order to avoid the situation that a user needs to click on a plurality of first controls or a plurality of second controls respectively, in some specific embodiments of the present application, the target application includes N sub-pages; each sub-page includes a second control therein; n is a positive integer greater than 1;
the association module may be configured to: and respectively associating the first control with each second control, so that under the condition of receiving the preset input of the first control, the control target application outputs the response after respectively receiving the preset input of each second control.
As shown in fig. 10, fig. 10 illustrates a schematic diagram that a first control is associated with a plurality of second controls according to an embodiment of the present application.
In this embodiment, a user can display each sub-page in a split-screen manner in advance, and in this embodiment, one first control can be associated with a plurality of second controls respectively, so that when a plurality of second controls which need to be triggered simultaneously exist, the user only needs to trigger the first control once, thereby simplifying the operation of the user, and ensuring the simultaneity and accuracy when each second control is triggered.
In some embodiments of the present application, the association module may include:
the display unit is used for displaying a target interface started in the target application;
a third receiving unit for receiving a third input of a second screen position of the user in the target interface;
and the position association unit is used for associating the first screen position and the second screen position of the first control.
In this embodiment, when the control association is required, a target interface opened in the target application is displayed, where the target interface needs to include a second control to be associated. It should be noted that the target interface displayed at this time is only one image, for example, a screenshot of the target interface displayed on the desktop before, the image is used for the user to select the second screen position, and the actual function of the control in the target interface cannot be realized by receiving the user click. In the embodiment, the second screen position of the second control is determined according to the third input of the user, so that the first control can be prevented from being associated with the wrong second control, and the association accuracy is ensured. And then, associating the first screen position of the first control with the second screen position of the second control, so that a display interface of the triggered second screen position can be displayed after the trigger input of the user is received at the first screen position.
In addition, in other embodiments, the association module may also directly identify a second control in the target interface displayed in the foreground in the target application, and directly associate the second screen position of the second control with the first screen position, instead of displaying the target interface and receiving the third input of the user. The method simplifies the operation process of the user and improves the convenience of the user. The above method is specifically adopted, and the present application is not limited.
Moreover, when the first control needs to be associated with a plurality of second controls, the association module may also associate the first screen position of the first control with the second screen positions of the respective second controls, respectively, by referring to the method in the foregoing embodiment.
In still other embodiments of the present application, the apparatus may further include:
the precision setting module is used for receiving the triggering input of a user to the time precision setting control; in response to the trigger input, a time precision setting interface is displayed. Optionally, the time precision setting interface includes a plurality of precision options.
In this embodiment, only after the user triggers the time precision setting control, the user can input the first input in the time precision setting interface (e.g., precision option interface) to select the time precision. The setting time precision control can be located in the setting menu, and this is not limited in this application.
The apparatus provided in the embodiment of the present application can implement each method step implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Fig. 12 shows a hardware structure diagram of an electronic device according to an embodiment of the present application.
The electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present application, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 310 is configured to control the user input unit 307 to receive a first input of a user; responding to the first input, and adjusting the time precision of the electronic equipment to a target time precision corresponding to the first input; the control display unit 306 displays the time information with the target time precision.
In the embodiment of the application, after the first input of the user is received, the time precision of the electronic equipment can be adjusted to the target time precision corresponding to the first input, and the time information under the target time precision is displayed. The embodiment of the application provides richer time precision on the basis of the traditional time display function, so that the user can adjust the time precision of the electronic equipment according to the self requirement, the time precision requirement of the user in various scenes is met, and the application range of the time display function of the electronic equipment is widened.
It should be understood that, in the embodiment of the present application, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, the radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides the user with wireless broadband internet access via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown in fig. 12 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an electronic device is further provided in this embodiment of the present application, and includes a processor 310, a memory 309, and a program or an instruction stored in the memory 309 and capable of being executed on the processor 310, where the program or the instruction is executed by the processor 310 to implement each process of the above time display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present application further provides a computer-readable storage medium, where a program or an instruction is stored on the computer-readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above time display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A time display method, comprising:
receiving a first input of a user, wherein the first input is used for setting a target trigger moment of a target event;
responding to the first input, and adjusting the time precision of the electronic equipment to a target time precision corresponding to the first input;
displaying time information according to the target time precision;
wherein the adjusting the time precision of the electronic device to the target time precision corresponding to the first input in response to the first input comprises:
responding to the first input, and acquiring a target trigger moment of a target event;
under the condition of reaching the target time, adjusting the time precision of the electronic equipment to the target time precision corresponding to the first input; the target time is the time which is before the target triggering time and the time length from the target triggering time is a first preset time length.
2. The method of claim 1, wherein said displaying time information at said target time precision comprises at least one of:
displaying time information at a display position of a time display application of the electronic device according to the target time precision;
and displaying a target floating window, wherein the target floating window comprises time information displayed according to the target time precision.
3. The method of claim 2, wherein in the case that the displaying time information at the target time precision comprises displaying a target floating window, the target floating window further comprises: a first control;
and the first control in the target floating window is associated with the second control in the target application, so that under the condition that the preset input to the first control is received, the target application is controlled to output a response after the preset input to the second control is received.
4. The method of claim 3, wherein the target application comprises N sub-pages, each of the sub-pages including one of the second controls therein; n is a positive integer greater than 1;
the first control in the target floating window is associated with a second control in a target application, and the method comprises the following steps:
the first control is associated with each of the second controls, so that when the preset input to the first control is received, the target application is controlled to output a response after the preset input to each of the second controls is received.
5. A time display device, comprising:
the device comprises a first receiving module, a first judging module and a second receiving module, wherein the first receiving module is used for receiving a first input of a user, and the first input is used for setting a target trigger moment of a target event;
the precision adjusting module is used for responding to the first input and adjusting the time precision of the electronic equipment to a target time precision corresponding to the first input;
the display module is used for displaying the time information according to the target time precision;
the precision adjustment module comprises:
the setting unit is used for responding to the first input and acquiring target trigger time of a target event;
an adjusting unit, configured to adjust the time precision of the electronic device to a target time precision corresponding to the first input when a target time is reached; the target time is the time which is before the target triggering time and the time length from the target triggering time is a first preset time length.
6. The apparatus of claim 5, wherein the display module comprises at least one of:
a first display unit for displaying time information at a display position of a time display application of the electronic device with the target time precision;
and the second display unit is used for displaying a target floating window, and the target floating window comprises time information displayed according to the target time precision.
7. The apparatus of claim 6, wherein the target-levitating window further comprises: a first control;
and the first control in the target floating window is associated with the second control in the target application, so that under the condition that the preset input to the first control is received, the target application is controlled to output a response after the preset input to the second control is received.
8. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, implement the steps of the time display method of any one of claims 1 to 4.
CN202010362232.7A 2020-04-30 2020-04-30 Time display method and device and electronic equipment Active CN111596844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010362232.7A CN111596844B (en) 2020-04-30 2020-04-30 Time display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010362232.7A CN111596844B (en) 2020-04-30 2020-04-30 Time display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111596844A CN111596844A (en) 2020-08-28
CN111596844B true CN111596844B (en) 2022-06-21

Family

ID=72185127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010362232.7A Active CN111596844B (en) 2020-04-30 2020-04-30 Time display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111596844B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596849A (en) * 2020-12-30 2021-04-02 支付宝(杭州)信息技术有限公司 Page interaction method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9501213B2 (en) * 2011-09-16 2016-11-22 Skadool, Inc. Scheduling events on an electronic calendar utilizing fixed-positioned events and a draggable calendar grid
CN106953968A (en) * 2017-03-10 2017-07-14 深圳天珑无线科技有限公司 time display method, device and terminal
CN107193665A (en) * 2017-04-12 2017-09-22 北京安云世纪科技有限公司 A kind of based reminding method of task, device and mobile terminal
CN110879679B (en) * 2019-11-12 2022-02-22 维沃移动通信有限公司 Display control method, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111596844A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN107734175B (en) Notification message prompting method and mobile terminal
CN110995923A (en) Screen projection control method and electronic equipment
CN109407921B (en) Application processing method and terminal device
EP4071606A1 (en) Application sharing method, first electronic device and computer-readable storage medium
CN108089891B (en) Application program starting method and mobile terminal
CN110062105B (en) Interface display method and terminal equipment
EP4060969A1 (en) Application program sharing method and electronic device
CN108174103B (en) Shooting prompting method and mobile terminal
CN111142991A (en) Application function page display method and electronic equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN111290810B (en) Image display method and electronic equipment
EP3855714A1 (en) Information processing method and terminal
CN111104029B (en) Shortcut identifier generation method, electronic device and medium
CN109451141B (en) Operation control method and related terminal
CN109684825B (en) Authority management method and terminal equipment
CN109710130B (en) Display method and terminal
CN109062634B (en) Application starting method and mobile terminal
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium
EP3905037B1 (en) Session creation method and terminal device
CN110941469B (en) Application splitting creation method and terminal equipment thereof
CN110096203B (en) Screenshot method and mobile terminal
CN111061446A (en) Display method and electronic equipment
CN111596844B (en) Time display method and device and electronic equipment
CN111261128B (en) Screen brightness adjusting method 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