CN109068008B - Ringtone setting method, device, terminal and storage medium - Google Patents

Ringtone setting method, device, terminal and storage medium Download PDF

Info

Publication number
CN109068008B
CN109068008B CN201811186061.6A CN201811186061A CN109068008B CN 109068008 B CN109068008 B CN 109068008B CN 201811186061 A CN201811186061 A CN 201811186061A CN 109068008 B CN109068008 B CN 109068008B
Authority
CN
China
Prior art keywords
target audio
terminal
ring
audio
setting
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
CN201811186061.6A
Other languages
Chinese (zh)
Other versions
CN109068008A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201811186061.6A priority Critical patent/CN109068008B/en
Publication of CN109068008A publication Critical patent/CN109068008A/en
Application granted granted Critical
Publication of CN109068008B publication Critical patent/CN109068008B/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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • 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/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a ringtone setting method, a ringtone setting device, a terminal and a storage medium, and belongs to the technical field of terminals. The method comprises the following steps: displaying an audio playing interface, wherein a global playing control is displayed in the audio playing interface, the global playing control is used for playing or pausing a current target audio, and an identifier of the target audio is displayed on the global playing control; when the trigger operation of the identification of the target audio displayed on the global play control is detected, displaying ring setting information, wherein the ring setting information is used for prompting whether the target audio is set as a prompting ring of the terminal or not; when a confirmation setting instruction is received based on the ringtone setting information, the target audio is set as a prompt ringtone of the terminal. The invention provides a method for rapidly setting the ring tone, which improves the ring tone setting efficiency.

Description

Ringtone setting method, device, terminal and storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a ring setting method and apparatus, a terminal, and a storage medium.
Background
At present, terminals such as mobile phones and tablet computers generally support a customized ring setting function, that is, a user can select any favorite audio as a prompting ring of the terminal, so as to distinguish the prompting ring from prompting rings set by other users or highlight the individuality of the user.
In the related art, a user may generally select audio from an audio playing application installed in a terminal, and set the selected audio as a ring tone for prompting the terminal. Specifically, the user can open the audio playing application to enter the audio playing interface, enter secondary pages such as a song list, a singer homepage, a category or ranking list and the like according to the recommendation of the audio playing interface, click a certain audio in the secondary pages for listening by trial, add the audio clicked by the user into a playing queue by the audio playing application, and automatically play down one audio after one audio in the playing queue is played. In the process of playing the sequence of the play queue, when a user hears favorite audio, the user needs to search a secondary page where the currently played audio is located, then return to the secondary page, and set the audio as a prompt ring in the secondary page by selecting the audio and calling a ring setting menu and other operations.
However, in the process that the user continuously switches different secondary pages to find the audio, when the user hears the favorite audio, the user is likely to be unaware of which secondary page the currently played audio belongs to, so that the user cannot quickly return to the secondary page where the currently played song is located, and further the user cannot quickly set the currently favorite audio as the prompt ring of the terminal, and the ring setting efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a ringtone setting method, a ringtone setting device, a ringtone setting terminal and a storage medium, which can be used for solving the problem of low ringtone setting efficiency in the related art. The technical scheme is as follows:
in a first aspect, a ring setting method is provided, where the method includes:
displaying an audio playing interface, wherein a global playing control is displayed in a suspension manner in the audio playing interface, the global playing control is used for performing playing or pause operation on the current target audio, and an identifier of the target audio is displayed on the global playing control;
when the trigger operation of the identification of the target audio displayed on the global play control is detected, displaying ring setting information, wherein the ring setting information is used for prompting whether the target audio is set as a prompting ring of the terminal or not;
and when receiving a confirmation setting instruction based on the ring setting information, setting the target audio as a prompt ring of the terminal.
Optionally, when the trigger operation on the identifier of the target audio displayed on the global play control is detected, displaying ring setting information, including:
and displaying ring setting information when the pressing operation of the identifier of the target audio displayed on the global play control is detected and the pressing duration is greater than or equal to the preset duration.
Optionally, before displaying the ringtone setting information, the method further includes:
detecting whether the terminal has downloaded the target audio;
if the terminal downloads the target audio, executing the operation of displaying the ring setting information;
and if the target audio is not downloaded by the terminal, downloading the target audio to the terminal, and executing the operation of displaying the ring setting information.
Optionally, the displaying the ringtone setting information includes:
displaying a ring setting popup in the audio playing interface, wherein the ring setting popup comprises prompt information for prompting whether the target audio is set as a prompt ring of the terminal, a confirmation option and a cancellation option;
when receiving a confirmation setting instruction based on the ring setting information, the setting the target audio as a prompt ring of the terminal includes:
and when the triggering operation of the confirmation option in the ring setting popup window is detected, setting the target audio as a prompt ring of the terminal.
Optionally, the global play control includes a close button, a switch button, and a play control button, where the close button is used to close the global play control, the switch button is used to switch the target audio to a next audio of the target audio, the play control button is used to perform play or pause operation on the target audio, and an identifier of the target audio is displayed on the play control button.
Optionally, the target audio is a song or a ringtone, and the alert ringtone includes at least one of an incoming ringtone, an informational ringtone, and an alarm ringtone.
Optionally, the global play control is displayed in the audio play interface in a floating manner.
In a second aspect, there is provided a ringtone setting apparatus applied in a terminal, the apparatus comprising:
the first display module is used for displaying an audio playing interface, wherein a global playing control is displayed in the audio playing interface, the global playing control is used for playing or pausing a current target audio, and an identifier of the target audio is displayed on the global playing control;
a second display module, configured to display ring setting information when a trigger operation on an identifier of the target audio displayed on the global play control is detected, where the ring setting information is used to prompt whether to set the target audio as a prompt ring of the terminal;
and the setting module is used for setting the target audio as the prompting ring of the terminal when receiving a setting confirmation instruction based on the ring setting information.
Optionally, the second display module is configured to:
and displaying ring setting information when the pressing operation of the identifier of the target audio displayed on the global play control is detected and the pressing duration is greater than or equal to the preset duration.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether the terminal downloads the target audio;
the first trigger module is used for triggering the second display module to display the ring setting information if the target audio is downloaded by the terminal;
and the second trigger module is used for downloading the target audio into the terminal and triggering the second display module to display ring setting information if the target audio is not downloaded by the terminal.
Optionally, the second display module is configured to:
displaying a ring setting popup in the audio playing interface, wherein the ring setting popup comprises prompt information for prompting whether the target audio is set as a prompt ring of the terminal, a confirmation option and a cancellation option;
the setting module is used for:
and when the triggering operation of the confirmation option in the ring setting popup window is detected, setting the target audio as a prompt ring of the terminal.
Optionally, the global play control includes a close button, a switch button, and a play control button, where the close button is used to close the global play control, the switch button is used to switch the target audio to a next audio of the target audio, the play control button is used to perform play or pause operation on the target audio, and an identifier of the target audio is displayed on the play control button.
Optionally, the target audio is a song or a ringtone, and the alert ringtone includes at least one of an incoming ringtone, an informational ringtone, and an alarm ringtone.
In a third aspect, a terminal is provided, where the terminal includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of the first aspect described above.
In a fourth aspect, a computer-readable storage medium is provided, having instructions stored thereon, which when executed by a processor, implement the steps of any of the methods of the first aspect described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the global play control is added in the audio play interface, and the identification of the current target audio is displayed on the global play control, when a user wants to set the current target audio as the prompting ring tone, the user can quickly set the target audio as the prompting ring tone of the terminal by triggering the identification of the target audio displayed on the global play control without returning to a secondary page where the target audio is located, thereby simplifying the operation of the user and improving the ring tone setting efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a ring setting method according to an embodiment of the present invention;
fig. 2 is a flowchart of another ring setting method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an audio playing interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another audio playing interface provided by the embodiment of the present invention;
FIG. 5 is a schematic diagram of another audio playing interface provided by an embodiment of the present invention;
fig. 6 is a block diagram illustrating a structure of a ring setting apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a terminal 700 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the embodiments of the present invention in detail, an application scenario and an implementation environment of the embodiments of the present invention will be described.
The embodiment of the invention is applied to a ring setting scene, in particular to a scene that a certain song or a certain ring in an audio playing application is quickly set as the prompting ring of the terminal. In addition, the implementation environment of the ringtone setting method provided by the embodiment of the present invention is a terminal, and the terminal may be a mobile phone, a tablet computer, an intelligent wearable device, or the like, which is not limited in the embodiment of the present invention.
Fig. 1 is a flowchart of a ring setting method provided in an embodiment of the present invention, where the method is used in a terminal. Referring to fig. 1, the method includes:
step 101: and displaying an audio playing interface, wherein a global playing control is displayed in the audio playing interface, the global playing control is used for performing playing or pause operation on the current target audio, and the global playing control is displayed with an identifier of the target audio.
Step 102: and when the triggering operation of the identification of the target audio displayed on the global play control is detected, displaying ring setting information, wherein the ring setting information is used for prompting whether the target audio is set as the prompting ring of the terminal.
Step 103: when a confirmation setting instruction is received based on the ring setting information, the target audio is set as a prompt ring of the terminal.
In the embodiment of the invention, the global play control is added in the audio play interface, and the identification of the current target audio is displayed on the global play control, when a user wants to set the current target audio as the prompting ring tone, the user can quickly set the target audio as the prompting ring tone of the terminal by triggering the identification of the target audio displayed on the global play control without returning to a secondary page where the target audio is located, thereby simplifying the operation of the user and improving the ring tone setting efficiency.
Optionally, when a trigger operation on the identifier of the target audio displayed on the global play control is detected, displaying ring setting information, including:
and displaying ringtone setting information when the pressing operation of the identifier of the target audio displayed on the global play control is detected and the pressing duration is greater than or equal to the preset duration.
Optionally, before displaying the ringtone setting information, the method further includes:
detecting whether the terminal has downloaded the target audio;
if the terminal has downloaded the target audio, executing the operation of displaying the ring setting information;
if the target audio is not downloaded by the terminal, the target audio is downloaded to the terminal, and the operation of displaying the ring setting information is executed.
Optionally, the displaying the ringtone setting information includes:
displaying a ring setting popup in the audio playing interface, wherein the ring setting popup comprises prompt information for prompting whether the target audio is set as a prompt ring of the terminal, a confirmation option and a cancellation option;
when receiving a confirmation setting instruction based on the ring setting information, setting the target audio as a prompt ring of the terminal, including:
and when the triggering operation of the confirmation option in the ring setting popup window is detected, setting the target audio as a prompting ring of the terminal.
Optionally, the global play control includes a close button, a switch button, and a play control button, where the close button is used to close the global play control, the switch button is used to switch the target audio to a next audio of the target audio, the play control button is used to perform play or pause operation on the target audio, and an identifier of the target audio is displayed on the play control button.
Optionally, the target audio is a song or a ringtone, and the alert ringtone includes at least one of an incoming ringtone, an informational ringtone, and an alarm ringtone.
Optionally, the global play control is displayed in the audio play interface in a floating manner.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present invention, which is not described in detail herein.
Fig. 2 is a flowchart of another ring setting method provided in an embodiment of the present invention, and the method is used in a terminal. Referring to fig. 2, the method includes:
step 201: and displaying an audio playing interface, wherein a global playing control is displayed in the audio playing interface, the global playing control is used for performing playing or pause operation on the current target audio, and the global playing control is displayed with an identifier of the target audio.
The audio playing interface may be a page of an audio playing application installed in the terminal, specifically, a main page of the audio playing application, or other pages such as a secondary page. The user can enter the audio playback interface by opening the audio playback application. The target audio may be currently played audio or currently paused audio, and the target audio may specifically be a song or a ringtone, and the ringtone refers to audio with a duration less than or equal to a preset duration and is specially made to serve as a prompt ringtone of the terminal. The identifier of the target audio is used to uniquely identify the target audio, and may specifically be a name or a number of the target audio, which is not limited in the embodiment of the present invention.
It should be noted that, compared with an audio playing interface in the related art, in the embodiment of the present invention, a global playing control is added in the audio playing interface, where the global playing control is equivalent to an audio playing control shortcut key, and a user can conveniently and quickly control a current target audio through the global playing control, for example, the user can pause a currently playing target audio or play a currently paused target audio. In addition, in the process that the user continuously switches to different secondary pages to search for the audio, the global play control can exist all the time, when the user wants to control the current target audio, the user does not need to return to the play page of the target audio or the secondary page where the target audio is located, the audio can be played only through the global play control, and therefore a mode for quickly controlling the audio playing is provided for the user.
Optionally, the global play control may be hovered over the audio play interface to avoid occupying window space of the audio play interface. Further, the position of the global play control can also be freely adjusted, for example, the position can be dragged to any position of the audio play interface. Further, the size of the global play control can be freely adjusted, for example, the global play control can be enlarged or reduced according to the operation of the user.
Optionally, the global play control includes at least a play control button, where the play control button is used to perform play or pause operation on the target audio, and an identifier of the target audio is displayed on the play control button, for example, a name of the target audio is displayed. Further, the global play control may further include a close button and/or a switch button, where the close button is used to close the global play control, that is, to hide the global play control, and the switch button is used to perform audio switching, that is, to switch the current target audio to the next audio of the target audio.
Referring to fig. 3, fig. 3 is a schematic view of an audio playing interface according to an embodiment of the present invention, as shown in fig. 3, a global playing control 10 is displayed on the audio playing interface in a floating manner, where the global playing control 10 includes a playing control button 11, a switching button 12, and a closing button 13. Also, the play control button 11 displays the name "That Girl" of the current ringtone.
Step 202: and when the trigger operation of the identification of the target audio displayed on the global play control is detected, detecting whether the terminal downloads the target audio.
The trigger operation may be a click operation, a touch operation, a long-press operation, or the like on the identifier of the target audio, which is not limited in the embodiment of the present invention. Taking the triggering operation as a long-press operation as an example, when a press operation on the identifier of the target audio displayed on the global play control is detected and the press duration is greater than or equal to the preset duration, it may be detected whether the terminal has downloaded the target audio. The preset duration may be preset, specifically may be set by a default of the terminal, or may be set by a user, which is not limited in the embodiment of the present invention.
Referring to fig. 4, when the user wants to set the current ringtone as the alert ringtone of the terminal, the name of the current ringtone displayed on the play control button 11 may be pressed with a finger, and when the terminal detects a long-press operation on the name of the current ringtone, it may be detected whether the terminal has downloaded the target audio.
Step 203: and if the target audio is not downloaded by the terminal, downloading the target audio to the terminal and displaying the ring setting information.
That is, if the terminal has not downloaded the target audio, the terminal may be triggered to download the target audio, the target is downloaded to the terminal first, and the ring setting information is triggered and displayed. Specifically, the ring setting information may be displayed while the terminal is triggered to download the target audio, or the ring setting information may be displayed after the target audio is downloaded. In addition, the operation of downloading the target audio to the terminal may include: and sending an audio downloading request to a background server of the audio playing application, wherein the audio downloading request carries the identifier of the target audio, and acquiring the target audio from the server according to the audio downloading request.
The ring setting information is used to prompt whether to set the target audio as a prompt ring of the terminal, where the prompt ring includes an incoming ring, an information ring, or an alarm ring of the terminal, and the information ring includes a short message ring, an incoming ring of instant messaging, or an incoming ring of social applications, and the like, and the present invention is not limited thereto.
The display form of the ring setting information can be a pop window or other forms. For example, the operation of displaying the bell sound setting information may include: displaying a ring setting popup in an audio playing interface, wherein the ring setting popup comprises prompt information for prompting whether the target audio is set as a prompt ring of the terminal, a confirmation option and a cancellation option. The confirmation option is used for triggering a confirmation setting instruction, and the cancellation option is used for triggering a cancellation setting instruction.
Referring to fig. 5, after detecting the trigger operation on the identifier of the target audio displayed on the global play control, a pop-up window for setting a ring tone quickly may pop up on the audio play interface, where the pop-up window includes a prompt message "set That Girl is used as the incoming ring tone of the local computer", and a confirmation option and a cancellation option to prompt the user whether to set the currently played ring tone "That Girl" as the incoming ring tone of the local computer.
Step 204: and if the terminal downloads the target audio, directly displaying ring setting information.
That is, if the terminal has downloaded the target audio into the terminal, i.e., the target audio has been stored in the terminal, the ring setting information may be directly displayed.
It should be noted that, in the embodiment of the present invention, only when the trigger operation of the identifier of the target audio displayed on the global play control is detected, it is first detected whether the target audio has been downloaded by the terminal, but in practical applications, the step of detecting whether the target audio has been downloaded by the terminal may also be an optional step, that is, when the trigger operation of the identifier of the target audio displayed on the global play control is detected, it may also be possible to directly trigger downloading of the target audio without detecting whether the target audio has been downloaded by the terminal, and display ring setting information. In addition, if the terminal does not download the target audio to the terminal, or sets the target audio as a prompt ring of the terminal, when the trigger operation of the identifier of the target audio displayed on the global play control is detected, the terminal may also not download the target audio and directly display ring setting information, which is not limited in the embodiments of the present invention.
Step 205: when a confirmation setting instruction is received based on the ringtone setting information, the target audio is set as a prompt ringtone of the terminal.
The confirmation setting instruction is used to confirm that the target audio is set as the prompt ring of the terminal, and specifically, the confirmation setting instruction may be triggered by a user through a specified operation, where the specified operation may be a click operation, a touch operation, a gesture operation, a voice operation, or the like, and the embodiment of the present invention does not limit this.
For example, the specifying operation may be a triggering operation of a confirmation option in the ring setting popup, that is, the terminal may set the target audio as a reminder ring of the terminal when the triggering operation of the confirmation option in the ring setting popup is detected.
In the embodiment of the invention, the global play control is added in the audio play interface, and the identification of the current target audio is displayed on the global play control, when a user wants to set the current target audio as the prompting ring tone, the user can quickly set the target audio as the prompting ring tone of the terminal by triggering the identification of the target audio displayed on the global play control without returning to a secondary page where the target audio is located, thereby simplifying the operation of the user and improving the ring tone setting efficiency.
Fig. 6 is a block diagram of a ring setting apparatus according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes: a first display module 601, a second display module 602 and a setting module 603.
The first display module 601 is configured to display an audio playing interface, where a global playing control is displayed in the audio playing interface, the global playing control is used to perform playing or pausing operation on a current target audio, and an identifier of the target audio is displayed on the global playing control;
a second display module 602, configured to display ring setting information when a trigger operation on an identifier of the target audio displayed on the global play control is detected, where the ring setting information is used to prompt whether to set the target audio as a prompt ring of the terminal;
a setting module 603, configured to set the target audio as a prompt ring of the terminal when a confirmation setting instruction is received based on the ring setting information.
Optionally, the second display module is configured to:
and displaying ring setting information when the pressing operation of the identifier of the target audio displayed on the global play control is detected and the pressing duration is greater than or equal to the preset duration.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether the terminal downloads the target audio;
the first trigger module is used for triggering the second display module to display the ring setting information if the target audio is downloaded by the terminal;
and the second trigger module is used for downloading the target audio into the terminal and triggering the second display module to display ring setting information if the target audio is not downloaded by the terminal.
Optionally, the second display module is configured to:
displaying a ring setting popup in the audio playing interface, wherein the ring setting popup comprises prompt information for prompting whether the target audio is set as a prompt ring of the terminal, a confirmation option and a cancellation option;
the setting module is used for:
and when the triggering operation of the confirmation option in the ring setting popup window is detected, setting the target audio as a prompt ring of the terminal.
Optionally, the global play control includes a close button, a switch button, and a play control button, where the close button is used to close the global play control, the switch button is used to switch the target audio to a next audio of the target audio, the play control button is used to perform play or pause operation on the target audio, and an identifier of the target audio is displayed on the play control button.
Optionally, the target audio is a song or a ringtone, and the alert ringtone includes at least one of an incoming ringtone, an informational ringtone, and an alarm ringtone.
In the embodiment of the invention, the global play control is added in the audio play interface, and the identification of the current target audio is displayed on the global play control, when a user wants to set the current target audio as the prompting ring tone, the user can quickly set the target audio as the prompting ring tone of the terminal by triggering the identification of the target audio displayed on the global play control without returning to a secondary page where the target audio is located, thereby simplifying the operation of the user and improving the ring tone setting efficiency.
It should be noted that: in the embodiment, when the ring setting device performs ring setting, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the ring setting device and the ring setting method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 7 is a block diagram of a terminal 700 according to an embodiment of the present invention. The terminal 700 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
In general, terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one instruction for execution by processor 701 to implement the ringtone setting method provided by the method embodiments herein.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera 706, audio circuitry 707, positioning components 708, and power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 709 is provided to supply power to various components of terminal 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power source 709 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of terminal 700 and/or an underlying layer of touch display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually becomes larger, the processor 701 controls the touch display 705 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In this embodiment, the terminal further includes one or more programs, which are stored in the memory and configured to be executed by one or more processors, and the one or more programs include instructions for performing the ringtone setting method provided by the embodiment of the present invention.
In an embodiment of the present invention, a computer-readable storage medium is further provided, where instructions are stored on the computer-readable storage medium, and when the instructions are executed by a processor, the instructions implement the ring setting method provided in the embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (12)

