CN105516794B - The method and device of file read list is provided - Google Patents

The method and device of file read list is provided Download PDF

Info

Publication number
CN105516794B
CN105516794B CN201510916330.XA CN201510916330A CN105516794B CN 105516794 B CN105516794 B CN 105516794B CN 201510916330 A CN201510916330 A CN 201510916330A CN 105516794 B CN105516794 B CN 105516794B
Authority
CN
China
Prior art keywords
file
list
information
read
request
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
CN201510916330.XA
Other languages
Chinese (zh)
Other versions
CN105516794A (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 CN201510916330.XA priority Critical patent/CN105516794B/en
Publication of CN105516794A publication Critical patent/CN105516794A/en
Application granted granted Critical
Publication of CN105516794B publication Critical patent/CN105516794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of method and device of offer file read list, and the method for the offer file read list includes: to establish file read list, and this document read list includes multiple the file informations being read recently;The list of digital media controller transmission is received when checking request, checks that file destination information is chosen in request in multiple the file information being read recently according to the list;File destination read list is generated according to the file destination information;The file destination read list is fed back into the digital media controller.The method and device of offer file read list of the invention, since digital media server provides recent file read list, to improve search efficiency and QoS of customer.

Description

The method and device of file read list is provided
Technical field
The present invention relates to field of terminal technology, provide the method and device of file read list more particularly to a kind of.
Background technique
In recent years, DLNA (Digital living network alliance, Digital Life Network Alliance) technology obtains Extensive development, more and more media devices, audiovisual terminals or playing platform all support DLNA.The technology allows equipment to exist Under network connection state, it can be found that possess the equipment of other function, and check with the media resource in sharing service device to certain It is played out in a player.The type of DLNA device mainly has DMP (digital media player), DMR (Digital Media rendering Device), DMS (digital media server) and DMC (digital media controller).It wherein include the control point DLNA in DMC equipment (ControlPoint), it can browse through the media content shared in DMS, and media pushed to DMR progress by interactive controlling It plays.
In DLNA framework, DMC can access the content in DMS at any time and push broadcasting.But current DMS equipment is simultaneously Recent file read list is not provided, causes user that cannot easily check the file browsed recently, reduces search efficiency And QoS of customer.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of offer file read list, to solve existing digital living Digital media server in network alliance technology is due to that cannot provide recent file read list, to reduce search efficiency And the technical issues of QoS of customer.
To solve the above problems, technical solution provided by the invention is as follows:
The embodiment of the present invention provides a kind of method of offer file read list comprising:
File read list is established, the file read list includes multiple the file informations being read recently;
The list of digital media controller transmission is received when checking request, checks request described more according to the list File destination information is chosen in a the file information being read recently;
File destination read list is generated according to the file destination information;
The file destination read list is fed back into the digital media controller.
The embodiment of the present invention also provides a kind of device of offer file read list comprising:
Module is established, for establishing file read list, the file read list includes multiple texts being read recently Part information;
Module is chosen, when request is checked in the list for receiving digital media controller transmission, is looked into according to the list See that file destination information is chosen in request in the multiple the file information being read recently;
Generation module, for generating file destination read list according to the file destination information;
Feedback module, for the file destination read list to be fed back to the digital media controller.
Compared to the prior art, the method and device of the offer file read list of the present embodiment, is read by establishing file List is taken, when request is checked in the list for receiving digital media controller transmission, checks request multiple according to the list File destination information is chosen in the file information being read recently;File destination, which is generated, according to the file destination information reads column Table;The file destination read list is fed back into the digital media controller, to improve search efficiency and user service matter Amount.
Detailed description of the invention
Fig. 1 is the flow chart for the method for providing file read list that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the method provided by Embodiment 2 of the present invention for providing file read list;
Fig. 3 is the structural schematic diagram for the device for providing file read list that the embodiment of the present invention three provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, Fig. 1 is the flow chart for the method for providing file read list that the embodiment of the present invention one provides.
The method of the offer file read list of this preferred embodiment, comprising:
Step S101 establishes file read list;
For example, this document read list includes multiple the file informations being read recently;Digital media server is first Just read list database is established when secondary starting, the database is for recording the file information for being read file recently, to pass through This document information establishes this document read list;This document can be audio, video, picture etc..
For example, the file information being read is saved in local data base, is built after DMS receives file data read requests Vertical file read list;This document information includes beacon information;
Preferably, this is established the step of file read list and includes:
A, after receiving file read request, the file information and the storage for being read file are obtained;
For example, this document information includes beacon information, entry time, file type etc., DMS is established after starting for the first time File read list database, for recording the ObjectId information (i.e. beacon information) for being read file recently;When DMS's After HTTP file server receives the read requests of any terminal, by requested file ObjectId, file type and current In the data inputs such as the time of the write-in database;
B, this document read list is established according to this document information.
In order to enable the information of file read list is more accurately and without duplicate the file information, that is, this is according to this article Part information establishes the step of this document read list and includes:
1), judge whether the beacon information has stored in database;This document information includes beacon information and typing Time;
2) if it is, updating the entry time of this document.
For example, need to judge whether the ObjectId of current file has been written to when DMS input database, if There is record, then only needs to update current entry time;If not recording, it is deposited into database.
Certain DMS can be according to the resource size of equipment of itself, it is specified that the capacity of the number of files of record, reaches in capacity It, then can be by the record deletion of time at most when if there is adding new file data after recording maximum value.
Step S102 receives the list of digital media controller transmission when checking request, checks request according to the list File destination information is chosen in multiple the file information being read recently;
The request process is for example are as follows: network is added in DMC, and selects to access some DMS server;DMC passes through list mode Browse certain DMS resource;DMS, which is not provided, is recently played listing file folder, needs directly to access by the interface alternation of DMC and broadcast recently Emplace table;DMC sends X_GetRencentPlaylist movement to DMS, checks that target is chosen in the specific requirement of request according to this The file information;
When the customized request action for receiving DMC, such as after X_GetRencentPlaylist, DMS need to join according to movement Number screens the file in current database, and searches out file details (Id3 information etc.) according to ObjectId, this is made by oneself Adopted request action X_GetRencentPlaylist, belongs to the extension to UPnP protocol, and the action definition is in Content Under Directory Service service, for being recently played list to DMS request.Wherein action parameter includes request list Initial position and number of requests, the type of demand file (as only requested audio, video or picture), list display sequence (just Sequence or inverted order) etc..
Preferably, in order to improve the efficiency of screening, which checks that request can carry query argument;This is looked into according to the list See that the step of file destination information is chosen in request in multiple the file information being read recently includes:
Chosen in multiple file being read recently with the matched the file information of the query argument, using as the target The file information.
For example, DMC can directly pass through custom action, ask to DMS when browsing DMS file directory by taking song as an example It asks and checks the information for being recently played list of songs;After DMS gets custom action, song is recently played by what is recorded in database Song, according to the query argument that DMC is requested, screening and the matched the file information of the query argument;
Such as the query argument is initial position and the number of requests, demand file of DMC request file read list Type (such as audio, video or picture), list display sequence (positive sequence or inverted order).
Step S103 generates file destination read list according to the file destination information;
The file information that DMS will match to generates file destination read list;Preferably, preset format can also be generated File destination read list.Such as the file information found is believed according to the Metadata list that UPnP protocol generates xml format Breath.
The file destination read list is fed back to the digital media controller by step S104.
For example, the file destination read list is sent to DMC by DMS.
The method of the offer file read list of the present embodiment is receiving digital matchmaker by establishing file read list When request is checked in the list that body controller is sent, check that request is selected in multiple the file informations being read recently according to the list Take file destination information;File destination read list is generated according to the file destination information;The file destination read list is anti- It feeds the digital media controller, to improve search efficiency and QoS of customer.
Referring to figure 2., Fig. 2 is the flow chart of the method provided by Embodiment 2 of the present invention for providing file read list.
The method of the offer file read list of this preferred embodiment, by taking file is song as an example, comprising:
Step S201, foundation are recently played list;
This is recently played the file information that list includes multiple songs being recently played;Digital media server is for the first time It is just established when starting and is recently played list database, which is used to record the file information for being recently played song, such as sings Bent title, the size of song and play time etc., to establish song play list;
Step S202 receives the list of digital media controller transmission when checking request, checks request according to the list File destination information is chosen in multiple the file information being recently played;
For example, DMS is established in the database is recently played list, which stores 30 songs being recently played The file information, serial number 1-30, and arranged according to the sequence of ascending order;It is asked when DMC is checked to DMS transmission playlist It asks, for example request checks that this is recently played the file information of serial number 5-20 song in list, and requires according to inverted order mode exhibition Existing, then DMS chooses the file information of serial number 5-20 according to the requirement of the request, and is arranged according to inverted order mode, with To file destination information.
Step S203 generates target playlist according to the file destination information;
The file destination information is combined by DMS according to the listings format in standard UPnP protocol, is generated target and is played List.
The target playlist is fed back to the digital media controller by step S204.
For example, the target playlist is sent to DMC by DMS.
The method of the offer file read list of this preferred embodiment, is recently played list by establishing, is receiving number When request is checked in the list that word media controller is sent, check request in multiple the file informations being recently played according to the list Choose file destination information;Target playlist is generated according to the file destination information;The target playlist is fed back to this Digital media controller, to improve search efficiency and QoS of customer.
Referring to figure 3., Fig. 3 is the structural representation for the device for providing file read list that the embodiment of the present invention three provides Figure.The device 30 of the offer file read list of this preferred embodiment includes: to establish module 31, choose module 32, generation module 33, feedback module 34;
Module 31 is established, for establishing file read list, this document read list includes multiple texts being read recently Part information;
Module 32 is chosen, when request is checked in the list for receiving digital media controller transmission, is looked into according to the list See that file destination information is chosen in request in multiple the file information being read recently;The list is checked that request can carry and is looked into Ask parameter;
Generation module 33, for generating file destination read list according to the file destination information;
Feedback module 34, for the file destination read list to be fed back to the digital media controller.
The selection module 32 is specifically used for:
Chosen in multiple file being read recently with the matched the file information of the query argument, using as the target The file information.
This is established module 31 and is specifically used for:
After receiving file read request, the file information and the storage for being read file are obtained;This document information can Including beacon information and entry time;
This document read list is established according to this document information.
This is established module 31 and is specifically used for:
Judge whether the beacon information has stored in database;
If it is determined that the beacon information has stored in database, then the entry time of this document is updated.
The generation module 33 is specifically used for:
The file destination read list of preset format is generated according to the file destination information.
The device of the offer file read list of the present embodiment is receiving digital matchmaker by establishing file read list When request is checked in the list that body controller is sent, check that request is selected in multiple the file informations being read recently according to the list Take file destination information;File destination read list is generated according to the file destination information;The file destination read list is anti- It feeds the digital media controller, to improve search efficiency and QoS of customer.
The device and method provided in an embodiment of the present invention for providing file read list belong to same design, the tool of the device Body realizes that process is detailed in the description in the above method, and details are not described herein again.
The method and apparatus for being provided for the embodiments of the invention a kind of offer file read list above have carried out in detail It introduces, used herein a specific example illustrates the principle and implementation of the invention, the explanation of above embodiments It is merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be understood For limitation of the present invention.

Claims (4)

1. a kind of provide the method for file read list characterized by comprising
Establish file read list, comprising: when the HTTP file server of digital media server receives the reading of any terminal After request, by the file information input database of requested file, the file read list is established according to this document information; And according to the resource size of equipment of itself, it is specified that the capacity of the number of files of record, after capacity reaches record maximum value, such as Fruit, which has, adds new file data, then the record deletion by the time at most;Wherein, the file information includes the mark letter of file Breath, file type and presently written time, the file read list include multiple the file informations being read recently;
The list of digital media controller transmission is received when checking request, in the multiple the file information being read recently The matched file destination information of query argument that request carrying is checked with the list is chosen, the list checks that request is number The customized request action that media controller is sent, the customized request action belongs to the extension to UPnP protocol, described to look into Ask the action parameter that parameter is customized request action, initial position and number of request including request file read list At least one of amount, the type of demand file and list display sequence;
It is combined according to the file destination information according to the listings format in standard UPnP protocol, generates the mesh of preset format Mark file read list;
The file destination read list is fed back into the digital media controller.
2. according to claim 1 provide the method for file read list, which is characterized in that the file information includes mark Show information and entry time;
Described the step of establishing the file read list according to the file information includes:
Judge whether the beacon information has stored in database;
If it is determined that the beacon information has stored in database, then the entry time of the file is updated.
3. a kind of provide the device of file read list characterized by comprising
Module is established, for establishing file read list, comprising: appoint when the HTTP file server of digital media server receives After the read requests of what terminal, by the file information input database of requested file, established according to this document information described in File read list;And according to the resource size of equipment of itself, it is specified that the capacity of the number of files of record, reaches note in capacity After recording maximum value, if there is adding new file data, then the record deletion by the time at most;Wherein, the file information packet Include the beacon information, file type and presently written time of file, the file read list includes multiple being read recently The file information;
Module is chosen, when request is checked in the list for receiving digital media controller transmission, is read recently the multiple The matched file destination information of query argument that request carrying is checked with the list, the list are chosen in the file information taken Check that request is the customized request action that digital media controller is sent, the customized request action belongs to UPnP protocol Extension, the query argument is the action parameter of customized request action, the starting including request file read list At least one of position and number of requests, the type of demand file and list display sequence;
Generation module, it is raw for being combined according to the file destination information according to the listings format in standard UPnP protocol At the file destination read list of preset format;
Feedback module, for the file destination read list to be fed back to the digital media controller.
4. according to claim 3 provide the device of file read list, which is characterized in that the file information includes mark Show information and entry time;
The module of establishing is specifically used for:
Judge whether the beacon information has stored in database;
If it is determined that the beacon information has stored in database, then the entry time of the file is updated.
CN201510916330.XA 2015-12-11 2015-12-11 The method and device of file read list is provided Active CN105516794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510916330.XA CN105516794B (en) 2015-12-11 2015-12-11 The method and device of file read list is provided

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510916330.XA CN105516794B (en) 2015-12-11 2015-12-11 The method and device of file read list is provided

Publications (2)

Publication Number Publication Date
CN105516794A CN105516794A (en) 2016-04-20
CN105516794B true CN105516794B (en) 2019-04-16

Family

ID=55724379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510916330.XA Active CN105516794B (en) 2015-12-11 2015-12-11 The method and device of file read list is provided

Country Status (1)

Country Link
CN (1) CN105516794B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022165629A1 (en) * 2021-02-02 2022-08-11 上海二三四五网络科技有限公司 Control method and apparatus for determining reverse order list data on basis of forward order list

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0322797D0 (en) * 2003-09-30 2003-10-29 Koninkl Philips Electronics Nv Query caching in a system with a content directory service
CN100553209C (en) * 2004-08-19 2009-10-21 诺基亚公司 For the deployment of multi-medium data on the Control Network is carried out high-speed cache to the LIST SERVER data
KR101249232B1 (en) * 2005-02-28 2013-04-01 코닌클리케 필립스 일렉트로닉스 엔.브이. System and method for providing “universal follow-me” functionality in a UPnP AV network
JP2007158854A (en) * 2005-12-06 2007-06-21 Matsushita Electric Ind Co Ltd Av server device, client apparatus, and file transfer system
CN101236569B (en) * 2008-02-01 2010-06-02 浙江大学 Highly effective dynamic path analysis method based on ContextFS
JP2010033277A (en) * 2008-07-28 2010-02-12 Sanyo Electric Co Ltd Server device
US8065341B2 (en) * 2008-10-01 2011-11-22 Sap Ag Systems and methods for efficient data transfer
JP5454341B2 (en) * 2010-04-30 2014-03-26 ソニー株式会社 Information processing apparatus, information processing method, program, information providing apparatus, and information processing system
JP5573337B2 (en) * 2010-04-30 2014-08-20 ソニー株式会社 Information providing apparatus, information providing method, program, information processing apparatus, service providing apparatus, and information processing system
JP2012164208A (en) * 2011-02-08 2012-08-30 Nec Access Technica Ltd Network system, home gateway, content reproduction method and program for network management
US10200756B2 (en) * 2011-02-11 2019-02-05 Sony Interactive Entertainment LLC Synchronization of favorites and/or recently viewed lists between registered content playback devices
CN103595597A (en) * 2012-08-14 2014-02-19 腾讯科技(深圳)有限公司 A method and an apparatus for media resource search
CN103440271B (en) * 2013-08-02 2017-12-12 江苏智光创业投资有限公司 The method and its device of history catalogue are shown in operating system
CN104078069B (en) * 2014-06-25 2017-11-14 广东欧珀移动通信有限公司 Document play-back method and equipment based on DLNA
CN104469518B (en) * 2014-12-16 2017-09-22 广东欧珀移动通信有限公司 The access method and electronic equipment of audio-video document

