CN106126661B - The display methods and device of singer's cover - Google Patents

The display methods and device of singer's cover Download PDF

Info

Publication number
CN106126661B
CN106126661B CN201610487116.1A CN201610487116A CN106126661B CN 106126661 B CN106126661 B CN 106126661B CN 201610487116 A CN201610487116 A CN 201610487116A CN 106126661 B CN106126661 B CN 106126661B
Authority
CN
China
Prior art keywords
singer
cover
photo
song
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610487116.1A
Other languages
Chinese (zh)
Other versions
CN106126661A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610487116.1A priority Critical patent/CN106126661B/en
Publication of CN106126661A publication Critical patent/CN106126661A/en
Application granted granted Critical
Publication of CN106126661B publication Critical patent/CN106126661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention is suitable for technical field of intelligent equipment, provides the display methods and device of a kind of singer's cover, and the display methods includes: to obtain the singer informations character string of song;The singer informations character string is parsed, the corresponding multiple singer's titles of the song are obtained;Obtain the corresponding singer's photo of each singer's title;Singer's photo is combined, singer's cover of the song is obtained, and shows singer's cover.The present invention solves the problems, such as the photo that the prior art can not show antiphonal singing or part song all singers;Through the embodiment of the present invention, for antiphonal singing or part song, the photo of all singers can be also shown on singer's column, improves the experience sense of user.

Description

