[go: up one dir, main page]

CN106453255B - Method, UPnP device and system for realizing service continuous playing - Google Patents

Method, UPnP device and system for realizing service continuous playing Download PDF

Info

Publication number
CN106453255B
CN106453255B CN201610812034.XA CN201610812034A CN106453255B CN 106453255 B CN106453255 B CN 106453255B CN 201610812034 A CN201610812034 A CN 201610812034A CN 106453255 B CN106453255 B CN 106453255B
Authority
CN
China
Prior art keywords
service
client
list
state list
upnp
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.)
Expired - Fee Related
Application number
CN201610812034.XA
Other languages
Chinese (zh)
Other versions
CN106453255A (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 Baustem Information Technology Co ltd
Original Assignee
Beijing Baustem Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baustem Information Technology Co ltd filed Critical Beijing Baustem Information Technology Co ltd
Priority to CN201610812034.XA priority Critical patent/CN106453255B/en
Publication of CN106453255A publication Critical patent/CN106453255A/en
Application granted granted Critical
Publication of CN106453255B publication Critical patent/CN106453255B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42684Client identification by a unique number or address, e.g. serial number, MAC address, socket ID
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method, universal plug and play (UPnP) equipment and a system for realizing service continuous playing comprise the following steps: a UPnP device providing the UPnP service detects a service processing event and updates a service state list according to the detected service processing event; and the client side carries out service resuming according to the updated service state list. The embodiment of the invention conveniently realizes the application of service continuous playing through the service state list under the condition of no need of customized integrated development.

Description

Method, UPnP device and system for realizing service continuous playing
Technical Field
The present disclosure relates to, but not limited to, communication technologies, and in particular, to a method, a universal plug and play (UPnP) device, and a system for implementing service continuation.
Background
Service resumption can be understood as: and continuously playing the previously played service, for example, continuously playing the previously played video by using a new playing terminal after the playing terminal is replaced.
Currently, service resumption in the related art includes: 1. a Content Directory Service (CDS) using Universal Plug and Play (UPnP) video (AV) in the related art carries context information required for service continuity on the CDS by a method of customizing a CDS directory tree. For example, application document with publication number CN101129051A discloses a method of adding a customized directory tree on the CDS, in which metadata available for playback, including content title, user mark of stop or exit, content source address and destination device address, breakpoint position of content, etc. are recorded. 2. A new entity is added outside the UPnP AV hierarchy. For example, application publication No. CN101355470A discloses adding a service continuity Server outside a Digital Media Server (DMS), a Digital Media Renderer (DMR), and a Digital Media Controller (DMC), the service continuity Server storing user descriptions, application contexts, and pending service lists, and adding a private interface between the DMC and the service continuity Server. 3. Adding a bookmark at the front end or the terminal; for example, application document with publication number CN102082760A discloses: adding a network bookmark, continuously storing the service as the network bookmark in a cloud end, and continuing playing the service by the home network equipment by accessing the cloud end bookmark; application document with publication number CN102119373A discloses: adding a network bookmark at the front end of an IP Multimedia Subsystem (IMS); application document with publication number CN102124752A discloses bookmark sharing through an interactive network television (IPTV) terminal and a cloud end; application document with publication number CN103200197A discloses: and recording the playing state of the multimedia file at the cloud server.
The three methods are as follows: the first method requires the client to integrate a private directory tree; the second approach adds servers that need to be integrated; the third method does not involve the UPnP environment; the method needs customized integrated development, and the realization of the service resuming is easily limited, so that the application of the service resuming is influenced.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a method, UPnP equipment and a system for realizing service resuming, which can realize the service resuming without customizing integration.
The embodiment of the invention provides a method for realizing service resuming, which comprises the following steps:
providing UPnP equipment of the UPnP service for detecting a service processing event and updating a service state list according to the detected service processing event;
the client side carries out service continuous playing according to the updated service state list;
wherein the services recorded in the service status list include: the gateway requests the services in the DMS; the service status list includes: a list published by a UPnP device on a presence server in the UPnP device using a UPnP device presence mechanism.
Optionally, the performing service resuming according to the updated service status list includes:
the UPnP equipment informs the client of continuing playing the service according to the updated service state list; or,
and the client polls the updated service state list so as to continue playing the service according to the service state list.
Optionally, the notifying the client of the service resumption according to the updated service state list includes:
and the presence server in the UPnP equipment informs the client terminal of continuing playing the service according to the updated service state list.
Optionally, before notifying the client of the service renewal, the method further includes:
the control point CP of the client obtains the uniform resource locator URL of the presence server from the UPnP device description file when the UPnP device is discovered;
and connecting the obtained URL of the presence server with the presence server of the UPnP equipment, and presenting the service state list through a browser to receive the notification sent by the presence server according to the service state list.
Optionally, the service status list includes any combination of the following: service name, service breakpoint location, service description, protocol IP address of the interconnection between client networks previously using the service, client media access control MAC address of the previously using service, device name, service time, service status, URL of content.
Optionally, the notifying the client of the service resumption includes:
and the UPnP equipment updates the service state list displayed on the client according to the service state list and a preset event notification mechanism so as to notify the client to continue playing the service.
Optionally, when the UPnP device supports the device protection service DPS, the service status list further includes a CP identity code ID of the client control point CP;
when the UPnP device supports DPS and DPS supports USER authentication, the service status list further includes a USER ID of the client control point CP.
Optionally, the service processing event includes any combination of the following:
service access events, service interruption events, service exit events.
Optionally, the method further includes: and the client inquires the service state list to acquire the service recorded in the service state list.
Optionally, when the live service has a review or time shift function, the method further includes:
and the client performs playback or time-shifting play by combining the service breakpoint positioning in the service state list according to the service name, the service description and the URL of the content of the playback or time-shifting service in the service state list.
Optionally, when browsing pictures, if the client side is transformed, the method further includes: and the converted client continues to play the picture according to the service name, the service description and the URL of the content in the service state list.
On the other hand, an embodiment of the present invention further provides a universal plug and play UPnP device for implementing service continuation, including:
the detection updating unit is used for detecting a service processing event and updating the service state list according to the detected service processing event;
the continuous playing processing unit is used for carrying out client service continuous playing processing according to the updated service state list;
wherein the services recorded in the service status list include: the gateway requests the services in the DMS; the service status list includes: a list published by a UPnP device on a presence server in the UPnP device using a UPnP device presence mechanism.
Optionally, the resume processing unit includes:
and the notification updating module is used for notifying the client to continue playing the service according to the updated service state list.
Optionally, the resume processing unit includes:
and the polling processing module is used for receiving the polling request of the client and feeding back the service state list to the client according to the polling request of the client so that the client can continue playing the service according to the service state list.
Optionally, the notification update module is specifically configured to notify, by the presence server in the UPnP device, the client to continue playing the service according to the updated service state list.
In another aspect, the present application further provides a system for implementing service resuming, including: universal plug and play UPnP equipment and a client; wherein,
the UPnP device includes:
the detection updating unit is used for detecting a service processing event and updating the service state list according to the detected service processing event;
the continuous playing processing unit is used for carrying out client service continuous playing processing according to the updated service state list;
the client comprises a resuming unit used for resuming the service according to the service resuming processing of the UPnP equipment;
wherein the services recorded in the service status list include: the gateway requests the services in the DMS; the service status list includes: a list published by a UPnP device on a presence server in the UPnP device using a UPnP device presence mechanism.
Optionally, the resume processing unit includes,
and the notification updating module is used for notifying the client to continue playing the service according to the updated service state list.
Optionally, the client further includes a polling unit, configured to send a polling request to the UPnP device to obtain a service status list;
the continuous play processing unit comprises a continuous play processing unit,
and the polling processing module is used for receiving the polling request of the client and feeding back the service state list to the client according to the polling request of the client so that the client can continue playing the service according to the service state list.
Optionally, the client further includes a control point CP, configured to obtain a uniform resource locator URL of the presence server from the UPnP device description file when the UPnP device is discovered; and connecting with a presence server in the UPnP equipment according to the obtained URL of the presence server.
Optionally, the service status list includes any combination of the following: service name, service breakpoint location, service description, protocol IP address of the interconnection between client networks previously using the service, client media access control MAC address of the previously using service, device name, service time, service status, URL of content.
Optionally, the client further includes a query unit, configured to query the service status list to obtain the service recorded in the service status list.
Optionally, the client further includes a review or time-shift processing unit, configured to perform review or time-shift playing in combination with positioning of a service breakpoint in the service status list according to a service name, a service description, and a URL of content of a review or time-shift service in the service status list when the live service has a review or time-shift function.
Optionally, when the client is a changed client, the client further includes a picture resuming unit, and resumes the picture browsed by the previous client according to the service name, the service description, and the URL of the content in the service state list.
Compared with the related art, the technical scheme of the application comprises the following steps: a UPnP device providing the UPnP service detects a service processing event and updates a service state list according to the detected service processing event; and the client side carries out service resuming according to the updated service state list. The embodiment of the invention conveniently realizes the application of service continuous playing through the service state list under the condition of no need of customized integrated development.
Other aspects will be apparent upon reading and understanding the attached drawings and detailed description.
Drawings
FIG. 1 is a flowchart of a method for implementing service resumption according to an embodiment of the present invention;
fig. 2 is a block diagram of a UPnP device for implementing service resumption according to an embodiment of the present invention;
fig. 3 is a block diagram of a system for implementing service resumption according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a method for implementing service resuming according to an embodiment of the present invention, as shown in fig. 1, including:
step 100, a UPnP device providing a Universal Plug and Play (UPnP) service detects a service processing event, and updates a service state list issued by a presence SERVER (presence SERVER) according to the detected service processing event.
It should be noted that the UPnP device capable of providing the UPnP service according to the embodiment of the present invention may include all UPnP devices in network devices such as a home gateway, a gateway set-top box, and a set-top box.
Optionally, the service status list may include: a list published by the UPnP device on a presence (presence) server in the UPnP device using a UPnP device presence mechanism;
according to the embodiment of the invention, before the service state list is updated, the UPnP equipment uses the UPnP equipment presentation mechanism to issue the service state list of the service on the presentation server.
Optionally, in the embodiment of the present invention, the service processing event may include any combination of the following:
service access events, service interruption events, service exit events.
And step 101, the client performs service continuous playing according to the updated service state list.
Optionally, performing service resuming according to the updated service status list includes:
the UPnP equipment informs the client of continuing playing the service according to the updated service state list; or,
and the client polls the updated service state list to carry out service resuming according to the service state list.
It should be noted that the polling method may be implemented by using implementation manners in related technologies, for example, AJAX polling (AJAX is asynchronous JavaScript and XML (a subset of standard universal markup language)), which is a web page development technology for creating an interactive web page application.
Optionally, before the presence server notifies the client of continuing playing the service according to the service status list, the method in the embodiment of the present invention further includes:
a Control Point (CP, Control Point) of the client obtains a Uniform Resource Locator (URL) of the presence server from the UPnP device description file when the UPnP device is discovered;
and connecting the URL of the presence server with the presence server of the UPnP equipment, and presenting the service state list through the browser to receive the notification sent by the presence server according to the service state list.
Optionally, the service status list includes, but is not limited to, any combination of the following: service name, service breakpoint location, service description, Protocol (IP) address of interconnection between client networks previously using the service, Media Access Control (MAC) address of client previously using the service, device name, service time, service status, URL of content, and the like. Here, the service state may include: is providing a service, is exiting a service, etc.
Optionally, notifying the client for service resumption may include:
and the UPnP equipment updates the service state list displayed on the client according to the service state list and a preset event notification mechanism so as to notify the client to continue playing the service.
It should be noted that the preset event notification mechanism may include, but is not limited to, a WebSocket (the WebSocket protocol is a new protocol of HTML5 (a fifth major modification of the HTML) that implements full duplex communication (full-duplex) between the browser and the server, and the initial handshake needs to be completed by means of an HTTP request) event notification mechanism; in the related art, any standard WEB event notification mechanism can be used in the embodiments of the present invention.
Optionally, when the live broadcast service has a playback or time shift function, the method in the embodiment of the present invention further includes:
the client performs playback or time-shift play by combining the service breakpoint positioning in the service status list directly according to the service name, the service description and the URL of the content (for the playback or time-shift service, the content URL can be understood as a stream URL) of the playback or time-shift service in the service status list on the live broadcast service UPnP device.
Optionally, when browsing pictures, if the client side is changed, the method in the embodiment of the present invention further includes: the converted client side can continue browsing from the position of the current picture and reversely browsing the position of the current picture according to the service name in the service state list (the service name can be understood as the name of the picture or the name of the picture folder when the picture is browsed in the embodiment of the invention), the service description (the service description can be corresponding to the picture description or the picture folder description when the picture is browsed in the embodiment of the invention), the URL of the content (the URL of the content can be corresponding to the URL of the picture and/or the URL of the picture folder when the picture is browsed, the breakpoint positioning of the service (including the URL of the picture which is interrupted from browsing), and the track data of the browsing process, and continue to play the picture.
Optionally, when the UPnP Device supports a Device Protection Service (DPS), the service state list further includes a client Control Point (CP) identity code (ID) of the CP;
when the UPnP device supports the DPS and the DPS supports USER authentication, a USER (USER) ID of the client control point CP is also included in the service status list.
Optionally, the method in the embodiment of the present invention may further include: and querying the service state list to acquire the services recorded in the service state list.
It should be noted that the service for obtaining records may include the content shown in table 1, service query may be implemented through table 1, the service time and content played in the gateway are determined, and if a minor at home is found, the minor may be supervised according to the service query.
Figure GDA0003386034850000081
TABLE 1
According to the embodiment of the invention, all processing can be realized based on the standard UPnP protocol without customization integration, and the continuous service application is conveniently realized through the service state list under the condition of integration development without customization.
Fig. 2 is a block diagram of a universal plug and play (UPnP) device for implementing service renewal according to an embodiment of the present invention, as shown in fig. 2, including:
the detection updating unit is used for detecting a service processing event and updating the service state list according to the detected service processing event;
and the continuous playing processing unit is used for carrying out client service continuous playing processing according to the updated service state list.
Optionally, the resume processing unit includes:
the notification updating module is used for notifying the client to continue playing the service according to the updated service state list;
optionally, the resume processing unit includes:
and the polling processing module is used for receiving a polling request of the client and feeding back a service state list to the client according to the polling request of the client so that the client can continue service according to the service state list.
Optionally, the notification updating module is specifically configured to update the service state list displayed at the client according to the service state list and a preset event notification mechanism, so as to notify the client of continuing playing the service; the preset event notification mechanism may be any event notification mechanism for implementing the embodiments of the present invention, for example, a WebSocket event notification mechanism, HTML5 SSE (Server SEND EVENT), and the like.
In the embodiment of the present invention, the service status list includes, but is not limited to, any combination of the following: service name, service breakpoint location, service description, Protocol (IP) address of interconnection between client networks previously using the service, Media Access Control (MAC) address of client previously using the service, device name, service time, service status, URL of content, and the like. Here, the service state may include: is providing a service, is exiting a service, etc.
According to the UPnP protocol, the embodiment of the invention adopts the presence server to realize the service continuous playing, wherein the presence server can comprise a detection service state updating unit, and the detection service state updating unit modifies the service state list and provides an access interface for the client; the server sends out a notification event through the updated service state list; after the client receives the notification, the user sees the event notification through a UI presented by the notification event, or can obtain an updated service state list through refreshing the service state list (or automatically refreshing the service state list); the WebSocket event notification mechanism is used as a preset event notification mechanism, and the embodiment of the invention can send the notification to the event notification client on the client through the notification update module on the UPnP. Tables 2 and 3 are examples of interfaces for notification, and in the embodiment of the present invention, the notification content may be refreshed by receiving an external instruction, or the refreshing may be implemented in a polling manner, and taking table 3 as an example, a display may be popped up from the interface in an event manner.
Figure GDA0003386034850000101
TABLE 2
Figure GDA0003386034850000102
Figure GDA0003386034850000111
TABLE 3
In the embodiment of the invention, a user can select continuous playing from a notification interface displayed by a client, when the service is continuously played, a player of the client requests playing stream from a media stream server (such as an http stream server) of the UPnP equipment according to the service continuous playing positioning information in the notification, the player can directly jump to a breakpoint positioning position by using a standard browser (such as html5 video) technology, and after the service is continuously played, the media stream server (such as the http stream server) of the UPnP equipment can trigger a detection service state updating unit to update the service state list.
The resuming of the service realized according to the notification sent by the service status list in the embodiment of the present invention may include, but is not limited to, the following three cases:
1. on demand, when the current client quits the service, the detection service state updating unit informs the service state list server to record the service state, and the service state list contains the service state, the service state comprises recording breakpoint positioning (service breakpoint positioning), and when another terminal applies for service continuous broadcasting, the breakpoint positioning and broadcasting are automatically carried out;
2. live broadcasting, wherein a service state list server records services such as channels, programs, timestamp information and the like of the current live broadcasting; when another terminal applies for continuing service, two situations are distinguished:
2.1, when the live broadcast service has a corresponding review or time shift function, the client performs review or time shift play in combination with the service breakpoint positioning in the service status list according to the service name, the service description and the URL of the content of the review or time shift service in the service status list (for the review or time shift service, the content URL can be understood as a stream URL).
It should be noted that, the URL of the content of the review or time shift service may also be stored in a preset review or time shift server; the searching can be carried out through a service state list server; when the terminal applies for continuous broadcasting, the terminal automatically applies for broadcasting a review program or a time-shifting program, and broadcasts the program from the breakpoint positioning according to the service breakpoint positioning; when the review or time-shift playing is carried out, the service name of the review or time-shift service, the service description of the review or time-shift service, the URL of the content of the review or time-shift service and the service breakpoint positioning of the review or time-shift service are not required to be searched, and the client does not need to carry out searching (the client is transparent, does not need to know whether the review or time-shift program is continuously played, and directly reads the URL of the review or time-shift program from the service state list);
when the live broadcast service has a review or time shift function, the service state list server searches a review or time shift server (which can be another on-demand UPnP device in the gateway, but is not limited to) according to the information of the current live broadcast channel, program and timestamp;
the method comprises the steps that URL of contents of review or time shift service corresponding to the live broadcast service is obtained from a review or time shift server, service breakpoint positioning is carried out, when another terminal applies for continuous broadcasting, review or time shift programs are automatically applied to be broadcasted, and broadcasting is automatically carried out from the breakpoint positioning;
2.2, the live broadcast service has no review or time shifting function; the service state list server only has the information of the current live channel, program and timestamp, and when another terminal applies for continuous playing service, the content of the program played from suspension to re-playing is lost;
3. when browsing pictures, if the client side is changed, the changed client side positions the URL of the picture including the interrupted browsing according to the service break point of the service name (in the embodiment of the present invention, the service name may be understood as the picture name or the name of the picture folder) in the service status list, the service description (in the embodiment of the present invention, the service description may be corresponding to the picture description or the picture folder description), the URL of the content (in the embodiment of the present invention, the URL of the content may be corresponding to the URL of the picture and/or the URL of the picture folder) and the URL of the content (in the embodiment of the present invention, in the case of browsing pictures), and may further include the track data of the browsing process, and continue to play the pictures. The resuming of the embodiment of the invention may include: and continuing browsing from the position of the current picture and browsing in the reverse direction of the position of the current picture, wherein the browsing process can experience the same backtracking path as the previous terminal. Namely pictures, in the process of browsing the pictures, a user needs to replace a client to continue browsing, the current client suspends browsing, and a service state list server records the pictures and path information which are currently browsed; when another terminal applies for continuous hanging browsing, the client applying for continuous browsing obtains the URL of the current picture and browsing track data from the beginning to the current position, the client continuing browsing can continue browsing from the current picture position, and if reverse browsing is performed from the current picture position, a backtracking path same as that of the previous terminal is experienced; that is, when the client changes during browsing pictures, the picture is continuously played according to the service name (currently browsed picture), the service description (path information), the URL of the content (URL of the current picture), the service breakpoint positioning and the like in the current service state list.
In the embodiment of the invention, the client can converge the access and the presentation of a plurality of UPnP devices of the gateway, the gateway can converge the plurality of UPnP devices under one root device, the presentation server can be the presentation server of the root device, the service state list of all the UPnP devices can be in the presentation server of the root device, and each UPnP device can also have the presentation server thereof.
Optionally, in the embodiment of the present invention, the service status list includes: a list published by the UPnP device on a presence server in the UPnP device using a UPnP device presence mechanism;
in the embodiment of the present invention, the service processing event may include any combination of the following:
service access events, service interruption events, service exit events.
Fig. 3 is a block diagram of a system for implementing service resumption according to an embodiment of the present invention, as shown in fig. 3, including: universal plug and play UPnP equipment and a client; wherein,
the UPnP device includes:
the detection updating unit is used for detecting a service processing event and updating the service state list according to the detected service processing event;
and the continuous playing processing unit is used for carrying out client service continuous playing processing according to the updated service state list.
Optionally, the resume processing unit includes:
and the notification updating module is used for notifying the client to continue playing the service according to the updated service state list.
Optionally, the notification updating module may be configured to update the service state list displayed at the client according to the service state list and a preset event notification mechanism, so as to notify the client of continuing the service.
In the embodiment of the present invention, the service processing event may include any combination of the following:
service access events, service interruption events, service exit events.
The client comprises a resuming unit used for resuming the service according to the service resuming processing of the UPnP equipment.
Optionally, the client includes a polling unit, configured to send a polling request to the UPnP device to obtain the service status list.
Optionally, the resume processing unit includes:
and the polling processing module is used for receiving a polling request of the client and feeding back a service state list to the client according to the polling request of the client so that the client can continue service according to the service state list.
Optionally, the service status list may include, but is not limited to, any combination of the following: service name, service breakpoint location, service description, protocol (IP) address of the interconnection between client networks previously using the service, client Media Access Control (MAC) address of the previously using service, device name, service time, service status, URL of content, etc. Here, the service state may include: is providing a service, is exiting a service, etc.
Optionally, the client further comprises a review or time-shift processing unit, configured to, when the live service has a review or time-shift function,
and according to the service name, the service description and the URL of the content of the review or time-shifting service in the service state list, carrying out review or time-shifting play by combining the service breakpoint positioning in the service state list.
Optionally, when the client is the changed client, the client further includes a picture resuming unit, and resumes the picture browsed by the previous client according to the service name, the service description, and the URL of the content in the service state list. Here, the converted client includes a client which is changed during the service use of the user and is used before the previous client converts the client for the user.
Optionally, the Control Point (CP) of the client is further configured to obtain a Uniform Resource Locator (URL) of the presence server from the UPnP device description file when the UPnP device is discovered;
and connecting the URL of the presence server with the presence server in the UPnP equipment, and presenting the service state list through the browser to receive the notification sent by the presence server according to the service state list.
Optionally, when the UPnP device supports the Device Protection Service (DPS), the service status list further includes a client Control Point (CP) CP identity code (ID);
when the UPnP device supports the DPS and the DPS supports USER authentication, a USER (USER) ID of the client CP is also included in the service status list.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in hardware, for example, by an integrated circuit to implement its corresponding function, or in software, for example, by a processor executing a program/instruction stored in a memory to implement its corresponding function. Optionally, each component in the system according to the embodiment of the present invention may also be implemented separately. The present invention is not limited to any specific form of combination of hardware and software.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (23)

1. A method for realizing service resuming is characterized by comprising the following steps:
providing UPnP equipment of the UPnP service for detecting a service processing event and updating a service state list according to the detected service processing event;
the client side carries out service continuous playing according to the updated service state list;
wherein the services recorded in the service status list include: the gateway requests the services in the DMS; the service status list includes: a list published by a UPnP device on a presence server in the UPnP device using a UPnP device presence mechanism.
2. The method of claim 1, wherein the resuming service according to the updated service status list comprises:
the UPnP equipment informs the client of continuing playing the service according to the updated service state list; or,
and the client polls the updated service state list so as to continue playing the service according to the service state list.
3. The method of claim 2, wherein notifying the client of the service renewal according to the updated service status list comprises:
and the presence server in the UPnP equipment informs the client terminal of continuing playing the service according to the updated service state list.
4. The method of claim 3, wherein before notifying the client of the service renewal, the method further comprises:
the control point CP of the client obtains the uniform resource locator URL of the presence server from the UPnP device description file when the UPnP device is discovered;
and connecting the obtained URL of the presence server with the presence server of the UPnP equipment, and presenting the service state list through a browser to receive the notification sent by the presence server according to the service state list.
5. The method according to any of claims 1 to 4, wherein the service status list comprises any combination of: service name, service breakpoint location, service description, protocol IP address of the interconnection between client networks previously using the service, client media access control MAC address of the previously using service, device name, service time, service status, URL of content.
6. The method according to any one of claims 2 to 4, wherein the notifying the client of the service renewal comprises:
and the UPnP equipment updates the service state list displayed on the client according to the service state list and a preset event notification mechanism so as to notify the client to continue playing the service.
7. The method according to any of claims 1 to 4, wherein when the UPnP device supports a device protection service DPS, the service status list further comprises a CP identity code ID of a client Control Point (CP);
when the UPnP device supports DPS and DPS supports user authentication, the service status list further includes a user USERID of the client control point CP.
8. The method according to any one of claims 1 to 4, wherein the service handling event comprises any combination of:
service access events, service interruption events, service exit events.
9. The method of claim 5, further comprising: and the client inquires the service state list to acquire the service recorded in the service state list.
10. The method according to any of claims 1 to 4, wherein when the live service has a look-back or time-shifting function, the method further comprises:
and the client performs playback or time-shifting play by combining the service breakpoint positioning in the service state list according to the service name, the service description and the URL of the content of the playback or time-shifting service in the service state list.
11. The method according to any one of claims 1 to 4, wherein when browsing pictures, if the client side is changed, the method further comprises: and the converted client continues to play the picture according to the service name, the service description and the URL of the content in the service state list.
12. A universal plug and play UPnP device for implementing service renewal, comprising:
the detection updating unit is used for detecting a service processing event and updating the service state list according to the detected service processing event;
the continuous playing processing unit is used for carrying out client service continuous playing processing according to the updated service state list;
wherein the services recorded in the service status list include: the gateway requests the services in the DMS; the service status list includes: a list published by a UPnP device on a presence server in the UPnP device using a UPnP device presence mechanism.
13. The UPnP device according to claim 12, wherein the resume processing unit includes:
and the notification updating module is used for notifying the client to continue playing the service according to the updated service state list.
14. The UPnP device according to claim 12, wherein the resume processing unit includes:
and the polling processing module is used for receiving the polling request of the client and feeding back the service state list to the client according to the polling request of the client so that the client can continue playing the service according to the service state list.
15. The UPnP device of claim 13,
the notification update module is specifically configured to notify, by a presence server in the UPnP device, the client to continue playing the service according to the updated service state list.
16. A system for enabling service renewal, comprising: universal plug and play UPnP equipment and a client; wherein,
the UPnP device includes:
the detection updating unit is used for detecting a service processing event and updating the service state list according to the detected service processing event;
the continuous playing processing unit is used for carrying out client service continuous playing processing according to the updated service state list;
the client comprises a resuming unit used for resuming the service according to the service resuming processing of the UPnP equipment;
wherein the services recorded in the service status list include: the gateway requests the services in the DMS; the service status list includes: a list published by a UPnP device on a presence server in the UPnP device using a UPnP device presence mechanism.
17. The system of claim 16, wherein the resume processing unit comprises,
and the notification updating module is used for notifying the client to continue playing the service according to the updated service state list.
18. The system according to claim 16, wherein the client further comprises a polling unit configured to send a polling request to the UPnP device to obtain the service status list;
the continuous play processing unit comprises a continuous play processing unit,
and the polling processing module is used for receiving the polling request of the client and feeding back the service state list to the client according to the polling request of the client so that the client can continue playing the service according to the service state list.
19. The system according to claim 16, wherein said client further comprises a control point CP for obtaining a uniform resource locator URL of a presence server from a UPnP device description file when said UPnP device is discovered; and connecting with a presence server in the UPnP equipment according to the obtained URL of the presence server.
20. The system according to any of claims 16 to 19, wherein the service status list comprises any combination of: service name, service breakpoint location, service description, protocol IP address of the interconnection between client networks previously using the service, client media access control MAC address of the previously using service, device name, service time, service status, URL of content.
21. The system according to any one of claims 16 to 19, wherein the client further comprises a query unit, configured to query the service status list to obtain the service recorded in the service status list.
22. The system according to any of claims 16 to 19, wherein the client further comprises a review or time-shift processing unit, configured to perform review or time-shift playing in conjunction with positioning of a service breakpoint in the service status list according to a service name, a service description, and a URL of content of a review or time-shift service in the service status list when the live service has a review or time-shift function.
23. The system according to any one of claims 16 to 19, wherein when the client is a transformed client, the client further comprises a picture resuming unit, and the picture resuming unit resumes the picture browsed by the previous client according to the service name, the service description, and the URL of the content in the service status list.
CN201610812034.XA 2016-09-09 2016-09-09 Method, UPnP device and system for realizing service continuous playing Expired - Fee Related CN106453255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610812034.XA CN106453255B (en) 2016-09-09 2016-09-09 Method, UPnP device and system for realizing service continuous playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610812034.XA CN106453255B (en) 2016-09-09 2016-09-09 Method, UPnP device and system for realizing service continuous playing

Publications (2)

Publication Number Publication Date
CN106453255A CN106453255A (en) 2017-02-22
CN106453255B true CN106453255B (en) 2022-03-08

Family

ID=58164579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610812034.XA Expired - Fee Related CN106453255B (en) 2016-09-09 2016-09-09 Method, UPnP device and system for realizing service continuous playing

Country Status (1)

Country Link
CN (1) CN106453255B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225252B (en) * 2020-01-06 2022-07-26 广东九联科技股份有限公司 PON gateway UPNP video live broadcast method based on openwrt system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196313A (en) * 2010-03-08 2011-09-21 华为技术有限公司 Method and device for continuous playing of cross-platform breakpoint as well as method and device for continuous playing of breakpoint
CN102724196A (en) * 2012-06-21 2012-10-10 中兴通讯股份有限公司 Method and device for playing media resource data
CN103167358A (en) * 2011-12-09 2013-06-19 深圳市快播科技有限公司 Set top box, media playing processing method and media resuming playing method
WO2013089670A1 (en) * 2011-12-13 2013-06-20 Thomson Licensing Method and system for providing universal follow-me functionality
CN103385006A (en) * 2011-02-20 2013-11-06 Lg电子株式会社 Method and apparatus for the seamless playback of content
CN104468494A (en) * 2013-09-25 2015-03-25 华为终端有限公司 Method and device for switching media playing device
CN104539638A (en) * 2008-08-14 2015-04-22 三星电子株式会社 Method and apparatus for playbacking scene using universal plug and play
CN105323628A (en) * 2014-07-30 2016-02-10 腾讯科技(深圳)有限公司 DLNA multi-screen playback method and system, browser-side device and playback device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201310240A (en) * 2011-08-24 2013-03-01 Tatung Co Seamless content migration service system and method between UPnP devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539638A (en) * 2008-08-14 2015-04-22 三星电子株式会社 Method and apparatus for playbacking scene using universal plug and play
CN102196313A (en) * 2010-03-08 2011-09-21 华为技术有限公司 Method and device for continuous playing of cross-platform breakpoint as well as method and device for continuous playing of breakpoint
CN103385006A (en) * 2011-02-20 2013-11-06 Lg电子株式会社 Method and apparatus for the seamless playback of content
CN103167358A (en) * 2011-12-09 2013-06-19 深圳市快播科技有限公司 Set top box, media playing processing method and media resuming playing method
WO2013089670A1 (en) * 2011-12-13 2013-06-20 Thomson Licensing Method and system for providing universal follow-me functionality
CN102724196A (en) * 2012-06-21 2012-10-10 中兴通讯股份有限公司 Method and device for playing media resource data
CN104468494A (en) * 2013-09-25 2015-03-25 华为终端有限公司 Method and device for switching media playing device
CN105323628A (en) * 2014-07-30 2016-02-10 腾讯科技(深圳)有限公司 DLNA multi-screen playback method and system, browser-side device and playback device

Also Published As

Publication number Publication date
CN106453255A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US9426543B1 (en) Server-based video stitching
CN101312523B (en) Method of searching for supplementary data related to content data and apparatus therefor
CN102547443B (en) Multi-terminal system resource sharing and interaction realizing method
US20110038613A1 (en) Remote storage of digital media broadcasts for time-shifted playback on personal digital media devices
JP2017229099A (en) Radio media stream distribution system
US8719869B2 (en) Method for sharing data and synchronizing broadcast data with additional information
US20110078750A1 (en) Trickplay in media file
CA2972469C (en) Systems and methods for pre-caching media content
US20140096162A1 (en) Automated Social Media and Event Driven Multimedia Channels
TW201123795A (en) System, method and apparatus for dynamic media file streaming
US20110258295A1 (en) Information processing terminal and method thereof
WO2012067464A2 (en) Apparatus and method for mashup of multimedia content
JP2012531662A (en) System and method for managing and / or rendering internet multimedia content in a network
WO2012065550A1 (en) Method and system for interaction between a multimedia terminal and an ip set top box
CN104918105B (en) More screen playing methods, equipment and the system of media file
EP3139573B1 (en) Media processing method and device
CN105979373A (en) Play method and device
KR102085192B1 (en) Rendering time control
JP2004215126A (en) Multilanguage adaptive moving picture delivery system
WO2014190655A1 (en) Application synchronization method, application server and terminal
CN103686409A (en) Method and system for synchronous broadcasting through desktop background and direct-broadcast interface
TW201120732A (en) Content service system and method thereof and computer-readable recording medium
EP2647167B1 (en) Recording in a local network
CN105744291B (en) Video data handling procedure and system, video playback apparatus and cloud server
KR20150029918A (en) System of synchronizing contents in a cloud system having a plurality of distributed servers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220308