CN109327608A - Method, terminal, server and the system that song is shared - Google Patents

Method, terminal, server and the system that song is shared Download PDF

Info

Publication number
CN109327608A
CN109327608A CN201811063144.6A CN201811063144A CN109327608A CN 109327608 A CN109327608 A CN 109327608A CN 201811063144 A CN201811063144 A CN 201811063144A CN 109327608 A CN109327608 A CN 109327608A
Authority
CN
China
Prior art keywords
song
dynamic background
terminal
target
target song
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.)
Granted
Application number
CN201811063144.6A
Other languages
Chinese (zh)
Other versions
CN109327608B (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 CN201811063144.6A priority Critical patent/CN109327608B/en
Publication of CN109327608A publication Critical patent/CN109327608A/en
Application granted granted Critical
Publication of CN109327608B publication Critical patent/CN109327608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application provides method, terminal, server and systems that a kind of song is shared, belong to field of computer technology.The described method includes: user wants to share target song, the sharing request of target song can be sent to server by first terminal, server can be based on target song, determine at least one dynamic background, it notifies to first terminal, first terminal can be at least one dynamic background, select a dynamic background, it is determined as the dynamic background to be presented of target song, when target shares the triggering command of mode option in receiving at least one sharing mode option, first terminal can share the corresponding song of mode option according to target and share mode, the mark of target song is sent to song with dynamic background to be presented and shares the corresponding second terminal of mode, so that second terminal is when playing the target song received, it is shown dynamic background to be presented as background when playing song.Using the application, background display can be made no longer single.

Description

Method, terminal, server and the system that song is shared
Technical field
This application involves field of computer technology, in particular to a kind of methods, devices and systems of song sharing.
Background technique
With the development of computer technology and network technology, sharing function is increased in audio application, passes through sharing Function can share song to third party application.
In the related technology, the terminal that a certain audio application is installed can be sent to server for some song After server receives the sharing request, playback of songs link is can be generated in sharing request.Playback of songs link is sent to The terminal that third party application is installed, user is in third party application, after clicking playback of songs link, third party Application program can play out the song.It, can be corresponding by the song when third party application plays out song Album cover as play song when background be shown.
In this way, during sharing song being opened up the corresponding album cover of song as the background for playing song Show, it is single to will lead to background display.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides method, terminals, service that a kind of song is shared Device and system.The technical solution is as follows:
In a first aspect, providing a kind of method that song is shared, which comprises
Receive the sharing request for the target song that first terminal is sent, wherein the mesh is carried in the sharing request Mark the mark of song;
According to the mark of the target song, the types of songs of the target song is determined;
According to the corresponding relationship of the types of songs of the target song, pre-stored types of songs and dynamic background, really At least one corresponding dynamic background of types of songs of the fixed target song;
Send at least one described dynamic background to the first terminal so that the first terminal from it is described at least one A dynamic background is chosen in dynamic background, as dynamic background to be presented corresponding to the target song.
Optionally, the mark according to the target song, determines the types of songs of the target song, comprising:
According to the mark of the target song, the audio data of the target song is obtained;
Audio data input types of songs trained in advance is determined into model, obtains the song class of the target song Type.
Optionally, the types of songs includes classical genre, popular type, national type, rock genre, Chinese musical telling type.
Optionally, the format of the dynamic background has graphic interchange format GIF format, webp format, silent video format One of with animation file.
Second aspect provides a kind of method that song is shared, which comprises
The sharing instruction for receiving target song, the sharing request of the target song is sent to server, and show song Share interface, wherein the mark of the target song is carried in the sharing request, it includes extremely that the song, which is shared in interface, A few sharing mode option;
Receive at least one corresponding dynamic background of the target song that the server is sent, wherein it is described at least One dynamic background is carried on the back by the server according to the types of songs of the target song, pre-stored types of songs and dynamic The corresponding relationship of scape determines;
Share in the song and shows at least one described dynamic background in interface;
A dynamic background is selected from least one described dynamic background, is determined as the to be presented dynamic of the target song State background;
When receiving the triggering command of target sharing mode option at least one described sharing mode option, according to institute It states target and shares the corresponding song sharing mode of mode option, by the mark of the target song and the dynamic background to be presented It is sent to the song and shares the corresponding second terminal of mode, so that the second terminal is playing the target song received Qu Shi is shown the dynamic background to be presented as background when playing song.
Optionally, described at least one corresponding dynamic background of the target song for receiving the server and sending, packet It includes:
Receive the preview screen at least one corresponding dynamic background of the target song that the server is sent;
It is described to share at least one described dynamic background of display in interface in the song, comprising:
Share the preview screen that at least one dynamic background is shown in interface in the song.
Optionally, the method also includes:
When receiving the data acquisition triggering command of the first dynamic background at least one dynamic background, to the service Device sends the data acquisition request of first dynamic background;
Receive the total data for first dynamic background that the server is sent;
Play the total data of first dynamic background.
Optionally, described that a dynamic background is selected from least one described dynamic background, it is determined as the target song Bent dynamic background to be presented, comprising:
When receiving the selection instruction of the second dynamic background at least one described dynamic background, by second dynamic Background is determined as the dynamic background to be presented of the target song.
Optionally, the method also includes:
It is corresponding by selection number to receive at least one described dynamic background that the server is sent;
Share at least one corresponding described dynamic background in interface in the song, is shown respectively by selection number.
Optionally, described that the corresponding song sharing mode of mode option is shared according to the target, by the target song Mark be sent to the song with the dynamic background to be presented and share the corresponding second terminal of mode, comprising:
If it is to share to object contact person account that the song, which shares mode, according to the object contact person account, The mark of the target song and the dynamic background to be presented are sent to second that the object contact person account is logged in Terminal;
If it is to share to public social region that the song, which shares mode, institute in the equipment shared according to execution song The current logon account for stating public social region, the mark of the target song and the dynamic background to be presented is sent to aobvious Show the second terminal in the public social region of the current logon account.
Optionally, described that the corresponding song sharing mode of mode option is shared according to the target, by the target song Mark be sent to the song with the dynamic background to be presented and share the corresponding second terminal of mode, comprising:
According to the mark of the target song and the dynamic background to be presented, the broadcasting chain of the target song is generated It connects;
Share the corresponding song of mode option according to the target and share mode, the broadcasting link of the target song is sent out It send to the song and shares the corresponding second terminal of mode.
The third aspect, provides a kind of server that song is shared, and the server includes:
Receiving module, the sharing request of the target song for receiving first terminal transmission, wherein in the sharing request Carry the mark of the target song;
Determining module determines the types of songs of the target song for the mark according to the target song;According to institute The types of songs of target song, the corresponding relationship of pre-stored types of songs and dynamic background are stated, determines the target song At least one corresponding dynamic background of types of songs;
Sending module, for sending at least one described dynamic background to the first terminal, so that the first terminal A dynamic background is chosen from least one described dynamic background, is carried on the back as dynamic to be presented corresponding to the target song Scape.
Optionally, the determining module, is used for:
According to the mark of the target song, the audio data of the target song is obtained;
Audio data input types of songs trained in advance is determined into model, obtains the song class of the target song Type.
Optionally, the types of songs includes classical genre, popular type, national type, rock genre, Chinese musical telling type.
Optionally, the format of the dynamic background has graphic interchange format GIF format, webp format, silent video format One of with animation file.
Fourth aspect, provides a kind of terminal that song is shared, and the terminal includes:
Receiving module, the sharing for receiving target song instruct;
Sending module, for sending the sharing request of the target song to server, wherein taken in the sharing request Mark with the target song;
Display module, for showing that song shares interface, wherein it includes at least one sharing that the song, which is shared in interface, Mode option;
The receiving module is also used to receive at least one corresponding dynamic of the target song that the server is sent Background, wherein at least one described dynamic background by the server according to the types of songs of the target song, be stored in advance Types of songs and dynamic background corresponding relationship determine;
The display module is also used to share at least one described dynamic background of display in interface in the song;
Determining module is determined as the target for selecting a dynamic background from least one described dynamic background The dynamic background to be presented of song;
The sending module is also used to receive target at least one described sharing mode option and shares mode option Triggering command when, the corresponding song of mode option is shared according to the target and shares mode, by the mark of the target song The song is sent to the dynamic background to be presented and shares the corresponding second terminal of mode, so that the second terminal is being broadcast When putting the target song received, it is shown the dynamic background to be presented as background when playing song.
Optionally, the receiving module, is also used to:
Receive the preview screen at least one corresponding dynamic background of the target song that the server is sent;
The display module, is also used to:
Share the preview screen that at least one dynamic background is shown in interface in the song.
Optionally, the sending module, is also used to:
When receiving the data acquisition triggering command of the first dynamic background at least one dynamic background, to the service Device sends the data acquisition request of first dynamic background;
The receiving module is also used to receive the total data for first dynamic background that the server is sent;
The display module is also used to play the total data of first dynamic background.
Optionally, the determining module, is used for:
When receiving the selection instruction of the second dynamic background at least one described dynamic background, by second dynamic Background is determined as the dynamic background to be presented of the target song.
Optionally, the receiving module, is also used to:
It is corresponding by selection number to receive at least one described dynamic background that the server is sent;
The display module, is also used to:
Share at least one corresponding described dynamic background in interface in the song, is shown respectively by selection number.
Optionally, the sending module, is also used to:
If it is to share to object contact person account that the song, which shares mode, according to the object contact person account, The mark of the target song and the dynamic background to be presented are sent to second that the object contact person account is logged in Terminal;
If it is to share to public social region that the song, which shares mode, institute in the terminal shared according to execution song The current logon account for stating public social region, the mark of the target song and the dynamic background to be presented is sent to aobvious Show the second terminal in the public social region of the current logon account.
Optionally, the sending module, is also used to:
According to the mark of the target song and the dynamic background to be presented, the broadcasting chain of the target song is generated It connects;
Share the corresponding song of mode option according to the target and share mode, the broadcasting link of the target song is sent out It send to the song and shares the corresponding second terminal of mode.
5th aspect provides a kind of system that song is shared, and the system comprises servers and terminal:
The server, the server as described in the above-mentioned third aspect;
The terminal, the terminal as described in above-mentioned fourth aspect.
Technical solution bring beneficial effect provided in an embodiment of the present invention includes at least:
In the embodiment of the present invention, when user wants to share target song, mesh can be sent to server by first terminal The sharing request of song is marked, server can be based on target song, determine at least one dynamic background, it notifies to first terminal, First terminal can select a dynamic background at least one dynamic background, be determined as the dynamic to be presented of target song Background is shared when target shares the triggering command of mode option in receiving at least one sharing mode option according to target The corresponding song of mode option shares mode, and the mark of target song is sent to song with dynamic background to be presented and shares mode Corresponding second terminal so that second terminal play receive target song when, using dynamic background to be presented as broadcasting Background when song is shown.In this way, can show dynamic background image when sharing song, rather than show song Album cover, so background display is no longer single.
Detailed description of the invention
Fig. 1 is the system diagram that a kind of song provided in an embodiment of the present invention is shared;
Fig. 2 is the method flow diagram that a kind of song provided in an embodiment of the present invention is shared;
Fig. 3 is a kind of schematic diagram for sharing option provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of sharing mode provided in an embodiment of the present invention;
Fig. 5 is the display area schematic diagram of a kind of sharing mode and dynamic background provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of the sharing provided in an embodiment of the present invention to contact person's account;
Fig. 7 is a kind of schematic diagram of the sharing provided in an embodiment of the present invention to public social region;
Fig. 8 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of methods that song is shared, as shown in Figure 1, the executing subject of this method can be First terminal and server, first terminal are any terminals, can be computer, mobile phone, tablet computer etc., server can be sound The background server of frequency application program.
Processor, memory and transceiver etc. can be set in first terminal, processor can be used for carrying out song point The processing for the process enjoyed, the data of data and generation that memory can be used for needing during song is shared, transceiver It can be used for receiving and transmitting data.The output output equipment such as microphone, screen, Mike are also provided in first terminal Wind can be used for playing audio (such as song) etc., and screen can be touch screen, and screen is displayed for option of operation, song Share interface etc..
Processor, memory and transceiver etc. can be set in server, processor can be used for carrying out song sharing Process processing, memory can be used for the data of data and generation needed during song is shared, and transceiver can For receiving and transmitting data.
The embodiment of the present invention carries out the detailed description of scheme so that first terminal is mobile phone as an example, and other situations are similar therewith, The embodiment of the present invention repeats no more.
Before being implemented, the application scenarios of the embodiment of the present invention are introduced first:
During sharing song, when playing the song shared by participator's using terminal, meeting display background, background one As be song album cover, show it is relatively simple, so be based on this, propose the scheme of the embodiment of the present invention.
The embodiment of the invention provides a kind of methods that song is shared, as shown in Fig. 2, the execution process of this method can be as Under:
Step 201, first terminal receives the sharing instruction of target song, and the sharing for sending target song to server is asked It asks, and shows that song shares interface.
In an implementation, user can install audio application in first terminal, and the audio application is opened in operation, User wants to listen certain song, can find the song, play out.As shown in figure 3, showing pause in broadcast interface Option shares some other options such as option, and user is if it is intended to by (subsequent to be known as target song) point of the song Third party application to be enjoyed, sharing option can be clicked, first terminal can then receive the click commands for sharing option, namely Sharing instruction is received, sharing request is generated, and adds the mark of target song in the sharing request, to audio application Background server it is (subsequent to be known as server) send target song sharing request.And it can show that song is shared Interface, song sharing interface can account for a part of screen, show at least one sharing mode in song sharing interface and select ?.For example, every kind of sharing mode, which can share target song, to be arrived as shown in figure 4, there is 6 kinds of sharing modes: A, B, C, D, E, F Different places, sharing mode A can share to contact person's account, and sharing mode B can share to public social region etc..
Step 202, server receives the sharing request for the target song that first terminal is sent.
In an implementation, server can receive the sharing request of the target song of first terminal transmission, therefrom be resolved to mesh Mark the mark of song.
Step 203, server determines the types of songs of target song according to the mark of target song.
In an implementation, it after server gets the mark of target song, can be closed according to mark is corresponding with types of songs System, determines the corresponding types of songs of the mark of target song.Or model can be used, determine the types of songs of target song, The processing of corresponding step 203 can be such that
According to the mark of target song, the audio data of target song is obtained;By audio data input song trained in advance Bent type determines model, obtains the types of songs of target song.
In an implementation, technical staff can demarcate the type of multiple songs in advance, and determine that types of songs determines first The audio data of this multiple song and corresponding type are then based on sample set to introductory die as sample set by beginning model Type is trained, and obtains the parameter value in initial model to training parameter, and the parameter value to training parameter is substituted into initial model, It can determine that types of songs determines model, types of songs determined into model storage in the server.
Server can find the audio data of target song, then according to the mark of target song, in audio repository Audio data is input to types of songs to determine in model, i.e., the types of songs of exportable target song.
Optionally, types of songs includes classical genre, popular type, national type, rock genre, Chinese musical telling type.
Step 204, server is according to the types of songs of target song, pair of pre-stored types of songs and dynamic background It should be related to, determine at least one corresponding dynamic background of the types of songs of target song.
Wherein, the corresponding relationship of types of songs and dynamic background can be preset, and be stored into server, in the correspondence In relationship, general types of songs correspondence is stored with multiple dynamic backgrounds, can be a types of songs and corresponds to multiple dynamics The data of background are also possible to the data storage link that a types of songs corresponds to multiple dynamic backgrounds, are based on the dynamic background Data store link, the data of dynamic background can be found.
In an implementation, after server determines the types of songs of target song, available pre-stored types of songs It, using the types of songs of target song, is found corresponding dynamic then in the corresponding relationship with the corresponding relationship of dynamic background State background.
Optionally, if the server determine that the dynamic background gone out is relatively more, preset number (present count therein can be chosen Mesh can be preset, and be stored into server, such as 10) a dynamic background, be sent to first terminal for subsequent.
Optionally, the format of dynamic background has GIF (Graphics Interchange Format, graphic interchange format) One of format, webp format, silent video format and animation file.
Step 205, server sends at least one dynamic background to first terminal.
Optionally, server, in order to save network transmission resource, can only be sent when sending at least one dynamic background The link of each dynamic background.
Step 206, first terminal receives at least one corresponding dynamic background of target song that server is sent.
Optionally, server can send preview animation to first terminal, and the processing of corresponding step 206 can be such that
First terminal receives the preview screen at least one corresponding dynamic background of target song that server is sent.
In an implementation, server is when sending at least one dynamic background to first terminal, in order to save network transmission money Source can only send the preview screen of at least one dynamic background.
First terminal can receive the preview screen of at least one dynamic background of server transmission, share interface in song The middle preview screen for showing at least one dynamic background.
Step 207, first terminal is shared in interface in song shows at least one dynamic background.
In an implementation, after first terminal receives at least one dynamic background that server is sent, can share in song The top that at least one in interface shares mode option shows at least one dynamic background, and top is meant that: by least one Dynamic background is covered at least one top for sharing mode option.
Alternatively, after first terminal receives at least one dynamic background that server is sent, it can be by least one dynamic Background is shown at least one adjacent area for sharing mode.For example, as shown in figure 5, the screen of first terminal is divided into first Region and second area, first area is adjacent with second area, and first terminal first area is shown at least one sharing side Formula option, second area show at least one dynamic background.
In addition, can be shown with paging at least one dynamic background if the number of at least one dynamic background compares Show.For example, the number of at least one dynamic background is 10, it can control every page of at most 3 dynamic backgrounds of display.
Step 208, first terminal selects a dynamic background from least one dynamic background, is determined as target song Dynamic background to be presented.
Optionally, there are many modes for choosing dynamic background to be presented, and two kinds of feasible implementations are given below:
Mode one: when the selection for receiving the second dynamic background at least one dynamic background instructs, by the second dynamic Background is determined as the dynamic background to be presented of target song.
In an implementation, when showing at least one dynamic background, corresponding selection option is also shown, if user wants Some dynamic background (subsequent to be known as the second dynamic background) is selected, the selection option of the dynamic background can be clicked, the One terminal can then receive the click commands of the selection option of the second dynamic background, by the second dynamic background, be determined as target song Bent dynamic background to be presented.
Mode two: first terminal randomly selects a dynamic background from least one dynamic background image, is determined as mesh Mark the dynamic background to be presented of song.
Step 209, first terminal is when the triggering for receiving target sharing mode option at least one sharing mode option When instruction, the corresponding song of mode option is shared according to target and shares mode, the mark of target song and dynamic to be presented are carried on the back Scape is sent to song and shares the corresponding second terminal of mode, will be to so that second terminal is when playing the target song received Show that dynamic background is shown as background when playing song.
In an implementation, after having chosen background image to be shown, user can choose mode to be shared, and can click at least Target shares mode option in one sharing mode option, and the click that first terminal can then receive target sharing mode option refers to It enables, mode is shared based on target, determine that corresponding song shares mode, then by the mark of target song and dynamic to be presented Background is sent to song and shares the corresponding second terminal of mode.It, can be with display alarm message, Yong Huke after second terminal receives Target song is played with triggering, second terminal, can be using dynamic background to be presented as broadcasting target when playing target song Background when song, and the lyrics of target song are shown on the upper layer of dynamic background to be presented.
Optionally, it when sending dynamic background to be presented, in order to save network transmission resource, can only send to be presented dynamic The link of state background.
Optionally, there are many songs to share mode it can be selected that being illustrated individually below:
If it is to share to be sung target according to object contact person account to object contact person account that song, which shares mode, Bent mark and dynamic background to be presented are sent to the second terminal that object contact person account is logged in;If song shares mode It will then according to the current logon account for executing public social region in the equipment that song is shared to public social region to share The mark of target song and dynamic background to be presented are sent to the second terminal in the public social region of the current logon account of display.
Wherein, public social region refers to that user can deliver the region of oneself status information in application program, in public society It hands in region, good friend's account or non-good friend's account can enter in status information that public social region browsing user delivers etc. Hold, or the good friend of account of concern user can see the status information that user delivers in the public social region of oneself.
In an implementation, song, which shares mode, has sharing to contact person's account, if user wants target song passing through some Third party application is shared with the good friend of oneself, can click target and share mode (icon of third party application), the One terminal can then receive the click commands that target shares mode, show contact person's account list of third party application, and Display sends key, and user can select to want contact person's account (i.e. object contact person of sharing in contact person's account list Account), it then clicks and sends key, first terminal can then detect the click commands for sending key, to third party application Background server send target song mark and dynamic background to be presented, after which receives, can be based on Object contact person account, the second terminal logged in object contact person account send the mark and dynamic to be presented of target song Background.
Song, which shares mode, has sharing to public social region, if user wants to share target song to third-party application The public social region of program can click target and share mode (icon in the public social region of third party application), First terminal can then receive target share mode click commands, display status information edit box, sharing content and deliver Option, status information edit box are shown in the underface of the content of sharing, and user can input in status information edit box to be thought Then the text information to be delivered is clicked and delivers option, first terminal can then receive the click commands for delivering option, to third The background server of square application program sends status information and delivers request, wherein carrying the mark of current logon account, target song The content that knowledge, dynamic background to be presented and user input in status information edit box.The backstage of third party application takes After business device receives, the subsequent background server is in the public social region for receiving the current logon account of second terminal transmission In status information acquisition request when, can be pushed to second terminal the mark of target song, dynamic background to be presented and The content that user inputs in status information edit box.
It should be noted that above-mentioned first terminal and second terminal, which can be, belongs to the same user, also may belong to not Same user.
It should also be noted that, above-mentioned object contact person account can be one or more, it also can be simultaneously by mesh Mark song is shared at least one contact person's account.
Optionally, the mode that link can be used, send target song mark and dynamic background to be presented, it is corresponding to locate Reason can be such that
According to the mark of target song and dynamic background to be presented, the broadcasting link of target song is generated;According to target point It enjoys the corresponding song of mode option and shares mode, the broadcasting link of target song is sent to song and shares mode corresponding second Terminal.
In an implementation, first terminal is after determining song sharing mode, can be according to the mark of target song and to be presented Dynamic background, generates the broadcasting link of target song, and the title of broadcasting link can be the mark of target song.
Then first terminal determines that target shares the corresponding song of mode option and shares mode, if song is shared mode and had Share to contact person's account, then can be sent to contact person's account directly by the broadcasting link of above-mentioned target song and be logged in Terminal.There is sharing to public social region if song shares mode, the broadcasting link of target song can be shown in public affairs Social activity region altogether.
As shown in fig. 6, target song a is shared to contact person account b, as shown in fig. 7, sharing target song a to The public social region of tripartite's application program c, and be furnished with status information d, d can be that " a pleasing to the ear song is shared with greatly Family ".
It should be noted that the broadcasting link of the target song of above-mentioned raising, can be HTML (Hypertext Markup Language, hypertext markup language) format.
Optionally, user can also look at the total data of dynamic background, and corresponding processing can be such that
First terminal when receiving the data acquisition triggering command of the first dynamic background at least one dynamic background, to Server sends the data acquisition request of the first dynamic background;Receive the total data for the first dynamic background that server is sent; Play the total data of the first dynamic background.
Wherein, the first dynamic background is any dynamic background at least one dynamic background.
In an implementation, when showing the preview screen of dynamic background, dynamic background display can also be corresponded to and obtain whole numbers According to option, if user wants to check the total data of some dynamic background (subsequent to be known as the first dynamic background), User can click the corresponding option for obtaining total data of the first dynamic background, and first terminal can then receive the first dynamic and carry on the back The data acquisition triggering command of scape, can be generated data acquisition request, and the first dynamic background is added in the data acquisition request Mark, send the data acquisition request to server.
After server receives data acquisition request, it can therefrom parse to obtain the mark of the first dynamic background, server The mark that the first dynamic background can be used searches the corresponding total data of the mark.Then it is dynamic first to be sent to first terminal The total data of state background.
When first terminal receives the total data of the first dynamic background, it can be played on the entire screen of first terminal The total data of first dynamic background, and corresponding display the off option, user are not desired to play the total data of the first dynamic background When, the off option can be clicked, song is returned and shares interface.Alternatively, first terminal receives whole numbers of the first dynamic background According to when, the total data of the first dynamic background can be played on the entire screen of first terminal, plays in first terminal After the total data of one dynamic background, auto-returned song shares interface.Alternatively, first terminal receives the first dynamic background , can be at the position of the preview screen of the first dynamic background of display originally when total data, the first dynamic background of loop play Total data.
Optionally, in order to allow user faster to select dynamic background, server can also prompt each dynamic to carry on the back Scape by selection number, corresponding processing can be such that
It is corresponding by selection number to receive at least one dynamic background that server is sent;Share in interface in song At least one corresponding dynamic background, shows respectively by selection number.
In an implementation, server is after determining at least one corresponding dynamic background of target song, and server can be with Each dynamic background is obtained after online, the number selected.Then it is selected at least one dynamic background is corresponding Number and dynamic background are sent to first terminal together, after first terminal receives, can share in interface in song and correspond to extremely A few dynamic background is shown respectively by selection number.For example, may be displayed on lower section, a left side for dynamic background by selection number Side, the right, top etc..
For example, server sends 4 dynamic backgrounds, the number that selected of first dynamic background is 1000 times, second The number that selected of a dynamic background is 200 times, and the number that selected of third dynamic background is 590 times, and the 4th dynamic is carried on the back The number that selected of scape is 1200 times, is respectively displayed on the lower section of dynamic background.
In this way, for user provide each dynamic background by selection number, a reference value can be provided for user.
After each user has selected dynamic background to be presented, first terminal can send dynamic back to be presented to server The number of the dynamic background to be presented selected can be increased by 1 and stored by the mark of scape, server.
In the embodiment of the present invention, when user wants to share target song, mesh can be sent to server by first terminal The sharing request of song is marked, server can be based on target song, determine at least one dynamic background, it notifies to first terminal, First terminal can select a dynamic background at least one dynamic background, be determined as the dynamic to be presented of target song Background is shared when target shares the triggering command of mode option in receiving at least one sharing mode option according to target The corresponding song of mode option shares mode, and the mark of target song is sent to song with dynamic background to be presented and shares mode Corresponding second terminal so that second terminal play receive target song when, using dynamic background to be presented as broadcasting Background when song is shown.In this way, can show dynamic background image when sharing song, rather than show song Album cover, so background display is no longer single.
Based on the same technical idea, the embodiment of the invention also provides the servers that a kind of song is shared, such as Fig. 8 institute Show, which includes:
Receiving module 810, the sharing request of the target song for receiving first terminal transmission, wherein the sharing is asked The mark of the target song is carried in asking;
Determining module 820 determines the types of songs of the target song for the mark according to the target song;Root According to the corresponding relationship of the types of songs of the target song, pre-stored types of songs and dynamic background, the target is determined At least one corresponding dynamic background of the types of songs of song;
Sending module 830, for sending at least one described dynamic background to the first terminal, so that described first is whole A dynamic background is chosen at end from least one described dynamic background, as dynamic to be presented corresponding to the target song Background.
Optionally, the determining module 820, is used for:
According to the mark of the target song, the audio data of the target song is obtained;
Audio data input types of songs trained in advance is determined into model, obtains the song class of the target song Type.
Optionally, the types of songs includes classical genre, popular type, national type, rock genre, Chinese musical telling type.
Optionally, the format of the dynamic background has graphic interchange format GIF format, webp format, silent video format One of with animation file.
In the embodiment of the present invention, when user wants to share target song, mesh can be sent to server by first terminal The sharing request of song is marked, server can be based on target song, determine at least one dynamic background, it notifies to first terminal, First terminal can select a dynamic background at least one dynamic background, be determined as the dynamic to be presented of target song Background is shared when target shares the triggering command of mode option in receiving at least one sharing mode option according to target The corresponding song of mode option shares mode, and the mark of target song is sent to song with dynamic background to be presented and shares mode Corresponding second terminal so that second terminal play receive target song when, using dynamic background to be presented as broadcasting Background when song is shown.In this way, can show dynamic background image when sharing song, rather than show song Album cover, so background display is no longer single.
It should be understood that server provided by the above embodiment song share when, only with above-mentioned each functional module It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution, The internal structure of server is divided into different functional modules, to complete all or part of the functions described above.Separately Outside, the embodiment of the method that server provided by the above embodiment is shared with song belongs to same design, and specific implementation process is detailed See embodiment of the method, which is not described herein again.
Based on the same technical idea, the embodiment of the invention also provides the terminals that a kind of song is shared, as shown in figure 9, The terminal includes:
Receiving module 910, the sharing for receiving target song instruct;
Sending module 920, for sending the sharing request of the target song to server, wherein the sharing request In carry the mark of the target song;
Display module 930, for showing that song shares interface, wherein it includes at least one in interface that the song, which is shared, Sharing mode option;
The receiving module 910, be also used to receive the target song that the server is sent it is corresponding at least one Dynamic background, wherein at least one described dynamic background by the server according to the types of songs of the target song, in advance The types of songs of storage and the corresponding relationship of dynamic background determine;
The display module 930 is also used to share at least one described dynamic background of display in interface in the song;
Determining module 940 is determined as the mesh for selecting a dynamic background from least one described dynamic background Mark the dynamic background to be presented of song;
The sending module 920 is also used to receive target at least one described sharing mode option and shares mode When the triggering command of option, the corresponding song of mode option is shared according to the target and shares mode, by the target song Mark is sent to the song with the dynamic background to be presented and shares the corresponding second terminal of mode, so that the second terminal When playing the target song received, opened up the dynamic background to be presented as background when playing song Show.
Optionally, the receiving module 910, is also used to:
Receive the preview screen at least one corresponding dynamic background of the target song that the server is sent;
The display module 930, is also used to:
Share the preview screen that at least one dynamic background is shown in interface in the song.
Optionally, the sending module 920, is also used to:
When receiving the data acquisition triggering command of the first dynamic background at least one dynamic background, to the service Device sends the data acquisition request of first dynamic background;
The receiving module 910 is also used to receive the total data for first dynamic background that the server is sent;
The display module 930 is also used to play the total data of first dynamic background.
Optionally, the determining module 940, is used for:
When receiving the selection instruction of the second dynamic background at least one described dynamic background, by second dynamic Background is determined as the dynamic background to be presented of the target song.
Optionally, the receiving module 910, is also used to:
It is corresponding by selection number to receive at least one described dynamic background that the server is sent;
The display module 930, is also used to:
Share at least one corresponding described dynamic background in interface in the song, is shown respectively by selection number.
Optionally, the sending module 920, is also used to:
If it is to share to object contact person account that the song, which shares mode, according to the object contact person account, The mark of the target song and the dynamic background to be presented are sent to second that the object contact person account is logged in Terminal;
If it is to share to public social region that the song, which shares mode, institute in the terminal shared according to execution song The current logon account for stating public social region, the mark of the target song and the dynamic background to be presented is sent to aobvious Show the second terminal in the public social region of the current logon account.
Optionally, the sending module 920, is also used to:
According to the mark of the target song and the dynamic background to be presented, the broadcasting chain of the target song is generated It connects;
Share the corresponding song of mode option according to the target and share mode, the broadcasting link of the target song is sent out It send to the song and shares the corresponding second terminal of mode.
In the embodiment of the present invention, when user wants to share target song, mesh can be sent to server by first terminal The sharing request of song is marked, server can be based on target song, determine at least one dynamic background, it notifies to first terminal, First terminal can select a dynamic background at least one dynamic background, be determined as the dynamic to be presented of target song Background is shared when target shares the triggering command of mode option in receiving at least one sharing mode option according to target The corresponding song of mode option shares mode, and the mark of target song is sent to song with dynamic background to be presented and shares mode Corresponding second terminal so that second terminal play receive target song when, using dynamic background to be presented as broadcasting Background when song is shown.In this way, can show dynamic background image when sharing song, rather than show song Album cover, so background display is no longer single.
It should be understood that terminal provided by the above embodiment song share when, only with above-mentioned each functional module draw Divide and be illustrated, in practical application, can according to need and be completed by different functional modules above-mentioned function distribution, i.e., The internal structure of terminal is divided into different functional modules, to complete all or part of the functions described above.On in addition, It states the embodiment of the method that the terminal that embodiment provides is shared with song and belongs to same design, specific implementation process is detailed in method reality Example is applied, which is not described herein again.
Based on the same technical idea, the embodiment of the invention also provides the system that a kind of song is shared, which includes Terminal and server, terminal terminal as shown in Figure 9 above, server server as shown in Figure 8 above.
Figure 10 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, the server 1000 can because of configuration or Performance is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 1001 and one or more memory 1002, wherein at least one is stored in the memory 1002 Item instruction, at least one instruction are loaded by the processor 1001 and execute the method to realize above-mentioned carry out song sharing Step.
Figure 11 shows the structural block diagram of the terminal 1100 of an illustrative embodiment of the invention offer.The terminal 1100 can To be: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 1100 is also Other titles such as user equipment, portable terminal, laptop terminal, terminal console may be referred to as.
In general, terminal 1100 includes: processor 1101 and memory 1102.
Processor 1101 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1101 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1101 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 1101 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1101 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 1102 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1102 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1102 can Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1101 for realizing this Shen Please in embodiment of the method provide subregion share method.
In some embodiments, terminal 1100 is also optional includes: peripheral device interface 1103 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1101, memory 1102 and peripheral device interface 1103.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1103.Specifically, peripheral equipment includes: In radio circuit 1104, touch display screen 1105, camera 1106, voicefrequency circuit 1107, positioning component 1108 and power supply 1109 At least one.
Peripheral device interface 1103 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1101 and memory 1102.In some embodiments, processor 1101, memory 1102 and periphery Equipment interface 1103 is integrated on same chip or circuit board;In some other embodiments, processor 1101, memory 1102 and peripheral device interface 1103 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1104 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1104 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1104 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1104 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1104 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio frequency electrical Road 1104 can also include NFC (Near Field Communication, wireless near field communication) related circuit, the application This is not limited.
Display screen 1105 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 1105 is touch display screen, display screen 1105 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 1105.The touch signal can be used as control signal and be input to place Reason device 1101 is handled.At this point, display screen 1105 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1105 can be one, and the front panel of terminal 1100 is arranged;Another In a little embodiments, display screen 1105 can be at least two, be separately positioned on the different surfaces of terminal 1100 or in foldover design; In still other embodiments, display screen 1105 can be flexible display screen, is arranged on the curved surface of terminal 1100 or folds On face.Even, display screen 1105 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1105 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1106 is for acquiring image or video.Optionally, CCD camera assembly 1106 includes front camera And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.? In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle Shooting function.In some embodiments, CCD camera assembly 1106 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for Light compensation under different-colour.
Voicefrequency circuit 1107 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1101 and handled, or be input to radio circuit 1104 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1100 to be multiple. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1101 or radio frequency will to be come from The electric signal of circuit 1104 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1107 may be used also To include earphone jack.
Positioning component 1108 is used for the current geographic position of positioning terminal 1100, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1108 can be the GPS (Global based on the U.S. Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union The positioning component of Galileo system.
Power supply 1109 is used to be powered for the various components in terminal 1100.Power supply 1109 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1109 includes rechargeable battery, which can support wired Charging or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1100 further includes having one or more sensors 1110.One or more sensing Device 1110 includes but is not limited to: acceleration transducer 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensing Device 1114, optical sensor 1115 and proximity sensor 1116.
Acceleration transducer 1111 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1100 Size.For example, acceleration transducer 1111 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1101 acceleration of gravity signals that can be acquired according to acceleration transducer 1111, control touch display screen 1105 with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1111 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 1112 can detecte body direction and the rotational angle of terminal 1100, gyro sensor 1112 Acquisition user can be cooperateed with to act the 3D of terminal 1100 with acceleration transducer 1111.Processor 1101 is according to gyro sensors The data that device 1112 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1105 in terminal 1100 can be set in pressure sensor 1113.When When the side frame of terminal 1100 is arranged in pressure sensor 1113, user can detecte to the gripping signal of terminal 1100, by Reason device 1101 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1113 acquires.Work as pressure sensor 1113 when being arranged in the lower layer of touch display screen 1105, is grasped by processor 1101 according to pressure of the user to touch display screen 1105 Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control, At least one of icon control, menu control.
Fingerprint sensor 1114 is used to acquire the fingerprint of user, is collected by processor 1101 according to fingerprint sensor 1114 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1114 according to the identity of collected fingerprint recognition user.Knowing Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1101, which grasps Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1114 can be set Set the front, the back side or side of terminal 1100.When being provided with physical button or manufacturer Logo in terminal 1100, fingerprint sensor 1114 can integrate with physical button or manufacturer Logo.
Optical sensor 1115 is for acquiring ambient light intensity.In one embodiment, processor 1101 can be according to light The ambient light intensity that sensor 1115 acquires is learned, the display brightness of touch display screen 1105 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1105 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1105 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1101 can also be acquired according to optical sensor 1115, is moved The acquisition parameters of state adjustment CCD camera assembly 1106.
Proximity sensor 1116, also referred to as range sensor are generally arranged at the front panel of terminal 1100.Proximity sensor 1116 for acquiring the distance between the front of user Yu terminal 1100.In one embodiment, when proximity sensor 1116 is examined When measuring the distance between the front of user and terminal 1100 and gradually becoming smaller, by processor 1101 control touch display screen 1105 from Bright screen state is switched to breath screen state;When proximity sensor 1116 detect the distance between front of user and terminal 1100 by When gradual change is big, touch display screen 1105 is controlled by processor 1101 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1100 of structure shown in Figure 11 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (23)

1. a kind of method that song is shared, which is characterized in that the described method includes:
Receive the sharing request for the target song that first terminal is sent, wherein the target song is carried in the sharing request Bent mark;
According to the mark of the target song, the types of songs of the target song is determined;
According to the corresponding relationship of the types of songs of the target song, pre-stored types of songs and dynamic background, institute is determined State at least one corresponding dynamic background of types of songs of target song;
At least one described dynamic background is sent to the first terminal, so that the first terminal is from least one described dynamic A dynamic background is chosen in background, as dynamic background to be presented corresponding to the target song.
2. the method according to claim 1, wherein the mark according to the target song, determine described in The types of songs of target song, comprising:
According to the mark of the target song, the audio data of the target song is obtained;
Audio data input types of songs trained in advance is determined into model, obtains the types of songs of the target song.
3. the method according to claim 1, wherein the types of songs includes classical genre, popular type, the people Same clan's type, rock genre, Chinese musical telling type.
4. the method according to claim 1, wherein the format of the dynamic background has graphic interchange format GIF One of format, webp format, silent video format and animation file.
5. a kind of method that song is shared, which is characterized in that the described method includes:
The sharing instruction for receiving target song, the sharing request of the target song is sent to server, and shows that song is shared Interface, wherein the mark of the target song is carried in the sharing request, it includes at least one in interface that the song, which is shared, A sharing mode option;
Receive at least one corresponding dynamic background of the target song that the server is sent, wherein it is described at least one Dynamic background is by the server according to the types of songs of the target song, pre-stored types of songs and dynamic background Corresponding relationship determines;
Share in the song and shows at least one described dynamic background in interface;
A dynamic background is selected from least one described dynamic background, is determined as the dynamic to be presented back of the target song Scape;
When receiving the triggering command of target sharing mode option at least one described sharing mode option, according to the mesh It marks the corresponding song of sharing mode option and shares mode, the mark of the target song and the dynamic background to be presented are sent Share the corresponding second terminal of mode to the song, so that the target song that the second terminal is received in broadcasting When, it is shown the dynamic background to be presented as background when playing song.
6. according to the method described in claim 5, it is characterized in that, the target song for receiving the server and sending At least one corresponding dynamic background, comprising:
Receive the preview screen at least one corresponding dynamic background of the target song that the server is sent;
It is described to share at least one described dynamic background of display in interface in the song, comprising:
Share the preview screen that at least one dynamic background is shown in interface in the song.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
When receiving the data acquisition triggering command of the first dynamic background at least one dynamic background, sent out to the server Send the data acquisition request of first dynamic background;
Receive the total data for first dynamic background that the server is sent;
Play the total data of first dynamic background.
8. according to the method described in claim 6, it is characterized in that, described select one from least one described dynamic background Dynamic background is determined as the dynamic background to be presented of the target song, comprising:
When receiving the selection instruction of the second dynamic background at least one described dynamic background, by second dynamic background It is determined as the dynamic background to be presented of the target song.
9. according to the method described in claim 5, it is characterized in that, the method also includes:
It is corresponding by selection number to receive at least one described dynamic background that the server is sent;
Share at least one corresponding described dynamic background in interface in the song, is shown respectively by selection number.
10. according to the method described in claim 5, it is characterized in that, described corresponding according to target sharing mode option Song shares mode, and the mark of the target song is sent to the song with the dynamic background to be presented and shares mode pair The second terminal answered, comprising:
If it is to share to object contact person account, according to the object contact person account, by institute that the song, which shares mode, The mark and the dynamic background to be presented for stating target song are sent to the second terminal that the object contact person account is logged in;
If it is to share to public social region that the song, which shares mode, the public affairs in the equipment shared according to execution song The mark of the target song and the dynamic background to be presented are sent to display institute by the current logon account in social activity region altogether State the second terminal in the public social region of current logon account.
11. according to the method described in claim 5, it is characterized in that, described corresponding according to target sharing mode option Song shares mode, and the mark of the target song is sent to the song with the dynamic background to be presented and shares mode pair The second terminal answered, comprising:
According to the mark of the target song and the dynamic background to be presented, the broadcasting link of the target song is generated;
Share the corresponding song of mode option according to the target and share mode, the broadcasting link of the target song is sent to The song shares the corresponding second terminal of mode.
12. the server that a kind of song is shared, which is characterized in that the server includes:
Receiving module, the sharing request of the target song for receiving first terminal transmission, wherein carried in the sharing request There is the mark of the target song;
Determining module determines the types of songs of the target song for the mark according to the target song;According to the mesh The types of songs of song, the corresponding relationship of pre-stored types of songs and dynamic background are marked, determines the song of the target song At least one corresponding dynamic background of bent type;
Sending module, for sending at least one described dynamic background to the first terminal, so that the first terminal is from institute One dynamic background of selection at least one dynamic background is stated, as dynamic background to be presented corresponding to the target song.
13. server according to claim 12, which is characterized in that the determining module is used for:
According to the mark of the target song, the audio data of the target song is obtained;
Audio data input types of songs trained in advance is determined into model, obtains the types of songs of the target song.
14. server according to claim 12, which is characterized in that the types of songs includes classical genre, popular class Type, national type, rock genre, Chinese musical telling type.
15. server according to claim 12, which is characterized in that the format of the dynamic background has graphic interchange format One of GIF format, webp format, silent video format and animation file.
16. the terminal that a kind of song is shared, which is characterized in that the terminal includes:
Receiving module, the sharing for receiving target song instruct;
Sending module, for sending the sharing request of the target song to server, wherein carried in the sharing request The mark of the target song;
Display module, for showing that song shares interface, wherein it includes that at least one shares mode that the song, which is shared in interface, Option;
The receiving module is also used to receive at least one corresponding dynamic of the target song that the server is sent and carries on the back Scape, wherein at least one described dynamic background is by the server according to the types of songs of the target song, pre-stored The corresponding relationship of types of songs and dynamic background determines;
The display module is also used to share at least one described dynamic background of display in interface in the song;
Determining module is determined as the target song for selecting a dynamic background from least one described dynamic background Dynamic background to be presented;
The sending module is also used to when the touching for receiving target sharing mode option at least one described sharing mode option When sending instructions, the corresponding song of mode option is shared according to the target and shares mode, by the mark of the target song and institute It states dynamic background to be presented and is sent to the corresponding second terminal of the song sharing mode, so that the second terminal connects in broadcasting When the target song received, it is shown the dynamic background to be presented as background when playing song.
17. terminal according to claim 16, which is characterized in that the receiving module is also used to:
Receive the preview screen at least one corresponding dynamic background of the target song that the server is sent;
The display module, is also used to:
Share the preview screen that at least one dynamic background is shown in interface in the song.
18. terminal according to claim 17, which is characterized in that the sending module is also used to:
When receiving the data acquisition triggering command of the first dynamic background at least one dynamic background, sent out to the server Send the data acquisition request of first dynamic background;
The receiving module is also used to receive the total data for first dynamic background that the server is sent;
The display module is also used to play the total data of first dynamic background.
19. terminal according to claim 17, which is characterized in that the determining module is used for:
When receiving the selection instruction of the second dynamic background at least one described dynamic background, by second dynamic background It is determined as the dynamic background to be presented of the target song.
20. terminal according to claim 16, which is characterized in that the receiving module is also used to:
It is corresponding by selection number to receive at least one described dynamic background that the server is sent;
The display module, is also used to:
Share at least one corresponding described dynamic background in interface in the song, is shown respectively by selection number.
21. terminal according to claim 16, which is characterized in that the sending module is also used to:
If it is to share to object contact person account, according to the object contact person account, by institute that the song, which shares mode, The mark and the dynamic background to be presented for stating target song are sent to the second terminal that the object contact person account is logged in;
If it is to share to public social region that the song, which shares mode, the public affairs in the terminal shared according to execution song The mark of the target song and the dynamic background to be presented are sent to display institute by the current logon account in social activity region altogether State the second terminal in the public social region of current logon account.
22. terminal according to claim 16, which is characterized in that the sending module is also used to:
According to the mark of the target song and the dynamic background to be presented, the broadcasting link of the target song is generated;
Share the corresponding song of mode option according to the target and share mode, the broadcasting link of the target song is sent to The song shares the corresponding second terminal of mode.
23. the system that a kind of song is shared, which is characterized in that the system comprises servers and terminal:
The server, the server as described in any claim in the claim 12-15;
The terminal, the terminal as described in any claim in the claim 16-22.
CN201811063144.6A 2018-09-12 2018-09-12 Song sharing method, terminal, server and system Active CN109327608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811063144.6A CN109327608B (en) 2018-09-12 2018-09-12 Song sharing method, terminal, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811063144.6A CN109327608B (en) 2018-09-12 2018-09-12 Song sharing method, terminal, server and system

Publications (2)

Publication Number Publication Date
CN109327608A true CN109327608A (en) 2019-02-12
CN109327608B CN109327608B (en) 2021-01-22

Family

ID=65265819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811063144.6A Active CN109327608B (en) 2018-09-12 2018-09-12 Song sharing method, terminal, server and system

Country Status (1)

Country Link
CN (1) CN109327608B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381356A (en) * 2019-07-19 2019-10-25 北京字节跳动网络技术有限公司 Audio-video generation method, device, electronic equipment and readable medium
CN111273832A (en) * 2020-02-27 2020-06-12 Oppo广东移动通信有限公司 Content sharing method and device, terminal and storage medium
CN111314205A (en) * 2020-01-16 2020-06-19 广州酷狗计算机科技有限公司 Instant messaging matching method, device, system, equipment and storage medium
CN112242150A (en) * 2020-09-30 2021-01-19 上海佰贝科技发展股份有限公司 Method and system for detecting stereo
CN113050857A (en) * 2021-03-26 2021-06-29 北京字节跳动网络技术有限公司 Music sharing method and device, electronic equipment and storage medium
CN114327180A (en) * 2021-12-13 2022-04-12 腾讯科技(深圳)有限公司 Audio content display method and device, electronic equipment and storage medium
WO2022253157A1 (en) * 2021-06-02 2022-12-08 北京字跳网络技术有限公司 Audio sharing method and apparatus, device, and medium
EP4124052A4 (en) * 2020-08-24 2023-10-04 Beijing Bytedance Network Technology Co., Ltd. Video production method and apparatus, and device and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070247326A1 (en) * 2006-04-05 2007-10-25 Chung-Hung Lin Multimedia video and audio wireless transmitting and receiving device
CN103559288A (en) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 Method and mobile terminal for intelligent collecting and sharing
CN103945008A (en) * 2014-05-08 2014-07-23 百度在线网络技术(北京)有限公司 Network information sharing method and device
CN104335242A (en) * 2012-06-25 2015-02-04 英特尔公司 Facilitation of concurrent consumption of media content by multiple users using superimposed animation
CN104349110A (en) * 2014-09-24 2015-02-11 招商银行股份有限公司 Terminal remote interaction method and system
US9167228B2 (en) * 2012-01-03 2015-10-20 Lawrence Maxwell Monari Instrumented sports paraphernalia system
CN106598996A (en) * 2015-10-19 2017-04-26 广州酷狗计算机科技有限公司 Multi-media poster generation method and device
CN106599208A (en) * 2016-12-15 2017-04-26 腾讯科技(深圳)有限公司 Content sharing method and user client
CN106649586A (en) * 2016-11-18 2017-05-10 腾讯音乐娱乐(深圳)有限公司 Playing method of audio files and device of audio files
CN106888154A (en) * 2017-01-06 2017-06-23 奇酷互联网络科技(深圳)有限公司 Music sharing method and system
US20170310623A1 (en) * 2016-04-26 2017-10-26 Flipboard, Inc. Identifying a content item presented by a digital magazine server in a message thread between digital magazine server users based on interaction with the content item
CN107580306A (en) * 2016-07-04 2018-01-12 中兴通讯股份有限公司 A kind of method and system to repeat multimedia news
CN108390998A (en) * 2018-01-30 2018-08-10 维沃移动通信有限公司 A kind of method and mobile terminal for sharing file

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070247326A1 (en) * 2006-04-05 2007-10-25 Chung-Hung Lin Multimedia video and audio wireless transmitting and receiving device
US9167228B2 (en) * 2012-01-03 2015-10-20 Lawrence Maxwell Monari Instrumented sports paraphernalia system
CN104335242A (en) * 2012-06-25 2015-02-04 英特尔公司 Facilitation of concurrent consumption of media content by multiple users using superimposed animation
CN103559288A (en) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 Method and mobile terminal for intelligent collecting and sharing
CN103945008A (en) * 2014-05-08 2014-07-23 百度在线网络技术(北京)有限公司 Network information sharing method and device
CN104349110A (en) * 2014-09-24 2015-02-11 招商银行股份有限公司 Terminal remote interaction method and system
CN106598996A (en) * 2015-10-19 2017-04-26 广州酷狗计算机科技有限公司 Multi-media poster generation method and device
US20170310623A1 (en) * 2016-04-26 2017-10-26 Flipboard, Inc. Identifying a content item presented by a digital magazine server in a message thread between digital magazine server users based on interaction with the content item
CN107580306A (en) * 2016-07-04 2018-01-12 中兴通讯股份有限公司 A kind of method and system to repeat multimedia news
CN106649586A (en) * 2016-11-18 2017-05-10 腾讯音乐娱乐(深圳)有限公司 Playing method of audio files and device of audio files
CN106599208A (en) * 2016-12-15 2017-04-26 腾讯科技(深圳)有限公司 Content sharing method and user client
CN106888154A (en) * 2017-01-06 2017-06-23 奇酷互联网络科技(深圳)有限公司 Music sharing method and system
CN108390998A (en) * 2018-01-30 2018-08-10 维沃移动通信有限公司 A kind of method and mobile terminal for sharing file

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381356B (en) * 2019-07-19 2022-06-07 北京字节跳动网络技术有限公司 Audio and video generation method and device, electronic equipment and readable medium
CN110381356A (en) * 2019-07-19 2019-10-25 北京字节跳动网络技术有限公司 Audio-video generation method, device, electronic equipment and readable medium
CN111314205A (en) * 2020-01-16 2020-06-19 广州酷狗计算机科技有限公司 Instant messaging matching method, device, system, equipment and storage medium
CN111314205B (en) * 2020-01-16 2023-06-27 广州酷狗计算机科技有限公司 Instant messaging matching method, device, system, equipment and storage medium
US11768694B2 (en) 2020-02-27 2023-09-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Content sharing method, device, terminal and storage medium
CN111273832A (en) * 2020-02-27 2020-06-12 Oppo广东移动通信有限公司 Content sharing method and device, terminal and storage medium
EP4124052A4 (en) * 2020-08-24 2023-10-04 Beijing Bytedance Network Technology Co., Ltd. Video production method and apparatus, and device and storage medium
CN112242150A (en) * 2020-09-30 2021-01-19 上海佰贝科技发展股份有限公司 Method and system for detecting stereo
CN112242150B (en) * 2020-09-30 2024-04-12 上海佰贝科技发展股份有限公司 Method and system for detecting stereo
CN113050857A (en) * 2021-03-26 2021-06-29 北京字节跳动网络技术有限公司 Music sharing method and device, electronic equipment and storage medium
US11914845B2 (en) 2021-03-26 2024-02-27 Beijing Bytedance Network Technology Co., Ltd. Music sharing method and apparatus, electronic device, and storage medium
WO2022253157A1 (en) * 2021-06-02 2022-12-08 北京字跳网络技术有限公司 Audio sharing method and apparatus, device, and medium
CN114327180A (en) * 2021-12-13 2022-04-12 腾讯科技(深圳)有限公司 Audio content display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109327608B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN109327608A (en) Method, terminal, server and the system that song is shared
CN110061900B (en) Message display method, device, terminal and computer readable storage medium
CN109451343A (en) Video sharing method, apparatus, terminal and storage medium
CN108401124A (en) The method and apparatus of video record
CN108848394A (en) Net cast method, apparatus, terminal and storage medium
CN109302385A (en) Multimedia resource sharing method, device and storage medium
CN109040297A (en) User's portrait generation method and device
CN109618212A (en) Information display method, device, terminal and storage medium
CN110278464A (en) The method and apparatus for showing list
CN109168073A (en) The method and apparatus that direct broadcasting room cover is shown
CN110491358A (en) Carry out method, apparatus, equipment, system and the storage medium of audio recording
CN108965757A (en) video recording method, device, terminal and storage medium
CN110418152A (en) It is broadcast live the method and device of prompt
CN109346111A (en) Data processing method, device, terminal and storage medium
CN109922356A (en) Video recommendation method, device and computer readable storage medium
CN108900925A (en) The method and apparatus of live streaming template are set
CN108922562A (en) Sing evaluation result display methods and device
CN110266982A (en) The method and system of song is provided in recorded video
CN109771955A (en) Invite request processing method, device, terminal and storage medium
CN109982129A (en) Control method for playing back, device and the storage medium of short-sighted frequency
CN109218751A (en) The method, apparatus and system of recommendation of audio
CN109525568A (en) Requesting songs method and device
CN108319712A (en) The method and apparatus for obtaining lyrics data
CN110234036A (en) A kind of method, apparatus and system playing multimedia file
CN110213624A (en) The method and apparatus of online interaction

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