CN105160030B - Method and device for transmitting media cache files on mobile terminal - Google Patents

Method and device for transmitting media cache files on mobile terminal Download PDF

Info

Publication number
CN105160030B
CN105160030B CN201510641651.3A CN201510641651A CN105160030B CN 105160030 B CN105160030 B CN 105160030B CN 201510641651 A CN201510641651 A CN 201510641651A CN 105160030 B CN105160030 B CN 105160030B
Authority
CN
China
Prior art keywords
file
media buffer
buffer file
media
specified application
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
CN201510641651.3A
Other languages
Chinese (zh)
Other versions
CN105160030A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510641651.3A priority Critical patent/CN105160030B/en
Publication of CN105160030A publication Critical patent/CN105160030A/en
Application granted granted Critical
Publication of CN105160030B publication Critical patent/CN105160030B/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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Abstract

The invention provides a method and a device for transmitting a media cache file on a mobile terminal. Wherein, the method comprises the following steps: acquiring a media cache file of a designated application program in the mobile terminal, and acquiring a file extension of the media cache file; acquiring label information of a media cache file from a database of online play records of a specified application program; receiving a transmission request for transmitting a media cache file to a target terminal; and transmitting the media cache file, the file extension of the media cache file and the label information to the target terminal so that the target terminal plays the media cache file according to the received media cache file, the file extension and the label information. The method for transmitting the media cache file on the mobile terminal of the embodiment transmits the media cache file, reduces the trouble of repeatedly downloading media resources by users, reduces flow consumption, facilitates the transmission of the media cache file among the users, and improves the experience of the users.

Description