The display methods and device of singer's cover
Technical field
The invention belongs to technical field of intelligent equipment more particularly to a kind of display methods and device of singer's cover.
Background technique
In the interaction page for supporting to check song information with singer's classification, display singer's photo can greatly improve use The experience at family.Most of in existing song files only includes album of songs big envelope, and there is no singer's photos.If desired song is shown Hand photo, for the song of solo, by using the corresponding singer's data query database of id3 information, available singer is shone Piece, and for antiphonal singing or part song, then it can not obtain and show the photo of all singers.
Summary of the invention
In consideration of it, the embodiment of the present invention provides the display methods and device of a kind of singer's cover, to solve the prior art pair In antiphonal singing or part song can not show the photo of all singers the problem of.
In a first aspect, providing a kind of display methods of singer's cover, the display methods includes:
Obtain the singer informations character string of song;
The singer informations character string is parsed, the corresponding multiple singer's titles of the song are obtained;
Obtain the corresponding singer's photo of each singer's title;
Singer's photo is combined, singer's cover of the song is obtained, and shows singer's cover.
Second aspect, provides a kind of display device of singer's cover, and the display device includes:
First obtains module, for obtaining the singer informations character string of song;
Parsing module obtains the corresponding multiple singer's titles of the song for parsing the singer informations character string;
Second obtains module, for obtaining the corresponding singer's photo of each singer's title;
Display module obtains singer's cover of the song, and show singer's envelope for combining singer's photo Face.
Compared with prior art, the singer informations character string that the embodiment of the present invention passes through acquisition song;Parse the singer Information character string obtains the corresponding multiple singer's titles of the song;Then it is directed to each singer's title, obtains corresponding song Hand photo;Singer's photo is combined, singer's cover of the song is obtained, and shows singer's cover.To solve The problem of prior art can not show the photo of all singers for antiphonal singing or part song;Through the embodiment of the present invention, For antiphonal singing or part song, the photo of all singers can be also shown on singer's column, improves the experience of user Sense.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other accompanying drawings can also be obtained according to these attached drawings.
Fig. 1 is the implementation flow chart of the display methods of singer's cover provided in an embodiment of the present invention;
Fig. 2 is the implementation flow chart of step S102 in the display methods of singer's cover provided in an embodiment of the present invention;
Fig. 3 is the implementation flow chart of step S103 in the display methods of singer's cover provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides singer's cover display methods implementation flow chart;
Fig. 5 is the composite structural diagram of the display device of singer's cover provided in an embodiment of the present invention;
Fig. 6 is the composite structural diagram of smart machine provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The singer informations character string that the embodiment of the present invention passes through acquisition song;The singer informations character string is parsed, is obtained The corresponding multiple singer's titles of the song;Then it is directed to each singer's title, obtains corresponding singer's photo;Described in combination Singer's photo obtains singer's cover of the song, and shows singer's cover.To solve the prior art for antiphonal singing Or part song can not show the problem of photo of all singers;Through the embodiment of the present invention, for antiphonal singing or chorus Song can also show the photo of all singers on singer's column, improve the experience sense of user.The embodiment of the present invention is also Corresponding device is provided, which will be described in detail below.
Fig. 1 shows the implementation process of the display methods of singer's cover provided in an embodiment of the present invention.
In embodiments of the present invention, the display methods of singer's cover is applied to smart machine, the smart machine packet Include but be not limited to smart phone, smartwatch, tablet computer, computer, music player etc..It is provided on the smart machine Music application software can play song and show the relevant information of song.
Refering to fig. 1, the display methods includes:
In step s101, the singer informations character string of song is obtained.
Herein, smart machine can obtain the corresponding singer informations character string S of song from the id3 information of song.
In step s 102, the singer informations character string is parsed, the corresponding multiple singer's titles of the song are obtained.
When song is sung jointly by multiple singers, all singers will be included in corresponding singer informations character string S Title, the prior art are connected all singer's titles by way of specified list separator.Therefore, as the present invention A preferable example, the embodiment of the present invention divides the singer by the list separator in identification singer informations character string S Information character string S, to obtain all singer's titles for including in singer informations character string S.Fig. 2 shows the embodiment of the present invention to mention The implementation process of step S102 in the display methods of singer's cover of confession.
Referring to Fig.2, step S102 includes:
In step s 201, singer's name list is initialized, obtains the total length N of the singer informations character string, and set Seated position pointer Y is 0.
Herein, singer's name list is the list of the interim singer's title for saving song.The position indicator pointer Y is used In the character that judges every time of instruction, wherein Y is integer, and 0≤Y < N.
In step S202, when position indicator pointer Y is less than N, whether the character for judging that position indicator pointer Y is directed toward is separator Number.
Herein, the list separator include but is not limited to ", ", "/", " ", "-", " _ ", " & ", " | " etc..For singer Information character string S, the embodiment of the present invention, according to the position indicator pointer Y, successively judge the word on each position since first place Whether symbol is list separator.
If the character that position indicator pointer Y is directed toward is list separator, S204 is thened follow the steps;Otherwise, if position indicator pointer Y is directed toward Character when not being list separator, execute step S203.
In step S203, position indicator pointer Y is added 1.Return step S202.Whether to judge the character on next position For list separator.
In step S204, using first place to the character that the position indicator pointer Y is directed toward as singer's title, save to institute It states in singer's name list.
Herein, when the character that position indicator pointer Y is directed toward is list separator, then the singer is believed according to position indicator pointer Y Breath character string is divided into two sections.Wherein, the character that the position indicator pointer Y is directed toward is forward first segment, institute's rheme to the first character Being worth the character that pointer Y is directed toward is backward second segment to last character in the singer informations character string, is denoted as residue here Singer informations character string.The character that the first segment that the embodiment of the present invention will be divided, i.e. the position indicator pointer Y are directed toward is forward extremely The first character of the singer informations character string is saved as singer's title into singer's name list.
In step S205, it sets total length N to the total length of remaining singer informations character string, and by position indicator pointer Y resets to 0, continues to judge whether the character in remaining singer informations character string is list separator according to the position indicator pointer Y. Return step S202.
After saving singer's title into singer's name list, then to second segment, i.e., remaining singer informations character String, continues the identification of list separator.Wherein, the total length N of singer informations character string resets to the overall length of the second segment N-Y, i.e. N=N-Y are spent, the position indicator pointer Y resets to 0, and return step S202, remains according to the position indicator pointer Y from described The first character of remaining singer informations character string starts to identify list separator, to obtain next singer's title.
The embodiment of the present invention through the above steps, realizes the division to singer's information character string and obtains singer's name Claim, and then counts the title of all singers of song.
After completing to character recognition on all positions in singer's information character string, i.e. position indicator pointer Y be greater than or When equal to N, S103 is thened follow the steps.
In step s 103, the corresponding singer's photo of each singer's title is obtained.
Herein, the embodiment of the present invention is searched from singer's database according to the singer's title recorded in singer's name list Rope matches corresponding singer's photo.Illustratively, Fig. 3 is shown in the display methods of singer's cover provided in an embodiment of the present invention The specific implementation flow of step S103.
Refering to Fig. 3, the step S103 includes:
In step S301, the number of the singer's title saved in singer's name list is obtained.
The embodiment of the present invention takes the data in singer's name list, judges the singer saved in singer's name list name The number of title.
In step s 302, it if the number is 0, is looked into from presetting database according to the singer informations character string Corresponding singer's photo is looked for and obtained, and records the singer's number of pictures got.
Herein, it if the sum of singer's title is 0, i.e., can not be identified from singer informations character string by step S102 List separator divides singer's title, then directly using singer informations character string as singer's title, from presetting database Search corresponding singer's photo.
In step S303, if the number is not 0, searched from presetting database according to each singer's title And corresponding singer's photo is obtained, and record the singer's number of pictures got.
Herein, if the sum of singer's title is not 0, initializing singer's number of pictures is 0, and from singer's name list First singer's title of middle selection, searches corresponding singer's photo according to singer's title from presetting database.If searching To corresponding singer's photo, then singer's number of pictures is added 1, next singer's title is chosen from singer's name list and is looked into It looks for, until traversing all singer's titles in singer's name list.
In step S104, singer's photo is combined, obtains singer's cover of the song, and shows singer's envelope Face.
The embodiment of the present invention first determines whether the singer's number of pictures got before the acquired singer's photo of combination.If When singer's number of pictures is 1, then using acquired singer's photo as singer's cover, and singer's cover is shown.If obtaining When the singer's number of pictures arrived is greater than 1, then acquired singer's photo is spliced, obtains singer's cover of the song, And show singer's cover.Illustratively, the mode of splicing can be spelled in a manner of grid according to singer's number of pictures It connects, for example when the quantity of singer's photo is 4, can be spliced in the way of 2*2 grid.Certainly, the side of above-mentioned splicing Formula is only that a preferable example of the invention can also be spliced otherwise, not done herein in other embodiments Limitation.
Fig. 4 show another embodiment of the present invention provides singer's cover display methods implementation process.
Refering to Fig. 4, the display methods includes:
In step S401, the singer informations character string of song is obtained.
In step S402, singer's name list is initialized, obtains the total length N of the singer informations character string, and set Seated position pointer Y is 0.
In step S403, when position indicator pointer Y is less than N, whether the character for judging that position indicator pointer Y is directed toward is separator Number.
If it is not, thening follow the steps S404;If so, thening follow the steps S405.
In step s 404, position indicator pointer Y is added 1.Return step S403, whether to judge the character on next position For list separator.
In step S405, using first place to the character that the position indicator pointer Y is directed toward as singer's title, save to institute It states in singer's name list.
In step S406, it sets total length N to the total length of remaining singer informations character string, and by position indicator pointer Y resets to 0, continues to judge whether the character in remaining singer informations character string is list separator according to the position indicator pointer Y. Return step S403.
If position indicator pointer Y is greater than or equal to N, S407 is thened follow the steps.
In step S 407, the number of the singer's title saved in singer's name list is obtained.
In step S408, if the number is 0, looked into from presetting database according to the singer informations character string Corresponding singer's photo is looked for and obtained, and records the singer's number of pictures got.Go to step S410.
In step S409, if the number is not 0, searched from presetting database according to each singer's title And corresponding singer's photo is obtained, and record the singer's number of pictures got.
In step S410, when the singer's number of pictures got is 1, then using acquired singer's photo as singer Cover shows singer's cover.
In step S411, when the singer's number of pictures got is greater than 1, then acquired singer's photo is spelled It connects, obtains singer's cover of the song, show singer's cover.
In conclusion singer informations character string of the embodiment of the present invention by acquisition song;Parse the singer informations word Symbol string, obtains the corresponding multiple singer's titles of the song;Then it is directed to each singer's title, corresponding singer is obtained and shines Piece;Singer's photo is combined, singer's cover of the song is obtained, and shows singer's cover.It is existing to solve The problem of technology can not show the photo of all singers for antiphonal singing or part song;Through the embodiment of the present invention, for Antiphonal singing or part song can also show the photo of all singers on singer's column, improve the experience sense of user.
Fig. 5 shows the composed structure of the display device of singer's cover provided in an embodiment of the present invention, for ease of description, Only parts related to embodiments of the present invention are shown.
In embodiments of the present invention, the display device of singer's cover is for realizing above-mentioned Fig. 1 to Fig. 4 any embodiment Described in singer's cover display methods, can be the software unit, hardware cell or software and hardware for being built in smart machine In conjunction with unit.The smart machine includes but is not limited to smart phone, smartwatch, tablet computer, computer, music Device etc..It is provided with music application software on the smart machine, song can be played and shows the relevant information of song.
Refering to Fig. 5, the display device of singer's cover includes:
First obtains module 51, for obtaining the singer informations character string of song;
Parsing module 52 obtains the corresponding multiple singer's titles of the song for parsing the singer informations character string;
Second obtains module 53, for obtaining the corresponding singer's photo of each singer's title;
Display module 54 obtains singer's cover of the song, and show the singer for combining singer's photo Cover.
Further, the parsing module 52 includes:
Initialization unit 521 obtains the total length N of the singer informations character string for initializing singer's name list, And it is 0 that position indicator pointer Y, which is arranged,;
Judging unit 522, for when position indicator pointer Y is less than N, whether the character for judging that position indicator pointer Y is directed toward to be separation Symbol, if it is not, position indicator pointer Y is then added 1, to judge whether the character on next position is list separator;
Storage unit 523 is when being, to be directed toward with first place to the position indicator pointer Y for the judging result in judging unit Character as singer's title, save into singer's name list;
Reset cell 524, for setting total length N to the total length of remaining singer informations character string, and by position Pointer Y resets to 0, continues to judge whether the character in remaining singer informations character string is separation according to the position indicator pointer Y Symbol.
Herein, singer's name list is the list of the interim singer's title for saving song.The position indicator pointer Y is used In the character that judges every time of instruction, wherein Y is integer, and 0≤Y < N.
The list separator include but is not limited to ", ", "/", " ", "-", " _ ", " & ", " | " etc..For singer informations word Symbol string S, the judging unit 525, according to the position indicator pointer Y, successively judge on each position since the first character Whether character is list separator.When the character that position indicator pointer Y is directed toward is list separator, then according to position indicator pointer Y by the song Hand information character string is divided into two sections.Wherein, the character that the position indicator pointer Y is directed toward is forward first segment, institute to the first character The character that rheme value pointer Y is directed toward is backward second segment to last character in the singer informations character string, is denoted as here Remaining singer informations character string.The character that the first segment that the embodiment of the present invention will be divided, i.e. the position indicator pointer Y are directed toward to Preceding to the first character is saved as singer's title into singer's name list.It saves by singer's title to singer After in name list, then to second segment, i.e., remaining singer informations character string continues the identification of list separator.Wherein, The total length N of singer informations character string resets to the total length N-Y of the second segment, i.e. N=N-Y, the position indicator pointer Y resetting It is 0, to identify list separator since the first character of the remaining singer informations character string according to the position indicator pointer Y, Obtain next singer's title.
Further, the second acquisition module 53 includes:
Acquiring unit 531, for obtaining the number of the singer's title saved in singer's name list;
First searching unit 532, if be 0 for the number, according to the singer informations character string from present count According to searching and obtain corresponding singer's photo in library, and record the singer's number of pictures got;
Second searching unit 533, if be not 0 for the number, according to each singer's title from preset data Corresponding singer's photo is searched and obtained in library, and records the singer's number of pictures got.
Herein, if the sum of singer's title is not 0, initializing singer's number of pictures is 0, and from singer's name list First singer's title of middle selection, searches corresponding singer's photo according to singer's title from presetting database.If searching To corresponding singer's photo, then singer's number of pictures is added 1, next singer's title is chosen from singer's name list and is looked into It looks for, until traversing all singer's titles in singer's name list.
Further, the display module 54 includes:
First display unit 541, for when the singer's number of pictures got be 1 when, then with acquired singer's photo As singer's cover, singer's cover is shown.
Further, the display module 54 further include:
Second display unit 542, for when the singer's number of pictures got is greater than 1, then shining acquired singer Piece is spliced, and singer's cover of the song is obtained, and shows singer's cover.
It should be noted that the device in the embodiment of the present invention can be used to implement whole skills in above method embodiment The function of art scheme, each functional module can be implemented according to the method in above method embodiment, specific implementation Process can refer to the associated description in examples detailed above, and details are not described herein again.
Fig. 6 shows a kind of structural block diagram of smart machine, which can be used for implementing mentioning in above-described embodiment The display methods of singer's cover of confession.
As shown in fig. 6, smart machine 1200 may include RF (Radio Frequency, radio frequency) circuit 110, include The memory 120 of one or more (one is only shown in figure) computer readable storage mediums, input unit 130, display Unit 140, voicefrequency circuit 160, transmission module 170, includes one or more than one and (only shows one in figure sensor 150 It is a) processor 180 of processing core and the equal components of power supply 190.It will be understood by those skilled in the art that intelligence shown in Fig. 6 Energy 1200 structure of equipment does not constitute the restriction to smart machine 1200, may include components more more or fewer than diagram, or Person combines certain components or different component layouts.Wherein:
RF circuit 110 realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical for receiving and transmitting electromagnetic wave News network or other equipment are communicated.RF circuit 110 may include various existing for executing the circuit elements of these functions Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage Device etc..RF circuit 110 can carry out communicating or by wireless with various networks such as internet, intranet, wireless network Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN). Various communication standards, agreement and technology, including but not limited to global system for mobile communications can be used in above-mentioned wireless network (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code division multiple Access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time division multiple access technology (time Division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as U.S.'s electricity Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), The networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other are for mail, instant messaging and short message Agreement and any other suitable communications protocol, or even may include the agreement that those are not developed currently yet.
Memory 120 can be used for storing software program and module, as singer's cover in above-described embodiment display methods/ Corresponding program instruction/the module of device, the software program and module that processor 180 is stored in memory 120 by operation, Thereby executing various function application and data processing, that is, realizes and singer's name is divided to singer's information character string according to list separator Claim and corresponding singer's photo searched according to singer's title, combination singer's photo obtain singer's cover function or other Function.Memory 120 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetism Storage device, flash memory or other non-volatile solid state memories.In some instances, memory 120 can further comprise phase The memory remotely located for processor 180, these remote memories can pass through network connection to smart machine 1200.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and smart machine that are supplied to user 1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof To constitute.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it On or near touch operation after, send processor 180 to determine the type of touch event, be followed by subsequent processing device 180 according to touching The type for touching event provides corresponding visual output on display panel 141.Although in Fig. 6, touch sensitive surface 131 and display surface Plate 141 is to realize input and input function as two independent components, but in some embodiments it is possible to by touch-sensitive table Face 131 and display panel 141 integrate and realize and output and input function.
Smart machine 1200 may also include at least one sensor 150, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when smart machine 1200 is moved in one's ear, Close display panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used for detecting tilt angle when static, And application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), the Vibration identification correlation function of identification mobile phone posture Energy (such as pedometer, percussion) etc.;The gyroscope that can also configure as smart machine 1200, barometer, hygrometer, thermometer, The other sensors such as infrared sensor, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, the audio that microphone 162 can provide between user and smart machine 1200 connect Mouthful.Electric signal after the audio data received conversion can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160 Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit 160 receive after be converted to audio data, then by after the processing of audio data output processor 180, through RF circuit 110 to be sent to ratio Such as another terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone Yu smart machine 1200.
Smart machine 1200 can help user send and receive e-mail, is clear by transmission module 170 (such as WiFi module) Look at webpage and access streaming video etc., it provides wireless broadband internet for user and accesses.Although Fig. 6 shows transmission mould Block 170, but it is understood that, and it is not belonging to must be configured into for smart machine 1200, it is can according to need completely not Change in the range of the essence of invention and omits.
Processor 180 is the control centre of smart machine 1200, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in memory 120, and calls and is stored in storage Data in device 120 execute the various functions and processing data of smart machine 1200, to carry out integral monitoring to mobile phone.It can Choosing, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Smart machine 1200 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can lead to Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or AC power source, recharging system, electricity The random components such as source fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, smart machine 1200 can also include camera, bluetooth module etc., and details are not described herein.Specifically In the present embodiment, the display unit of smart machine is touch-screen display, and smart machine further includes having memory and one Perhaps more than one program one of them or more than one program is stored in memory, and be configured to by one or The execution of more than one processor of person states one or more than one program includes the instruction for performing the following operation:
Obtain the singer informations character string of song;
The singer informations character string is parsed, the corresponding multiple singer's titles of the song are obtained;
Obtain the corresponding singer's photo of each singer's title;
Singer's photo is combined, singer's cover of the song is obtained, and shows singer's cover.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the smart machine, also include instructions for performing the following operations:
The parsing singer informations character string, obtaining the corresponding multiple singer's titles of the song includes:
Singer's name list is initialized, obtains the total length N of the singer informations character string, and position indicator pointer Y is set and is 0;
When position indicator pointer Y is less than N, whether the character for judging that position indicator pointer Y is directed toward is list separator;
If it is not, position indicator pointer Y is then added 1, to judge whether character late is list separator;
If so, being saved using first place to the character that the position indicator pointer Y is directed toward as singer's title to the singer In name list;
It sets total length N to the total length of remaining singer informations character string, and position indicator pointer Y is reset to 0, continue Judge whether the character in remaining singer informations character string is list separator according to the position indicator pointer Y.
In the third the possible embodiment provided based on second of possible embodiment, the intelligence Also include instructions for performing the following operations in the memory of equipment:
The corresponding singer's photo of described each singer's title of acquisition includes:
Obtain the number of the singer's title saved in singer's name list;
If the number is 0, is searched from presetting database according to the singer informations character string and obtain correspondence Singer's photo, and record singer's number of pictures for getting;
If the number is not 0, searches and obtain corresponding from presetting database according to each singer's title Singer's photo, and record the singer's number of pictures got.
In the 4th kind of possible embodiment provided based on the third possible embodiment, the intelligence Also include instructions for performing the following operations in the memory of equipment:
Combination singer's photo, obtains singer's cover of the song, and show that singer's cover includes:
When the singer's number of pictures got is 1, then using acquired singer's photo as singer's cover, described in display Singer's cover.
In the 5th kind of possible embodiment provided based on the third possible embodiment, the intelligence Also include instructions for performing the following operations in the memory of equipment:
When the singer's number of pictures got is greater than 1, then acquired singer's photo is spliced, obtain the song Bent singer's cover, shows singer's cover.
In conclusion singer informations character string of the embodiment of the present invention by acquisition song;Parse the singer informations word Symbol string, obtains the corresponding multiple singer's titles of the song;Then it is directed to each singer's title, corresponding singer is obtained and shines Piece;Singer's photo is combined, singer's cover of the song is obtained, and shows singer's cover.It is existing to solve The problem of technology can not show the photo of all singers for antiphonal singing or part song;Through the embodiment of the present invention, for Antiphonal singing or part song can also show the photo of all singers on singer's column, improve the experience sense of user.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that the display methods of disclosed singer's cover and Device may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, institute The division of module, unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device Or the indirect coupling or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention, module can integrate in one processing unit, Can be each unit, module physically exists alone, can also be integrated in one unit with two or more units, module In.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. a kind of display methods of singer's cover, which is characterized in that the display methods includes:
Obtain the singer informations character string of song;Wherein, the singer informations character string is by way of list separator by institute Some singer's titles connect;
The singer informations character string is parsed, the corresponding multiple singer's titles of the song is obtained, specifically includes: initialization singer Name list, obtains the total length N of the singer informations character string, and it is 0 that position indicator pointer Y, which is arranged,;When position indicator pointer Y is less than N When, whether the character for judging that position indicator pointer Y is directed toward is list separator;If it is not, position indicator pointer Y is then added 1, to judge next word Whether symbol is list separator;If so, being saved using first place to the character that the position indicator pointer Y is directed toward as singer's title To in singer's name list;Set total length N to the total length of remaining singer informations character string, and by position indicator pointer Y resets to 0, continues to judge whether the character in remaining singer informations character string is list separator according to the position indicator pointer Y;
Obtain the corresponding singer's photo of each singer's title;
Singer's photo is combined, singer's cover of the song is obtained, and shows singer's cover.
2. the display methods of singer's cover as described in claim 1, which is characterized in that described each singer's title pair of acquisition The singer's photo answered includes:
Obtain the number of the singer's title saved in singer's name list;
If the number is 0, is searched from presetting database according to the singer informations character string and obtain corresponding song Hand photo, and record the singer's number of pictures got;
If the number is not 0, is searched from presetting database according to each singer's title and obtain corresponding singer Photo, and record the singer's number of pictures got.
3. the display methods of singer's cover as claimed in claim 2, which is characterized in that combination singer's photo obtains To singer's cover of the song, and show that singer's cover includes:
When the singer's number of pictures got is 1, then using acquired singer's photo as singer's cover, the singer is shown Cover.
4. the display methods of singer's cover as claimed in claim 2, which is characterized in that combination singer's photo obtains To singer's cover of the song, and show that singer's cover includes:
When the singer's number of pictures got is greater than 1, then acquired singer's photo is spliced, obtain the song Singer's cover shows singer's cover.
5. a kind of display device of singer's cover, which is characterized in that the display device includes:
First obtains module, for obtaining the singer informations character string of song;Wherein, the singer informations character string is by dividing All singer's titles are connected every the mode of symbol;
Parsing module obtains the corresponding multiple singer's titles of the song for parsing the singer informations character string;
Second obtains module, for obtaining the corresponding singer's photo of each singer's title;
Display module obtains singer's cover of the song, and show singer's cover for combining singer's photo;
The parsing module includes:
Initialization unit obtains the total length N of the singer informations character string, and be arranged for initializing singer's name list Position indicator pointer Y is 0;
Judging unit, for when position indicator pointer Y is less than N, whether the character for judging that position indicator pointer Y is directed toward to be list separator;If It is no, then position indicator pointer Y is added 1, to judge whether character late is list separator;
Storage unit is to be made when being with the character that first place to the position indicator pointer Y is directed toward for the judging result in judging unit For singer's title, save into singer's name list;
Reset cell, for setting total length N to the total length of remaining singer informations character string, and position indicator pointer Y is heavy It is set to 0, continues to judge whether the character in remaining singer informations character string is list separator according to the position indicator pointer Y.
6. the display device of singer's cover as claimed in claim 5, which is characterized in that described second, which obtains module, includes:
Acquiring unit, for obtaining the number of the singer's title saved in singer's name list;
First searching unit is looked into from presetting database if be 0 for the number according to the singer informations character string Corresponding singer's photo is looked for and obtained, and records the singer's number of pictures got;
Second searching unit is searched from presetting database if be not 0 for the number according to each singer's title And corresponding singer's photo is obtained, and record the singer's number of pictures got.
7. the display device of singer's cover as claimed in claim 6, which is characterized in that the display module includes:
First display unit, for when the singer's number of pictures got be 1 when, then using acquired singer's photo as singer Cover shows singer's cover.
8. the display device of singer's cover as claimed in claim 6, which is characterized in that the display module further include:
Second display unit, for when the singer's number of pictures got is greater than 1, then spelling acquired singer's photo It connects, obtains singer's cover of the song, show singer's cover.
CN201610487116.1A 2016-06-24 2016-06-24 The display methods and device of singer's cover Active CN106126661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610487116.1A CN106126661B (en) 2016-06-24 2016-06-24 The display methods and device of singer's cover

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610487116.1A CN106126661B (en) 2016-06-24 2016-06-24 The display methods and device of singer's cover

Publications (2)

Publication Number Publication Date
CN106126661A CN106126661A (en) 2016-11-16
CN106126661B true CN106126661B (en) 2019-05-21

Family

ID=57266853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610487116.1A Active CN106126661B (en) 2016-06-24 2016-06-24 The display methods and device of singer's cover

Country Status (1)

Country Link
CN (1) CN106126661B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597424A (en) * 2019-08-01 2019-12-20 北京悉见科技有限公司 Method, device and storage medium for picture display

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055845A (en) * 2010-11-30 2011-05-11 深圳市五巨科技有限公司 Mobile communication terminal and picture switching method of music player thereof
CN102065174A (en) * 2010-09-29 2011-05-18 深圳市五巨科技有限公司 Method and system for pushing multimedia resources of mobile terminal
CN102497448A (en) * 2011-12-26 2012-06-13 深圳市五巨科技有限公司 Method and system for playing on-line music at mobile terminal
CN104021152A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Picture display method and device based on audio file playing
CN105243093A (en) * 2015-09-11 2016-01-13 福建星网视易信息***有限公司 Singer recommendation method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065174A (en) * 2010-09-29 2011-05-18 深圳市五巨科技有限公司 Method and system for pushing multimedia resources of mobile terminal
CN102055845A (en) * 2010-11-30 2011-05-11 深圳市五巨科技有限公司 Mobile communication terminal and picture switching method of music player thereof
CN102497448A (en) * 2011-12-26 2012-06-13 深圳市五巨科技有限公司 Method and system for playing on-line music at mobile terminal
CN104021152A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Picture display method and device based on audio file playing
CN105243093A (en) * 2015-09-11 2016-01-13 福建星网视易信息***有限公司 Singer recommendation method and apparatus

Also Published As

Publication number Publication date
CN106126661A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN104965641B (en) information display method and device
CN106778117B (en) Permission open method, apparatus and system
US20150019764A1 (en) Information displaying method, mobile terminal device and non-transitory computer readable storage medium
CN104281600B (en) The method and apparatus of Intelligent Selection word
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN107092520A (en) Recommendation method, device, storage medium and the mobile terminal of application program
CN106484326B (en) A kind of data transmission processing method and mobile terminal
CN104516624B (en) A kind of method and device inputting account information
CN106940997A (en) A kind of method and apparatus that voice signal is sent to speech recognition system
CN104346368A (en) Indoor scene switch displaying method and device and mobile terminal
CN103491421B (en) Content displaying method, device and intelligent television
CN105162930B (en) The way of recording and device of mobile terminal
CN105357657B (en) The construction method and device of Mesh network
CN107145386A (en) Data migration method, terminal device and computer-readable recording medium
CN107885718A (en) Semanteme determines method and device
CN109543014A (en) Interactive method, device, terminal and server
CN106375182B (en) Voice communication method and device based on instant messaging application
CN104063400A (en) Data search method and data search device
CN104424324B (en) The method and device of locating list item in list element
CN104424203A (en) Method and system for viewing photo sharing state in mobile device
CN109728918A (en) Virtual objects sending method, virtual objects method of reseptance, device and storage medium
CN106126661B (en) The display methods and device of singer&#39;s cover
CN104216935B (en) The method and terminal of a kind of ff
CN103617036B (en) A kind of method, apparatus and terminal device for showing plug-in unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523841 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant