CN109116718B - Method and device for setting alarm clock - Google Patents

Method and device for setting alarm clock Download PDF

Info

Publication number
CN109116718B
CN109116718B CN201810715671.4A CN201810715671A CN109116718B CN 109116718 B CN109116718 B CN 109116718B CN 201810715671 A CN201810715671 A CN 201810715671A CN 109116718 B CN109116718 B CN 109116718B
Authority
CN
China
Prior art keywords
alarm clock
video
video file
information
file
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
CN201810715671.4A
Other languages
Chinese (zh)
Other versions
CN109116718A (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201810715671.4A priority Critical patent/CN109116718B/en
Publication of CN109116718A publication Critical patent/CN109116718A/en
Application granted granted Critical
Publication of CN109116718B publication Critical patent/CN109116718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G13/00Producing acoustic time signals
    • G04G13/02Producing acoustic time signals at preselected times, e.g. alarm clocks
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G15/00Time-pieces comprising means to be operated at preselected times or after preselected time intervals
    • G04G15/003Time-pieces comprising means to be operated at preselected times or after preselected time intervals acting only at one preselected time or during one adjustable time interval

Abstract

The method comprises the steps of firstly obtaining characteristic information of an alarm clock, then determining a video file matched with the characteristic information according to the characteristic information, and setting the video file as a reminding file of the alarm clock. From this, can additionally provide abundant diversified video file as the warning mode of alarm clock on the basis of ring tone, vibrations, the dimensionality that the alarm clock was reminded has been promoted, more vivid information gives the user, combine the different video content of video file, brand-new user experience has been brought for the alarm clock product, and need not user manual operation when setting up, can be according to the characteristic information relevant with the alarm clock, automatically for an alarm clock matching suitable video file come as reminding the file, consequently, it is more convenient to use, user experience is better.

Description

Method and device for setting alarm clock
Technical Field
The application relates to the technical field of information, in particular to a method and equipment for setting an alarm clock.
Background
The alarm clock is a daily article used commonly, can be set according to people, sends out the warning at the time of predetermineeing. The alarm clock at the beginning completes reminding by striking and sounding, and along with the development of the technology, various electronic devices also provide the functions of the alarm clock, for example, a user can set the alarm clock on a mobile phone and can set the reminding mode when the alarm clock is triggered into various rings or vibrations. Although the user can select various favorite ring tones or vibrations as the alarm clock reminding, the alarm clock reminding mode is not diversified enough, and the user experience is not good.
Content of application
One of the objectives of the present application is to provide a method and apparatus for setting an alarm clock.
To achieve the above object, some embodiments of the present application provide a method of setting an alarm clock, the method including:
acquiring characteristic information of an alarm clock;
determining a video file matched with the characteristic information according to the characteristic information;
and setting the video file as a reminding file of the alarm clock.
Some embodiments of the present application also provide an apparatus for setting an alarm clock, the apparatus comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform the method for setting an alarm clock.
Furthermore, some embodiments of the present application also provide a computer readable medium having stored thereon computer program instructions executable by a processor to implement the method of setting an alarm clock.
Some embodiments of the present application provide a scheme for setting an alarm clock, in which feature information of the alarm clock is obtained, then a video file matched with the feature information is determined according to the feature information, and the video file is set as a reminding file of the alarm clock. From this, can additionally provide abundant diversified video file as the warning mode of alarm clock on the basis of ring tone, vibrations, the dimensionality that the alarm clock was reminded has been promoted, more vivid information gives the user, combine the different video content of video file, brand-new user experience has been brought for the alarm clock product, and need not user manual operation when setting up, can be according to the characteristic information relevant with the alarm clock, automatically for an alarm clock matching suitable video file come as reminding the file, consequently, it is more convenient to use, user experience is better.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a processing flow chart of a method for setting an alarm clock according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a process of determining description information of a video file according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a process of setting an alarm clock in a user equipment according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for setting an alarm clock according to an embodiment of the present application;
the same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. 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 application.
In a typical configuration of the present application, the terminal, the devices serving the network each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, which include both non-transitory and non-transitory, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The embodiment of the application provides a method for setting an alarm clock, the method can additionally provide a prompting mode of abundant and diverse video files as the alarm clock on the basis of ring tones and vibration, the dimensionality of alarm clock prompting is improved, more information and vivid information are conveyed to a user, different video contents of the video files are combined, brand-new user experience is brought to an alarm clock product, manual operation of the user is not needed when the alarm clock is set, a proper video file can be automatically matched for the alarm clock to serve as a prompting file according to characteristic information related to the alarm clock, and therefore the method is more convenient to use and better in user experience. In an actual scenario, an execution main body of the method may be user equipment, or equipment formed by integrating the user equipment and network equipment through a network, or may also be an application program running on the above equipment, where the user equipment includes but is not limited to various terminal devices such as a computer, a mobile phone, a tablet computer, a smart watch, a bracelet, and the like, and the network equipment includes but is not limited to implementations such as a network host, a single network server, a plurality of network server sets, or a computer set based on cloud computing, and may be used to implement part of processing functions when setting an alarm clock. Here, the Cloud is made up of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a type of distributed Computing, one virtual computer consisting of a collection of loosely coupled computers.
Fig. 1 shows a processing flow of a method for setting an alarm clock according to an embodiment of the present application, including the following steps:
and step S101, acquiring characteristic information of the alarm clock.
The characteristic information is related attribute information used for representing the alarm clock, and may be, for example, personal information of an alarm clock-associated user, behavior information of the alarm clock-associated user, time-space information when the alarm clock is triggered, and the like.
The alarm clock-associated user refers to a user associated with the alarm clock, and may be, for example, a user who sets the alarm clock, a target user that the alarm clock needs to remind, or the like, and may be obtained from an application program associated with the alarm clock. For example, for an application app1 capable of setting an alarm, when using the application app1, a user logs in an account of the user, and the account may record personal information of the user, such as age, birthday, location, academic calendar, occupation, and the like, so that when the user uses the application app1 to set an alarm, the personal information of the user, that is, the personal information of the user associated with the alarm, may be obtained through the information recorded in the account. In an actual scenario, if the application program to which the alarm clock belongs does not record the personal information of the user, the personal information of the user recorded in the other application program can be obtained by obtaining the authorization of the other application program. The target user to be reminded by the alarm clock can be actively set by the user, for example, the user can set a 9: 30, then inputting 1 that the target user to be reminded by the alarm clock is user, and inputting relevant information of the target user.
The behavior information of the alarm clock associated user can be information of related behaviors of the alarm clock associated user, which can be recorded by the user equipment, for example, browsing information of the user when using a video related application program, and through the browsing information, the preference of the user for the video at ordinary times can be determined. In addition, the behavior information may also be motion information (such as step number and movement track) of the user, a chat record when using an instant chat tool, browsing information when the user uses a browser, and the like, and the behavior information may reflect interests of the user or preferences in some aspects.
The time-space information when the alarm clock is triggered refers to time information and/or space information when the alarm clock is triggered, wherein the time information can be determined according to the set time of the alarm clock, and the space information can be acquired in real time at preset time (for example, 1 minute, 10 minutes and the like) before the alarm clock is triggered, or can be predicted based on other information at any time after the alarm clock is added, for example, the time-space information can be predicted based on historical position information recorded by user equipment, so that the time-space information is calculated by the following steps of 6: 30, if the historical location information of the user in the past month is recorded through the positioning information of the mobile phone, wherein the ratio of the user to the mobile phone is 6: 30 are all located in the home at the XX address. In addition, the time-space information when the alarm clock is triggered can also be input by setting the alarm clock, and the equipment determines the time-space information when the alarm clock is triggered according to the input information of the user.
It will be understood by those skilled in the art that the above-described various types of feature information are merely exemplary, and other types of feature information, which may be present or later become known, may be applied to the present invention, and are included within the scope of the present invention and are herein incorporated by reference.
And step S102, determining a video file matched with the characteristic information according to the characteristic information. The characteristic information can reflect the related attribute information representing the alarm clock, so that which video files are possibly suitable for being used as the reminding files of the alarm clock can be reflected to a certain degree, and a video file which is in accordance with the characteristic information can be matched to be used as the reminding file of the alarm clock.
In some embodiments of the application, when determining the video file matched with the feature information according to the feature information, the video recommendation information applicable to the alarm clock may be obtained according to the feature information, and then the video file conforming to the video recommendation information may be determined according to the video recommendation information. The video recommendation information refers to preferences indicated by the feature information, for example, videos of related contents such as comic and idol which are possible to be preferred by users in the age range of 15-20 years old, and the preferences can be used as video recommendation information, and then video files which meet the preferences are selected.
Different preferences can be reflected by the feature information in different aspects, and the feature information is various, so that different feature information can be selected to set the alarm clock for different application scenes. Therefore, in order to improve the efficiency and accuracy of obtaining the video recommendation information, a machine learning manner may be adopted, that is, when obtaining the video recommendation information applicable to the alarm clock, the feature information may be input into an identification model, and the video recommendation information applicable to the alarm clock is identified through the identification model. The recognition model may be a mathematical model for decision making in various machine learning algorithms, each algorithm corresponds to its own recognition model, and the machine learning algorithm may be any algorithm suitable for the scene, such as various decision tree algorithms, neural network algorithms, and the like.
Before the method of the embodiment is executed, the recognition model may be constructed in a model training manner, and the recognition model is trained by using the feature information training set labeled with the video recommendation information, so that the recognition model may be used for recognizing newly input feature information and determining the video recommendation information corresponding to the feature information. For example, if the identification model in the embodiment of the application is required to identify which video recommendation information corresponding to which feature information is animation, idol, or the like, a large amount of feature information labeled with the video recommendation information may be selected as a training sample to train the identification model, and on the premise that the training sample is sufficient, the identification result of the identification model may achieve sufficient accuracy.
When determining the video file meeting the video recommendation information according to the video recommendation information, the video recommendation information can be used as a search condition to search in a video database, and the video database at least comprises description information of the video file, so that the video file of which the description information is matched with the video recommendation information can be determined in the video database. The video database may be local to the user equipment, for example, a local database of a local album, a local video album, or a local video application, or may be a database on a network side, for example, a database of various video applications on a server, and the like.
Step S103, after the suitable video file is determined, the video file is set as a reminding file of the alarm clock, so that the video file can be played when the alarm clock is triggered, and the method is used as a novel reminding mode. Since the resource entity of the video file may be stored locally or in a remote device in the network, when the video file is set as the alarm clock reminding file, the local storage address or the network link address of the video file may be associated with the alarm clock, so that when the alarm clock is triggered, the video file can be played. For example, if the video file is stored locally, the specific content of the local storage address may be a base address + an offset address, which points to a certain segment of storage space in the memory, so that the data in the storage space may be called to complete playing of the video file. If the video file is stored in a remote device in the network, the specific content of the network link address may be a URL (Uniform Resource Locator), which points to a certain Resource location in the network, so that the video file can be played by downloading data through the network.
In an actual scene, in order to determine a video file conforming to video recommendation information, the video recommendation information and description information of the video file can both adopt a tag form, so that the video file of which the description information is matched with the video recommendation information can be quickly found in a video database in a text matching manner. The description information of the video file is used for reflecting the content of the video, and can be added by the author of the video when the video is created, or added by the manager of the video according to the content of the video when the video is stored. However, there is no uniform standard and specification for the management of the description information in the actual scene, and there is a possibility that many videos are not created or stored without the description information, or the added description information is biased due to an understanding error of an operator, so that matching of the video file in the video database cannot be completed or an inappropriate video file cannot be matched.
Therefore, in the method for setting the alarm clock provided by the embodiment of the application, the video file can be further acquired, and the actual content of the video file can be reflected due to the fact that the image content in the key frame in the video file has a high probability, so that the key frame of the video file can be extracted, the description information of the video file is determined according to the image content contained in the key frame, the video database is updated according to the description information of the video file, and the accuracy of searching is ensured. For example, when the execution subject is user equipment, a video file is stored in a local storage space, and then the video file can be processed, a key frame of the video file is extracted, and description information of the video file is determined according to image content included in the key frame.
When the execution subject is a device integrating the user equipment and the network equipment, the processing capacity and the storage space of the network equipment are larger than those of the user equipment, so that the video file can be stored in the network equipment, and the network equipment executes the processing on the video file to reduce the load of the user equipment. The user equipment can select whether to maintain a video database according to the requirements of the actual application scene, if the user equipment does not have the video database, a search request containing video recommendation information can be sent to the network equipment, the network equipment completes the search, and a search result is returned. If the user equipment maintains the video database, the video database can be synchronized with the network equipment, and after the network equipment updates the video database, the description information of the video files in the local video database of the user equipment is updated synchronously so as to realize local search.
For some shorter videos, one video may reflect only one aspect of content, while for some longer videos may contain multiple aspects of content. Therefore, when determining the description information of the video file, especially for a video with a duration exceeding a preset value, the method shown in fig. 2 may be adopted to determine the description information of the video file, including the following processing steps:
step S201, the video file is divided into a plurality of sub-objects, and key frames of the plurality of sub-objects are respectively extracted. When the video plays the content belonging to the same aspect, the change of the image content of each frame is relatively small, so that the video file can be divided by adopting a space-time slice clustering (spatio-temporal slice) mode, firstly, the space-time slice clustering is carried out on the video file, and then, a plurality of sub-objects of the video file are obtained based on the clustering result. The space-time slice is an image formed by pixel strips at the same position in continuous frames of a video image sequence according to a time sequence, and because pictures with similar contents have certain similarity visually, the video data objects are divided in a space-time slice clustering mode, so that the video data in each divided sub-object belong to similar contents.
For example, a picture in a video segment contains 3 parts of content, the first part is a picture of a conversation between two people in an indoor scene, the second part is a picture of a landscape scene in an outdoor scene, and the third part is a picture of an outdoor scene with explosion. Because the three parts of pictures have great difference visually, the video can be accurately divided into three parts by a space-time slice clustering mode, a video frame contained in each part is a clustering result, and a corresponding video and audio are sub-objects.
In an actual scene, since the actual situation of each picture is more complicated, the clustering result based on spatio-temporal slices may also have errors, for example, a first part of pictures related to the conversation of two people in an indoor scene may have a large change in picture content of a certain part thereof due to the movement of people, so that the first part is divided into two clustering results, or a second part and a third part of pictures are divided into one clustering result. Therefore, when a plurality of sub-objects are determined based on the clustering result, the clustering result can be dynamically adjusted according to the similarity between the clustering results, and the plurality of sub-objects are determined. For example, by setting a dynamic threshold, the similarity threshold during clustering can be dynamically adjusted, so that preliminary clustering results are merged or continuously split, and final clustering results are more accurate.
Step S202, respectively determining the content label corresponding to each sub-object according to the image content contained in the key frame of each sub-object.
Step S203, determining the description information of the video file according to the content tag. For example, for a video file, the video file may be divided into 3 sub-objects, and the content TAGs corresponding to each sub-object are TAG1, TAG2, and TAG3, where the description information may be a new TAG _ N generated according to TAG1, TAG2, and TAG3, or TAG1, TAG2, and TAG3 may be directly used as the description information (i.e., the description information includes a plurality of content TAGs).
In addition, in other embodiments of the present application, for the sub-object and the corresponding content tag determined in the foregoing step S201 and step S202, the sub-object may be used as a new video file, the content tag may be used as description information of the new video file, and the video database is updated according to the description information of the new video file, so that materials of the alarm clock reminding file are enriched, and a user may have more diversified selections when selecting the video file.
Fig. 3 shows a processing flow chart when an alarm clock is set in the user equipment, when the alarm clock is set, a reminding file of the alarm clock can be set through an interface of a video information stream, and the reminding file can also be selected at the interface of the alarm clock, and the processing flow is as follows:
step S301, the interface of the video information stream is entered after the start. The video information stream refers to a collection of video files, which are presented to a user in an information stream manner, such as a video content collection in an album, a video library, and the like.
Step S302, after clicking the front cover of the video, the user enters a video playing detailed page, in which the detailed content of the video can be displayed, and some buttons are provided for the user to select, such as "download", "collect", and the like.
In step S303, after the user clicks the "download" button, the "download" button is changed to the "downloading" video file to start downloading.
Step S304, determining whether the video file is successfully downloaded, if so, executing step S306, and if not, executing step S305.
Step S305, the button is restored to 'download', and simultaneously, the following modes such as a floating layer are used for prompting: if the download fails, please retry.
In step S306, the button changes to "set to alarm".
Step S307, after the user clicks the button of 'set alarm clock', judging whether an alarm clock exists or not, and if so, executing step S308; if there is no alarm clock, step S402 is executed.
Step S308, entering an alarm clock list page.
Step S309, after the user clicks the 'join' button of a certain alarm clock, adding the video file to the certain alarm clock as a reminding file thereof.
Step S401, after starting, the user may also enter an alarm clock interface to perform setting.
Step S402, after the user clicks the button of adding the alarm clock, the user enters an alarm clock setting page for adding the alarm clock.
And step S403, entering a video setting interface of the alarm clock after the alarm clock is added.
Step S404, determining whether there is a video, if there is no video, step S405 or S501 may be executed, and if there is a video, step S406 may be executed.
And step S405, providing a recommendation interface of the popular video file for the user to download.
Step S406, determining at least one video file as a reminding file of the alarm clock according to the selection of the user in the recommendation interface or the local existing video.
In step S407, other settings of the alarm clock are completed, and this part is consistent with the setting mode of the conventional alarm clock.
Step S501, obtaining feature information of the alarm clock before the alarm clock is triggered, automatically selecting a video file, and setting the video file as a reminding file of the alarm clock, where the step may adopt the method for setting the alarm clock provided in the embodiment of the present application, the method is described in detail in the foregoing content, and is not described here again, and after the setting is completed, step S407 is executed.
Fig. 4 shows a device structure suitable for implementing the method and/or technical solution in the embodiment of the present application, and the device 400 includes a Central Processing Unit (CPU)401, which can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage portion 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for system operation are also stored. The CPU 401, ROM 402, and RAM403 are connected to each other via a bus 404. An Input/Output (I/O) interface 405 is also connected to the bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, a touch screen, and the like; an output section 407 including a Display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), an LED Display, an OLED Display, and the like, and a speaker; a storage portion 408 comprising one or more computer-readable media such as a hard disk, optical disk, magnetic disk, semiconductor memory, or the like; and a communication section 409 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet.
In particular, the methods and/or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 401.
It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart or block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer-readable medium carries one or more computer-readable instructions executable by a processor to implement the methods and/or aspects of the embodiments of the present application as described above.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In some embodiments, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (9)