The transfer approach and device of media buffer file on mobile terminal
Technical field
The present invention relates to a kind of senders of the media buffer file in Internet technical field more particularly to mobile terminal Method and device.
Background technique
With the continuous development of mobile internet era, the function of mobile terminal such as smart phone the next powerful, user The application program of various functions can be installed in the terminal according to demand, mobile terminal has become people's life and work A part.
Currently, on the smart phone based on Android (Android) system, if user installs KuGoo in smart phone The online broadcast message class application program such as music, Tencent's video, youku.com, it is corresponding during user listens song online or sees video Online broadcast message class application program the media content of song or video can be listened to cache to specific file online user.If with Family accesses corresponding media resource again, and whether corresponding online broadcast message class application program can search under oneself cache path and wrap Media buffer file containing corresponding media resource, if there is the media buffer file of the media resource, then without weighing from network It is newly downloaded, but directly recalled from caching, to improve the access speed of media resource.
However, the path for the media buffer file that different application saves and file format difference, media buffer file Name generally saves as the filename of random digit or letter, and the media buffer file of some application programs does not have file extension, The media buffer file of some application programs has file extension, but its usual file extension is also not the media file of standard Format.For there is the media buffer file of file extension, sender can send recipient to by file transfer conveyance, due to Recipient is fitted without the application program for playing cache file, and often occurring can not the feelings of file that receives of normal play Condition.In order to enable the file received can play, recipient attempts modification and extends entitled common media file format, such as .mp3 .mp4 etc., reuses that music, verify whether can be with normal play for video player application opening.Usually use After file extent is modified at family, and the case where corresponding file still cannot play.For the media buffer text of no file extension Part leads to not transmit and play matchmaker since existing file transfer conveyance can not identify that media buffer file is media file Body cache file, as a result, can not transmit media buffer file between terminal user, user also needs consumption of network resources from net It is upper to obtain corresponding media resource.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention First purpose is to propose a kind of transfer approach of the media buffer file on mobile terminal, this method complete originally not by The transmission for the media file that system is directly supported reduces the trouble of user's repeated downloads media resource, reduces flow consumption, Transmission media buffer file between user is facilitated, the Experience Degree of user is improved.
Second object of the present invention is to propose a kind of transmission device of the media buffer file on mobile terminal.
To achieve the above object, first aspect present invention embodiment proposes the media buffer file on a kind of mobile terminal Transfer approach, including:The media buffer file of specified application in mobile terminal is obtained, and obtains the media buffer text The file extension of part;The media buffer file is obtained from the online database for playing record of the specified application Label information;Receive the transmission request that the media buffer file is transmitted to target terminal;It is requested according to the transmission, it will be described Media buffer file, the file extension of the media buffer file and label information send target terminal to, so that the mesh Mark terminal plays the media buffer file according to the media buffer file, file extension and label information received.
Optionally, the media buffer file for obtaining specified application in mobile terminal, specifically includes:According to described The identification information of specified application obtains corresponding first preset configuration rule of the specified application, wherein described the The text of identification information, cache path information and media buffer file in one preset configuration rule comprising the specified application The corresponding relationship of part extension name;The cache path of the specified application is obtained according to first preset configuration rule, and The media buffer file is obtained under the cache path.
Optionally, the file extension for obtaining the media buffer file, specifically includes:According to the identification information The file extension of the media buffer file is obtained from first preset configuration rule.
Optionally, the media buffer is obtained in the online database for playing record from the specified application The label information of file, specifically includes:The specified application pair is obtained according to the identification information of the specified application The second preset configuration rule answered;It is obtained from the online database for playing record according to second preset configuration rule The label information of the media buffer file, wherein second preset configuration rule include the specified application Line plays the inquiry address of the database of record and the database of the label information of the inquiry media buffer file executes sentence.
Wherein, the label information of the media buffer file is the song title and/or singer's name of the media buffer file, Or the video name for the media buffer file.
The transfer approach of media buffer file on mobile terminal according to an embodiment of the present invention obtains mobile terminal middle finger Determine the media buffer file of application program, and obtain the file extension of media buffer file, then from specified application The online database for playing record obtains the label information of media buffer file, receives to target terminal and transmits media buffer file Transmission request, and according to transmission request, by media buffer file, the file extension and label information of media buffer file Target terminal is sent to, so that target terminal is played according to the media buffer file, file extension and label information received Media buffer file.The transmission for completing the media file that do not supported directly by system originally as a result, reduces under user's repetition The trouble for carrying media resource reduces flow consumption, facilitates transmission media buffer file between user, improves the body of user Degree of testing.
To achieve the above object, second aspect of the present invention embodiment proposes the media buffer file on a kind of mobile terminal Transmission device, including:First obtains module, for obtaining the media buffer file of specified application in mobile terminal, and Obtain the file extension of the media buffer file;Second obtains module, for broadcasting online from the specified application The database for putting record obtains the label information of the media buffer file;Receiving module is transmitted for receiving to target terminal The transmission of the media buffer file is requested;Delivery module, for according to the transmission request, by the media buffer file, The file extension and label information of the media buffer file send target terminal to, so that the target terminal is according to reception Media buffer file, file extension and the label information arrived plays the media buffer file.
Optionally, described first module is obtained, be specifically used for:Institute is obtained according to the identification information of the specified application State corresponding first preset configuration rule of specified application, wherein comprising described specified in first preset configuration rule The corresponding relationship of the file extension of the identification information of application program, cache path information and media buffer file;According to described First preset configuration rule obtains the cache path of the specified application, and the media are obtained under the cache path Cache file.
Optionally, described first module is obtained, be specifically used for:It is advised according to the identification information from first preset configuration The file extension of the media buffer file is obtained in then.
Optionally, described second module is obtained, be specifically used for:Institute is obtained according to the identification information of the specified application Corresponding second preset configuration rule of specified application is stated, and is broadcast online according to second preset configuration rule from described Put the label information that the media buffer file is obtained in the database of record, wherein second preset configuration rule includes The inquiry address of the online database for playing record of the specified application and the label for inquiring the media buffer file The database of information executes sentence.
Wherein, the label information of the media buffer file is the song title and/or singer's name of the media buffer file, Or the video name for the media buffer file.
The transmission device of media buffer file on mobile terminal according to an embodiment of the present invention obtains module by first The media buffer file of specified application in mobile terminal is obtained, and obtains the file extension of media buffer file, then Second obtains the label information that module obtains media buffer file from the online database for playing record of specified application, and Receiving module receive to target terminal transmission media buffer file transmission request and delivery module according to transmission request, will Media buffer file, the file extension of media buffer file and label information send target terminal to, so that target terminal root Media buffer file is played according to the media buffer file, file extension and label information received.It completes as a result, originally not The transmission for the media file directly supported by system reduces the trouble of user's repeated downloads media resource, reduces flow and disappears Consumption facilitates transmission media buffer file between user, improves the Experience Degree of user.
Detailed description of the invention
Fig. 1 is the process of the transfer approach of the media buffer file on mobile terminal according to an embodiment of the invention Figure.
Fig. 2 is the process of the transfer approach of the media buffer file on mobile terminal in accordance with another embodiment of the present invention Figure.
Fig. 3 is that the structure of the transmission device of the media buffer file on mobile terminal according to an embodiment of the invention is shown It is intended to.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the transfer approach and dress of media buffer file on the mobile terminal of the embodiment of the present invention are described It sets.
Fig. 1 is the process of the transfer approach of the media buffer file on mobile terminal according to an embodiment of the invention Figure.
As shown in Figure 1, this method includes:
S101, obtains the media buffer file of specified application in mobile terminal, and obtains the text of media buffer file Part extension name.
Specifically, the identification information of specified application can be obtained, and specified application pair is obtained according to identification information The first preset configuration rule answered, and according to the cache path of the first preset configuration rule acquisition specified application, and from Media buffer file is obtained under cache path.
It wherein, include identification information, cache path and the media buffer of specified application in the first preset configuration rule Corresponding relationship between the file extension of file.Above-mentioned identification information is used for unique identification application program, for example, identification information It can be the packet name and packet signature information of application program.The file extension of above-mentioned media buffer file is can to guarantee recipient (target terminal) receive media buffer file after, can normal play media buffer file extension name.
Specified application is the application program of various Online Musics in mobile terminal, video playing, for example, specified answer It can be the client softwares such as everyday interesting to listen to, KuGoo music, Tencent's video with program.
Specifically, after the cache path for obtaining specified application, under the cache path that can determine whether mobile terminal Whether there is media buffer file, if there is media buffer file, then obtains corresponding media buffer file, and default according to first The file extension of configuration rule acquisition media buffer file.
For example, specified application be it is everyday interesting to listen to, scanning be mounted with into mobile terminal it is everyday interesting to listen to after, can basis Everyday interesting to listen to identification information obtains the everyday interesting to listen to routing information for saving media buffer file from the first preset configuration rule With the file extension of media buffer file, it is assumed that the path for moving buffered media cache file everyday is:{SD}/ttpod/ Cache/media and { SD }/ttpod/cache/media/fav, at this point, whether having matchmaker under the path of mobile terminal can be scanned Body cache file, it is assumed that there are two media buffer file, media buffer files under the path { SD }/ttpod/cache/media Name is respectively 26165030 and 27157505, at this point, the file of media buffer file can be obtained according to the first preset configuration rule Extend entitled mp3.
S102 obtains the label information of media buffer file from the online database for playing record of specified application.
Specifically, corresponding second preset configuration of specified application is obtained according to the identification information of specified application to advise Then, and according to the second preset configuration rule the label that media buffer file is obtained from the online database for playing record is believed Breath.
Wherein, above-mentioned second preset configuration rule includes the inquiry of the online database for playing record of specified application The database of the label information of address and inquiry media buffer file executes sentence.The label information of above-mentioned media buffer file is The song title of media buffer file and/or singer's name, or be the video name of media buffer file.
Specifically, it after media buffer file being obtained under the cache path from specified application, can determine whether to have the right The online database for playing record for accessing specified application, if Internet access, according to the mark of specified application Then second preset configuration rule of the information acquisition specified application executes sentence according to database and plays record from online Database in obtain media buffer file label information.
For example, the specified application installed in smart phone be it is everyday interesting to listen to, from the caching of interesting to listen to buffered media everyday After obtaining media buffer file under the path of file, it is assumed that the two media buffer files currently obtained, and corresponding media are slow Depositing filename is respectively 26165030 and 27157505, at this point, can determine whether smart phone obtains the behaviour of operation smart phone Make the root authority of system, specifically, process su can be created, and judge whether the return value of the process is 0, if return value is 0, it is determined that obtained root authority, i.e., Internet access it is everyday interesting to listen to the online database for playing record.In determination After obtaining root authority, the second everyday interesting to listen to preset configuration rule can be obtained according to everyday interesting to listen to identification information, it is assumed that Obtaining the database file path that everyday interesting to listen to broadcasting records according to the second preset configuration rule is:/data/data/ Com.sds.android.ttpod/databases/media.db, and obtain to inquire and play record number in this database online It is according to the SQL statement of table name:
SELECT associate_table_online_name FROM " group_ " WHERE name='recently_ The table name that play' // acquisition is recently played, such as it is media_online_ that the table name being recently played is obtained according to the SQL statement 36507287596, and the table name media_online_36507287596 being recently played is mapped to variable associate_ On table_online_name.
It is assumed that inquiry it is online play cache file name in record, song title, singer SQL statement be:
SELECT song_id,title,artist FROM media_online_36507287596
//songid is media buffer filename, and title is song title, and artist is singer.According to above-mentioned inquiry matchmaker The SQL statement of the label information of body cache file obtains the corresponding song title of media buffer filename and singer informations, it is assumed that from The query result obtained in the online database for playing record is as shown in table 1,
The query result of 1 media buffer file of table
Media buffer filename Song title Singer
26165030 Like you G.E.M. Deng's purple chess
27157505 Ordinary road Hackberry
S103 receives the transmission request to target terminal transmission media buffer file.
S104 is requested according to transmission, and media buffer file, the file extension of media buffer file and label information are passed Target terminal is given, so that target terminal plays matchmaker according to the media buffer file, file extension and label information received Body cache file.
Specifically, after the file extension and label information for obtaining media buffer file, it can be reserved for media buffer file Routing information, the mapping relations between file extension and label information, and it is slow to target terminal transmission media receiving After the transmission request for depositing file, based on transmission request, the path letter of corresponding media buffer file can be obtained from mapping relations Breath, file extension and label information, and corresponding media buffer file is obtained according to routing information.Wherein, transmission request In comprising user click the identification information of media buffer file to be sent.
For example, after obtaining the label information (as shown in table 1) of media buffer file in the online database for playing record, The mapping relations between the routing information, file extension and label information of media buffer file can be saved in the mapping table, reflected The form of firing table, as shown in table 2.
2 mapping table of table
For example, the mapping table shown on the interface of mobile terminal is as shown in table 2, the matchmaker for sending " liking you " is selected in user After body cache file, the corresponding routing information of media buffer file is obtained from mapping table, and is obtained under the routing information pair The media buffer file answered, and media buffer file, file extension and label information are sent to target terminal together, so Afterwards, target terminal receive mobile terminal transmission information after, according to the file extension of media buffer file, song title and Singer's name renames received media buffer file, and after file transmits successfully, display is received in target terminal File is " like you _ Deng's G.E.M purple chess .mp3 ", at this point, the user of target terminal can pass through the music player software in itself Play received audio.The transmission for completing the media file that do not supported directly by system originally as a result, reduces user The trouble of repeated downloads media resource reduces flow consumption.Wherein, it should be noted that in mobile terminal to target terminal Before sending media buffer file, completes to match between mobile terminal and target terminal, there is binding relationship between the two.
The transfer approach of media buffer file on the mobile terminal of the embodiment of the present invention is obtained to specify in mobile terminal and be answered With the media buffer file of program, and the file extension of media buffer file is obtained, then from the online of specified application The database for playing record obtains the label information of media buffer file, receives the biography to target terminal transmission media buffer file Request is sent, and is requested according to transmission, media buffer file, the file extension of media buffer file and label information are transmitted To target terminal, so that target terminal plays media according to the media buffer file, file extension and label information received Cache file.The transmission for completing the media file that do not supported directly by system originally as a result, reduces user repeated downloads matchmaker The trouble of body resource reduces flow consumption, facilitates transmission media buffer file between user, improves the experience of user Degree.
Fig. 2 is the process of the transfer approach of the media buffer file on mobile terminal in accordance with another embodiment of the present invention Figure, the embodiment with sender be mounted with KuGoo music and have not been obtained root authority based on Android (Android) system Smart phone 1, recipient be smart phone 2 based on android system be illustrated, wherein it is to be appreciated that passing Before sending media file, bound between recipient and sender.As shown in Fig. 2, this method includes:
S201, obtains the media buffer file of KuGoo music in smart phone 1, and the file for obtaining media buffer file expands Open up name.
Specifically, the identification information of KuGoo music is obtained, and KuGoo music is obtained according to the identification information of KuGoo music Preset configuration rule obtains the cache path of KuGoo music according to preset configuration rule, and obtains media under cache path and delay Deposit file.
It is assumed that being from the cache path that preset configuration rule obtains KuGoo music buffered media cache file:{SD}/ Kgmusic/.favorite, and the actual file of media buffer file extends entitled mp3 in preset configuration rule, is being delayed After depositing path, it can scan in smart phone whether comprising file under the cache path, if comprising file, corresponding file is Media buffer file, it is assumed that have a media buffer file under the cache file, and media buffer file is entitled Da6cde2c303e6d3c357d83a7e02ee5b3-1_MQ, and the entitled kgtmp of file extent of media buffer file, the matchmaker The corresponding routing information of body cache file is:{SD}/kgmusic/.favorite/ Da6cde2c303e6d3c357d83a7e02ee5b3-1_MQ.kgtmp, if user sends the file to other users, only Have in the case where being equally mounted with KuGoo music in the terminal of other users, which could play, in order to facilitate user This document can be played by the other software in terminal, so, the reality of media buffer file is saved in preset configuration rule Border file extension, actual file extend entitled mp3.
Wherein, it should be noted that the actual file extends the entitled common format of audio, by obtaining media buffer text The actual file extension name of part can make recipient pass through the actual file extension name to modify media buffer file automatically Format can guarantee that recipient in the case where no KuGoo music, can also play by other kinds of music player The audio file received.
S202, it is judged whether or not the online database for playing record of power access KuGoo music.
Specifically, the online database for playing record for determining whether access KuGoo music, due to there is no behaviour Make the root authority of Android system, therefore, can determine whether out the online database for playing record for currently having no right to access KuGoo music.
S203 then delays media if it is judged that currently having no right to access the database that the online broadcasting of KuGoo music records The mapping relations deposited between the routing information of file and file extension are saved into mapping table.
Wherein, the form of the mapping table saved in smart phone 1 is as shown in table 2.
2 mapping table of table
S204 receives the transmission request to target terminal transmission media buffer file.
S205 obtains the routing information and file extension of the media buffer file that user chooses, and root from mapping table Corresponding media buffer file is obtained from mobile terminal according to routing information, and media buffer file and file extension are sent To smart phone 2, so that media buffer file, extension name information are media buffer file to smart phone 2 based on the received Add extension name.
Specifically, it is assumed that the mapping table saved in smart phone 1 is as shown in table 2, if user selects media buffer file Entitled da6cde2c303e6d3c357d83a7e02ee5b3-1_MQ then obtains the road of the media buffer file from mapping table Diameter information and file extension, and media buffer file is obtained from the routing information of smart phone 1, and the media are delayed Deposit file and file extension and be sent to smart phone 2 together, smart phone 2 after the file for receiving the transmission of smart phone 1, According to additional extension name information, the media buffer file to receive adds file extension, and renames, and file reception is complete Cheng Hou, the file information received shown in the interface of smart phone 2 are " KuGoo music 1.mp3 ".
The transfer approach of media buffer file on the mobile terminal of the embodiment of the present invention, by the text in preset configuration rule File extension of the part extension name as the media buffer file of specified application, and by media buffer file and from pre- establishing It sets the file extension obtained in rule and is sent to recipient together, recipient receives media buffer file, and receives Media buffer file adds file extension, and is renamed.The media that do not supported directly by system originally are completed as a result, The transmission of file reduces the trouble of user's repeated downloads media resource, reduces flow consumption, facilitates and transmit between user Media buffer file improves the Experience Degree of user.
In order to realize above-described embodiment, the present invention also proposes a kind of transmission dress of the media buffer file on mobile terminal It sets.
Fig. 3 is that the structure of the transmission device of the media buffer file on mobile terminal according to an embodiment of the invention is shown It is intended to.
As shown in figure 3, the device includes that the first acquisition module 100, second obtains module 200, receiving module 300 and transmission Module 400, wherein:
First acquisition module 100 is used to obtain the media buffer file of specified application in mobile terminal, and obtains matchmaker The file extension of body cache file;Second, which obtains module 200, is used to play the data recorded from the online of specified application The label information of library acquisition media buffer file;Receiving module 300 receives the transmission to target terminal transmission media buffer file Request, delivery module 400 is used to be requested according to transmission, by media buffer file, the file extension and mark of media buffer file Label information sends target terminal to, so that target terminal is believed according to the media buffer file, file extension and label received Breath plays media buffer file.
Specifically, first the identification information that module 100 obtains specified application is obtained, and according to specified application Identification information obtains corresponding first preset configuration rule of specified application, and is referred to according to the acquisition of the first preset configuration rule Determine the cache path of application program, and obtains media buffer file under cache path.
It wherein, include identification information, cache path and the media buffer of specified application in the first preset configuration rule Corresponding relationship between the file extension of file.Above-mentioned identification information is used for unique identification application program, for example, identification information It can be the packet name and packet signature information of application program.The file extension of above-mentioned media buffer file is being capable of recipient's (mesh Mark terminal) receive media buffer file after, can normal play media buffer file extension name.
Above-mentioned specified application is the application program of various Online Musics in mobile terminal, video playing, for example, referring to Determining application program can be the client softwares such as everyday interesting to listen to, KuGoo music, Tencent's video.
Specifically, the first acquisition module 100 is specifically used for:Matchmaker is obtained from the first preset configuration rule according to identification information The file extension of body cache file.
Specifically, the second acquisition module 200 can obtain specified application according to the identification information of specified application Corresponding second preset configuration rule, and matchmaker is obtained from the online database for playing record according to the second preset configuration rule The label information of body cache file.
Wherein, above-mentioned second preset configuration rule includes the inquiry of the online database for playing record of specified application The database of the label information of address and inquiry media buffer file executes sentence.The label information of above-mentioned media buffer file is The song title of media buffer file and/or singer's name, or be the video name of media buffer file.
For example it is assumed that the mapping table saved in mobile terminal is as shown in table 2, the media for sending " liking you " are selected in user After cache file, receiving module 300 receives the transmission request that user transmits media buffer file, and delivery module 400 is according to transmission Request, obtains the routing information for the media buffer file that user chooses, and corresponding media buffer is obtained under the routing information File, and media buffer file, file extension and label information are sent to target terminal together, then, target terminal exists After the information for receiving mobile terminal transmission, according to the file extension of media buffer file, song title and singer's name to reception Media buffer file renamed, shown after file transmits successfully, in target terminal the file received be " like You _ Deng G.E.M purple chess .mp3 ", at this point, the user of target terminal can be by received by the broadcasting of the music player software in itself Audio.The transmission for completing the media file that do not supported directly by system originally as a result, reduces user's repeated downloads media The trouble of resource reduces flow consumption.Wherein, it should be noted that send media buffer to target terminal in mobile terminal Before file, completes to match between mobile terminal and target terminal, there is binding relationship between the two.
It should be noted that the embodiment of the aforementioned transfer approach to the media buffer file on mobile terminal is explained The transmission device of the bright media buffer file being also applied on the mobile terminal of the embodiment, details are not described herein again.
The transmission device of media buffer file on the mobile terminal of the embodiment of the present invention obtains module by first and obtains The media buffer file of specified application in mobile terminal, and obtain the file extension of media buffer file, then second It obtains module and obtains the label information of media buffer file from the online database for playing record of specified application, and receive Module receives the transmission request for transmitting media buffer file to target terminal and delivery module according to transmission request, by media Cache file, the file extension of media buffer file and label information send target terminal to, so that target terminal is according to connecing Media buffer file, file extension and the label information received plays media buffer file.It completes as a result, and is not originally The transmission for the media file that system is directly supported, reduces the trouble of user's repeated downloads media resource, reduces flow consumption, side Media buffer file is transmitted between user, improve the Experience Degree of user.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (8)

1. a kind of transfer approach of the media buffer file on mobile terminal, which is characterized in that including:
The media buffer file of specified application in mobile terminal is obtained, and obtains the file extent of the media buffer file Name;
The label information of the media buffer file is obtained from the online database for playing record of the specified application, In, the label information of the media buffer file is the song title and/or singer's name of the media buffer file, or is described The video name of media buffer file;
Receive the transmission request that the media buffer file is transmitted to target terminal;
It is requested according to the transmission, the media buffer file, the file extension of the media buffer file and label is believed Breath sends target terminal to, so that the target terminal is believed according to the media buffer file, file extension and label received Breath plays the media buffer file.
2. the method according to claim 1, wherein the media for obtaining specified application in mobile terminal Cache file specifically includes:
Corresponding first preset configuration rule of the specified application is obtained according to the identification information of the specified application, It wherein, include identification information, cache path information and the media of the specified application in first preset configuration rule The corresponding relationship of the file extension of cache file;
The cache path of the specified application is obtained according to first preset configuration rule, and under the cache path Obtain the media buffer file.
3. according to the method described in claim 2, it is characterized in that, the file extent for obtaining the media buffer file Name, specifically includes:
The file extension of the media buffer file is obtained from first preset configuration rule according to the identification information.
4. the method according to claim 1, wherein described record from the online broadcasting of the specified application Database in obtain the label information of the media buffer file, specifically include:
Corresponding second preset configuration rule of the specified application is obtained according to the identification information of the specified application;
The media buffer file is obtained from the online database for playing record according to second preset configuration rule Label information, wherein second preset configuration rule includes the online data for playing record of the specified application The database of the label information of the inquiry address and inquiry media buffer file in library executes sentence.
5. a kind of transmission device of the media buffer file on mobile terminal, which is characterized in that including:
First obtains module, for obtaining the media buffer file of specified application in mobile terminal, and obtains the media The file extension of cache file;
Second obtains module, for obtaining the media buffer from the online database for playing record of the specified application The label information of file, wherein the label information of the media buffer file be the media buffer file song title and/or Singer's name, or be the video name of the media buffer file;
Receiving module, for receiving the transmission request for transmitting the media buffer file to target terminal;
Delivery module expands the file of the media buffer file, the media buffer file for being requested according to the transmission Exhibition name and label information send target terminal to, so that the target terminal expands according to the media buffer file, the file that receive It opens up name and label information plays the media buffer file.
6. device according to claim 5, which is characterized in that described first obtains module, is specifically used for:
Corresponding first preset configuration rule of the specified application is obtained according to the identification information of the specified application, It wherein, include identification information, cache path information and the media of the specified application in first preset configuration rule The corresponding relationship of the file extension of cache file;
The cache path of the specified application is obtained according to first preset configuration rule, and under the cache path Obtain the media buffer file.
7. device according to claim 6, which is characterized in that described first obtains module, is specifically used for:
The file extension of the media buffer file is obtained from first preset configuration rule according to the identification information.
8. device according to claim 5, which is characterized in that described second obtains module, is specifically used for:
Corresponding second preset configuration rule of the specified application is obtained according to the identification information of the specified application, And the media buffer file is obtained from the online database for playing record according to second preset configuration rule Label information, wherein second preset configuration rule includes the online data for playing record of the specified application The database of the label information of the inquiry address and inquiry media buffer file in library executes sentence.
CN201510641651.3A 2015-09-30 2015-09-30 Method and device for transmitting media cache files on mobile terminal Active CN105160030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510641651.3A CN105160030B (en) 2015-09-30 2015-09-30 Method and device for transmitting media cache files on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510641651.3A CN105160030B (en) 2015-09-30 2015-09-30 Method and device for transmitting media cache files on mobile terminal

Publications (2)

Publication Number Publication Date
CN105160030A CN105160030A (en) 2015-12-16
CN105160030B true CN105160030B (en) 2018-11-20

Family

ID=54800886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510641651.3A Active CN105160030B (en) 2015-09-30 2015-09-30 Method and device for transmitting media cache files on mobile terminal

Country Status (1)

Country Link
CN (1) CN105160030B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549948B (en) * 2016-10-20 2019-10-18 公安部第三研究所 Telegram application of multimedia evidence collecting method under Android platform
EP3711050B1 (en) * 2017-12-20 2024-01-24 Saronikos Trading and Services, Unipessoal Lda System, device and method for selecting and making available for reading and reproducing multimedia contents
CN109086401A (en) * 2018-07-31 2018-12-25 Oppo广东移动通信有限公司 Paster acquisition methods, device, storage medium and electronic equipment
CN110968778A (en) * 2018-09-30 2020-04-07 北京国双科技有限公司 Media material processing method and device, storage medium and server
CN110971961B (en) * 2018-09-30 2023-02-17 北京奇虎科技有限公司 Audio and video playing method and device
CN109324999B (en) * 2018-11-30 2021-01-08 维沃移动通信有限公司 Method and electronic equipment for executing operation based on download instruction
CN110825708A (en) * 2019-09-23 2020-02-21 武汉智美互联科技有限公司 Multi-process file reading and writing method
CN111144943A (en) * 2019-12-26 2020-05-12 北京数衍科技有限公司 Method and device for acquiring consumption data and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552646A (en) * 2009-01-08 2009-10-07 北京创毅视讯科技有限公司 Data file receiving method and device in mobile multimedia broadcasting system
CN102006500A (en) * 2010-10-29 2011-04-06 蓝汛网络科技(北京)有限公司 Video dragging method and device applied to cache server
CN103475731A (en) * 2013-09-23 2013-12-25 网易(杭州)网络有限公司 Media information matching and processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100680296B1 (en) * 2005-04-15 2007-02-07 주식회사 케이티프리텔 Method for providing continuous downloading service of large size contents through wireless network and record media recored program for realizing the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552646A (en) * 2009-01-08 2009-10-07 北京创毅视讯科技有限公司 Data file receiving method and device in mobile multimedia broadcasting system
CN102006500A (en) * 2010-10-29 2011-04-06 蓝汛网络科技(北京)有限公司 Video dragging method and device applied to cache server
CN103475731A (en) * 2013-09-23 2013-12-25 网易(杭州)网络有限公司 Media information matching and processing method and device

