CN108090195B - Song playing method and electronic equipment - Google Patents

Song playing method and electronic equipment Download PDF

Info

Publication number
CN108090195B
CN108090195B CN201711403883.0A CN201711403883A CN108090195B CN 108090195 B CN108090195 B CN 108090195B CN 201711403883 A CN201711403883 A CN 201711403883A CN 108090195 B CN108090195 B CN 108090195B
Authority
CN
China
Prior art keywords
song
target song
background
electronic equipment
target
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
CN201711403883.0A
Other languages
Chinese (zh)
Other versions
CN108090195A (en
Inventor
叶文昊
王运
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711403883.0A priority Critical patent/CN108090195B/en
Publication of CN108090195A publication Critical patent/CN108090195A/en
Application granted granted Critical
Publication of CN108090195B publication Critical patent/CN108090195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Library & Information Science (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a song playing method and electronic equipment. The song playing method is applied to electronic equipment and comprises the following steps: judging whether the target song is a song concerned by the user; if the target song is a song concerned by the user, acquiring a background material of the target song; and after the target song is played, pushing background materials of the target song according to the environment state of the electronic equipment. According to the invention, the related materials concerning the songs are pushed to the user according to the environment state of the electronic equipment, so that more information about the songs can be provided for the user, and the song playing effect is improved.

Description

Song playing method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a song playing method and an electronic device.
Background
With the development of the technology, various electronic devices have gone into thousands of households, and the popularity of the electronic devices such as mobile phones, tablet computers, notebook computers and the like has become higher and higher. Consequently, the use of these electronic devices also enriches people's lives, for example, many people like to relax themselves by playing songs. However, in the existing song playing process, only songs are played, and more information cannot be provided for a user, so that the effect of playing songs by electronic equipment is poor.
Disclosure of Invention
The embodiment of the invention provides a song playing method and electronic equipment, and aims to solve the problem that in the prior art, only songs are played, and more information cannot be provided for a user, so that the song playing effect of the electronic equipment is poor.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a song playing method applied to an electronic device, including:
judging whether the target song is a song concerned by the user;
if the target song is a song concerned by the user, acquiring a background material of the target song;
and after the target song is played, pushing background materials of the target song according to the environment state of the electronic equipment.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the first judgment module is used for judging whether the target song is a song concerned by the user;
the acquisition module is used for acquiring background materials of the target song if the target song is a song concerned by the user;
and the pushing module is used for pushing the background material of the target song according to the environment state of the electronic equipment after the target song is played.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the song playing method described above.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the song playing method described above.
Therefore, the invention pushes the related materials concerning the songs to the user according to the environment state of the electronic equipment, can provide more information about the songs to the user, and improves the song playing effect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention 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 that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a song playing method according to an embodiment of the present invention;
fig. 2 is a flowchart of another song playing method provided by the embodiment of the present invention;
FIG. 3 is a block diagram of an electronic device according to an embodiment of the present invention;
FIG. 4 is a block diagram of another electronic device provided by an embodiment of the invention;
FIG. 5 is a block diagram of another electronic device provided by an embodiment of the invention;
FIG. 6 is a block diagram of another electronic device provided by an embodiment of the invention;
fig. 7 is a block diagram of another electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a song playing method according to an embodiment of the present invention, where the method is applied to an electronic device, and as shown in fig. 1, the method includes the following steps:
step 101, judging whether the target song is the song concerned by the user.
When the electronic device plays songs, particularly during the online song playing process, songs are played randomly, and some of the songs may attract attention of the user in the process.
If the target song is not the song of interest to the user, the process may end directly, and if the target song is the song of interest to the user, execution continues with step 102.
And 102, if the target song is a song concerned by the user, acquiring a background material of the target song.
For a song of interest, the user is likely to be willing to learn or learn more about the information and materials of the target song, and the background material in this embodiment refers to the materials related to the creation process or creation background of the song, such as the background of the era in which the author created the song, the external factors affecting the author creating the song, the emotional experience or thought history of the author creating the song, and so on. Understanding these background data related to the song creation process and the story during the song creation process helps the user to further understand the thought and emotion expressed by the author, and thus helps to understand the inherent meaning expressed in the song.
And 103, after the target song is played, pushing background materials of the target song according to the environment state of the electronic equipment.
In this embodiment, according to the environmental status of the electronic device, for example, a motion sensor built in the electronic device detects that a user of the electronic device is currently in a walking state according to an external environment of the electronic device, so that to avoid distracting the user, the audio material may be pushed, and the text material may be prevented from being pushed; in yet another embodiment, if the external sound is detected to be small by an audio sensor of the electronic device and the electronic device is turned on in a silent mode or a conference mode, it may be proved that the user is in an operating state or a conference state, and at this time, the text material is pushed in order to avoid a possible disturbance to the user. Obviously, the corresponding relation between the environment state and the pushed background material can be changed and set according to specific situations.
After the target song is played, in this embodiment, the background material of the target song is further pushed according to the environment state of the electronic device, so that the user can know the relevant background material in time. The method and the device have the advantages that the user can conveniently and quickly know the background information related to the songs, the song playing function is enriched, meanwhile, the pushed related materials are determined according to the environment states, so that the appropriate materials can be correspondingly selected under different environments, and the possible adverse effects caused by the external environment can be reduced.
In an embodiment of the present invention, the electronic Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Computer (PC for short), a Personal digital assistant (PDA for short), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the invention, the related materials concerning the songs are pushed to the user according to the environment state of the electronic equipment, so that more information about the songs can be provided for the user, and the song playing effect is improved.
Referring to fig. 2, fig. 2 is a flowchart of another song playing method according to an embodiment of the present invention, and in this embodiment, when pushing a background material of a target song, a priority level of the background material is determined according to an environment state, and the background material is pushed according to the determined priority level. As shown in fig. 2, the method comprises the steps of:
step 201, judging whether the target song is a song concerned by the user.
In the embodiment, whether the target song is the song concerned by the user can be determined according to different rules in a targeted manner according to specific conditions. For example, by determining the operation of the target song by the user, the step 201 may include:
acquiring a historical operation record of the target song;
judging whether preset operation exists in the historical operation record of the target song;
and if the preset operation exists in the historical operation record of the target song, confirming the target song as the song concerned by the user.
In this embodiment, whether the user pays attention to the target song may be determined through the history operation record of the target song. In this embodiment, if the user performs some operation processes on the target song, the user may be considered to pay extra attention to the target song. For example, if the preset operation is defined as sharing the song, the user is considered to be likely to pay attention to the song if the user shares the song, specifically, the user shares the song to a "microblog" or a "circle of friends" or other various ways. Obviously, the preset operation may also be downloading the song, recommending the song, marking the song, playing the song in a loop, playing a certain part of the song repeatedly, and the like, and obviously, the preset operation in the embodiment includes, but is not limited to, the above operations.
Step 202, if the target song is a song concerned by the user, obtaining a background material of the target song.
The background material in this embodiment may be from a material library at a server side, may also be from the internet, and obviously may also be from a local material library. For example, a material library is arranged at a server side by certain song playing software, and the material library can collect and store background materials of current popular songs according to various modes, or can manually arrange related materials or retrieve the related materials from the internet, and arrange the obtained materials into the background materials meeting the requirements. If necessary, the related background material can be obtained from the server side. As another example, if a target song is a song of interest to the user, a search engine may be utilized on the internet to search for relevant background material. In other embodiments, a material library may be established locally on the electronic device, and the background materials of various songs are continuously supplemented, and the background material of the target song is called from the local material library when necessary.
After step 202 in this embodiment, the method may further include:
judging whether the electronic equipment has background materials of the target song pushed by the electronic equipment;
if the background material of the target song is not pushed, the background material of the target song is pushed after the target song is played, and if the background material of the target song is pushed, the current process can be ended, and other operations, such as playing a next song, are continuously executed.
Obviously, this step is optional and can be applied to the previous embodiment. For example, if the background material of the target song is not pushed, the background material of the target song may be pushed by performing step 103 in the above embodiment, or the background material of the target song may be pushed by further performing steps 203 to 205 in this embodiment.
The purpose of this step is mainly to avoid repeatedly pushing already pushed background material, which may result in the same background material being repeatedly pushed if this step is not performed. Meanwhile, if the user wishes to repeatedly play the background material, the background material of the target song can be played by manually selecting the playing mode.
In this embodiment, the background material includes at least two of a text material, a voice material, and a video material.
The styles of the background materials related to the same song may be various, for example, the background materials may be text materials, specifically, some text descriptions, and some pictures and the like; for another example, the background material may be a voice material, and may specifically be a piece of audio data, such as interview recording or related data of dictation; further, the background material may also be video material, e.g. a song being a theme song of a television series, some classical shots may be collected as related background material.
Since there may be many background materials related to a song, it is obvious that if only one background material is obtained, the background material may be directly pushed, and if more background materials are obtained, a certain pushing sequence needs to be determined.
And 203, detecting the environment state of the electronic equipment after the target song is played.
The environmental status in this embodiment mainly refers to various external environmental statuses of the electronic device and the operating status of the electronic device. For different environmental conditions, for example, if the electronic device is in the process of moving continuously, the user may be walking or riding in a vehicle, at which time if the user's moving speed is detected to be slow, the user may be in a walking state, etc. In addition, the environmental state may include various environmental states such as whether an earphone is inserted, whether the mobile phone is in a charging state, and a posture of the mobile phone obtained by a sensor.
And 204, determining the priority level of each material included in the background materials corresponding to the environment state according to preset priority information matched with the environment state.
Certain types of background material may not be suitable for playback for different environmental conditions. For example, if the current environmental state of the electronic apparatus is in walking, if the pushed material is a text material, it may cause the user to need to read the corresponding text material with distraction, and if the video material is pushed, it may cause the user to view the video material with distraction, but the user may also listen to only the sound in the video material without viewing the video. Therefore, if the environment state is the walking state, the priority level of the background material is defined as the voice material, the video material and the text material from high to low in the embodiment; for another example, the content of the video material is richer than that of the voice material and the text material because the video material has not only sound but also picture sense, so if it is detected that the environmental state is the riding state, no matter what kind of material is pushed, no interference is generated to the user, and in order to provide richer content, the priority level of the background material during riding can be defined as the video material, the voice material and the text material from high to low in this embodiment.
In this embodiment, the priority information of the background material in different environmental states may be preset according to specific situations or according to the selection of the user.
And step 205, pushing the material with the highest priority corresponding to the environment state in the background materials.
And after the detected environment state of the electronic equipment, pushing the background material with the highest limited level according to the corresponding preset background material priority matched with the environment state.
Optionally, the step of pushing the material with the highest priority corresponding to the environment status in the background materials includes:
if the material with the highest priority level is a text material, displaying the text material, playing the target song, and displaying corresponding lyrics according to the playing progress of the target song; or
And if the material with the highest priority level is a voice material, playing the voice material by taking the accompaniment music of the target song as background music, and displaying a corresponding text according to the playing progress of the background material.
In addition, if the material with the highest priority level is the video material, the corresponding video material can be directly played.
In this embodiment, a plurality of optional implementation manners are added on the basis of the embodiment shown in fig. 1, so that convenience and flexibility of the song background material pushing process can be further improved, and user experience is enriched.
Fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device 300 includes:
a first judging module 301, configured to judge whether a target song is a song that a user pays attention to;
an obtaining module 302, configured to obtain a background material of the target song if the target song is a song that is of interest to the user;
the pushing module 303 is configured to push the background material of the target song according to the environment state of the electronic device 300 after the target song is played.
Optionally, as shown in fig. 4, the first determining module 301 includes:
an obtaining sub-module 3011, configured to obtain a history operation record of the target song;
the judging submodule 3012 is configured to judge whether a preset operation exists in the historical operation record of the target song;
the confirming sub-module 3013 is configured to confirm the target song as a song focused by the user if the preset operation exists in the history operation record of the target song.
Optionally, as shown in fig. 5, the electronic device 300 further includes:
a second determining module 304, configured to determine whether the electronic device 300 has a background material of the target song that is pushed;
the pushing module 303 is configured to, if the background material of the target song is not pushed, push the background material of the target song according to the environment state of the electronic device after the target song is played.
Optionally, the background material includes at least two of a text material, a voice material, and a video material, as shown in fig. 6, the pushing module 303 includes:
the detection submodule 3031 is configured to detect an environmental status of the electronic device 300 after the target song is played;
a determining submodule 3032, configured to determine, according to preset priority information matched with the environment state, a priority level corresponding to the environment state for each material included in the background material;
and the pushing submodule 3033 is configured to push a material with the highest priority level corresponding to the environment state in the background materials.
Optionally, the pushing sub-module 3033 is configured to display the text material, play the target song, and display corresponding lyrics according to the playing progress of the target song if the material with the highest priority level is the text material; or
The pushing submodule 3033 is configured to play the background material with the accompaniment music of the target song as the background music and display a corresponding text according to the playing progress of the background material if the material with the highest priority level is the voice material.
The electronic device 300 provided by the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 2, and in the using process, the present invention pushes related materials concerning songs to a user according to the environmental status of the electronic device, so that more information about the songs can be provided to the user, and the song playing effect is improved.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 710 for determining whether the target song is a song of interest to the user;
if the target song is a song concerned by the user, acquiring a background material of the target song;
after the target song is played, pushing background materials of the target song according to the environment state of the electronic device 700.
Optionally, the step performed by the processor 710 for determining whether the target song is a song of interest to the user includes:
acquiring a historical operation record of the target song;
judging whether preset operation exists in the historical operation record of the target song;
and if the preset operation exists in the historical operation record of the target song, confirming the target song as the song concerned by the user.
Optionally, after the step of obtaining the background material of the target song if the target song is a song of interest to the user, the processor 710 is further configured to:
judging whether the electronic equipment has background materials of the target song pushed by the electronic equipment;
and if the background material of the target song is not pushed, executing the step of pushing the background material of the target song according to the environment state of the electronic equipment after the target song is played.
Optionally, the background material includes at least two of a text material, a voice material, and a video material, and the step of pushing the background material of the target song according to the environment state of the electronic device after the target song is played by the processor 710 includes:
after the target song is played, detecting the environmental state of the electronic device 700;
determining the priority level of each material included in the background materials corresponding to the environment state according to preset priority information matched with the environment state;
and pushing the material with the highest priority corresponding to the environment state in the background materials.
Optionally, the step of pushing, by the processor 710, a material with the highest priority level corresponding to the environment state in the background materials includes:
if the material with the highest priority level is a text material, displaying the text material, playing the target song, and displaying corresponding lyrics according to the playing progress of the target song; or
And if the material with the highest priority level is a voice material, playing the voice material by taking the accompaniment music of the target song as background music, and displaying a corresponding text according to the playing progress of the background material.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when being executed by the processor, the computer program implements each process of the foregoing song playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the song playing method. The processes of the method embodiment can achieve the same technical effect, and are not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A song playing method is applied to electronic equipment and is characterized by comprising the following steps:
judging whether the target song is a song concerned by the user;
if the target song is a song concerned by the user, acquiring a background material of the target song;
after the target song is played, pushing a background material of the target song according to the environment state of the electronic equipment, wherein the background material is related to the song creation process or creation background and comprises an epoch background of the song created by an author, external factors influencing the creation of the song by the author, and emotional experience or thought history of the song created by the author;
the background material comprises at least two of a text material, a voice material and a video material, and the step of pushing the background material of the target song according to the environment state of the electronic equipment after the target song is played comprises the following steps:
after the target song is played, detecting the environmental state of the electronic equipment;
determining the priority level of each material included in the background material corresponding to the environment state according to preset priority level information matched with the environment state, wherein the background material with the highest priority level is a text material when the environment state of the electronic equipment is a working state or a conference state, and the priority level of the background material is a voice material, a video material or a text material from high to low when the environment state of the electronic equipment is a walking state; under the condition that the environment state of the electronic equipment is a riding state, the priority level of the background material is a video material, a voice material and a text material from high to low;
and pushing the material with the highest priority corresponding to the environment state in the background materials.
2. The method of claim 1, wherein the step of determining whether the target song is a song of interest to the user comprises:
acquiring a historical operation record of the target song;
judging whether preset operation exists in the historical operation record of the target song;
and if the preset operation exists in the historical operation record of the target song, confirming the target song as the song concerned by the user.
3. The method of claim 1, wherein after the step of obtaining the background material of the target song if the target song is a song of interest to the user, the method further comprises:
judging whether the electronic equipment has background materials of the target song pushed by the electronic equipment;
and if the background material of the target song is not pushed, executing the step of pushing the background material of the target song according to the environment state of the electronic equipment after the target song is played.
4. A method according to any one of claims 1 to 3, wherein the step of pushing the highest priority material of the background material corresponding to the environmental status comprises:
if the material with the highest priority level is a text material, displaying the text material, playing the target song, and displaying corresponding lyrics according to the playing progress of the target song; or
And if the material with the highest priority level is a voice material, playing the voice material by taking the accompaniment music of the target song as background music, and displaying a text corresponding to the voice material according to the playing progress of the background material.
5. An electronic device, comprising:
the first judgment module is used for judging whether the target song is a song concerned by the user;
the acquisition module is used for acquiring background materials of the target song if the target song is a song concerned by the user;
the pushing module is used for pushing a background material of the target song according to the environment state of the electronic equipment after the target song is played, wherein the background material is related to the song creation process or creation background and comprises an epoch background of the song created by an author, external factors influencing the creation of the song by the author, and emotional experience or thought history of the song created by the author;
the background material includes at least two of text material, voice material and video material, the propelling movement module includes:
the detection submodule is used for detecting the environment state of the electronic equipment after the target song is played;
the determining submodule is used for determining the priority level of each material included in the background material and corresponding to the environment state according to preset priority information matched with the environment state, wherein the background material with the highest priority level is a text material under the condition that the environment state of the electronic equipment is a working state or a conference state, and the priority level of the background material is a voice material, a video material and a text material from high to low under the condition that the environment state of the electronic equipment is a walking state; under the condition that the environment state of the electronic equipment is a riding state, the priority level of the background material is a video material, a voice material and a text material from high to low;
and the pushing submodule is used for pushing the material with the highest priority corresponding to the environment state in the background materials.
6. The electronic device of claim 5, wherein the first determination module comprises:
the acquisition submodule is used for acquiring the historical operation record of the target song;
the judging submodule is used for judging whether preset operation exists in the historical operation record of the target song;
and the confirming submodule is used for confirming the target song as the song concerned by the user if the preset operation exists in the historical operation record of the target song.
7. The electronic device of claim 5, further comprising:
the second judgment module is used for judging whether the electronic equipment has background materials which are pushed by the target song;
the pushing module is used for pushing the background material of the target song according to the environment state of the electronic equipment after the target song is played if the background material of the target song is not pushed.
8. The electronic device of any one of claims 5 to 7, wherein the push sub-module is configured to display the text material and play the target song if the material with the highest priority level is a text material, and display corresponding lyrics according to the playing progress of the target song; or
And the pushing submodule is used for playing the background material by taking the accompaniment music of the target song as background music and displaying the text corresponding to the voice material according to the playing progress of the background material if the material with the highest priority level is the voice material.
9. An electronic device, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the song playback method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the song playback method of any one of claims 1 to 4.
CN201711403883.0A 2017-12-22 2017-12-22 Song playing method and electronic equipment Active CN108090195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711403883.0A CN108090195B (en) 2017-12-22 2017-12-22 Song playing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711403883.0A CN108090195B (en) 2017-12-22 2017-12-22 Song playing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN108090195A CN108090195A (en) 2018-05-29
CN108090195B true CN108090195B (en) 2020-01-07

Family

ID=62178480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711403883.0A Active CN108090195B (en) 2017-12-22 2017-12-22 Song playing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN108090195B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050049073A (en) * 2003-11-21 2005-05-25 주식회사 케이티프리텔 Method and apparatus for pushing background music by mobile terminal
CN101420447A (en) * 2008-12-15 2009-04-29 石家庄金中华商贸有限公司 A kind of internet music publishing system
CN103327053A (en) * 2012-03-23 2013-09-25 三星电子(中国)研发中心 Online music recommending and sending method and system
CN103345697A (en) * 2013-07-01 2013-10-09 喻应芝 Method for obtaining information of songs favored by FM radio listeners
CN104092724A (en) * 2014-04-10 2014-10-08 腾讯科技(深圳)有限公司 Method for song data pulling, terminal and server
CN105335507A (en) * 2015-10-29 2016-02-17 维沃移动通信有限公司 Method and device for pushing music
CN106598996A (en) * 2015-10-19 2017-04-26 广州酷狗计算机科技有限公司 Multi-media poster generation method and device
CN106888154A (en) * 2017-01-06 2017-06-23 奇酷互联网络科技(深圳)有限公司 Music sharing method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050049073A (en) * 2003-11-21 2005-05-25 주식회사 케이티프리텔 Method and apparatus for pushing background music by mobile terminal
CN101420447A (en) * 2008-12-15 2009-04-29 石家庄金中华商贸有限公司 A kind of internet music publishing system
CN103327053A (en) * 2012-03-23 2013-09-25 三星电子(中国)研发中心 Online music recommending and sending method and system
CN103345697A (en) * 2013-07-01 2013-10-09 喻应芝 Method for obtaining information of songs favored by FM radio listeners
CN104092724A (en) * 2014-04-10 2014-10-08 腾讯科技(深圳)有限公司 Method for song data pulling, terminal and server
CN106598996A (en) * 2015-10-19 2017-04-26 广州酷狗计算机科技有限公司 Multi-media poster generation method and device
CN105335507A (en) * 2015-10-29 2016-02-17 维沃移动通信有限公司 Method and device for pushing music
CN106888154A (en) * 2017-01-06 2017-06-23 奇酷互联网络科技(深圳)有限公司 Music sharing method and system

Also Published As

Publication number Publication date
CN108090195A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN109343759B (en) Screen-turning display control method and terminal
CN110784771B (en) Video sharing method and electronic equipment
CN110248251B (en) Multimedia playing method and terminal equipment
CN110933511B (en) Video sharing method, electronic device and medium
CN108763316B (en) Audio list management method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
WO2020192299A1 (en) Information display method and terminal device
CN110830368B (en) Instant messaging message sending method and electronic equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109412932B (en) Screen capturing method and terminal
CN111314784A (en) Video playing method and electronic equipment
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN112423087A (en) Video interaction information display method and terminal equipment
CN109324999B (en) Method and electronic equipment for executing operation based on download instruction
CN111026305A (en) Audio processing method and electronic equipment
CN108668024B (en) Voice processing method and terminal
CN110673770A (en) Message display method and terminal equipment
CN107728920B (en) Copying method and mobile terminal
CN108108338B (en) Lyric processing method, lyric display method, server and mobile terminal
CN111050214A (en) Video playing method and electronic equipment
CN108491143B (en) Object movement control method and mobile terminal
CN109471524A (en) A kind of method and mobile terminal controlling motor vibrations
CN113111221A (en) Video-based searching method and device
CN111049977B (en) Alarm clock reminding method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant