CN108495183B - Method and device for displaying album information - Google Patents

Method and device for displaying album information Download PDF

Info

Publication number
CN108495183B
CN108495183B CN201810312809.6A CN201810312809A CN108495183B CN 108495183 B CN108495183 B CN 108495183B CN 201810312809 A CN201810312809 A CN 201810312809A CN 108495183 B CN108495183 B CN 108495183B
Authority
CN
China
Prior art keywords
album
information
album information
displaying
server
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
CN201810312809.6A
Other languages
Chinese (zh)
Other versions
CN108495183A (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 CN201810312809.6A priority Critical patent/CN108495183B/en
Publication of CN108495183A publication Critical patent/CN108495183A/en
Application granted granted Critical
Publication of CN108495183B publication Critical patent/CN108495183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format

Abstract

The invention discloses a method and a device for displaying album information, and belongs to the technical field of networks. The method comprises the following steps: when a downloading completion instruction of a target audio is received, acquiring attribute information of the target audio; if the attribute information contains the album identification corresponding to the target audio, sending an album information query request carrying the album identification to a server; and receiving an album information query result sent by the server and displaying the album information query result. By adopting the invention, the accuracy of the information acquisition of the user can be improved.

Description

Method and device for displaying album information
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for displaying album information.
Background
With the increasing living standard of people, more and more people like listening to music so as to relax the mood. After a user downloads an audio through the music application, the user may view the downloaded audio and some information of the audio, such as an audio name, album information belonging to the audio, an audio duration, etc., in the local music in the music application, where the album information may include information such as an album name.
The audio name and the audio duration are the attribute information of the audio, and when a user downloads the audio, the attribute information of the audio is also downloaded and stored in the local terminal; and when the user views the album information to which the audio belongs in the local music for the first time, the terminal acquires the album information which the user wants to view from the server and stores the album information in the local terminal.
When the terminal acquires the album information to which the audio belongs from the server, the album information to which the audio belongs is generally inquired from the server according to the audio name. However, there may be a case where a plurality of different audios have the same audio name, for example, when a singer adapts an existing song and records the song in its own album, in this case, when the album information to which the audio belongs is queried according to the audio name, album information not to which the audio belongs may be acquired, which may cause a user to view wrong album information, resulting in a decrease in the accuracy of acquiring information by the user.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for displaying album information. The technical scheme is as follows:
in a first aspect, a method for displaying album information is provided, the method comprising:
when a downloading completion instruction of a target audio is received, acquiring attribute information of the target audio;
if the attribute information contains the album identification corresponding to the target audio, sending an album information query request carrying the album identification to a server;
and receiving an album information query result sent by the server and displaying the album information query result.
Optionally, the method further comprises:
if the attribute information does not contain the album identification corresponding to the target audio, acquiring the hash value of the target audio;
and sending an album information query request carrying the hash value to a server.
Optionally, the album information query result includes album information, the receiving the album information query result sent by the server, and displaying the album information query result includes:
and receiving the album information sent by the server and displaying the album information.
Optionally, the method further comprises:
displaying album audio query options when displaying the album information;
when a click command of the album audio query option is received, sending an album audio query request carrying the album identification to the server;
and receiving the attribute information of all the audios in the album corresponding to the album identification, and displaying the attribute information of all the audios of the album.
Optionally, the album information query result includes album information query failure information, the receiving the album information query result sent by the server, and displaying the album information query result includes:
receiving album information inquiry failure information sent by the server, and displaying an album information inquiry failure prompt box, wherein an album information uploading option is arranged in the album information inquiry failure prompt box;
when a click command of the album information uploading option is received, displaying an album information uploading interface, wherein a completion option is arranged in the album information uploading interface;
and when a selection instruction of the completion option is received, acquiring album information to be uploaded input in the album information uploading interface, and sending an album information uploading request carrying the album information to be uploaded to a server.
In a second aspect, there is provided an apparatus for displaying album information, the apparatus comprising:
the first acquisition module is used for acquiring the attribute information of the target audio when a download completion instruction of the target audio is received;
a first sending module, configured to send an album information query request carrying the album identifier to a server if the attribute information includes the album identifier corresponding to the target audio;
and the first display module is used for receiving the album information query result sent by the server and displaying the album information query result.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain a hash value of the target audio if the attribute information does not include an album identifier corresponding to the target audio;
and the second sending module is used for sending the album information inquiry request carrying the hash value to the server.
Optionally, the album information query result includes album information, and the first display module is configured to:
and receiving the album information sent by the server and displaying the album information.
Optionally, the apparatus further comprises:
the second display module is used for displaying album audio query options when the album information is displayed;
a third sending module, configured to send an album audio query request carrying the album identifier to the server when a click instruction of the album audio query option is received;
and the third display module is used for receiving the attribute information of all the audios in the album corresponding to the album identification and displaying the attribute information of all the audios of the album.
Optionally, the album information query result includes album information query failure information, and the first display module is configured to:
receiving album information inquiry failure information sent by the server, and displaying an album information inquiry failure prompt box, wherein an album information uploading option is arranged in the album information inquiry failure prompt box;
when a click command of the album information uploading option is received, displaying an album information uploading interface, wherein a completion option is arranged in the album information uploading interface;
and when a selection instruction of the completion option is received, acquiring album information to be uploaded input in the album information uploading interface, and sending an album information uploading request carrying the album information to be uploaded to a server.
In a third aspect, there is provided a terminal comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the method for displaying album information as described in the first aspect.
In a fourth aspect, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the method of displaying album information as described in the first aspect above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when a downloading completion instruction of a target audio is received, the attribute information of the target audio is obtained; if the attribute information contains the album identification corresponding to the target audio, sending an album information query request carrying the album identification to a server; and receiving an album information query result sent by the server and displaying the album information query result. Therefore, when the corresponding album identification is recorded in the attribute information of the target audio and the album information corresponding to the target audio is inquired from the server according to the album identification, even if the audio name of the target audio is contained in a plurality of albums, the situation that the wrong album information is acquired can not occur, and further, the accuracy rate of acquiring information by a user can be improved.
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 method for displaying album information according to an embodiment of the present invention;
fig. 2 is an interface diagram illustrating a method for displaying album information according to an embodiment of the present invention;
fig. 3 is an interface diagram illustrating a method for displaying album information according to an embodiment of the present invention;
fig. 4(a) is an interface diagram of a method for displaying album information according to an embodiment of the present invention;
fig. 4(b) is an interface diagram of a method for displaying album information according to an embodiment of the present invention;
fig. 5 is an interface diagram illustrating a method for displaying album information according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus for displaying album information according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus for displaying album information according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus for displaying album information according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal 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.
The embodiment of the invention provides a method for displaying album information, which can be realized by a terminal. The terminal can be a smart phone, a tablet computer and the like.
The terminal may include components such as a processor, memory, screen, etc. The processor, which may be a CPU (Central Processing Unit), may be configured to obtain attribute information of the target audio, query whether the attribute information includes an album identifier, and control the screen to display an album information query result. The Memory may be a RAM (Random Access Memory), a Flash Memory, and the like, and may be configured to store received data, data required by the processing procedure, data generated in the processing procedure, and the like, such as a download completion instruction, attribute information of the target audio, an album identifier, an album information query request, an album information query result, and the like. The screen may be a touch screen, and may be used to display attribute information of the target audio, display album information query results, and the like. The terminal may further include a transceiver, an image detection part, an audio output part, an audio input part, and the like. The transceiver may be configured to perform data transmission with other devices, for example, to send an album information query request to the server, and to receive an album information query result sent by the server, and may include an antenna, a matching circuit, a modem, and the like. The image detection means may be a camera or the like. The audio output component may be a speaker, headphones, or the like. The audio input means may be a microphone or the like.
As shown in fig. 1, the processing flow of the method may include the following steps:
in step 101, when a download completion instruction of a target audio is received, attribute information of the target audio is acquired.
In implementation, in order to improve accuracy of querying the album information, a technician may obtain an album identifier of the album information in advance, and then add the album identifier of the album information corresponding to the audio to the attribute information of the audio. When a user wants to download music through the music application program, the user can open the music application program firstly, search for the music to be downloaded through searching or other modes, then select a downloading option corresponding to the music, and after receiving a downloading instruction of the audio, the terminal sends an audio acquisition request carrying an audio identifier of the audio to the server. After receiving the audio acquisition request, the server acquires the audio data corresponding to the audio identification and the attribute information corresponding to the audio from the audio database according to the audio identification carried by the server, and sends the audio data and the attribute information to the terminal. It should be noted that the attribute information of the audio may include audio basic information such as an audio name and an audio duration, and may also include information such as an album identifier of an album to which the audio belongs.
And after receiving the audio data and the attribute information, the terminal stores the audio data in an audio data database local to the terminal and stores the attribute information of the audio in an attribute information database local to the terminal.
The user can view the downloaded audio and the information of the downloaded audio, such as the audio name, the audio duration, and the album information of the album to which the audio belongs, in the local music interface in the music application. When the audio is downloaded, the audio name and the audio duration are already stored in a local database of the terminal, and the album information of the album to which the audio belongs is not stored in the local database of the terminal, so that when the target audio is downloaded, the terminal receives a download completion instruction of the target audio and triggers the terminal to acquire the album information of the target audio from the server.
Specifically, when the target audio is downloaded, the terminal receives a download completion instruction of the target audio, and the instruction triggers the terminal to acquire the attribute information of the target audio stored in a local database of the terminal.
In step 102, if the attribute information includes an album identifier corresponding to the target audio, an album information query request carrying the album identifier is sent to the server.
In implementation, after the terminal acquires the attribute information of the target audio, whether the attribute information includes an album identifier of an album to which the target audio belongs is determined. If the attribute information contains the album identification corresponding to the target audio, the terminal can inquire the album information of the album to which the target audio belongs from the album identification, so that the accuracy of the album information obtained by inquiring according to the album identification is high. Therefore, in this case, the terminal transmits an album information query request carrying an album identification to the server.
Optionally, except for the above, if the attribute information of the target audio does not include the album identifier corresponding to the target audio, obtaining a hash value of the target audio; and sending an album information inquiry request carrying the hash value to the server.
In implementation, in addition to the above, there may be a case where the album identification is not included in the attribute information of the target audio, and in this case, the terminal may query the server for the album information through the hash value of the target audio.
There may be various methods for obtaining the hash value of the target audio, for example, the attribute information of the target audio may include the hash value of the target audio, and if the attribute information does not include the hash value, the terminal may obtain the audio data of the target audio and generate the hash value of the target audio according to the audio data. Then, the terminal sends an album information query request carrying the hash value of the target audio to the server.
In step 103, an album information query result sent by the server is received, and the album information query result is displayed.
In implementation, after receiving an album information query request sent by a terminal, a server acquires an album identifier in the album information query request, acquires a pre-stored corresponding relationship between the album identifier and the album information, and queries the album information corresponding to the album identifier in a corresponding relationship table according to the received album identifier.
And the server sends an album information inquiry request to the terminal according to the inquired result. And after receiving the album information query result, the terminal displays the album information query result to the user.
Optionally, the server may find the album information or may not find the album information when querying the album information. When the server inquires the album information, the server sends an album information inquiry result carrying the album information to the terminal, and the terminal receives the album information sent by the server and displays the album information.
In implementation, when the terminal receives an album information query result carrying album information, the album information is acquired, and the album information is displayed to a user.
The album information may include information such as album name, album release time, album introduction, etc., which may be displayed in the album information display interface, as shown in fig. 2, and the album information display interface may further include a query option for other information of the album, such as an album audio query option, and clicking the query option may query all audio in the album. Specifically, when album information is displayed, album audio query options are displayed; when a click command of an album audio query option is received, sending an album audio query request carrying an album identifier to a server; and receiving the attribute information of all the audios in the album corresponding to the album identification, and displaying the attribute information of all the audios in the album.
In implementation, when a user views album information, if the user wants to continuously know information of other audios in the album, the user can click an album audio query option in an album information display interface, and when the terminal receives a click command of the album audio query option, the terminal sends an album audio query request carrying an album identifier to the server. And when receiving the album audio query request, the server acquires the album identification therein, and queries at least one audio identification corresponding to the album identification according to the corresponding relationship between the prestored album identification and the audio identification. And then, according to the corresponding relation between the pre-stored audio identification and the attribute information of the audio, inquiring the attribute information of the audio corresponding to each audio identification, and sending the attribute information of all the audios of the album to the terminal.
After the terminal receives the attribute information of all the audios in the album sent by the server, as shown in fig. 3, the information of all the audios in the album is displayed to the user.
Optionally, in addition to the above situations, the server may not query album information corresponding to the target audio, in this case, the server sends album information query failure information to the terminal, the terminal receives the album information query failure information sent by the server, and displays an album information query failure prompt box, where an album information upload option is set in the album information query failure prompt box; when a click command of the album information uploading option is received, displaying an album information uploading interface, wherein a completion option is arranged in the album information uploading interface; when a selection instruction of completing the option is received, album information to be uploaded input in an album information uploading interface is acquired, and an album information uploading request carrying the album information to be uploaded is sent to a server.
In implementation, after the terminal receives the album information query failure information sent by the server, an album information query failure prompt box can be displayed to the user. In this case, the user may know the album information corresponding to the target audio, and therefore, an album information upload option may be set in the album information query failure prompt box, and as shown in fig. 4(a), when the user wants to upload the album information, the user may click the option. When the terminal receives a click instruction of the album information upload option, the terminal displays an album information upload interface to the user, where the album information upload interface may display an item of album information that the user needs to input, an input box or an option box for inputting information, a completion option, a cancel option, and the like, as shown in fig. 4 (b). When the user inputs the album information in the album information uploading interface, the terminal can cache the input album information to be uploaded, and when the user finishes inputting and clicks a finishing option, the terminal acquires the cached album information to be uploaded and sends an album information uploading request to the server, wherein the album information uploading request carries the album information to be uploaded input by the user.
After receiving an album information uploading request sent by the terminal, the server acquires the album information to be uploaded and displays the album information to technicians, and the technicians can verify the album information uploaded by the users and determine whether to add the album information uploaded by the users into a database for all users to inquire.
In addition, besides the above-mentioned manner of viewing the album information, there may be other manners of viewing the album, for example, the album information corresponding to all the local audio may be viewed in the interface of the local album. Specifically, as shown in fig. 5, a user opens an interface of a local album in a music application, when the terminal receives an interface opening instruction of the local album, the terminal queries album information corresponding to local audio stored in a local database of the terminal and acquires the album information, then the terminal performs deduplication processing on all the acquired album information, that is, when the same album information is detected when at least two pieces of album information are present, only one piece of album information is retained, and finally, the processed album information is displayed in the interface of the local album.
In the embodiment of the invention, when a downloading completion instruction of a target audio is received, the attribute information of the target audio is obtained; if the attribute information contains the album identification corresponding to the target audio, sending an album information query request carrying the album identification to a server; and receiving an album information query result sent by the server and displaying the album information query result. Therefore, when the corresponding album identification is recorded in the attribute information of the target audio and the album information corresponding to the target audio is inquired from the server according to the album identification, even if the audio name of the target audio is contained in a plurality of albums, the situation that the wrong album information is acquired can not occur, and further, the accuracy rate of acquiring information by a user can be improved.
Based on the same technical concept, an embodiment of the present invention further provides an apparatus for displaying album information, which may be a terminal in the foregoing embodiment, as shown in fig. 6, and the apparatus includes: a first obtaining module 610, a first transmitting module 620 and a first displaying module 630.
The first obtaining module 610 is configured to obtain attribute information of a target audio when a download completion instruction of the target audio is received;
the first sending module 620 is configured to send an album information query request carrying the album identifier to a server if the attribute information includes the album identifier corresponding to the target audio;
the first display module 630 is configured to receive the album information query result sent by the server, and display the album information query result.
Optionally, as shown in fig. 7, the apparatus further includes:
a second obtaining module 640, configured to obtain a hash value of the target audio if the attribute information does not include the album identifier corresponding to the target audio;
and a second sending module 650 configured to send the album information query request carrying the hash value to the server.
Optionally, the album information query result includes album information, and the first display module 630 is configured to:
and receiving the album information sent by the server and displaying the album information.
Optionally, as shown in fig. 8, the apparatus further includes:
a second display module 660 configured to display album audio query options while displaying the album information;
a third sending module 670, configured to send, when receiving a click instruction of the album audio query option, an album audio query request carrying the album identifier to the server;
and the third display module 680 is configured to receive the attribute information of all the audios in the album corresponding to the album identifier, and display the attribute information of all the audios in the album.
Optionally, the album information query result includes album information query failure information, and the first display module 630 is configured to:
receiving album information inquiry failure information sent by the server, and displaying an album information inquiry failure prompt box, wherein an album information uploading option is arranged in the album information inquiry failure prompt box;
when a click command of the album information uploading option is received, displaying an album information uploading interface, wherein a completion option is arranged in the album information uploading interface;
and when a selection instruction of the completion option is received, acquiring album information to be uploaded input in the album information uploading interface, and sending an album information uploading request carrying the album information to be uploaded to a server.
In the embodiment of the invention, when a downloading completion instruction of a target audio is received, the attribute information of the target audio is obtained; if the attribute information contains the album identification corresponding to the target audio, sending an album information query request carrying the album identification to a server; and receiving an album information query result sent by the server and displaying the album information query result. Therefore, when the corresponding album identification is recorded in the attribute information of the target audio and the album information corresponding to the target audio is inquired from the server according to the album identification, even if the audio name of the target audio is contained in a plurality of albums, the situation that the wrong album information is acquired can not occur, and further, the accuracy rate of acquiring information by a user can be improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that: in the device for displaying album information according to the above embodiment, when displaying album information, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the above described functions. In addition, the apparatus for displaying album information and the method for displaying album information provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
Fig. 9 is a block diagram of a terminal according to an embodiment of the present invention. The terminal 900 may be a portable mobile terminal such as: smart phones, tablet computers. Terminal 900 may also be referred to by other names such as user equipment, portable terminal, etc.
In general, terminal 900 includes: a processor 901 and a memory 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, a 9-core processor, and so forth. The processor 901 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 901 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 901 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 901 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 902 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 902 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 902 is used to store at least one instruction for execution by processor 901 to implement the methods of displaying album information provided herein.
In some embodiments, terminal 900 can also optionally include: a peripheral interface 903 and at least one peripheral. Specifically, the peripheral device includes: at least one of a radio frequency circuit 904, a touch display screen 905, a camera 906, an audio circuit 907, a positioning component 908, and a power supply 909.
The peripheral interface 903 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902 and the peripheral interface 903 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 904 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 904 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 904 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 904 comprises: 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 circuit 904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of 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 904 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display screen 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display screen 905 also has the ability to capture touch signals on or over the surface of the touch display screen 905. The touch signal may be input to the processor 901 as a control signal for processing. The touch display 905 is 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 touch display 905 may be one, providing the front panel of the terminal 900; in other embodiments, the number of the touch display screens 905 may be at least two, and the touch display screens are respectively disposed on different surfaces of the terminal 900 or in a folding design; in still other embodiments, the touch display 905 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 900. Even more, the touch display screen 905 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The touch Display panel 905 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 906 is used to capture images or video. Optionally, camera assembly 906 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle 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 a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 906 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.
Audio circuit 907 is used to provide an audio interface between the user and terminal 900. Audio circuit 907 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 901 for processing, or inputting the electric signals to the radio frequency circuit 904 for realizing voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of the terminal 900. 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 901 or the radio frequency circuit 904 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, audio circuit 907 may also include a headphone jack.
The positioning component 908 is used to locate the current geographic Location of the terminal 900 for navigation or LBS (Location Based Service). The Positioning component 908 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 909 is used to provide power to the various components in terminal 900. The power source 909 may be alternating current, direct current, disposable or rechargeable. When the power source 909 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 900 can also include one or more sensors 910. The one or more sensors 910 include, but are not limited to: acceleration sensor 911, gyro sensor 912, pressure sensor 913, fingerprint sensor 914, optical sensor 915, and proximity sensor 916.
The acceleration sensor 911 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 900. For example, the acceleration sensor 911 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 901 can control the touch display 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 911. The acceleration sensor 911 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 912 may detect a body direction and a rotation angle of the terminal 900, and the gyro sensor 912 may cooperate with the acceleration sensor 911 to acquire a 3D motion of the user on the terminal 900. The processor 901 can implement the following functions according to the data collected by the gyro sensor 912: 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 913 may be disposed on the side bezel of terminal 900 and/or underneath touch display 905. When the pressure sensor 913 is disposed at the side frame of the terminal 900, a user's grip signal to the terminal 900 may be detected, and left-right hand recognition or shortcut operation may be performed according to the grip signal. When the pressure sensor 913 is disposed at the lower layer of the touch display screen 905, the control of the operable control on the UI interface may be implemented according to the pressure operation of the user on the touch display screen 905. 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 914 is used for collecting a fingerprint of a user to identify the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 901 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 914 may be disposed on the front, back, or side of the terminal 900. When a physical key or vendor Logo is provided on the terminal 900, the fingerprint sensor 914 may be integrated with the physical key or vendor Logo.
The optical sensor 915 is used to collect ambient light intensity. In one embodiment, the processor 901 may control the display brightness of the touch display 905 based on the ambient light intensity collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 905 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 905 is turned down. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera assembly 906 according to the ambient light intensity collected by the optical sensor 915.
A proximity sensor 916, also known as a distance sensor, is typically disposed on the front face of terminal 900. The proximity sensor 916 is used to collect the distance between the user and the front face of the terminal 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front face of the terminal 900 gradually decreases, the processor 901 controls the touch display 905 to switch from the bright screen state to the dark screen state; when the proximity sensor 916 detects that the distance between the user and the front surface of the terminal 900 gradually becomes larger, the processor 901 controls the touch display 905 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. 9 does not constitute a limitation of terminal 900, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, a computer readable storage medium is also provided, in which at least one instruction, at least one program, code set, or instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method for identifying an action category in the above embodiments. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In the embodiment of the invention, when a downloading completion instruction of a target audio is received, the attribute information of the target audio is obtained; if the attribute information contains the album identification corresponding to the target audio, sending an album information query request carrying the album identification to a server; and receiving an album information query result sent by the server and displaying the album information query result. Therefore, when the corresponding album identification is recorded in the attribute information of the target audio and the album information corresponding to the target audio is inquired from the server according to the album identification, even if the audio name of the target audio is contained in a plurality of albums, the situation that the wrong album information is acquired can not occur, and further, the accuracy rate of acquiring information by a user can be improved.
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 (10)

1. A method of displaying album information, the method comprising:
when a downloading completion instruction of a target audio is received, acquiring attribute information of the target audio;
if the attribute information contains the album identification corresponding to the target audio, sending an album information query request carrying the album identification to a server;
receiving an album information query result sent by the server, and displaying the album information query result;
the album information query result includes album information query failure information, the album information query result sent by the server is received, and the album information query result is displayed, including:
receiving album information inquiry failure information sent by the server, and displaying an album information inquiry failure prompt box, wherein an album information uploading option is arranged in the album information inquiry failure prompt box;
when a click command of the album information uploading option is received, displaying an album information uploading interface, wherein a completion option is arranged in the album information uploading interface;
and when a selection instruction of the completion option is received, acquiring album information to be uploaded input in the album information uploading interface, and sending an album information uploading request carrying the album information to be uploaded to a server.
2. The method of claim 1, further comprising:
if the attribute information does not contain the album identification corresponding to the target audio, acquiring the hash value of the target audio;
and sending an album information query request carrying the hash value to a server.
3. The method as claimed in claim 1, wherein the album information query result includes album information, and the receiving the album information query result from the server and displaying the album information query result includes:
and receiving the album information sent by the server and displaying the album information.
4. The method of claim 3, further comprising:
displaying album audio query options when displaying the album information;
when a click command of the album audio query option is received, sending an album audio query request carrying the album identification to the server;
and receiving the attribute information of all the audios in the album corresponding to the album identification, and displaying the attribute information of all the audios of the album.
5. An apparatus for displaying album information, the apparatus comprising:
the first acquisition module is used for acquiring the attribute information of the target audio when a download completion instruction of the target audio is received;
a first sending module, configured to send an album information query request carrying the album identifier to a server if the attribute information includes the album identifier corresponding to the target audio;
the first display module is used for receiving an album information query result sent by the server and displaying the album information query result;
the album information query result includes album information query failure information, and the first display module is configured to:
receiving album information inquiry failure information sent by the server, and displaying an album information inquiry failure prompt box, wherein an album information uploading option is arranged in the album information inquiry failure prompt box;
when a click command of the album information uploading option is received, displaying an album information uploading interface, wherein a completion option is arranged in the album information uploading interface;
and when a selection instruction of the completion option is received, acquiring album information to be uploaded input in the album information uploading interface, and sending an album information uploading request carrying the album information to be uploaded to a server.
6. The apparatus of claim 5, further comprising:
a second obtaining module, configured to obtain a hash value of the target audio if the attribute information does not include an album identifier corresponding to the target audio;
and the second sending module is used for sending the album information inquiry request carrying the hash value to the server.
7. The apparatus as claimed in claim 5, wherein the album information query result comprises album information, and the first display module is configured to:
and receiving the album information sent by the server and displaying the album information.
8. The apparatus of claim 7, further comprising:
the second display module is used for displaying album audio query options when the album information is displayed;
a third sending module, configured to send an album audio query request carrying the album identifier to the server when a click instruction of the album audio query option is received;
and the third display module is used for receiving the attribute information of all the audios in the album corresponding to the album identification and displaying the attribute information of all the audios of the album.
9. A terminal, comprising a processor and a memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement a method of displaying album information as claimed in any one of claims 1 to 4.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method of displaying album information according to any one of claims 1 to 4.
CN201810312809.6A 2018-04-09 2018-04-09 Method and device for displaying album information Active CN108495183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810312809.6A CN108495183B (en) 2018-04-09 2018-04-09 Method and device for displaying album information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810312809.6A CN108495183B (en) 2018-04-09 2018-04-09 Method and device for displaying album information

Publications (2)

Publication Number Publication Date
CN108495183A CN108495183A (en) 2018-09-04
CN108495183B true CN108495183B (en) 2020-12-04

Family

ID=63315171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810312809.6A Active CN108495183B (en) 2018-04-09 2018-04-09 Method and device for displaying album information

Country Status (1)

Country Link
CN (1) CN108495183B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125436B (en) * 2018-10-31 2023-08-08 杭州海康威视系统技术有限公司 Data management method, device and system
CN111241334A (en) * 2020-01-17 2020-06-05 广州酷狗计算机科技有限公司 Method, device, system, equipment and storage medium for displaying song information page
CN113656636A (en) * 2021-08-18 2021-11-16 青岛海信移动通信技术股份有限公司 Single music information processing method and terminal equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10124071A (en) * 1996-10-16 1998-05-15 Xing:Kk Karaoke device
JP2007299362A (en) * 2006-05-07 2007-11-15 Manabu Otsuka Song title searching software
CN101925898A (en) * 2008-01-25 2010-12-22 Nxp股份有限公司 Method and apparatus for organizing media data in database
CN102486783A (en) * 2010-12-03 2012-06-06 上海博泰悦臻电子设备制造有限公司 Music media information acquisition method and vehicle-mounted terminal
CN103714079A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Music-library-based music file matching method and system
CN105868424A (en) * 2016-06-27 2016-08-17 北京金山安全软件有限公司 Audio file naming method and device and electronic equipment
CN105912688A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Music album information recommendation method and apparatus
CN106649485A (en) * 2016-09-30 2017-05-10 广东欧珀移动通信有限公司 Method for pushing information and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100695149B1 (en) * 2005-05-09 2007-03-14 삼성전자주식회사 Knowledge-based music search method and apparatus, and method and apparutus for managing music files of the knowledge-based music search apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10124071A (en) * 1996-10-16 1998-05-15 Xing:Kk Karaoke device
JP2007299362A (en) * 2006-05-07 2007-11-15 Manabu Otsuka Song title searching software
CN101925898A (en) * 2008-01-25 2010-12-22 Nxp股份有限公司 Method and apparatus for organizing media data in database
CN102486783A (en) * 2010-12-03 2012-06-06 上海博泰悦臻电子设备制造有限公司 Music media information acquisition method and vehicle-mounted terminal
CN103714079A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Music-library-based music file matching method and system
CN105912688A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Music album information recommendation method and apparatus
CN105868424A (en) * 2016-06-27 2016-08-17 北京金山安全软件有限公司 Audio file naming method and device and electronic equipment
CN106649485A (en) * 2016-09-30 2017-05-10 广东欧珀移动通信有限公司 Method for pushing information and mobile terminal

Also Published As

Publication number Publication date
CN108495183A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN107885533B (en) Method and device for managing component codes
CN108063981B (en) Method and device for setting attributes of live broadcast room
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN109168073B (en) Method and device for displaying cover of live broadcast room
CN108959361B (en) Form management method and device
CN109068160B (en) Method, device and system for linking videos
CN112751679B (en) Instant messaging message processing method, terminal and server
CN110769313B (en) Video processing method and device and storage medium
CN110933468A (en) Playing method, playing device, electronic equipment and medium
CN111858382A (en) Application program testing method, device, server, system and storage medium
CN108495183B (en) Method and device for displaying album information
CN109547847B (en) Method and device for adding video information and computer readable storage medium
CN111192072A (en) User grouping method and device and storage medium
CN111008083B (en) Page communication method and device, electronic equipment and storage medium
CN110191236B (en) Song playing queue management method and device, terminal equipment and storage medium
CN108806730B (en) Audio processing method, device and computer readable storage medium
CN111611414A (en) Vehicle retrieval method, device and storage medium
CN109618018B (en) User head portrait display method, device, terminal, server and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN111369434B (en) Method, device, equipment and storage medium for generating spliced video covers
CN111399797B (en) Voice message playing method and device, electronic equipment and storage medium
CN110717110B (en) Multimedia resource filtering method and device, electronic equipment and storage medium
CN112364244A (en) Multimedia data recommendation method, device, server and storage medium
CN113076452A (en) Application classification method, device, equipment and computer readable storage medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage 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