1. A ringtone setting method, applied to a terminal, the method comprising:
displaying an audio playing interface, wherein a global playing control is displayed in the audio playing interface, the global playing control is used for performing playing or pause operation on the current target audio, and an identifier of the target audio is displayed on the global playing control;
when the trigger operation of the identification of the target audio displayed on the global play control is detected, displaying ring setting information, wherein the ring setting information is used for prompting whether the target audio is set as a prompting ring of the terminal or not;
setting the target audio as a prompt ring of the terminal when receiving a confirmation setting instruction based on the ring setting information;
the displaying of the ringtone setting information includes:
displaying a ring setting popup in the audio playing interface, wherein the ring setting popup comprises prompt information for prompting whether the target audio is set as a prompt ring of the terminal, a confirmation option and a cancellation option, the confirmation option is used for triggering a confirmation setting instruction, and the cancellation option is used for triggering a cancellation setting instruction;
when receiving a confirmation setting instruction based on the ring setting information, the setting the target audio as a prompt ring of the terminal includes:
and when the triggering operation of the confirmation option in the ring setting popup window is detected, setting the target audio as a prompt ring of the terminal.
2. The method of claim 1, wherein displaying ringtone setting information when a trigger operation to the identification of the target audio displayed on the global play control is detected comprises:
and displaying ring setting information when the pressing operation of the identifier of the target audio displayed on the global play control is detected and the pressing duration is greater than or equal to the preset duration.
3. The method of claim 1, wherein before displaying ring setting information, further comprising:
detecting whether the terminal has downloaded the target audio;
if the terminal has downloaded the target audio, executing the step of displaying the ring setting information;
and if the target audio is not downloaded by the terminal, downloading the target audio to the terminal, and executing the step of displaying the ring setting information.
4. The method according to any one of claims 1-3, wherein the global play control comprises a close button for closing the global play control, a switch button for switching the target audio to an audio next to the target audio, and a play control button for performing a play or pause operation on the target audio, and an identifier of the target audio is displayed on the play control button.
5. The method of any of claims 1-3, wherein the target audio is a song or a ringtone and the alert ringtone comprises at least one of an incoming ringtone, an informational ringtone, and an alarm ringtone.
6. A ringtone setting apparatus, applied to a terminal, comprising:
the first display module is used for displaying an audio playing interface, wherein a global playing control is displayed in the audio playing interface, the global playing control is used for playing or pausing a current target audio, and an identifier of the target audio is displayed on the global playing control;
a second display module, configured to display ring setting information when a trigger operation on an identifier of the target audio displayed on the global play control is detected, where the ring setting information is used to prompt whether to set the target audio as a prompt ring of the terminal;
the setting module is used for setting the target audio as a prompt ring of the terminal when a confirmation setting instruction is received based on the ring setting information;
the second display module is configured to:
displaying a ring setting popup in the audio playing interface, wherein the ring setting popup comprises prompt information for prompting whether the target audio is set as a prompt ring of the terminal, a confirmation option and a cancellation option, the confirmation option is used for triggering a confirmation setting instruction, and the cancellation option is used for triggering a cancellation setting instruction;
the setting module is used for:
and when the triggering operation of the confirmation option in the ring setting popup window is detected, setting the target audio as a prompt ring of the terminal.
7. The apparatus of claim 6, wherein the second display module is to:
and displaying ring setting information when the pressing operation of the identifier of the target audio displayed on the global play control is detected and the pressing duration is greater than or equal to the preset duration.
8. The apparatus of claim 6, wherein the apparatus further comprises:
the detection module is used for detecting whether the terminal downloads the target audio;
the first trigger module is used for triggering the second display module to display the ring setting information if the target audio is downloaded by the terminal;
and the second trigger module is used for downloading the target audio into the terminal and triggering the second display module to display ring setting information if the target audio is not downloaded by the terminal.
9. The apparatus according to any of claims 6-8, wherein the global play control comprises a close button for closing the global play control, a switch button for switching the target audio to an audio next to the target audio, and a play control button for performing a play or pause operation on the target audio, and an identifier of the target audio is displayed on the play control button.
10. The apparatus of any of claims 6-8, wherein the target audio is a song or a ringtone and the alert ringtone comprises at least one of an incoming ringtone, an informational ringtone, and an alarm ringtone.
11. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1-5.
12. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-5.
CN201811186061.6A 2018-10-11 2018-10-11 Ringtone setting method, device, terminal and storage medium Active CN109068008B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811186061.6A CN109068008B (en) 2018-10-11 2018-10-11 Ringtone setting method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811186061.6A CN109068008B (en) 2018-10-11 2018-10-11 Ringtone setting method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109068008A CN109068008A (en) 2018-12-21
CN109068008B true CN109068008B (en) 2020-12-04

Family

ID=64763771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811186061.6A Active CN109068008B (en) 2018-10-11 2018-10-11 Ringtone setting method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109068008B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981907B (en) * 2019-04-04 2022-06-28 腾讯科技(深圳)有限公司 Communication connection establishing method, device, terminal and storage medium
CN110636169B (en) * 2019-08-30 2021-07-16 联想(北京)有限公司 Information processing method and electronic equipment
CN110536020B (en) * 2019-09-06 2023-05-12 上海掌门科技有限公司 Incoming call reminding setting method, equipment and computer readable storage medium
CN111049977B (en) * 2019-11-27 2021-09-28 维沃移动通信有限公司 Alarm clock reminding method and electronic equipment
CN113905131B (en) * 2021-09-02 2024-02-23 咪咕音乐有限公司 Multimedia color ring setting method, terminal and computer readable storage medium
CN114546197A (en) * 2022-02-11 2022-05-27 深圳传音控股股份有限公司 Interface display method, intelligent terminal and storage medium

Citations (2)

* 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
CN104869238A (en) * 2015-04-30 2015-08-26 广东欧珀移动通信有限公司 Ringtone setting method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9210478B2 (en) * 2008-08-29 2015-12-08 Centurylink Intellectual Property Llc System and method for set-top box base station integration
US9844023B2 (en) * 2014-10-03 2017-12-12 Echostar Technologies L.L.C. System and method to silence other devices in response to an incoming audible communication
CN105847572A (en) * 2016-04-19 2016-08-10 乐视控股(北京)有限公司 Creating method and device for reminding ringtone
CN106550111B (en) * 2016-10-08 2020-05-22 上海斐讯数据通信技术有限公司 Method for setting ring tone in music playing and intelligent terminal

Patent Citations (2)

* 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
CN104869238A (en) * 2015-04-30 2015-08-26 广东欧珀移动通信有限公司 Ringtone setting method and mobile terminal

Also Published As

Publication number Publication date
CN109068008A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN110602321B (en) Application program switching method and device, electronic device and storage medium
CN109068008B (en) Ringtone setting method, device, terminal and storage medium
CN109874312B (en) Method and device for playing audio data
CN108449641B (en) Method, device, computer equipment and storage medium for playing media stream
CN110308956B (en) Application interface display method and device and mobile terminal
CN110764730A (en) Method and device for playing audio data
CN109144346B (en) Song sharing method and device and storage medium
CN110109608B (en) Text display method, text display device, text display terminal and storage medium
CN109982129B (en) Short video playing control method and device and storage medium
CN109800003B (en) Application downloading method, device, terminal and storage medium
CN110677713B (en) Video image processing method and device and storage medium
CN107943484B (en) Method and device for executing business function
CN110868642B (en) Video playing method, device and storage medium
CN110191236B (en) Song playing queue management method and device, terminal equipment and storage medium
CN111930438A (en) Method, device and equipment for determining page loading duration and storage medium
CN109033473B (en) Picture sharing method and device and computer readable storage medium
CN108966026B (en) Method and device for making video file
CN116700826A (en) Widget starting method, device, equipment and computer readable storage medium
CN110941458B (en) Method, device, equipment and storage medium for starting application program
CN111464829B (en) Method, device and equipment for switching media data and storage medium
CN112732133B (en) Message processing method and device, electronic equipment and storage medium
CN109275015B (en) Method, device and storage medium for displaying virtual article
CN109101166B (en) Audio control method, device and storage medium
CN109189525B (en) Method, device and equipment for loading sub-page and computer readable storage medium
CN110992954A (en) Method, device, equipment and storage medium for voice recognition

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