1. A method of setting an alarm clock, wherein the method comprises:
acquiring a video file;
dividing the video file into a plurality of sub-objects, and respectively extracting key frames of the sub-objects based on space-time slices;
respectively determining a content label corresponding to each sub-object according to the image content contained in the key frame of each sub-object;
taking the sub-object as a new video file, and taking the content tag as description information of the new video file;
updating a video database according to the description information of the new video file;
acquiring characteristic information of an alarm clock;
acquiring video recommendation information suitable for the alarm clock according to the characteristic information;
searching in a video database by taking the video recommendation information as a search condition, wherein the video database comprises description information of video files;
determining a video file with description information matched with the video recommendation information in the video database, wherein the description information of the video file is a label used for reflecting video content, and is determined by extracting key frames of the video file and according to image content contained in the key frames;
and setting the video file as a reminding file of the alarm clock.
2. The method of claim 1, wherein the feature information comprises at least any one of:
the alarm clock is associated with personal information of a user;
the alarm clock is associated with the behavior information of the user;
time-space information when the alarm clock is triggered.
3. The method of claim 1, wherein obtaining video recommendation information applicable to the alarm clock according to the feature information comprises: and inputting the characteristic information into a recognition model, and recognizing the video recommendation information suitable for the alarm clock through the recognition model, wherein the recognition model is obtained by training based on a characteristic information training set marked with the video recommendation information.
4. The method of claim 1, wherein the method further comprises:
acquiring a video file;
extracting key frames of the video file, and determining description information of the video file according to image content contained in the key frames;
and updating the video database according to the description information of the video file.
5. The method according to claim 4, wherein extracting key frames of the video file, and determining the description information of the video file according to the image content contained in the key frames comprises:
dividing the video file into a plurality of sub-objects, and respectively extracting key frames of the sub-objects;
respectively determining a content label corresponding to each sub-object according to the image content contained in the key frame of each sub-object;
and determining the description information of the video file according to the content tag.
6. The method of claim 5, wherein segmenting the video file into a plurality of sub-objects comprises:
performing space-time slice clustering on the video files;
and acquiring a plurality of sub-objects of the video file based on the clustering result.
7. The method of claim 1, wherein setting the video file as a reminder file for the alarm clock comprises:
and associating the local storage address or the network link address of the video file with the alarm clock, so that when the alarm clock is triggered, the video file is acquired and played according to the local storage address or the network link address.
8. A device for setting an alarm clock, the device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to perform the method of any one of claims 1 to 7.
9. A computer readable medium having stored thereon computer program instructions executable by a processor to implement the method of any one of claims 1 to 7.
CN201810715671.4A 2018-06-29 2018-06-29 Method and device for setting alarm clock Active CN109116718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810715671.4A CN109116718B (en) 2018-06-29 2018-06-29 Method and device for setting alarm clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810715671.4A CN109116718B (en) 2018-06-29 2018-06-29 Method and device for setting alarm clock

Publications (2)

Publication Number Publication Date
CN109116718A CN109116718A (en) 2019-01-01
CN109116718B true CN109116718B (en) 2021-10-22

Family

ID=64822543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810715671.4A Active CN109116718B (en) 2018-06-29 2018-06-29 Method and device for setting alarm clock

Country Status (1)

Country Link
CN (1) CN109116718B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992697B (en) * 2019-03-27 2022-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN110311956A (en) * 2019-06-13 2019-10-08 北京华峰创业科技有限公司 System and method of the popular lines of intelligence as wake-up alarm
CN111694535B (en) * 2020-06-12 2023-08-29 广州酷狗计算机科技有限公司 Alarm clock information display method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2552088A1 (en) * 2011-07-27 2013-01-30 Research In Motion Limited Mobile wireless communications device with first and second alarm function GUI's and related methods
CN102932524A (en) * 2011-08-09 2013-02-13 宏达国际电子股份有限公司 An electronic device, a method, and a server for enabling a user to configure custom voice alarms
CN103491240A (en) * 2013-08-30 2014-01-01 小米科技有限责任公司 Alarm clock sounding method, device and mobile terminal
CN104065831A (en) * 2014-07-11 2014-09-24 华为软件技术有限公司 Mobile terminal alarm clock implementation method and device
CN104902086A (en) * 2015-05-21 2015-09-09 小米科技有限责任公司 Alarm clock ringing method and device
CN105872190A (en) * 2015-12-04 2016-08-17 乐视移动智能信息技术(北京)有限公司 Clothing reminding method and device
CN105897854A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Mobile terminal alarm clock response method, device and system
CN105959915A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 User-defined alarm clock prompting method and device
CN106649548A (en) * 2016-10-31 2017-05-10 维沃移动通信有限公司 Alarm clock ringing method and terminal
CN107277233A (en) * 2017-06-01 2017-10-20 深圳天珑无线科技有限公司 Method, equipment and the readable storage medium storing program for executing of intelligent Matching ring of alarm clock
CN107577448A (en) * 2017-08-29 2018-01-12 努比亚技术有限公司 A kind of alarm clock alarming method, equipment and computer-readable recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303596A (en) * 2015-05-15 2017-01-04 北京国双科技有限公司 Video recommendation system, method and device
CN105677735B (en) * 2015-12-30 2020-04-21 腾讯科技(深圳)有限公司 Video searching method and device
CN107704525A (en) * 2017-09-04 2018-02-16 优酷网络技术(北京)有限公司 Video searching method and device
CN108171189A (en) * 2018-01-05 2018-06-15 广东小天才科技有限公司 A kind of method for video coding, video coding apparatus and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2552088A1 (en) * 2011-07-27 2013-01-30 Research In Motion Limited Mobile wireless communications device with first and second alarm function GUI's and related methods
CN102932524A (en) * 2011-08-09 2013-02-13 宏达国际电子股份有限公司 An electronic device, a method, and a server for enabling a user to configure custom voice alarms
CN103491240A (en) * 2013-08-30 2014-01-01 小米科技有限责任公司 Alarm clock sounding method, device and mobile terminal
CN104065831A (en) * 2014-07-11 2014-09-24 华为软件技术有限公司 Mobile terminal alarm clock implementation method and device
CN104902086A (en) * 2015-05-21 2015-09-09 小米科技有限责任公司 Alarm clock ringing method and device
CN105872190A (en) * 2015-12-04 2016-08-17 乐视移动智能信息技术(北京)有限公司 Clothing reminding method and device
CN105897854A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Mobile terminal alarm clock response method, device and system
CN105959915A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 User-defined alarm clock prompting method and device
CN106649548A (en) * 2016-10-31 2017-05-10 维沃移动通信有限公司 Alarm clock ringing method and terminal
CN107277233A (en) * 2017-06-01 2017-10-20 深圳天珑无线科技有限公司 Method, equipment and the readable storage medium storing program for executing of intelligent Matching ring of alarm clock
CN107577448A (en) * 2017-08-29 2018-01-12 努比亚技术有限公司 A kind of alarm clock alarming method, equipment and computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于时空切片的关键帧提取研究;雷少帅等;《太原理工大学学报》;20120531;第358-361页 *

Also Published As

Publication number Publication date
CN109116718A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
US10587920B2 (en) Cognitive digital video filtering based on user preferences
JP7123122B2 (en) Navigating Video Scenes Using Cognitive Insights
CN107251006B (en) Gallery of messages with shared interests
CN111970577B (en) Subtitle editing method and device and electronic equipment
CN110134931B (en) Medium title generation method, medium title generation device, electronic equipment and readable medium
US8893011B2 (en) Chronology display and feature for online presentations and webpages
US20190130185A1 (en) Visualization of Tagging Relevance to Video
CN112203122A (en) Artificial intelligence-based similar video processing method and device and electronic equipment
CN113079417B (en) Method, device and equipment for generating bullet screen and storage medium
US11558324B2 (en) Method and system for dynamically generating a card
CN109116718B (en) Method and device for setting alarm clock
CN110476162B (en) Controlling displayed activity information using navigation mnemonics
US10674183B2 (en) System and method for perspective switching during video access
US10713485B2 (en) Object storage and retrieval based upon context
CN111263186A (en) Video generation, playing, searching and processing method, device and storage medium
US10176201B2 (en) Content organization and categorization
CN112287168A (en) Method and apparatus for generating video
CN110930220A (en) Display method, display device, terminal equipment and medium
CN115203539B (en) Media content recommendation method, device, equipment and storage medium
CN113687890A (en) Popup management method, apparatus and storage medium
CN113886707A (en) Encyclopedic information determination method, display method, device, equipment and medium
US20170098144A1 (en) Method and system for generating a card based on intent
CN117171406A (en) Application program function recommendation method, device, equipment and storage medium
WO2024030244A1 (en) System and method of providing search and replace functionality for videos
CN111259270A (en) Weather reminding method, equipment and computer readable medium

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