Also Published As

Publication number Publication date
CN105516794A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
KR100532288B1 (en) Karaoke Service Method By Using Wireless Connecting Means between Mobile Communication Terminals and Computer Readable Recoding Medium for Performing it
US20070271310A1 (en) Method and apparatus for synchronizing device providing content directory service with device not providing content directory service
CN113641850A (en) Generating and distributing playlists of music and stories with related emotions
WO2015038529A1 (en) Remote control devices and related devices and systems
KR101771437B1 (en) Method for determining device according to contents attribute and providing contents to the device and electronic device using the same
EP2734971A2 (en) Web-based music partner systems and methods
CN101657800B (en) Content acquisition device, content acquisition method, and content acquisition system
JP2009277218A (en) Management of media file using metadata injection
RU2008152777A (en) TERMINALS AND COMMUNICATION METHODS FOR PRIORIZING PLAYBACK OF DISTRIBUTED MULTIMEDIA FILES
WO2008110087A1 (en) Mehtod for playing multimedia, system, client-side and server
CN101751261B (en) Terminal device and content data processing method
US20120059493A1 (en) Media playing apparatus and media processing method
CN102065340B (en) System and method for implementing multimedia synchronous interaction
CN105824895A (en) KTV song selection method and system
CN104080017A (en) Method, device and system for playing tab files
CN105516794B (en) The method and device of file read list is provided
JP2013160890A (en) Information processing program, information processing apparatus, lyrics display method, and communication system
KR20140056636A (en) Contents providing system and method based on playlist sharing
CN102739625A (en) Method for playing multi-media document and file sharing system
JP5665192B2 (en) Karaoke music selection system using personal portable terminal
EP1862919B1 (en) Method and apparatus for synchronizing device providing content directory service with device not providing content directory service
KR102269929B1 (en) Method, user device and computer program for providing video service
JP2013033073A (en) Karaoke music selection system using personal portable terminal
JP6525509B2 (en) Unproduced music
CN101800869A (en) Method for synchronously displaying lyrics through network during set-top box playing MP3 song

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

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant