Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
Fig. 1 is a flow chart illustrating a method for dynamically updating a ring tone of an intelligent terminal device according to an exemplary embodiment.
Referring to fig. 1, amethod 10 for dynamically updating a ring tone of an intelligent terminal device includes:
in step S102, a tag library of user preferred ring tones is established, the tag library containing one or more tags based on one or more attributes of the ring tones.
In some embodiments, establishing a library of tags for user preferred ringtones comprises: and establishing a label library according to the labels of the ring tones used by the user and/or the labels of the ring tones or music searched by the user through the client in the intelligent terminal equipment.
Attributes of a ringtone may be, for example, speed, tempo, style, emotion, type, composer, belonging area, scene, etc.; the tags of the speed attribute can be fast songs, slow songs and the like, the tags of the emotion attribute can be happy, sad, excited, painful and the like, the tags of the type attribute can be pure music, balladry, popular songs and the like, and the tags of the region can be China, Europe, America, Japan and Korean and the like; the labels of the scenes may be, for example, a night shop, a study, a lunch break, a campus, etc. The present invention includes, but is not limited to, these attributes and labels.
The tag library may be established according to tags of ring tones used (or set) by the user. For example, the following labels are included in the ring tone used by the user: "fast song", "happy", "popular song", "china", "campus", the tag library contains tags as follows: "fast song, happy, popular song, china, campus". The tag library may also be established according to tags of ring tones or music searched by the user through the client in the intelligent terminal device, for example, the ring tones or music searched by the user through a music playing application in a mobile phone or a browser includes the following tags: "slow song," "sad," "popular song," and "campus," then the tag library contains tags as follows: "slow song, sad song, popular song, campus". A tag library may also be established according to the tags of the ring tones used by the user and the tags of the ring tones or music searched by the user through the client in the intelligent terminal device, where the tags included in the tag library are, for example: "fast song, slow song, happy, sad, popular song, china, campus".
In step S104, the priority of each tag in the tag library is determined based on different attributes, and the tags are sorted according to the priority.
The priority may be determined according to the number of tags in the tag library, for example, under the speed attribute, the number of tags "fast song" in the tag library is greater than the number of tags "slow song", and then the priority of the tags "fast song" is higher than that of the tags "slow song".
In step S106, based on the ring update instruction of the user, a new ring is obtained according to the priority of each of the tags, and is stored in the intelligent terminal device.
The intelligent terminal device can be a mobile phone, a tablet computer and the like.
The acquired new ring tones may be a group of ring tones, and sorted according to the initials of the ring tone names, and stored in the intelligent terminal device.
Fig. 2 is a diagram illustrating one setting of a ring tone for a cellular phone according to an example.
As shown in fig. 2, when the user selects a ring tone in the ring tone setting, and finds that none of the current ring tones is suitable, the ring tone switching button may be clicked to switch all of the current ring tones, and the ring tone switching button may be, for example, a "one-click-to-one-batch" button.
According to the dynamic update method of the ring of the intelligent terminal equipment, which is disclosed by the embodiment of the invention, a label library of the ring preferred by the user is established, the priority of each label in the label library is determined based on different attributes, and a new ring is obtained according to the priority of the label and stored in the intelligent terminal equipment based on the ring update instruction of the user. The method can acquire the ring according to the preference of the user, thereby bringing better user experience.
It should be clearly understood that the present disclosure describes how to make and use particular examples, but the principles of the present disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 3 is a flow chart illustrating another method for dynamically updating a ring tone of an intelligent terminal device, according to an example embodiment.
Compared with thedynamic update method 10 of ring tone of intelligent terminal device shown in fig. 1, thedynamic update method 20 of ring tone of intelligent terminal device shown in fig. 3 may further include:
in step S108, the tag library is updated.
In some embodiments, updating the tag library comprises: and updating the label library according to the labels of the ring tones used by the user and/or the labels of the ring tones or music searched by the user through the client in the intelligent terminal equipment.
When the user has less used ringtones, all the labels of all the ringtones used by the user can be set as a label library of the user favorite ringtones, the more the used ringtones are, the more the labels of the ringtones are, the more the labels are, the priority of the labels can be sequenced according to the occurrence frequency of the labels, the labels with higher priority are updated into the label library, the original unusual labels in the label library are removed, so that the labels in the label library can better represent the user favorite by continuously updating the label library, and the new ringtones acquired based on the updated label library better meet the requirements of the user.
Other steps in themethod 20 for dynamically updating ring tones of an intelligent terminal device are the same as those in themethod 10 for dynamically updating ring tones of an intelligent terminal device, and are not described herein again.
Fig. 4 is a flow chart illustrating another method for dynamically updating a ring tone of an intelligent terminal device, according to an example embodiment.
The difference from themethod 10 shown in fig. 1 is that fig. 4 further provides how to obtain a new ring tone according to the priority of each tag in the tags, i.e. the method shown in fig. 4 further provides an embodiment of step S106 in fig. 1.
Referring to fig. 4, step S106 includes:
in step S1062, when the tag library only contains one or more tags based on one attribute of the ring tone, determining a ratio of the number of new ring tones matching each tag according to the priority of each tag; and acquires a new ring tone according to the quantity proportion.
For example, when the tag library only contains tags of type attributes, the priority of each tag under the type attributes is: pure music > ballad > popular song, and the ratio of the number of individual tags is 5: 3: 2, then the new ring tones obtained contain 5 songs of pure music type, 3 songs of ballad type, 2 songs of popular song type.
The priority of the tags in the tag library can be determined according to the number of the tags, and also can be determined according to the use times or use duration of the corresponding ring tones of the tags.
In step S1064, when the tag library contains one or more tags based on a plurality of attributes of the ring tone, a new ring tone is obtained according to the priority of each tag in each attribute.
In some embodiments, obtaining a new ringtone based on the priority of each tag in each attribute comprises: sorting the different attributes according to a predetermined sequence; according to the sequence, determining the number proportion of the new ring tones matched with the labels according to the priority of one or more labels in the attributes; and acquiring a new ring tone according to the quantity proportion.
The sorting of the different attributes according to the predetermined sequence may be sorting the different attributes according to a preset sequence, for example, the sequence of manually specifying the attributes of speed, tempo, style, and emotion is: speed, style, mood, tempo; the tag may also be sorted according to the number of tagged tags in different attributes (i.e. the number of occurrences in the tag library), such as tempo, style, and emotion, which are sequentially from large to small: speed, mood, style, tempo, the predetermined order is: tempo, mood, style, tempo.
For example, the order of the attributes of the speed and scene is: speed and scene, the priority of each label under the speed attribute is determined firstly, for example, the number of the labels of the fast song and the slow song is the same, then the ratio of the fast song to the slow song in the acquired new ring tone is determined to be 1: 1, the obtained new ring tone can contain 5 fast songs and 5 slow songs; then, the priority of each label under the scene attribute is determined, for example, the number of labels for journey and learning is 3: 2, then the ratio of travel and learning in the new ring tone is determined to be 3: and 2, wherein 5 fast songs in the obtained new ringtone comprise 3 songs on journey and 2 learned songs, and 5 slow songs in the obtained new ringtone comprise 3 songs on journey and 2 learned songs.
Those skilled in the art will appreciate that all or part of the steps implementing the above embodiments are implemented as computer programs executed by a CPU. The computer program, when executed by the CPU, performs the functions defined by the method provided by the present invention. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic or optical disk, or the like.
Furthermore, it should be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the method according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Fig. 5 is a block diagram illustrating an apparatus for dynamically updating a ring tone of an intelligent terminal device according to an exemplary embodiment.
Referring to fig. 5, theapparatus 50 for dynamically updating a ring tone of an intelligent terminal device includes: a taglibrary establishing module 502, atag sorting module 504 and a ringtone obtaining module 506.
The labellibrary creating module 502 is configured to create a label library of user-preferred ringtones, where the label library includes one or more labels based on one or more attributes of the ringtones.
In some embodiments, the taglibrary establishing module 502 is further configured to establish a tag library according to tags of ring tones used by the user, and/or according to tags of ring tones or music searched by the user through the client in the smart terminal device.
Thetag sorting module 504 is configured to determine priorities of the tags in the tag library based on different attributes, and sort the tags according to the priorities.
Theringtone acquisition module 506 is configured to acquire a new ringtone according to the priority of each of the tags based on a ringtone update instruction of the user, and store the new ringtone in the intelligent terminal device.
In some embodiments, theringtone acquisition module 506 is further configured to determine, according to the priority of each tag, a proportion of the number of new ringtones matching each tag when the tag library contains only one or more tags based on one attribute of the ringtone; and acquires a new ring tone according to the quantity proportion.
In some embodiments, the ringtone retrieving module 506 is further configured to retrieve a new ring tone according to a priority of each tag in the attributes when the tag library contains one or more tags based on the plurality of attributes of the ring tone.
In some embodiments, theringtone acquisition module 506 is further configured to sort the different attributes in a predetermined order; according to the sequence, determining the number proportion of the new ring tones matched with the labels according to the priority of one or more labels in the attributes; and acquiring a new ring tone according to the quantity proportion.
In some embodiments, theapparatus 50 further comprises: and the label library updating module is used for updating the label library.
In some embodiments, the tag library updating module is further configured to update the tag library according to tags of ring tones used by the user, and/or according to tags of ring tones or music searched by the user through the client in the intelligent terminal device.
According to the dynamic update device of the ring of the intelligent terminal equipment provided by the embodiment of the invention, a label library of the ring preferred by the user is established, the priority of each label in the label library is determined based on different attributes, and a new ring is obtained according to the priority of the label and stored in the intelligent terminal equipment based on the ring update instruction of the user. The device can acquire the ring according to the preference of the user, thereby bringing better user experience.
It is noted that the block diagrams shown in the above figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Fig. 6 is a schematic structural diagram of an electronic device according to an exemplary embodiment. It should be noted that the electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 6, theelectronic device 800 is in the form of a general purpose computer device. The components of theelectronic device 800 include: at least one Central Processing Unit (CPU)801, which may perform various appropriate actions and processes according to program code stored in a Read Only Memory (ROM)802 or loaded from at least onestorage unit 808 into a Random Access Memory (RAM) 803.
In particular, according to an embodiment of the present invention, the program code may be executed by thecentral processing unit 801, such that thecentral processing unit 801 performs the steps according to various exemplary embodiments of the present invention described in the above-mentioned method embodiment section of the present specification. For example, thecentral processing unit 801 may perform the steps as shown in fig. 1-4.
In theRAM 803, various programs and data necessary for the operation of theelectronic apparatus 800 are also stored. TheCPU 801,ROM 802, andRAM 803 are connected to each other via abus 804. An input/output (I/O)interface 805 is also connected tobus 804.
The following components are connected to the I/O interface 805: aninput unit 806 including a keyboard, a mouse, and the like; anoutput unit 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; astorage unit 808 including a hard disk and the like; and acommunication unit 809 including a network interface card such as a LAN card, a modem, or the like. Thecommunication unit 809 performs communication processing via a network such as the internet. Adrive 810 is also connected to the I/O interface 805 as necessary. Aremovable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on thedrive 810 as necessary, so that a computer program read out therefrom is mounted on thestorage unit 808 as necessary.
FIG. 7 is a schematic diagram illustrating a computer-readable storage medium in accordance with an example embodiment.
Referring to fig. 7, aprogram product 900 configured to implement the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage 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.
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to implement the functions as shown in fig. 1-4.
Exemplary embodiments of the present invention are specifically illustrated and described above. It is to be understood that the invention is not limited to the precise construction, arrangements, or instrumentalities described herein; on the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.