Also Published As

Publication number Publication date
CN105160030A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105160030B (en) Method and device for transmitting media cache files on mobile terminal
CN102263810B (en) Systems and methods for permissions-based profile repository service
KR101531141B1 (en) Music playback method, third-party application and device
Widdicks et al. Streaming, multi-screens and YouTube: The new (unsustainable) ways of watching in the home
CN101465703A (en) Method and system for populating a content repository for an internet radio service based on a recommendation network
CN104967552A (en) Message push method and apparatus
CN102486926B (en) Method and system for acquiring personalized music media information
CN103477641A (en) Creation of video bookmarks via scripted interactivity in advanced digital television
CN102349314B (en) Method and apparatus for accessing content based on user geolocation
CN1996303A (en) Method and apparatus for managing bookmark information for content stored in a networked media server
CN102004760A (en) Multimedia file storing and applying method, related device and system
CN100536472C (en) A method, module and server to control access to network resource
CN109960801A (en) Data processing method and device
CN106203154A (en) A kind of file memory method and electronic equipment
CN102193943B (en) Method and device for providing media data for user
CN106231405A (en) Audio and video playing method and system, audio and video playing conversion device and mobile terminal
CN104038772B (en) Generate the method and device of ring signal file
US20240031615A1 (en) Media file play method and apparatus, electronic device, server, and medium
CN109996123A (en) Processing method and system and storage medium, the mobile device of multi-medium data
CN101562628B (en) Method, system and server for managing and releasing individual digital media information
JP2008219336A (en) Voice mail distribution supporting method and voice mail distribution supporting system
KR101683551B1 (en) Method for Managing Media Content File Using NFC Card, Managing Server Used Thererin, and Media Being Recorded with Program Executing the Method
CN107423410A (en) A kind of data managing method, device and mobile terminal
US20220053236A1 (en) Virtual Media Service
CN110275981A (en) A kind of content recommendation method and device

Legal Events

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