CN111049977B - Alarm clock reminding method and electronic equipment - Google Patents

Alarm clock reminding method and electronic equipment Download PDF

Info

Publication number
CN111049977B
CN111049977B CN201911184585.6A CN201911184585A CN111049977B CN 111049977 B CN111049977 B CN 111049977B CN 201911184585 A CN201911184585 A CN 201911184585A CN 111049977 B CN111049977 B CN 111049977B
Authority
CN
China
Prior art keywords
input
file
target
alarm clock
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911184585.6A
Other languages
Chinese (zh)
Other versions
CN111049977A (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 CN201911184585.6A priority Critical patent/CN111049977B/en
Publication of CN111049977A publication Critical patent/CN111049977A/en
Application granted granted Critical
Publication of CN111049977B publication Critical patent/CN111049977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an alarm clock reminding method and electronic equipment, relates to the technical field of communication, and can solve the problem that the efficiency of setting a reminding mode of an alarm clock by the electronic equipment is low. The method comprises the following steps: receiving a first input of a user under the condition of displaying a playing picture of a multimedia file; in response to a first input, updating the playing picture to a target display state, the target display state being associated with an alarm clock function; receiving a second input of the user on the playing picture, wherein the second input is the input of the user on the target time and the target file in the multimedia files; and responding to the second input, determining the target time as the reminding time of the alarm clock, and determining the target file as the reminding file of the alarm clock. The embodiment of the invention is applied to the process of setting the reminding time and the reminding file of the alarm clock by the electronic equipment.

Description

Alarm clock reminding method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an alarm clock reminding method and electronic equipment.
Background
Generally, when a user sets an alarm clock through an alarm clock function of an electronic device, a multimedia file (e.g., an audio/video file) may be set as a reminding mode (e.g., a reminding ring) of the alarm clock. At present, a user can search a certain audio and video file which is preferred by the user from files stored in an electronic device, and set the audio and video file and time in an alarm clock application program so as to set a reminding mode of an alarm clock.
However, in the above method, when the user sets the reminding mode of the alarm clock, the user needs to search the files stored in the electronic device one by one to find a required audio/video file, so that the time consumed for the user to find the required audio/video file is long, and the efficiency of setting the reminding mode of the alarm clock by the electronic device is low.
Disclosure of Invention
The embodiment of the invention provides an alarm clock reminding method and electronic equipment, and solves the problem that the efficiency of setting a reminding mode of an alarm clock by the electronic equipment is low.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of the embodiments of the present invention, an alarm clock reminding method is provided, which is applied to an electronic device, and includes: receiving a first input of a user under the condition of displaying a playing picture of a multimedia file; in response to a first input, updating the playing picture to a target display state, the target display state being associated with an alarm clock function; receiving a second input of the user on the playing picture, wherein the second input is the input of the user on the target time and the target file in the multimedia files; and responding to the second input, determining the target time as the reminding time of the alarm clock, and determining the target file as the reminding file of the alarm clock.
In a second aspect of the embodiments of the present invention, there is provided an electronic device, including: the device comprises a receiving module, an updating module and a determining module. The receiving module is used for receiving a first input of a user under the condition of displaying a playing picture of the multimedia file. And the updating module is used for responding to the first input received by the receiving module and updating the playing picture into a target display state, and the target display state is associated with the alarm clock function. And the receiving module is also used for receiving a second input of the user on the playing picture, wherein the second input is the input of the user on the target time and the target file in the multimedia files. And the determining module is used for responding to the second input received by the receiving module, determining the target time as the reminding time of the alarm clock, and determining the target file as the reminding file of the alarm clock.
In a third aspect of embodiments of the present invention, an electronic device is provided, where the electronic device includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the alarm clock reminding method according to the first aspect are implemented.
In a fourth aspect of embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the alarm clock reminding method according to the first aspect.
In the embodiment of the invention, under the condition of displaying the playing picture of the multimedia file, the electronic equipment can update the playing picture into a target display state associated with the alarm clock function according to the first input of the user, and determine the reminding time and the reminding file of the alarm clock according to the second input of the user. Because when the playing picture of the multimedia file is displayed, the user can directly perform the first input, so that the electronic equipment can update the display state of the playing picture, and therefore the user can directly perform the input of the alarm clock time and the alarm clock file on the updated playing picture, so that the electronic equipment can rapidly set the reminding time of the alarm clock and the reminding file, the operation of the user can be simplified, the time consumption is saved, and the efficiency of the electronic equipment in setting the reminding mode of the alarm clock can be improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an alarm clock reminding method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 5 is a third schematic diagram of an example of an interface of a mobile phone according to the embodiment of the present invention;
fig. 6 is a fourth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 7 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 8 is a second schematic diagram of an alarm clock reminding method according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a module of audio/video processing according to an embodiment of the present invention;
fig. 10 is a third schematic diagram of an alarm clock reminding method according to an embodiment of the present invention;
fig. 11 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 12 is a seventh schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 13 is an eighth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 15 is a second schematic structural diagram of an electronic apparatus according to a second embodiment of the invention;
fig. 16 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 17 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of elements refers to two elements or more.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a display panel and/or a backlight, which may mean: there are three cases of a display panel alone, a display panel and a backlight at the same time, and a backlight alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, input/output denotes input or output.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the invention provides an alarm clock reminding method and electronic equipment, wherein when a playing picture of a multimedia file is displayed, a user can directly perform first input so that the electronic equipment can update the display state of the playing picture, and therefore the user can directly perform input of alarm clock time and an alarm clock file on the updated playing picture so that the electronic equipment can quickly set the reminding time and the reminding file of an alarm clock, the operation of the user can be simplified, time consumption can be saved, and the efficiency of setting the reminding mode of the alarm clock by the electronic equipment can be improved.
The alarm clock reminding method and the electronic equipment provided by the embodiment of the invention can be applied to the process of setting the reminding time and the reminding file of the alarm clock by the electronic equipment. Specifically, the method can be applied to the process of setting the reminding time of the alarm clock and the reminding file according to the input of the user under the condition of playing the multimedia file.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the alarm clock reminding method provided by the embodiment of the invention is applied, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the alarm clock reminding method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the alarm clock reminding method may operate based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can realize the alarm clock reminding method provided by the embodiment of the invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
An alarm clock reminding method and an electronic device provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 2 shows a flowchart of an alarm clock reminding method provided in an embodiment of the present invention, and the alarm clock reminding method can be applied to an electronic device having an android operating system shown in fig. 1. As shown in fig. 2, the alarm clock reminding method provided by the embodiment of the present invention may include steps 201 to 204 described below.
Step 201, in the case of displaying a playing picture of a multimedia file, the electronic device receives a first input of a user.
In the embodiment of the present invention, when the user plays the multimedia file through the multimedia application, the electronic device may operate the multimedia application in the foreground, and display a picture (for example, a playing picture of the multimedia file) of the multimedia application, and the user may perform a first input on the picture to trigger the electronic device to update the playing picture to the target display state.
Optionally, in this embodiment of the present invention, the multimedia application may be any one of the following: video type applications, audio type applications, short video type applications, and the like.
Optionally, in an embodiment of the present invention, the multimedia file may include at least one of the following: audio files and video files.
Optionally, in the embodiment of the present invention, the playing frame includes a file progress bar, and the file progress bar is used for indicating a playing progress and a maximum playing time of the multimedia file.
Optionally, in this embodiment of the present invention, the first input may specifically be a handwriting input (input to preset content), a pressing input (for example, a long-time pressing input), a click input (for example, a single-click input, a double-click input, a click input for a preset number of consecutive times), and the like of the user on a playing screen of the multimedia file; or, the first input may specifically be a pressing input of a physical key or a combination of physical keys of the electronic device by a user; alternatively, the first input may be a voice input of the user.
Illustratively, taking an electronic device as a mobile phone as an example for explanation, as shown in (a) in fig. 3, a foreground of the mobile phone runs a video application and displays a playing screen 10 of a video file (e.g., video file a), where the playing screen 10 includes a currently playing video screen, a file progress bar 11 (i.e., a progress bar of the video file, where the progress bar of the video file displays a currently played time and a maximum time allowed to be played), and other controls 12 (e.g., a play/stop control, a pop-up control, etc.); as shown in fig. 3 (B), the user may perform a first input on the playback screen 10, for example, a handwriting input of a pattern (for example, a hook) by the user on the playback screen 10.
Step 202, the electronic device responds to the first input, and updates the playing picture to the target display state.
In the embodiment of the invention, the target display state is associated with an alarm clock function.
It is to be appreciated that the electronic device can associate the play screen with an alarm function after receiving the first input.
In the embodiment of the present invention, when the playing screen is in the target display state, the user may perform related input of an alarm clock on the playing screen, for example, input of time (target time) and a file (target file) of the alarm clock.
Optionally, in this embodiment of the present invention, the playing screen may include a first window, where the first window includes at least one file identifier and a file obtaining control, where each file identifier indicates a file type, and the file obtaining control is configured to intercept a file from a multimedia file.
Optionally, in this embodiment of the present invention, the at least one file identifier may include at least one of: file names (e.g., sound, picture), file icons (e.g., sound selection box, picture selection box), and the like.
Optionally, in this embodiment of the present invention, the file type may include an audio file type and a video file type.
Optionally, in the embodiment of the present invention, the first window further includes a file acquisition progress bar, where the file acquisition progress bar indicates a duration of the intercepted file and a maximum duration of the file allowed to be intercepted.
Optionally, in this embodiment of the present invention, after the electronic device receives the first input of the user, the electronic device may display the first window and stop playing the multimedia file.
Illustratively, referring to fig. 3 (B), as shown in fig. 4, after the user makes a first input, the mobile phone may stop playing the multimedia file and display a first window 13 on the playing screen 10, where the first window 13 includes at least one file identifier (e.g., a sound selection box and a screen selection box), a file obtaining control 14, and a file obtaining progress bar 15, the user may input the at least one file identifier to select a file type of the file to be intercepted, the user may input the file obtaining control 14 to select a duration of the file to be intercepted, and the file obtaining progress bar 15 indicates a duration of the file that has been intercepted (e.g., 00:00) and a maximum duration of the file that is allowed to be intercepted (e.g., 05: 00).
Optionally, in the embodiment of the present invention, the electronic device may display a first window on the playing screen according to a first input of a user, where the first window includes at least one file identifier, and each file identifier indicates a file type respectively; and after the user inputs the at least one file identifier, the electronic device may delete the first window to update the state of the play screen to the target display state.
Optionally, in the embodiment of the present invention, after the electronic device receives the first input of the user, the electronic device may display the first window and continue to play the multimedia file.
Optionally, in the embodiment of the present invention, the user may set a reminding mode of the alarm clock, that is, a mode of outputting the reminding file, for example, a screen display reminding mode or a ring reminding mode, by selectively inputting at least one file identifier.
Step 203, the electronic device receives a second input of the user on the play screen.
In an embodiment of the present invention, the second input is input of a target time and a target file in the multimedia file by a user.
Optionally, in an embodiment of the present invention, the second input specifically includes a first sub-input and a second sub-input, where the first sub-input may be an input (for example, a click input) of a user to a file obtaining control in a first window to trigger the electronic device to start obtaining a file from a multimedia file, the second sub-input may be a sliding input of the user on a playing screen, and the target time is a sliding track of the sliding input.
It should be noted that, after receiving the second input from the user, the electronic device may start to acquire the file and continue to play the multimedia file.
Optionally, in the embodiment of the present invention, the first sub-input may be a single input of the file acquisition control by the user, so as to trigger the electronic device to acquire the file with the preset duration; or, the first sub-input may be two consecutive inputs of the file acquisition control by the user, so as to trigger the electronic device to acquire the file corresponding to the time interval between the two consecutive inputs.
It should be noted that the above two consecutive inputs can be understood as: there is no other input between the two inputs and/or the time interval between the two inputs is less than the preset time interval.
Optionally, in this embodiment of the present invention, the second sub-input may be a handwriting input (for example, handwriting at least one number) of the user on the play screen for the target time.
For example, referring to fig. 4, as shown in fig. 5 (a), a user may perform a first sub-input (e.g., click input) on the file obtaining control 14 in the first window 13, and the mobile phone may start to obtain a file, to display a duration (e.g., 01:30) of the obtained file in real time through the file obtaining progress bar 15, and continue to play the multimedia file, to obtain a file with a preset duration (e.g., 04:00), that is, a target file; after completing the acquisition of the target file, as shown in (B) of fig. 5, the mobile phone stops playing the multimedia file, and the user may perform a second sub-input (e.g., handwriting at least one digit) on the playing screen 10, so that the mobile phone determines the target time according to the digit corresponding to the second sub-input.
Optionally, in an embodiment of the present invention, the second input specifically includes a third sub-input and a fourth sub-input, where the third sub-input is a sliding input of the user on the playing screen, the target time is a sliding track of the sliding input, and the fourth sub-input may be an input (for example, a sliding input) of a file progress bar in the playing screen by the user on the playing screen and the first area displayed in a split screen manner, so as to trigger the electronic device to start to intercept a file from a multimedia file.
It should be noted that, after receiving the third sub-input, the electronic device may display the playing screen and the first area in a split-screen manner, where the first area includes information associated with the alarm clock function.
Optionally, in an embodiment of the present invention, the first area specifically may include at least one of the following: the method comprises the following steps of setting target time, identification of a target file, type identification of a reminding file of an alarm clock, setting options of reminding time of the alarm clock, setting options of the number of times of repetition of alarm clock reminding, setting options of reminding date of the alarm clock and the like.
Optionally, in the embodiment of the present invention, the user may perform other settings of the alarm clock in the first area displayed in the split screen, for example, the number of repetitions of alarm clock reminding, the reminding date of the alarm clock, and the like.
Illustratively, in conjunction with (B) in fig. 3, as shown in (a) in fig. 6, after a first input is made by the user, the mobile phone may display a first window 13 on the playing screen 10, where the first window 13 includes at least one file identifier (e.g., a sound selection box and a screen selection box) and the user may input the at least one file identifier to select a file type of a file to be intercepted; as shown in fig. 6 (B), after the user inputs at least one file identifier, the mobile phone updates the play screen to the target display state, so that the user can input time (e.g., handwriting at least one number) on the play screen 10 in the target display state; as shown in fig. 6 (C), after the user inputs time on the playing screen 10, the mobile phone displays the playing screen 10 and a first area 16 in a split screen manner, where the first area 16 includes a type identifier (e.g., ring tone and screen) of a reminder file of the alarm clock, a reminder time (e.g., 8:00) of the alarm clock, other setting options (e.g., setting option of reminder date of the alarm clock), and the like.
Optionally, in this embodiment of the present invention, the third sub-input may be a handwriting input (for example, handwriting at least one number) of the user on the play screen for the target time.
Optionally, in this embodiment of the present invention, the fourth sub-input may be input at a first time point and a second time point on the file progress bar, so as to trigger the electronic device to determine a start time and an end time of file interception.
Optionally, in this embodiment of the present invention, the fourth sub-input may specifically be a click input of a user at two time points (i.e., a first time point and a second time point) on the file progress bar.
Optionally, in this embodiment of the present invention, the fourth sub-input may be a sliding input of the user on the playing screen and the first area displayed in a split-screen manner, where the sliding input passes through two time points (i.e., the first time point and the second time point) on the file progress bar in the playing screen.
Optionally, in an embodiment of the present invention, the fourth sub-input may specifically be an input that a user slides to the first area from two positions on a playing screen displayed in a split-screen manner.
Illustratively, in conjunction with (C) in fig. 6, as shown in (a) in fig. 7, the user may slide from a position (e.g., position a) on the playing screen 10 displayed in a split screen to the first area 16, so that the mobile phone determines a point of time (e.g., 05:30) passing through the file progress bar 11 as a start clipping time of the file clipping; as shown in fig. 7 (B), the user may slide from another position (e.g., position B) on the play screen 10 displayed in divided screens to the first area 16, so that the mobile phone determines another point of time (e.g., 09:30) passing through the file progress bar 11 as an end-of-file-clipping time; the mobile phone can determine the target file according to the two time points on the file progress bar 11.
Optionally, in an embodiment of the present invention, the playing screen includes a first window, and the first window includes at least one file identifier. Referring to fig. 2, as shown in fig. 8, before step 203, the alarm clock reminding method provided in the embodiment of the present invention further includes steps 301 and 302 described below.
Step 301, the electronic device receives a third input from the user.
In an embodiment of the present invention, the third input is an input of a target file identifier in the at least one file identifier by a user, where the target file identifier is used to indicate a type of the target file.
It should be noted that the target file identifier is one file identifier or multiple file identifiers in at least one file identifier.
Optionally, in this embodiment of the present invention, the third input may be a selection input of the target file identifier by the user.
It should be noted that, for a specific description of at least one file identifier, reference may be made to the description in the foregoing embodiment, which is not described herein again.
Step 302, the electronic device responds to the third input, and sets the file type of the reminding file of the alarm clock as the target file type.
In the embodiment of the present invention, after receiving the third input, the electronic device may acquire/intercept a file of a target file type when acquiring/intercepting the file (for example, the target file).
In the embodiment of the present invention, after receiving the third input, the electronic device may process the multimedia file according to the second input of the user to determine the file type of the multimedia file, and intercept a file of a target file type from the multimedia file.
In the embodiment of the invention, the user can trigger the authority for acquiring the setting file of the electronic equipment through the third input to acquire the file of the corresponding file type, so that the file of the file type is determined as the reminding file of the alarm clock, and the flexibility of setting the reminding file of the alarm clock by the electronic equipment can be improved.
And step 204, the electronic equipment responds to the second input, determines the target time as the reminding time of the alarm clock, and determines the target file as the reminding file of the alarm clock.
Optionally, in a possible implementation manner of the embodiment of the present invention, the first window further includes a file obtaining control, and the second input includes a first sub-input and a second sub-input. The step 204 can be realized by the steps 204a and 204b described below.
And step 204a, the electronic equipment responds to the first sub-input, acquires a target file from the multimedia file, and determines the target file as a reminding file of the alarm clock.
In an embodiment of the present invention, the first sub-input is an input of a user to a file acquisition control.
In the embodiment of the invention, after receiving the first sub-input of the user, the electronic device can start playing the multimedia file and start recording the file, and under the condition of stopping playing the multimedia file, the electronic device finishes recording the file so as to record and obtain the target file.
Optionally, in the embodiment of the present invention, the multimedia file includes a file of at least one file type, and the electronic device may record a file of which the file type is a target file type in the multimedia file to obtain the target file, that is, the file type of the target file is the target file type.
Optionally, in the embodiment of the present invention, the step 204a may be specifically implemented by the following step 204a 1.
Step 204a1, the electronic device records a file with preset duration from the multimedia file in response to the first sub-input, so as to obtain a target file, and determines the target file as a reminding file of the alarm clock.
In an embodiment of the present invention, the target time is an end time of the first sub-input.
It should be noted that, for specific descriptions of the first sub-input, reference may be made to the descriptions in the foregoing embodiments, and details are not described here again.
Optionally, in the embodiment of the present invention, after receiving the first input of the user, the electronic device may locally generate an initial resource temporary file (for example, an audio and video initial resource temporary file) in the electronic device, and monitor a code stream signal on a path in front of an audio power amplifier and a display screen driver board of the electronic device; after receiving the second input of the user, the electronic device may encode the audio code stream and/or the video code stream and store the encoded audio code stream and/or the video code stream in the generated initial resource temporary file, and after stopping recording the audio code stream and/or the video code stream, generate an initial resource file, that is, a target file.
Illustratively, as shown in fig. 9, the electronic device includes an audio decoder, an audio power amplifier, an audio encoder, a video decoder, a video encoder, a display screen driver board, a display screen, and a speaker. The electronic equipment can monitor audio code stream signals on a path before the audio power amplifier; the audio decoder can decode the audio data packet to obtain an audio code stream; the audio encoder can encode the audio code stream and store the encoded audio code stream into an initial resource temporary file; the audio power amplifier can process the audio code stream signal so as to output the processed audio code stream signal through the loudspeaker. The electronic equipment can monitor video code stream signals on a path in front of the display screen driving board; the video decoder can decode the video data packet to obtain a video code stream; the video encoder can encode the video code stream and store the encoded video code stream into an initial resource temporary file; the display screen driving board can process the video code stream signal so as to output the processed video code stream signal through the display screen. The audio code stream and the video code stream stored in the initial resource temporary file are the initial resource file.
In the embodiment of the invention, the alarm clock resource file can be directly generated from the currently played audio and video through the audio and video code stream recording technology without the need of additionally acquiring the audio and video information by a user.
And step 204b, the electronic equipment responds to the second sub-input, acquires the target time and determines the target time as the reminding time of the alarm clock.
In an embodiment of the present invention, the second sub-input is a sliding input of a user on a playing screen, and the target time is a sliding track of the sliding input.
It is understood that, after the user makes the second sub-input, the electronic device may recognize the number input by the user according to the sliding track of the sliding input, determine the number as the target time, and automatically set the target time as the reminding time of the alarm clock.
Optionally, in the embodiment of the present invention, the user may input a number of 1 to 4 bits by handwriting through the second sub-input; if the second sub-input of the user is handwriting inputting a number of 1 or 2 bits, the electronic device may recognize the hour and take it as the target time (e.g., the electronic device recognizes 08:00 when the number of the second sub-input handwriting input is 8), and if the second sub-input of the user is handwriting inputting a number of 3 or 4 bits, the electronic device may recognize the hour and minute and take it as the target time (e.g., the electronic device recognizes 08:30 when the number of the second sub-input handwriting input is 830).
The embodiment of the invention can be applied to a scene that a user firstly sets the files (the alarm clock picture and the alarm clock sound) of the alarm clock in the playing picture and then sets the time of the alarm clock, namely under the condition that the electronic equipment displays the playing picture of the multimedia file, the user can update the display state of the playing picture through first input, so that the user can directly perform first sub-input on the updated playing picture, so that the electronic equipment determines the reminding file of the alarm clock and then directly performs second sub-input on the updated playing picture, so that the electronic equipment determines the reminding time of the alarm clock, and the operation of the user in the process of setting the alarm clock can be simplified.
It can be understood that the audio and video files played by the user can be stored locally in the mobile phone through the audio and video code stream recording technology, the audio and video files are set as an alarm clock picture and an alarm clock sound after being edited, and the reminding time of the alarm clock can be quickly and conveniently set through handwriting input. When the user encounters an audio/video file with an unknown name, the electronic device can directly set an alarm clock picture and an alarm clock sound according to the audio/video file without searching the audio/video file in various ways. Therefore, the operation steps of setting the alarm clock picture, the alarm clock sound and the reminding time of the alarm clock can be reduced through handwriting input, and therefore the interactive experience of the user and the electronic equipment is improved.
Optionally, in another possible implementation manner of the embodiment of the present invention, the second input includes a third sub input and a fourth sub input. The step 204 can be realized by the steps 204c and 204d described below.
And step 204c, the electronic equipment responds to the third sub-input, acquires the target time and determines the target time as the reminding time of the alarm clock.
In an embodiment of the present invention, the third sub-input is a sliding input of a user on a playing screen, and the target time is a sliding track of the sliding input.
It is understood that, after the user makes the third sub-input, the electronic device may recognize the number input by the user according to the sliding track of the sliding input, determine the number as the target time, and automatically set the target time as the reminding time of the alarm clock.
Optionally, in the embodiment of the present invention, after determining the target time according to the third sub-input of the user, the electronic device may display the playing picture and the first area in a split-screen manner.
It should be noted that, for specific descriptions of the playing picture and the first area displayed in a split-screen manner, reference may be made to the description in the foregoing embodiments, and details are not described here again.
And step 204d, the electronic equipment responds to the fourth sub-input, intercepts the target file from the multimedia file, and determines the target file as a reminding file of the alarm clock.
In an embodiment of the present invention, the fourth sub-input is an input of a file progress bar in a playing picture by a user on the playing picture and the first area displayed in a split screen manner.
In the embodiment of the present invention, after receiving the fourth sub-input of the user, the electronic device may obtain (e.g., record or intercept) the target file from the multimedia file according to a corresponding time point of the fourth sub-input on the file progress bar.
Optionally, in the embodiment of the present invention, the multimedia file includes a file of at least one file type, and the electronic device may obtain a file of which the file type is a target file type in the multimedia file to obtain a target file, that is, the file type of the target file is the target file type.
It should be noted that, for a specific method for the electronic device to intercept the target file from the multimedia file in response to the fourth sub-input, reference may be made to the description in the foregoing embodiments, and details are not described here again.
Optionally, in an embodiment of the present invention, the fourth sub-input is input by a user at a first time point and a second time point on the file progress bar. The step 204d can be realized by the steps 204d1 and 204d2 described below.
Step 204d1, the electronic device determines the first time point as the start intercept time and the second time point as the end intercept time.
And step 204d2, the electronic device intercepts the target file from the multimedia file according to the interception starting time and the interception ending time, and determines the target file as a reminding file of the alarm clock.
It should be noted that, for a specific method for the electronic device to intercept the target file from the multimedia file according to the interception start time and the interception end time, reference may be made to the description in the foregoing embodiments, and details are not described here.
The embodiment of the invention can be applied to a scene that a user firstly sets the time of the alarm clock in a playing picture to enable the electronic equipment to display the playing picture and a first area in a split-screen mode, so that the user can set files (the alarm clock picture and the alarm clock sound) of the alarm clock again, namely under the condition that the electronic equipment displays the playing picture of a multimedia file, the user can update the display state of the playing picture through first input, so that the user can directly perform third sub-input on the updated playing picture to enable the electronic equipment to determine the reminding time of the alarm clock, and then directly perform fourth sub-input on the playing picture and the first area displayed in the split-screen mode to enable the electronic equipment to determine the reminding file of the alarm clock, thereby simplifying the operation of the user in the alarm clock setting process.
It can be understood that the operation steps of customizing alarm clock sound and alarm clock pictures and setting alarm clock time (namely timing time) by a user are reduced by setting alarm clock time and intercepting audios and videos through gestures, and a better interaction mode is provided.
Optionally, in this embodiment of the present invention, when it is detected that the system time of the electronic device is the same as the target time, the electronic device may output the target file in a form corresponding to a file type of the target file, for example, output the target file in a ring tone form (for example, an audio file), or display the target file in a display screen form (for example, a video file).
The embodiment of the invention provides an alarm clock reminding method, under the condition of displaying a playing picture of a multimedia file, an electronic device can update the playing picture into a target display state associated with an alarm clock function according to first input of a user, and determine the reminding time and the reminding file of an alarm clock according to second input of the user. Because when the playing picture of the multimedia file is displayed, the user can directly perform the first input, so that the electronic equipment can update the display state of the playing picture, and therefore the user can directly perform the input of the alarm clock time and the alarm clock file on the updated playing picture, so that the electronic equipment can rapidly set the reminding time of the alarm clock and the reminding file, the operation of the user can be simplified, the time can be saved, and the efficiency of the electronic equipment for setting the reminding mode of the alarm clock can be improved.
It can be understood that the embodiment of the invention combines the audio and video code stream recording technology and the gesture operation, so that a user can customize multimedia files (such as music segments and video segments) required by the user into alarm clock sound and alarm clock pictures through simpler and more convenient operation, thereby realizing the customization of the alarm clock sound and the alarm clock pictures.
Optionally, in an embodiment of the present invention, the playing screen includes a first window. Referring to fig. 2, as shown in fig. 10, before "determining the target time as the reminding time of the alarm clock" in step 204, the alarm clock reminding method provided in the embodiment of the present invention further includes steps 601 to 603 described below, and step 204 may be specifically implemented by step 204e described below.
Step 601, the electronic device responds to the second input, and updates the first window to the second window.
In the embodiment of the present invention, the second window includes at least one file editing control, and each file editing control corresponds to a file editing mode.
Optionally, in the embodiment of the present invention, the electronic device may update the first window to the second window according to a first sub-input of the file obtaining control by the user in the first window.
Optionally, in this embodiment of the present invention, the at least one file editing control may include a file clipping control, a file preview control, a content adding control, and the like.
Optionally, in the embodiment of the present invention, the file clipping control may be used to intercept or clip the target file, and the file clipping control may include an audio/video interception control (for intercepting the audio/video file) and a video frame clipping control (for clipping the size of the video frame); the file preview control is used for playing the file; the content adding control is used for adding content, such as adding a filter, adding characters and the like.
Optionally, in this embodiment of the present invention, the second window further includes a file progress bar and an identifier (for example, a screen thumbnail) of the target file, where the file progress bar includes a file obtaining control.
Optionally, in this embodiment of the present invention, the second window further includes another button (for example, an "application" button) for saving the edited file to the local device.
For example, referring to fig. 4, as shown in fig. 11, after a user makes a first sub-input (e.g., click input) to the file obtaining control 14 in the first window 13, the mobile phone may update the first window 13 to a second window 17, where the second window includes at least one file editing control (e.g., a file clipping control 18, a file preview control 19, and a content adding control 20), where the file clipping control 18 may include an audio/video capturing control 18a and a video frame cropping control 18b, where the audio/video capturing control 18a is used to capture an audio/video file, and the video frame cropping control 18b is used to crop a size of a video frame; after the user inputs the at least one file editing control, clicking an application button to enable the mobile phone to store the edited file locally on the mobile phone.
Step 602, the electronic device receives a fifth input from the user.
In an embodiment of the present invention, the fifth input is an input of a target editing control in the at least one file editing control by a user.
Optionally, in this embodiment of the present invention, the fifth input may be a dragging input of the file acquisition control by the user.
Optionally, in this embodiment of the present invention, the fifth input may be a click input of the user on the file preview control and/or the content addition control.
And 603, the electronic equipment responds to the fifth input, and edits the target file by adopting a file editing mode corresponding to the target editing control.
And step 204e, the electronic equipment determines the target time as the reminding time of the alarm clock, and determines the edited target file as the reminding file of the alarm clock.
It should be noted that, for the method for determining the reminding time of the alarm clock and the reminding file of the alarm clock for the electronic device, reference may be made to the description in the foregoing embodiments, and details are not described here again.
In the embodiment of the invention, the electronic equipment can display the second window comprising at least one file editing control, so that a user can perform fifth input on one or more file editing controls, and the electronic equipment can rapidly edit the intercepted target file to obtain the target file meeting the requirements of the user.
Optionally, in the embodiment of the present invention, after the step 204, the alarm clock reminding method provided in the embodiment of the present invention further includes the following steps 501 and 502.
Step 501, the electronic device receives a fourth input from the user.
In an embodiment of the present invention, the fourth input is input of a target frame image by a user, where the target frame image is any frame image in a playing screen.
Optionally, in this embodiment of the present invention, the fourth input may specifically be a long-press input and a sliding input of the target frame image by the user.
It should be noted that the long press input and the slide input are continuous inputs (i.e., no time interval, or time interval and no other input in the time interval).
Optionally, in the embodiment of the present invention, when the target frame image is included in the playing picture displayed in a split-screen manner, a user may input the target frame image, so that the electronic device sets the target frame image as the background picture of the first area.
Optionally, in this embodiment of the present invention, the sliding input may be an input that a user slides from the target frame image to the first area of the split-screen display in the playing picture of the split-screen display.
Optionally, in this embodiment of the present invention, the electronic device may determine, in an image recognition manner, a frame of image currently displayed on the play screen, acquire a multi-frame image adjacent to the frame of image, and then determine, from the frame of image and the multi-frame image, a target frame of image, where the target frame of image is an image with a definition greater than a preset definition (for example, an image with a highest definition) in the frame of image and the multi-frame of image.
Step 502, the electronic device sets the target frame image as a background picture of the first area in response to a fourth input.
In the embodiment of the present invention, the electronic device may store the target frame image, and set the target frame image as the background picture of the first region according to the display size of the first region.
Illustratively, in conjunction with (C) in fig. 6, as shown in (a) in fig. 12, the mobile phone displays a target frame image on the play screen 10 displayed in a split screen, and the user may perform a fourth input on the target frame image (for example, a long press input on the play screen 10 and an input of sliding from the play screen 10 to the first area 16); after the handset receives the fourth input by the user, as shown in (B) of fig. 12, the handset may set the target frame image as the background picture of the first area 16.
In the embodiment of the invention, the user can perform the fourth input on the target frame image, so that the electronic device can quickly set the target frame image as the background picture of the first area, and the display effect of the electronic device can be improved.
Optionally, in the embodiment of the present invention, after the step 204, the alarm clock reminding method provided in the embodiment of the present invention further includes the following step 701.
Step 701, the electronic device updates the playing picture to an alarm clock interface.
In an embodiment of the present invention, the alarm clock interface may include at least one of the following: the method comprises the following steps of setting target time, identification of a target file, type identification of a reminding file of an alarm clock, setting options of reminding time of the alarm clock, setting options of the number of times of repetition of alarm clock reminding, setting options of reminding date of the alarm clock and the like.
Optionally, in the embodiment of the present invention, the user may perform other settings of the alarm clock on the displayed alarm clock interface, for example, the number of times of repeated reminding of the alarm clock, the reminding date of the alarm clock, and the like.
Illustratively, in conjunction with (B) in fig. 5, as shown in fig. 13, after the user makes a second sub-input (e.g. handwriting at least one number) on the play screen 10, the mobile phone may update the play screen 10 to be an alarm interface 21, where the alarm interface 21 includes a type identifier of a reminder file of the alarm (e.g. a ring tone and a screen (e.g. a thumbnail 22 for indicating a video type of file)), a target time (e.g. 8:30), and other setting options (e.g. an option of a reminder date of the alarm).
In the embodiment of the invention, the electronic equipment can directly display the alarm clock interface after determining the reminding time of the alarm clock, so that a user can directly set other alarm clocks on the alarm clock interface, the operation of the user is simplified, and the alarm clock setting efficiency of the electronic equipment is improved.
Fig. 14 shows a schematic diagram of a possible structure of an electronic device involved in the embodiment of the present invention. As shown in fig. 14, the electronic device 50 may include: a receiving module 51, an updating module 52 and a determining module 53.
The receiving module 51 is configured to receive a first input from a user when a playing screen of the multimedia file is displayed. An updating module 52, configured to update the playing screen to a target display state in response to the first input received by the receiving module 51, where the target display state is associated with an alarm clock function. The receiving module 51 is further configured to enable a user to input a second input on the playing screen, where the second input is the user's input of the target time and the target file in the multimedia file. And a determining module 53, configured to determine the target time as a reminding time of the alarm clock and determine the target file as a reminding file of the alarm clock in response to the second input received by the receiving module 51.
The embodiment of the invention provides electronic equipment, wherein when a playing picture of a multimedia file is displayed, a user can directly perform first input so that the electronic equipment can update the display state of the playing picture, and therefore, the user can directly perform input of alarm clock time and an alarm clock file on the updated playing picture so that the electronic equipment can quickly set the reminding time and the reminding file of an alarm clock, the operation of the user can be simplified, time consumption can be saved, and the efficiency of setting the reminding mode of the alarm clock by the electronic equipment can be improved.
In a possible implementation manner, the playing screen includes a first window, and the first window includes at least one file identifier, and each file identifier indicates a file type. The receiving module 51 is further configured to receive a third input from the user before receiving a second input from the user on the playing screen, where the third input is an input from the user to a target file identifier of the at least one file identifier, and the target file identifier is used to indicate a type of the target file. Referring to fig. 14, as shown in fig. 15, an electronic device 50 according to an embodiment of the present invention further includes: a module 54 is provided. Wherein, the setting module 54 is configured to set the file type of the reminder file of the alarm clock as the target file type in response to the third input received by the receiving module 51.
In the embodiment of the invention, the user can set the file type of the reminding file of the alarm clock as the target file type by performing the third input on the at least one file identifier, that is, the electronic device can acquire the file of the target file type to determine the file of the target file type as the reminding file of the alarm clock, so that the flexibility of setting the reminding file of the alarm clock by the electronic device can be improved.
In a possible implementation manner, the first window further includes a file obtaining control, and the second input includes a first sub-input and a second sub-input. The determining module 53 is specifically configured to intercept a target file from a multimedia file in response to a first sub-input, and determine the target file as a reminding file of an alarm clock, where the first sub-input is an input of a user to a file acquisition control; and responding to a second sub-input, acquiring a target time, and determining the target time as the reminding time of the alarm clock, wherein the second sub-input is a sliding input of the user on the playing picture, and the target time is a sliding track of the sliding input.
In a possible implementation manner, the obtaining a target file from a multimedia file includes: and recording a file with preset duration from the target time to obtain the target file, wherein the target time is the end time of the first sub-input.
In the embodiment of the invention, under the condition that the electronic equipment displays the playing picture of the multimedia file, the user can update the display state of the playing picture through the first input, so that the user can directly perform the first sub-input on the updated playing picture to ensure that the electronic equipment determines the reminding file of the alarm clock, and then directly perform the second sub-input on the updated playing picture to ensure that the electronic equipment determines the reminding time of the alarm clock, thereby simplifying the operation of the user in the process of setting the alarm clock.
In one possible implementation, the second input includes a third sub-input and a fourth sub-input. The determining module 53 is specifically configured to respond to the third sub-input, acquire a target time, determine the target time as a reminding time of an alarm clock, and display a playing picture and a first area in a split-screen manner; the third sub-input is a sliding input of a user on a playing picture, the target time is a sliding track of the sliding input, and the first area comprises information related to the alarm clock function; responding to the fourth sub-input, intercepting a target file from the multimedia file, and determining the target file as a reminding file of the alarm clock; the fourth sub-input is the input of the file progress bar in the playing picture by the user on the playing picture and the first area displayed in a split screen mode.
In a possible implementation manner, the fourth sub-input is an input at a first time point and a second time point on the file progress bar. The determining module 53 is specifically configured to determine, in response to the fourth sub-input, the first time point as a start capture time, and determine the second time point as an end capture time; and intercepting the target file from the multimedia file according to the interception starting time and the interception ending time.
In the embodiment of the invention, under the condition that the electronic equipment displays the playing picture of the multimedia file, the user can update the display state of the playing picture through the first input, so that the user can directly perform the third sub-input on the updated playing picture to ensure that the electronic equipment determines the reminding time of the alarm clock, and then directly perform the fourth sub-input on the playing picture and the first area which are displayed in a split screen manner to ensure that the electronic equipment determines the reminding file of the alarm clock, thereby simplifying the operation of the user in the process of setting the alarm clock.
In a possible implementation manner, the receiving module 51 is further configured to receive a fourth input of the user after the determining module 53 determines the target file as a reminder file of the alarm clock, where the fourth input is an input of the target frame image by the user, and the target frame image is any frame image in the playing screen. Referring to fig. 14, as shown in fig. 15, an electronic device 50 according to an embodiment of the present invention further includes: a module 54 is provided. Wherein the setting module 54 is configured to set the target frame image as the background picture of the first area in response to the fourth input received by the receiving module 51.
In the embodiment of the invention, the user can perform the fourth input on the target frame image, so that the electronic device can quickly set the target frame image as the background picture of the first area, and the display effect of the electronic device can be improved.
In a possible implementation manner, the updating module 52 is further configured to update the first window to a second window before the determining module 53 determines the target time as the reminding time of the alarm clock, where the second window includes at least one file editing control, and each file editing control corresponds to one file editing mode. The receiving module 51 is further configured to receive a fifth input from the user, where the fifth input is an input from the user to a target editing control in the at least one file editing control. Referring to fig. 14, as shown in fig. 16, an electronic device 50 according to an embodiment of the present invention further includes: and a processing module 55. The processing module 55 is configured to, in response to the fifth input received by the receiving module 51, edit the target file in a file editing manner corresponding to the target editing control. The determining module 53 is specifically configured to determine the target file edited and processed by the processing module 55 as a reminding file of the alarm clock.
In the embodiment of the invention, the electronic equipment can display the second window comprising at least one file editing control, so that a user can perform fifth input on one or more file editing controls, and the electronic equipment can rapidly edit the intercepted target file to obtain the target file meeting the requirements of the user.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and for avoiding repetition, detailed descriptions are not repeated here.
Fig. 17 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 17, electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
It should be noted that the electronic device structure shown in fig. 17 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 17, or combine some components, or arrange different components, as will be understood by those skilled in the art. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the user input unit 107 is used for receiving a first input of a user under the condition of displaying a playing picture of the multimedia file; and receiving a second input of the user on the playing picture, wherein the second input is the input of the target time and the target file in the multimedia files by the user.
A processor 110, configured to update the playing screen to a target display state in response to a first input, where the target display state is associated with an alarm clock function; and in response to the second input, determining the target time as the reminding time of the alarm clock, and determining the target file as the reminding file of the alarm clock.
The embodiment of the invention provides electronic equipment, wherein when a playing picture of a multimedia file is displayed, a user can directly perform first input so that the electronic equipment can update the display state of the playing picture, and therefore, the user can directly perform input of alarm clock time and an alarm clock file on the updated playing picture so that the electronic equipment can quickly set the reminding time and the reminding file of an alarm clock, the operation of the user can be simplified, time consumption can be saved, and the efficiency of setting the reminding mode of the alarm clock by the electronic equipment can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (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 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 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 105 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 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 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 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 17, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. 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 108 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 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 110 is a control center of the electronic device, connects various parts of the entire electronic device 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 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 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 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 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 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 17, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements the processes of the foregoing method embodiment, and can achieve the same technical effects, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the 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 invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An alarm clock reminding method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving a first input of a user under the condition of displaying a playing picture of a multimedia file;
in response to the first input, updating the play picture to a target display state, the target display state being associated with an alarm clock function;
receiving a second input of the user on the playing picture, wherein the second input is the input of the user on a target time and a target file in the multimedia files;
in response to the second input, determining the target time as a reminding time of an alarm clock, and determining the target file as a reminding file of the alarm clock;
the second input comprises a third sub-input and a fourth sub-input;
the determining the target time as a reminding time of an alarm clock and the determining the target file as a reminding file of the alarm clock in response to the second input includes:
responding to the third sub-input, acquiring the target time, determining the target time as the reminding time of the alarm clock, and displaying the playing picture and the first area in a split screen mode; the third sub-input is a sliding input of a user on the playing picture, the target time is a sliding track of the sliding input, and the first area comprises information related to an alarm clock function;
in response to the fourth sub-input, intercepting the target file from the multimedia file, and determining the target file as a reminding file of an alarm clock; the fourth sub-input is input of a file progress bar in the playing picture by a user sliding from the playing picture displayed in a split screen mode into the first area.
2. The method according to claim 1, wherein the playing screen comprises a first window, and the first window comprises at least one file identifier, and each file identifier respectively indicates a file type;
before the receiving of the second input of the user on the playing screen, the method further includes:
receiving a third input of the user, wherein the third input is input of the user to a target file identifier in the at least one file identifier, and the target file identifier is used for indicating a type of a target file;
and responding to the third input, and setting the file type of the reminding file of the alarm clock as the target file type.
3. The method of claim 2, further comprising a file acquisition control in the first window, wherein the second input comprises a first sub-input and a second sub-input;
the determining the target time as a reminding time of an alarm clock and the determining the target file as a reminding file of the alarm clock in response to the second input includes:
responding to the first sub-input, acquiring the target file from the multimedia file, and determining the target file as a reminding file of an alarm clock, wherein the first sub-input is input of a user to the file acquisition control;
and responding to the second sub-input, acquiring the target time, and determining the target time as the reminding time of the alarm clock, wherein the second sub-input is the sliding input of the user on the playing picture, and the target time is the sliding track of the sliding input.
4. The method of claim 3, wherein the retrieving the target file from the multimedia file comprises:
and recording a file with preset duration from the multimedia file from a target time to obtain the target file, wherein the target time is the end time of the first sub-input.
5. The method of claim 1, wherein the fourth sub-input is an input at a first time point and a second time point on the file progress bar;
the intercepting the target file from the multimedia file in response to the fourth sub-input comprises:
determining the first time point as the starting interception time, and determining the second time point as the ending interception time;
and intercepting the target file from the multimedia file according to the interception starting time and the interception ending time.
6. The method of claim 1, wherein after determining the target file as a reminder file for an alarm clock, the method further comprises:
receiving a fourth input of a user, wherein the fourth input is input of the user to a target frame image, and the target frame image is any frame image in the playing picture;
setting the target frame image as a background picture of the first region in response to the fourth input.
7. The method of claim 2, wherein prior to determining the target time as a reminder time for an alarm clock, the method further comprises:
updating the first window into a second window, wherein the second window comprises at least one file editing control, and each file editing control corresponds to a file editing mode;
receiving a fifth input of the user, wherein the fifth input is an input of the user to a target editing control in the at least one file editing control;
responding to the fifth input, and editing the target file in a file editing mode corresponding to the target editing control;
the determining the target file as a reminding file of an alarm clock comprises:
and determining the edited target file as a reminding file of an alarm clock.
8. An electronic device, characterized in that the electronic device comprises: the device comprises a receiving module, an updating module and a determining module;
the receiving module is used for receiving a first input of a user under the condition of displaying a playing picture of the multimedia file;
the updating module is used for responding to the first input received by the receiving module, and updating the playing picture into a target display state, wherein the target display state is associated with an alarm clock function;
the receiving module is further configured to receive a second input of the user on the playing picture, where the second input is input of the user on a target time and a target file in the multimedia files;
the determining module is configured to determine the target time as a reminding time of an alarm clock and determine the target file as a reminding file of the alarm clock in response to the second input received by the receiving module;
the second input comprises a third sub-input and a fourth sub-input;
the determining module is specifically configured to respond to the third sub-input, acquire the target time, determine the target time as a reminding time of an alarm clock, and display the playing picture and the first area in a split-screen manner; the third sub-input is a sliding input of a user on the playing picture, the target time is a sliding track of the sliding input, and the first area comprises information related to an alarm clock function;
the determining module is specifically configured to intercept the target file from the multimedia file in response to the fourth sub-input, and determine the target file as a reminding file of an alarm clock; the fourth sub-input is input of a file progress bar in the playing picture by a user sliding from the playing picture displayed in a split screen mode into the first area.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the alarm clock alerting method of any one of claims 1 to 7.
CN201911184585.6A 2019-11-27 2019-11-27 Alarm clock reminding method and electronic equipment Active CN111049977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911184585.6A CN111049977B (en) 2019-11-27 2019-11-27 Alarm clock reminding method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911184585.6A CN111049977B (en) 2019-11-27 2019-11-27 Alarm clock reminding method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111049977A CN111049977A (en) 2020-04-21
CN111049977B true CN111049977B (en) 2021-09-28

Family

ID=70233927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911184585.6A Active CN111049977B (en) 2019-11-27 2019-11-27 Alarm clock reminding method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111049977B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694535B (en) * 2020-06-12 2023-08-29 广州酷狗计算机科技有限公司 Alarm clock information display method and device
CN114063843A (en) * 2021-11-22 2022-02-18 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment, storage medium and computer program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123201A (en) * 2011-01-20 2011-07-13 深圳市五巨科技有限公司 Ringtone shearing method and device of mobile terminal
CN103905635A (en) * 2014-03-03 2014-07-02 惠州Tcl移动通信有限公司 Mobile terminal and ringtone play method thereof
CN105847572A (en) * 2016-04-19 2016-08-10 乐视控股(北京)有限公司 Creating method and device for reminding ringtone
CN106550111A (en) * 2016-10-08 2017-03-29 上海斐讯数据通信技术有限公司 Method and the intelligent terminal of the tinkle of bells are set in a kind of music
CN107248415A (en) * 2017-07-10 2017-10-13 珠海格力电器股份有限公司 A kind of method, device and the user terminal of ring of alarm clock generation
CN108184016A (en) * 2017-12-22 2018-06-19 深圳市金立通信设备有限公司 A kind of method, terminal and computer readable storage medium that ringing tone is set
CN109068008A (en) * 2018-10-11 2018-12-21 广州酷狗计算机科技有限公司 The tinkle of bells setting method, device, terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI486871B (en) * 2009-04-27 2015-06-01 Mstar Semiconductor Inc Audio data processing method and an electronic apparatus using the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123201A (en) * 2011-01-20 2011-07-13 深圳市五巨科技有限公司 Ringtone shearing method and device of mobile terminal
CN103905635A (en) * 2014-03-03 2014-07-02 惠州Tcl移动通信有限公司 Mobile terminal and ringtone play method thereof
CN105847572A (en) * 2016-04-19 2016-08-10 乐视控股(北京)有限公司 Creating method and device for reminding ringtone
CN106550111A (en) * 2016-10-08 2017-03-29 上海斐讯数据通信技术有限公司 Method and the intelligent terminal of the tinkle of bells are set in a kind of music
CN107248415A (en) * 2017-07-10 2017-10-13 珠海格力电器股份有限公司 A kind of method, device and the user terminal of ring of alarm clock generation
CN108184016A (en) * 2017-12-22 2018-06-19 深圳市金立通信设备有限公司 A kind of method, terminal and computer readable storage medium that ringing tone is set
CN109068008A (en) * 2018-10-11 2018-12-21 广州酷狗计算机科技有限公司 The tinkle of bells setting method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN111049977A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN111061574B (en) Object sharing method and electronic device
CN111314784B (en) Video playing method and electronic equipment
CN109525874B (en) Screen capturing method and terminal equipment
CN108737904B (en) Video data processing method and mobile terminal
CN109491738B (en) Terminal device control method and terminal device
WO2020192299A1 (en) Information display method and terminal device
CN108920226B (en) Screen recording method and device
CN109922265B (en) Video shooting method and terminal equipment
CN110868633A (en) Video processing method and electronic equipment
CN110865745A (en) Screen capturing method and terminal equipment
CN110703972B (en) File control method and electronic equipment
CN109618218B (en) Video processing method and mobile terminal
CN108804628B (en) Picture display method and terminal
US20230015943A1 (en) Scratchpad creation method and electronic device
CN111383175A (en) Picture acquisition method and electronic equipment
CN110913261A (en) Multimedia file generation method and electronic equipment
CN110022445B (en) Content output method and terminal equipment
CN111049977B (en) Alarm clock reminding method and electronic equipment
CN109672845B (en) Video call method and device and mobile terminal
CN110908638A (en) Operation flow creating method and electronic equipment
CN111610909B (en) Screenshot method and device and electronic equipment
CN111399715B (en) Interface display method and electronic equipment
CN110909180B (en) Media file processing method and electronic equipment
CN111445929A (en) Voice information processing method and electronic equipment
CN110851106A (en) Audio output 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