WO2014131270A1 - Method and system for sharing usage record of over-the-top (ott) tv - Google Patents

Method and system for sharing usage record of over-the-top (ott) tv Download PDF

Info

Publication number
WO2014131270A1
WO2014131270A1 PCT/CN2013/082008 CN2013082008W WO2014131270A1 WO 2014131270 A1 WO2014131270 A1 WO 2014131270A1 CN 2013082008 W CN2013082008 W CN 2013082008W WO 2014131270 A1 WO2014131270 A1 WO 2014131270A1
Authority
WO
WIPO (PCT)
Prior art keywords
usage record
current user
data
record data
server
Prior art date
Application number
PCT/CN2013/082008
Other languages
French (fr)
Chinese (zh)
Inventor
尤许
陶长标
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014131270A1 publication Critical patent/WO2014131270A1/en

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/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/47202End-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 requesting content on demand, e.g. video on demand
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data

Definitions

  • the present invention relates to the field of network television technologies, and in particular, to a ⁇ Internet television usage record sharing method and system. Background technique
  • OTT (Over The Top) TV refers to an open Internet-based video service, which is a service that integrates IP video and Internet applications transmitted over a public Internet to networked devices (television, PC, mobile terminals).
  • OTT TV distributes video and audio streams to TV terminals, PCs and mobile terminals via the Internet.
  • the network or mobile network provides services to users.
  • the existing technologies for supporting OTT services are very mature.
  • the terminals of OTT services are no longer limited to access only in the home network, but also support access through the mobile Internet and the Internet, so that users can use them on different terminals.
  • OTT business is a service that integrates IP video and Internet applications transmitted over a public Internet to networked devices (television, PC, mobile terminals).
  • IPTV Internet video and audio technologies operators do not need to build a dedicated network for OTT TVs.
  • the network or mobile network provides services to users.
  • the existing technologies for supporting OTT services are very mature.
  • the terminals of OTT services are no longer limited to access only
  • the user data between the OTT terminals is required to be shared.
  • the traditional data sharing mode of the OTT is limited to the user data between the terminals of the home network, including the progress of the program, the collection information of the program channel, etc., usually according to the system level configuration, or according to the user level configuration setting sharing, this sharing mode Only system-level or user-level data sharing can be realized. Data sharing for each transaction level of the user cannot be achieved. The sharing granularity is too rough to meet the increasing user personalized requirements, and it is difficult to adapt to the dynamic adaptation of OTT technology. The need for flexible sharing.
  • a primary object of the present invention is to provide a OTT Internet TV usage record sharing method and system that can share data for each business record level of a user.
  • the present invention provides a OTT Internet TV usage record sharing method, comprising the steps of: Step A: An EPG (Electronic Programmer Guide) server receives a current user usage record update request sent by the first terminal, and forwards it to the SLP (Service) a Logic Point (Service Logic Control Point) server; the usage record update request carries a current status of the current usage record data of the current user and the current use record data; Step B, the SLP server is used according to the use Record update request, update the SLP The usage record data of the current user stored in the server; Step C, the EPG server receives the usage record access request of the current user sent by the second terminal, and forwards the request to the SLP server; Step D, the SLP server according to the Using the record access request, querying the usage record data shared by the current user and the usage record data shared by the
  • the step B specifically includes: Step B01, the SLP server acquires, according to the account of the current user carried in the usage record update request, an update time of the current user usage record data stored in the database to the database.
  • Step B02 the SLP server determines whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; if not, Then, step B03 is performed; if yes, step B04 is performed; step B03, the SLP server acquires usage record data of the current user stored in the database, and updates usage record data of the current user stored in the SLP server, and Updating the update time stamp of the usage record data of the current user stored in the SLP server to be consistent with the update time stamp of the usage record data of the current user stored in the database, and performing step B04; Step B04, the SLP server According to the current record of the current user carried in the use record update request Updating the
  • the method further includes: Step B05, the SLP server caches the updated current user usage record data as incremental data; Step B06, when the synchronization time arrives or the number of the incremental data When greater than or equal to the update threshold, the SLP server synchronizes the delta data to the database.
  • the method further includes: Step B07, the SLP server uses, according to the current user account carried in the usage record update request and the device identifier of the first terminal, the updated current user usage.
  • the usage record data in the record data is the usage record data shared by the current user and the usage record data shared by the first terminal is fed back to the EPG server, and is forwarded by the EPG server to the first terminal.
  • the step D specifically includes: Step D01, the SLP server acquires, according to the account of the current user carried in the use record access request, an update time of the current user's usage record data stored in the database to the database.
  • Step S102 the SLP server determines whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; if not, Then, step D03 is performed; if yes, step D04 is performed; step D03, the SLP server acquires usage record data of the current user stored in the database, and updates usage record data of the current user stored in the SLP server, and The current use stored in the SLP server The update timestamp of the usage record data of the user is updated to be consistent with the update timestamp of the usage record data of the current user stored in the database, and step D04 is performed; Step D04, the SLP server carries the access request according to the usage record.
  • the account of the current user and the device identifier of the second terminal are used to query the usage history data shared by the current user and the usage history data shared by the second terminal in the usage record data of the current user. And sent to the EPG server, and forwarded by the EPG server to the second terminal.
  • the present invention also provides an OTT Internet TV usage record sharing system, including an EPG server and an SLP server: the EPG server is configured to receive a current user usage record update request sent by the first terminal, and forward the request to the SLP server; Using the record update request to carry the current use record data of the current user and the share status of the current use record data; receiving a use record access request of the current user sent by the second terminal, and forwarding the request to the SLP server; The usage status of the SLP server is forwarded to the second terminal by using the usage record data shared by the current user and the usage record data shared by the second terminal; the SLP server is configured to update the request according to the usage record Updating the usage record data of the current user stored in the SLP server; querying the usage history data shared by the current user and the sharing status as the second terminal in the current user usage record data according to the usage record access request Private use of recorded data, and sent The EPG server.
  • the EPG server is configured to receive a current user usage record update request sent by the first terminal,
  • the SLP server is specifically configured to: obtain an update timestamp of the usage record data of the current user stored in the database according to the account of the current user carried in the usage record update request; and determine the SLP Whether the update timestamp of the usage record data of the current user stored in the server is consistent with the update timestamp of the usage record data of the current user stored in the database; when the update timestamps are inconsistent, the current user stored in the database is acquired.
  • the update timestamp of the usage record data is consistent; when the update timestamps are consistent, the update status is updated according to the current use record data of the current user and the share state of the current use record data carried in the use record update request.
  • the current user's usage record stored in the SLP server Recording data, and updating the update time stamp of the current user's usage record data stored in the SLP server to the current time.
  • the SLP server is further configured to: cache the updated usage history data of the current user as incremental data; when the synchronization time arrives or the number of the incremental data is greater than or equal to the update threshold, The SLP server synchronizes the delta data to the database.
  • the SLP server is further configured to query the sharing status in the updated usage data of the current user according to the current user account and the device identifier of the first terminal carried in the usage record update request.
  • the usage record data and the shared state shared by the current user are the use record data private to the first terminal, and are fed back to the EPG server.
  • the EPG server is further configured to: the shared state fed back by the SLP server is the current user.
  • the shared usage record data and the usage status are forwarded to the first terminal by the first terminal private usage record data.
  • the SLP server is further configured to: obtain an update timestamp of the usage record data of the current user stored in the database from the database according to the account of the current user carried in the use record access request; Whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; when the update timestamps are inconsistent, acquiring the current stored in the database Updating the usage record data of the current user stored in the SLP server by using the record data of the user, and updating the update time stamp of the usage record data of the current user stored in the SLP server to be current with the current stored in the database The update timestamp of the user's usage record data is consistent; when the update timestamps are consistent, according to the current user's account number carried in the use record access request and the device identifier of the second terminal, the updated current user's use
  • FIG. 1 is a flowchart of a first embodiment of a method for recording and sharing OTT Internet TV according to the present invention
  • FIG. 2 is a flowchart of a second embodiment of a method for recording and sharing OTT Internet TV according to the present invention
  • FIG. 4 is a flowchart of a fourth embodiment of a OTT Internet TV usage record sharing method according to the present invention
  • FIG. 5 is a flowchart of a OTT Internet TV usage record sharing method according to the present invention
  • FIG. 6 is a schematic structural diagram of a first embodiment of a OTT Internet TV usage record sharing system according to the present invention.
  • the OTT Internet TV usage record sharing method mentioned in this embodiment includes the following steps: Step A: The EPG server receives the current user usage record update request sent by the first terminal, and forwards the request to the SLP server.
  • the first terminal is a set top box, a PC or a mobile terminal.
  • the current user may input the current user's account at the first terminal to log in to the OTT TV service, and the first terminal initiates an update request.
  • the usage update record carries the current usage history data of the current user and the sharing status of the current usage record data, and the sharing status can be distinguished by setting the sharing identifier.
  • Step B The SLP server updates the usage record data of the current user stored in the SLP server according to the usage record update request.
  • the current update record data of the current user is carried in the record update request, and the SLP server updates the original data by using the current use record data of the current user.
  • the data is updated in real time only when the user initiates the request, and the SLP server is used as the cache module for using the recorded data, and the used record data is not directly stored in the database, thereby minimizing the synchronization of the SLP server and the database with the full amount of user data. Avoid impact on the performance of the business processing server and database, in the case of massive user data, can greatly improve the efficiency of the system processing data.
  • Step C The EPG server receives the current user usage record access request sent by the second terminal, and forwards the request to the SLP server.
  • the second terminal is a set top box, a PC or a mobile terminal.
  • the usage record access request may include an account of the current user, a device identifier of the second terminal, and the like.
  • Step D The SLP server queries, according to the usage record access request, the usage record data in the current user's usage record data that is shared by the current user and the usage record data shared by the second terminal, and sent to the EPG server, and sent to the EPG server.
  • the EPG server forwards to the second terminal.
  • the SLP server After receiving the record access request, the SLP server searches the SLP server for the current user's usage record data according to the current user's account, and searches for the shared state as the data shared by the current user according to the shared identifier, and the shared data can be sent to one.
  • the terminal device searches for the data shared by the second terminal according to the shared identifier and the device identifier, and the private data can only be sent to the terminal device corresponding to the private data.
  • the current user views a certain video file through the first terminal at 9:00 this morning, the video plays to 20%, the current user sends a usage record update request via the first terminal, and marks the usage record of 9:00 this morning as sharing, SLP
  • the server saves the update record; the current user re-accesses the video file through the first terminal at 2 pm today, and the SLP server notifies the first terminal, the first terminal, that the video has been played to 20% of the usage record data according to the updated data.
  • the video starts playing from 20%, the video plays to 60%, the current user sends a usage record update request via the first terminal, and marks the usage record at 2 pm today as private, and the SLP server saves the update record; the current user is today
  • the video file is re-accessed by the second terminal at 8:00 pm, and the SLP server does not have the first terminal private because the data updated in the afternoon is updated according to the updated data. Therefore, the SLP server still plays the video to 20% according to the data updated in the morning.
  • Using the recorded data to inform the second terminal that the second terminal starts playing the game from 20% Frequency.
  • This embodiment performs separate processing according to the sharing state set by each user using the record data, which protects the personal privacy of each user, and on the other hand makes the sharing more flexible. As shown in FIG.
  • FIG. 2 is a flowchart of a second embodiment of a method for recording and sharing OTT Internet TV according to the present invention.
  • Step B specifically includes: Step B01:
  • the SLP server obtains the current stored in the database from the database according to the account of the current user carried in the record update request.
  • the update timestamp of the user's usage record data In order to avoid updating to useless data when the data is updated, it should be ensured that the data stored on the SLP server is the latest data.
  • the SLP server needs to compare with the data stored in the database to determine whether it is a database.
  • the latest data stored in the method can be judged by comparing the timestamps, that is, whether the data stored on the SLP server is the same as the update time marked by the data stored in the database.
  • Step B02 the SLP server determines whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; if not, executing step B03; if yes, Then step B04 is performed.
  • Step B03 the SLP server acquires the usage record data of the current user stored in the database, updates the usage record data of the current user stored in the SLP server, and updates the update time stamp of the current user usage record data stored in the SLP server to The update timestamp of the usage record data of the current user stored in the database is consistent, and step B04 is performed.
  • the update timestamp of the data in the SLP server is inconsistent with the update timestamp of the data in the database, it indicates that the data stored in the SLP server is not the latest data, and the latest data should be downloaded from the database to update the data in the SLP server to avoid Update to useless data as the data is updated.
  • Step B04 the SLP server updates the usage record data of the current user stored in the SLP server according to the current usage record data of the current user and the sharing status of the current usage record data carried in the usage record update request, and stores the usage record data of the current user in the SLP server.
  • the update timestamp of the current user's usage record data is updated to the current time.
  • FIG. 3 is a flowchart of a third embodiment of a method for recording and sharing OTT Internet TV according to the present invention. The embodiment is based on the embodiment shown in FIG. 2.
  • the method further includes: Step B05: The SLP server caches the updated current user usage record data as incremental data.
  • step B06 when the synchronization time arrives or the number of pieces of incremental data is greater than or equal to the update threshold, the SLP server synchronizes the incremental data to the database.
  • FIG. 4 is a flowchart of a fourth embodiment of a method for recording and sharing OTT Internet TV according to the present invention. This embodiment is based on the embodiment shown in FIG.
  • Step B07 The SLP server queries, according to the account of the current user and the device identifier of the first terminal carried in the use record update request, the usage history data shared by the current user in the used usage record data of the current user. Recording data for the private use of the first terminal is fed back to the EPG server and forwarded by the EPG server to the first terminal. After the data update is completed, the SLP server feeds back the update result to the first terminal, and informs the first terminal of the current update status. If the first terminal needs to continue to access the current service immediately after the update is completed, the access request is not required to be reduced. The access process eases the flow pressure and helps improve system processing efficiency. As shown in FIG. 5, FIG.
  • Step D is a flowchart of a fifth embodiment of a method for recording and sharing OTT Internet TV according to the present invention. This embodiment is based on the embodiment shown in FIG. 1 and is described in detail in step D.
  • Step D specifically includes: Step D01: The SLP server acquires the current stored in the database from the database according to the current user account carried in the record access request. The update timestamp of the user's usage record data.
  • the record access request carries the account of the current user and the device identifier of the second terminal. In order to avoid accessing useless data during data access, ensure that the data stored on the SLP server is the latest data. After receiving the access request from the terminal device, the SLP server needs to compare with the data stored in the database to determine whether it is a database.
  • Step D02 the SLP server determines whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; if not, executing step D03; if yes, Then step D04 is performed.
  • Step D03 The SLP server acquires the usage record data of the current user stored in the database, updates the usage record data of the current user stored in the SLP server, and updates the update time stamp of the current user usage record data stored in the SLP server to The update timestamp of the usage record data of the current user stored in the database is consistent, and step D04 is performed.
  • Step D04 The SLP server queries the sharing status of the current user in the usage record data of the current user according to the account of the current user and the device identifier of the second terminal carried in the record access request.
  • the usage record data and the share status are private use record data of the second terminal, and are sent to the EPG server, and are forwarded by the EPG server to the second terminal.
  • the update timestamp of the data in the SLP server is consistent with the update timestamp of the data in the database, it means that the data stored in the SLP server is the same as the data stored in the database, and is the latest data.
  • you can access the latest data which is good for data download.
  • FIG. 6 is a schematic structural diagram of a first embodiment of a OTT Internet TV usage record sharing system according to the present invention.
  • the OTT Internet TV usage record sharing system mentioned in this embodiment includes an EPG server 10 and an SLP server 20:
  • the EPG server 10 is configured to receive the current user's usage record update request sent by the first terminal 30, and forward it to the SLP server 20; the use record update request carries the current user's current use record data and the current use record data.
  • the sharing status is received by the second terminal 40, and is forwarded to the SLP server 20; the sharing status sent by the SLP server 20 is the usage record data shared by the current user and the sharing status is private to the second terminal 40.
  • the usage record data is forwarded to the second terminal 40.
  • the SLP server 20 is configured to update the usage record data of the current user stored in the SLP server 20 according to the usage record update request; and query the usage status shared by the current user in the usage record data of the current user according to the usage record access request.
  • the data and sharing status are private usage record data of the second terminal 40, and are sent to the EPG server 10.
  • the first terminal 30 is a set top box, a PC, or a mobile terminal.
  • the current user may enter the current user's account at the first terminal 30 to log in to the OTT TV service, and the first terminal 30 initiates an update request.
  • the usage update record carries the current usage history data of the current user and the sharing status of the current usage record data, and the sharing status can be distinguished by setting the sharing identifier.
  • the sharing identifier when the sharing identifier is 0, it means not sharing, as the first
  • the private data of a terminal 30, only the current user enters the current user account to log in on the first terminal 30, and can access the private data. If the current user logs in through other terminals, even if the same current user account or the current input is entered
  • the account associated with the user account cannot access the private data; when the share identifier is 1, it indicates sharing, as the shared data of the current user, the current user inputs the current user account on any terminal or is associated with the current user account.
  • the account login can access these private data.
  • the current usage record data of the current user is carried in the record update request, and the SLP server 20 updates the original data by using the current use record data of the current user.
  • the data is updated in real time only when the user initiates the request, and the SLP server 20 is used as the cache module for using the recorded data, and the used record data is not directly stored in the database 50, thereby minimizing the synchronization of the SLP server 20 and the database 50 as much as possible.
  • User data to avoid impact on the performance of the business processing server and database 50, in the case of massive user data, can greatly improve the system The efficiency of processing data.
  • the second terminal 40 of this embodiment is a set top box, a PC or a mobile terminal.
  • the usage record access request may include an account of the current user, a device identifier of the second terminal 40, and the like.
  • the SLP server After receiving the record access request, the SLP server searches the SLP server 20 for the current user's usage record data according to the current user's account, and searches for the shared state as the data shared by the current user according to the shared identifier, and the shared data can be sent to the user.
  • a terminal device searches for the private data of the second terminal 40 according to the shared identifier and the device identifier, and the private data can only be sent to the terminal device corresponding to the private data. For example, the current user views a certain video file through the first terminal 30 at 9:00 this morning, the video is played to 20%, the current user sends a usage record update request via the first terminal 30, and marks the usage record of 9:00 this morning as sharing.
  • the SLP server 20 saves the update record; the current user re-accesses the video file through the first terminal 30 at 2 pm today, and the SLP server 20 informs the first that the video has been played to 20% of the usage record data according to the updated data.
  • the terminal 30, the first terminal 30 starts playing the video from 20%, and the video plays to 60%.
  • the current user sends a usage record update request via the first terminal 30, and marks the use record of 2 pm today as private, and the SLP server 20 saves This update record; the current user re-accesses the video file through the second terminal 40 at 8:00 this evening, and the SLP server 20 does not have the first terminal 30 private because the data updated in the afternoon is not according to the updated data, therefore, the SLP server 20 still follows The data updated in the morning, the video has been played to 20% of the usage record data to inform the second terminal 40, the second End 40 starts to play video from 20%.
  • This embodiment performs separate processing according to the sharing state set by each user using the record data, which protects the personal privacy of each user on the one hand, and makes the sharing more flexible on the other hand.
  • the SLP server 20 is specifically configured to: obtain an update time stamp of the usage record data of the current user stored in the database 50 from the database 50 according to the account of the current user carried in the use record update request. It is judged whether or not the update time stamp of the current user's usage record data stored in the SLP server 20 coincides with the update time stamp of the current user's usage record data stored in the database 50. When the update time stamps are inconsistent, the usage record data of the current user stored in the database 50 is acquired, the usage record data of the current user stored in the SLP server 20 is updated, and the update of the usage record data of the current user stored in the SLP server 20 is obtained.
  • the timestamp is updated to coincide with the update timestamp of the current user's usage record data stored in database 50.
  • the usage history data of the current user stored in the SLP server 20 is updated according to the sharing status of the current usage record data of the current user and the current usage record data carried in the usage record update request, and the SLP is The update time stamp of the usage record data of the current user stored in the server 20 is updated to the current time.
  • the SLP server 20 needs to perform data with the data stored in the database 50 when receiving the update request of the terminal device.
  • the manner of judging can adopt the method of comparing time stamps, that is, whether the data stored on the SLP server 20 and the update time marked by the data stored in the database 50 are the same.
  • the update time stamp of the data in the SLP server 20 does not coincide with the update time stamp of the data in the database 50, it indicates that the data stored in the SLP server 20 is not the latest data, and the latest data should be downloaded from the database 50 to update the SLP server 20.
  • the data in the data to avoid updating to useless data when the data is updated.
  • the SLP server 20 accesses the database 50 only when the user initiates the request, and when the data is determined to be inconsistent, the SLP server 20 downloads the data from the database 50, minimizing the SLP server 20 and the database 50.
  • the number of times of data transmission avoids impact on the performance of the business processing server and database 50. In the case of massive user data, the efficiency of processing data by the system can be greatly improved.
  • the update timestamp of the data in the SLP server 20 coincides with the update timestamp of the data in the database 50, that is, the data stored in the SLP server 20 is the same as the data stored in the database 50, and is the latest data. At this time, when the data is updated, the latest data can be updated to facilitate data update.
  • the SLP server 20 is further configured to: cache the updated usage history data of the current user as incremental data.
  • the SLP server 20 synchronizes the delta data to the database 50 when the synchronization time arrives or the number of increments of data is greater than or equal to the update threshold.
  • the SLP server 20 of the present embodiment does not immediately update the data in the database 50 after performing the data update, but caches the data to be updated to reduce the number of accesses to the database 50, and minimizes the SLP server 20 and the database. 50 Synchronize the full amount of user data, alleviate the traffic pressure, avoid the impact on the performance of the business processing server and database 50, in the case of massive user data, can greatly improve the efficiency of the system processing data.
  • the SLP server 20 is further configured to query the sharing status in the updated usage data of the current user according to the account of the current user and the device identifier of the first terminal 30 carried in the usage record update request.
  • the usage record data and the sharing status shared by the current user are the usage history data private to the first terminal 30, and are fed back to the EPG server 10.
  • the EPG server 10 is further configured to forward the sharing status fed back by the SLP server 20 to the first terminal 30 for the usage record data shared by the current user and the usage record data shared by the first terminal 30.
  • the SLP server 20 After performing the update of the data in this embodiment, the SLP server 20 also feeds back the update result to the first terminal 30, and informs the first terminal 30 of the current update status. If the first terminal 30 needs to continue to access the current service immediately after the update is completed, There is no need to make an access request, which reduces the access process, relieves traffic pressure, and helps improve system processing efficiency.
  • the SLP server 20 is further configured to: obtain an update time stamp of the usage record data of the current user stored in the database 50 from the database 50 according to the account of the current user carried in the record access request. It is judged whether or not the update time stamp of the current user's usage record data stored in the SLP server 20 coincides with the update time stamp of the current user's usage record data stored in the database 50. When the update time stamps are inconsistent, the usage record data of the current user stored in the database 50 is obtained, and the update is performed.
  • the usage record data of the current user stored in the SLP server 20, and the update time stamp of the usage record data of the current user stored in the SLP server 20 is updated to be consistent with the update time stamp of the usage record data of the current user stored in the database 50.
  • the usage history data shared by the current user is queried in the updated current user usage record data according to the current user's account number carried in the record access request and the device identifier of the second terminal 40.
  • the shared state is the usage record data private to the second terminal 40, and is sent to the EPG server 10.
  • the usage record access request of this embodiment carries the account of the current user and the device identifier of the second terminal 40.
  • the SLP server 20 In order to avoid accessing useless data during data access, it is ensured that the data stored on the SLP server 20 is the latest data. After receiving the access request of the terminal device, the SLP server 20 needs to compare with the data stored in the database 50 to determine Whether it is the latest data stored in the database 50, the manner of judging can also adopt the method of comparing time stamps. When the update time stamp of the data in the SLP server 20 does not coincide with the update time stamp of the data in the database 50, it indicates that the data stored in the SLP server 20 is not the latest data, and the latest data should be downloaded from the database 50 to update the SLP server 20.
  • the data in the file avoids accessing useless data during data access, and minimizes the number of data transfers between the SLP server 20 and the database 50, avoiding impact on the performance of the service processing server and the database 50, in the case of massive user data. In this case, the efficiency of the system processing data can be greatly improved.
  • the update timestamp of the data in the SLP server 20 coincides with the update timestamp of the data in the database 50, that is, the data stored in the SLP server 20 is the same as the data stored in the database 50, and is the latest data. At this time, when accessing the data, the latest data can be accessed, which is beneficial to data download.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed are a method and a system for sharing a usage record of an over-the-top (OTT) TV. The method comprises: an EPG server receiving a usage record updating request sent by a first terminal, of a current user, and forwarding the usage record updating request to an SLP server; the SLP server updating usage record data of the current user according to the usage record updating request; the EPG server receiving a usage record visit request sent by a second terminal, of the current user, and forwarding the usage record visit request to the SLP server; and the SLP server querying, according to the usage data visit request, in the usage record data of the current user for usage record data whose sharing status is "shared by the current user" and usage record data whose sharing status is "private data of the second terminal", and sending the data to the EPG server, and the EPG server forwarding the data to the second terminal. By means of the present invention, personal privacy can be protected and sharing is more flexible, the impact on performance of a service processing server and a database is avoided, and the efficiency of data processing of a system is significantly improved.

Description

OTT互联网电视使用记录共享方法和系统 技术领域 本发明涉及到网络电视技术领域,特别涉及到 οττ互联网电视使用记录共享方法 和系统。 背景技术  TECHNICAL FIELD The present invention relates to the field of network television technologies, and in particular, to a οττ Internet television usage record sharing method and system. Background technique
OTT (Over The Top) TV是指基于开放互联网的视频服务, 是通过公共互联网面 向联网设备(电视、 PC、移动终端)传输的 IP视频和互联网应用融合的服务。 OTT TV 是通过互联网分发视音频流到电视终端、 PC和移动终端, 但与传统 IPTV互联网视音 频技术不同的是, 运营商不需要为 OTT TV特别建设一套专用的网络, 可以在无管理 的网络或移动网络为用户提供服务。 现有的支持 OTT业务的技术已经十分成熟, OTT业务的终端已不再局限于只在 家庭网络中接入, 而且支持通过移动互联网和互联网的接入, 使得用户可以在不同终 端上都能使用 OTT业务。 为保证用户在不同终端上的业务延续性,这就要求各 OTT终端间的用户数据要实 现共享。 目前 OTT传统的数据共享方式只限于家庭网络的终端间的用户数据, 包括节 目的播放进度、 节目栏目频道的收藏信息等, 通常根据系统级配置, 或者根据用户级 配置设置共享, 这种共享方式只能实现系统级或用户级的数据共享, 无法做到针对用 户每条业务记录级的数据共享, 共享粒度过于粗糙, 无法适应日益增长的用户个性化 需求, 难以适应 OTT技术的动态适配、 灵活共享的需求。 发明内容 本发明的主要目的为提供一种可针对用户每条业务记录级数据共享的 OTT 互联 网电视使用记录共享方法和系统。 本发明提出一种 OTT 互联网电视使用记录共享方法, 包括步骤: 步骤 A, EPG (Electronic Programmer Guide, 电子节目菜单) 服务器接收第一终端发送的当前用户 的使用记录更新请求, 并转发至 SLP ( Service Logic Point, 业务逻辑控制点)服务器; 所述使用记录更新请求中携带有当前用户的本次使用记录数据和所述本次使用记录数 据的共享状态; 步骤 B, 所述 SLP服务器根据所述使用记录更新请求, 更新所述 SLP 服务器中存储的当前用户的使用记录数据; 步骤 C, 所述 EPG服务器接收第二终端发 送的当前用户的使用记录访问请求, 并转发至所述 SLP服务器; 步骤 D, 所述 SLP服 务器根据所述使用记录访问请求, 在当前用户的使用记录数据中查询共享状态为当前 用户共享的使用记录数据和共享状态为第二终端私有的使用记录数据, 并发送至所述 EPG服务器, 由所述 EPG服务器转发至所述第二终端。 优选地, 所述步骤 B具体包括: 步骤 B01, 所述 SLP服务器根据所述使用记录更 新请求中携带的当前用户的账号, 向数据库获取所述数据库中存储的当前用户的使用 记录数据的更新时间戳; 步骤 B02, 所述 SLP服务器判断所述 SLP服务器中存储的当 前用户的使用记录数据的更新时间戳与所述数据库中存储的当前用户的使用记录数据 的更新时间戳是否一致; 如果否, 则执行步骤 B03; 如果是, 则执行步骤 B04; 步骤 B03, 所述 SLP服务器获取所述数据库中存储的当前用户的使用记录数据, 更新所述 SLP服务器中存储的当前用户的使用记录数据, 并将所述 SLP服务器中存储的当前用 户的使用记录数据的更新时间戳更新为与所述数据库中存储的当前用户的使用记录数 据的更新时间戳一致, 执行步骤 B04; 步骤 B04, 所述 SLP服务器根据所述使用记录 更新请求中携带的当前用户的本次使用记录数据和所述本次使用记录数据的共享状 态, 更新所述 SLP服务器中存储的当前用户的使用记录数据, 并将所述 SLP服务器中 存储的当前用户的使用记录数据的更新时间戳更新为当前时间。 优选地, 所述步骤 B04之后还包括: 步骤 B05, 所述 SLP服务器将更新后的当前 用户的使用记录数据缓存为增量数据; 步骤 B06, 当同步时间到达或所述增量数据的 条数大于或等于更新阈值时, 所述 SLP服务器将所述增量数据同步至所述数据库。 优选地, 所述步骤 B04之后还包括: 步骤 B07, 所述 SLP服务器根据所述使用记 录更新请求中携带的当前用户的账号和所述第一终端的设备标识, 在更新后的当前用 户的使用记录数据中查询共享状态为当前用户共享的使用记录数据和共享状态为第一 终端私有的使用记录数据, 并反馈至所述 EPG服务器, 由所述 EPG服务器转发至所 述第一终端。 优选地, 所述步骤 D具体包括: 步骤 D01, 所述 SLP服务器根据所述使用记录访 问请求中携带的当前用户的账号, 向数据库获取所述数据库中存储的当前用户的使用 记录数据的更新时间戳; 步骤 D02, 所述 SLP服务器判断所述 SLP服务器中存储的当 前用户的使用记录数据的更新时间戳与所述数据库中存储的当前用户的使用记录数据 的更新时间戳是否一致; 如果否, 则执行步骤 D03; 如果是, 则执行步骤 D04; 步骤 D03, 所述 SLP服务器获取所述数据库中存储的当前用户的使用记录数据, 更新所述 SLP服务器中存储的当前用户的使用记录数据, 并将所述 SLP服务器中存储的当前用 户的使用记录数据的更新时间戳更新为与所述数据库中存储的当前用户的使用记录数 据的更新时间戳一致, 执行步骤 D04; 步骤 D04, 所述 SLP服务器根据所述使用记录 访问请求中携带的当前用户的账号和所述第二终端的设备标识, 在更新后的当前用户 的使用记录数据中查询共享状态为当前用户共享的使用记录数据和共享状态为第二终 端私有的使用记录数据, 并发送至所述 EPG服务器, 由所述 EPG服务器转发至所述 第二终端。 本发明还提出一种 OTT互联网电视使用记录共享系统, 包括 EPG服务器和 SLP 服务器: 所述 EPG服务器设置为, 接收第一终端发送的当前用户的使用记录更新请求, 并 转发至 SLP服务器; 所述使用记录更新请求中携带有当前用户的本次使用记录数据和 所述本次使用记录数据的共享状态; 接收第二终端发送的当前用户的使用记录访问请 求, 并转发至所述 SLP服务器; 将所述 SLP服务器发送的共享状态为当前用户共享的 使用记录数据和共享状态为第二终端私有的使用记录数据转发至所述第二终端; 所述 SLP服务器设置为, 根据所述使用记录更新请求, 更新所述 SLP服务器中存储的当前 用户的使用记录数据; 根据所述使用记录访问请求, 在当前用户的使用记录数据中查 询共享状态为当前用户共享的使用记录数据和共享状态为第二终端私有的使用记录数 据, 并发送至所述 EPG服务器。 优选地, 所述 SLP服务器具体设置为: 根据所述使用记录更新请求中携带的当前 用户的账号, 向数据库获取所述数据库中存储的当前用户的使用记录数据的更新时间 戳; 判断所述 SLP服务器中存储的当前用户的使用记录数据的更新时间戳与所述数据 库中存储的当前用户的使用记录数据的更新时间戳是否一致;当更新时间戳不一致时, 获取所述数据库中存储的当前用户的使用记录数据, 更新所述 SLP服务器中存储的当 前用户的使用记录数据, 并将所述 SLP服务器中存储的当前用户的使用记录数据的更 新时间戳更新为与所述数据库中存储的当前用户的使用记录数据的更新时间戳一致; 当更新时间戳一致时, 根据所述使用记录更新请求中携带的当前用户的本次使用记录 数据和所述本次使用记录数据的共享状态, 更新所述 SLP服务器中存储的当前用户的 使用记录数据, 并将所述 SLP服务器中存储的当前用户的使用记录数据的更新时间戳 更新为当前时间。 优选地, 所述 SLP服务器具体还设置为: 将更新后的当前用户的使用记录数据缓 存为增量数据; 当同步时间到达或所述增量数据的条数大于或等于更新阈值时, 所述 SLP服务器将所述增量数据同步至所述数据库。 优选地, 所述 SLP服务器具体还设置为, 根据所述使用记录更新请求中携带的当 前用户的账号和所述第一终端的设备标识, 在更新后的当前用户的使用记录数据中查 询共享状态为当前用户共享的使用记录数据和共享状态为第一终端私有的使用记录数 据, 并反馈至所述 EPG服务器; 所述 EPG服务器具体还设置为, 将所述 SLP服务器 反馈的共享状态为当前用户共享的使用记录数据和共享状态为第一终端私有的使用记 录数据转发至所述第一终端。 优选地, 所述 SLP服务器具体还设置为: 根据所述使用记录访问请求中携带的当 前用户的账号, 向数据库获取所述数据库中存储的当前用户的使用记录数据的更新时 间戳; 判断所述 SLP服务器中存储的当前用户的使用记录数据的更新时间戳与所述数 据库中存储的当前用户的使用记录数据的更新时间戳是否一致; 当更新时间戳不一致 时, 获取所述数据库中存储的当前用户的使用记录数据, 更新所述 SLP服务器中存储 的当前用户的使用记录数据, 并将所述 SLP服务器中存储的当前用户的使用记录数据 的更新时间戳更新为与所述数据库中存储的当前用户的使用记录数据的更新时间戳一 致; 当更新时间戳一致时, 根据所述使用记录访问请求中携带的当前用户的账号和所 述第二终端的设备标识, 在更新后的当前用户的使用记录数据中查询共享状态为当前 用户共享的使用记录数据和共享状态为第二终端私有的使用记录数据, 并发送至所述 EPG服务器。 本发明根据每一条用户使用记录数据设置的共享状态进行分别处理, 一方面保护 了各用户的个人隐私, 另一方面也使共享变得更加灵活, 同时, 只在用户发起请求的 时候实时更新数据, 并且采用 SLP服务器作为使用记录数据的缓存模块, 使用记录数 据没有直接存储于数据库中,尽可能减少了 SLP服务器与数据库同步全量的用户数据, 避免对业务处理服务器和数据库性能造成冲击, 在海量用户数据的情况下, 能大幅度 提高系统处理数据的效率。 附图说明 图 1为本发明 OTT互联网电视使用记录共享方法的第一实施例的流程图; 图 2为本发明 OTT互联网电视使用记录共享方法的第二实施例的流程图; 图 3为本发明 OTT互联网电视使用记录共享方法的第三实施例的流程图; 图 4为本发明 OTT互联网电视使用记录共享方法的第四实施例的流程图; 图 5为本发明 OTT互联网电视使用记录共享方法的第五实施例的流程图; 以及 图 6为本发明 OTT互联网电视使用记录共享系统的第一实施例的结构示意图。 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。 具体实施方式 应当理解,此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。 如图 1所示,图 1为本发明 OTT互联网电视使用记录共享方法的第一实施例的流 程图。 本实施例提到的 OTT互联网电视使用记录共享方法, 包括步骤: 步骤 A, EPG服务器接收第一终端发送的当前用户的使用记录更新请求, 并转发 至 SLP服务器。 第一终端为机顶盒、 PC或移动终端。 当前用户可在第一终端输入当前用户的账号 来登录 OTT TV业务, 并由第一终端发起更新请求。 使用记录更新请求中携带有当前 用户的本次使用记录数据和本次使用记录数据的共享状态, 可通过设置共享标识来区 分共享状态, 例如, 当共享标识为 0时, 表示不共享, 作为第一终端的私有数据, 只 有当前用户在第一终端上输入当前用户账号登录, 才能够访问这条私有数据, 如果当 前用户通过其他终端登录, 即使输入的是同一个当前用户账号或与当前用户账号相关 联的账号, 均不可访问这条私有数据; 当共享标识为 1时, 表示共享, 作为当前用户 的共享数据, 当前用户在任何一个终端上输入当前用户账号或与当前用户账号相关联 的账号登录, 均可以访问这些私有数据。 步骤 B, SLP服务器根据使用记录更新请求, 更新 SLP服务器中存储的当前用户 的使用记录数据。 使用记录更新请求中携带有当前用户的本次使用记录数据, SLP服务器采用当前 用户的本次使用记录数据更新原有的数据。 本实施例只在用户发起请求的时候实时更 新数据, 并且采用 SLP服务器作为使用记录数据的缓存模块, 使用记录数据没有直接 存储于数据库中, 尽可能减少了 SLP服务器与数据库同步全量的用户数据, 避免对业 务处理服务器和数据库性能造成冲击, 在海量用户数据的情况下, 能大幅度提高系统 处理数据的效率。 步骤 C, EPG服务器接收第二终端发送的当前用户的使用记录访问请求, 并转发 至 SLP服务器。 第二终端为机顶盒、 PC或移动终端。使用记录访问请求中可包括当前用户的账号、 第二终端的设备标识等。 步骤 D, SLP服务器根据使用记录访问请求, 在当前用户的使用记录数据中查询 共享状态为当前用户共享的使用记录数据和共享状态为第二终端私有的使用记录数 据, 并发送至 EPG服务器, 由 EPG服务器转发至第二终端。 OTT (Over The Top) TV refers to an open Internet-based video service, which is a service that integrates IP video and Internet applications transmitted over a public Internet to networked devices (television, PC, mobile terminals). OTT TV distributes video and audio streams to TV terminals, PCs and mobile terminals via the Internet. However, unlike traditional IPTV Internet video and audio technologies, operators do not need to build a dedicated network for OTT TVs. The network or mobile network provides services to users. The existing technologies for supporting OTT services are very mature. The terminals of OTT services are no longer limited to access only in the home network, but also support access through the mobile Internet and the Internet, so that users can use them on different terminals. OTT business. In order to ensure the continuity of the service of the user on different terminals, the user data between the OTT terminals is required to be shared. At present, the traditional data sharing mode of the OTT is limited to the user data between the terminals of the home network, including the progress of the program, the collection information of the program channel, etc., usually according to the system level configuration, or according to the user level configuration setting sharing, this sharing mode Only system-level or user-level data sharing can be realized. Data sharing for each transaction level of the user cannot be achieved. The sharing granularity is too rough to meet the increasing user personalized requirements, and it is difficult to adapt to the dynamic adaptation of OTT technology. The need for flexible sharing. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a OTT Internet TV usage record sharing method and system that can share data for each business record level of a user. The present invention provides a OTT Internet TV usage record sharing method, comprising the steps of: Step A: An EPG (Electronic Programmer Guide) server receives a current user usage record update request sent by the first terminal, and forwards it to the SLP (Service) a Logic Point (Service Logic Control Point) server; the usage record update request carries a current status of the current usage record data of the current user and the current use record data; Step B, the SLP server is used according to the use Record update request, update the SLP The usage record data of the current user stored in the server; Step C, the EPG server receives the usage record access request of the current user sent by the second terminal, and forwards the request to the SLP server; Step D, the SLP server according to the Using the record access request, querying the usage record data shared by the current user and the usage record data shared by the current terminal in the current user's usage record data, and transmitting the usage record data to the EPG server, by the EPG server. Forwarding to the second terminal. Preferably, the step B specifically includes: Step B01, the SLP server acquires, according to the account of the current user carried in the usage record update request, an update time of the current user usage record data stored in the database to the database. Step B02, the SLP server determines whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; if not, Then, step B03 is performed; if yes, step B04 is performed; step B03, the SLP server acquires usage record data of the current user stored in the database, and updates usage record data of the current user stored in the SLP server, and Updating the update time stamp of the usage record data of the current user stored in the SLP server to be consistent with the update time stamp of the usage record data of the current user stored in the database, and performing step B04; Step B04, the SLP server According to the current record of the current user carried in the use record update request Updating the usage history data of the current user stored in the SLP server, and updating the time stamp of the usage history data of the current user stored in the SLP server, using the shared state of the record data and the current use record data Update to current time. Preferably, after the step B04, the method further includes: Step B05, the SLP server caches the updated current user usage record data as incremental data; Step B06, when the synchronization time arrives or the number of the incremental data When greater than or equal to the update threshold, the SLP server synchronizes the delta data to the database. Preferably, after the step B04, the method further includes: Step B07, the SLP server uses, according to the current user account carried in the usage record update request and the device identifier of the first terminal, the updated current user usage. The usage record data in the record data is the usage record data shared by the current user and the usage record data shared by the first terminal is fed back to the EPG server, and is forwarded by the EPG server to the first terminal. Preferably, the step D specifically includes: Step D01, the SLP server acquires, according to the account of the current user carried in the use record access request, an update time of the current user's usage record data stored in the database to the database. Step S102, the SLP server determines whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; if not, Then, step D03 is performed; if yes, step D04 is performed; step D03, the SLP server acquires usage record data of the current user stored in the database, and updates usage record data of the current user stored in the SLP server, and The current use stored in the SLP server The update timestamp of the usage record data of the user is updated to be consistent with the update timestamp of the usage record data of the current user stored in the database, and step D04 is performed; Step D04, the SLP server carries the access request according to the usage record. The account of the current user and the device identifier of the second terminal are used to query the usage history data shared by the current user and the usage history data shared by the second terminal in the usage record data of the current user. And sent to the EPG server, and forwarded by the EPG server to the second terminal. The present invention also provides an OTT Internet TV usage record sharing system, including an EPG server and an SLP server: the EPG server is configured to receive a current user usage record update request sent by the first terminal, and forward the request to the SLP server; Using the record update request to carry the current use record data of the current user and the share status of the current use record data; receiving a use record access request of the current user sent by the second terminal, and forwarding the request to the SLP server; The usage status of the SLP server is forwarded to the second terminal by using the usage record data shared by the current user and the usage record data shared by the second terminal; the SLP server is configured to update the request according to the usage record Updating the usage record data of the current user stored in the SLP server; querying the usage history data shared by the current user and the sharing status as the second terminal in the current user usage record data according to the usage record access request Private use of recorded data, and sent The EPG server. Preferably, the SLP server is specifically configured to: obtain an update timestamp of the usage record data of the current user stored in the database according to the account of the current user carried in the usage record update request; and determine the SLP Whether the update timestamp of the usage record data of the current user stored in the server is consistent with the update timestamp of the usage record data of the current user stored in the database; when the update timestamps are inconsistent, the current user stored in the database is acquired. Using the record data, updating the usage record data of the current user stored in the SLP server, and updating the update time stamp of the current user's usage record data stored in the SLP server to the current user stored in the database The update timestamp of the usage record data is consistent; when the update timestamps are consistent, the update status is updated according to the current use record data of the current user and the share state of the current use record data carried in the use record update request The current user's usage record stored in the SLP server Recording data, and updating the update time stamp of the current user's usage record data stored in the SLP server to the current time. Preferably, the SLP server is further configured to: cache the updated usage history data of the current user as incremental data; when the synchronization time arrives or the number of the incremental data is greater than or equal to the update threshold, The SLP server synchronizes the delta data to the database. Preferably, the SLP server is further configured to query the sharing status in the updated usage data of the current user according to the current user account and the device identifier of the first terminal carried in the usage record update request. The usage record data and the shared state shared by the current user are the use record data private to the first terminal, and are fed back to the EPG server. The EPG server is further configured to: the shared state fed back by the SLP server is the current user. The shared usage record data and the usage status are forwarded to the first terminal by the first terminal private usage record data. Preferably, the SLP server is further configured to: obtain an update timestamp of the usage record data of the current user stored in the database from the database according to the account of the current user carried in the use record access request; Whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; when the update timestamps are inconsistent, acquiring the current stored in the database Updating the usage record data of the current user stored in the SLP server by using the record data of the user, and updating the update time stamp of the usage record data of the current user stored in the SLP server to be current with the current stored in the database The update timestamp of the user's usage record data is consistent; when the update timestamps are consistent, according to the current user's account number carried in the use record access request and the device identifier of the second terminal, the updated current user's use Record the shared status of the query in the data as the current user Shared data and shared use of the recording state to the second terminal using a private record data, and sends it to the EPG server. The invention separately processes according to the sharing state set by each user using the record data, which protects the personal privacy of each user on the one hand, and makes the sharing more flexible on the other hand, and updates the data in real time only when the user initiates the request. And using the SLP server as a cache module for recording data, the use of recorded data is not directly stored in the database, as much as possible to reduce the SLP server and the database to synchronize the full amount of user data, to avoid impact on the business processing server and database performance, in mass In the case of user data, the efficiency of processing data by the system can be greatly improved. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a flowchart of a first embodiment of a method for recording and sharing OTT Internet TV according to the present invention; FIG. 2 is a flowchart of a second embodiment of a method for recording and sharing OTT Internet TV according to the present invention; FIG. 4 is a flowchart of a fourth embodiment of a OTT Internet TV usage record sharing method according to the present invention; FIG. 5 is a flowchart of a OTT Internet TV usage record sharing method according to the present invention; a flowchart of the fifth embodiment; FIG. 6 is a schematic structural diagram of a first embodiment of a OTT Internet TV usage record sharing system according to the present invention. The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings. The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. As shown in FIG. 1, FIG. 1 is a flowchart of a first embodiment of a method for recording and sharing OTT Internet TV according to the present invention. The OTT Internet TV usage record sharing method mentioned in this embodiment includes the following steps: Step A: The EPG server receives the current user usage record update request sent by the first terminal, and forwards the request to the SLP server. The first terminal is a set top box, a PC or a mobile terminal. The current user may input the current user's account at the first terminal to log in to the OTT TV service, and the first terminal initiates an update request. The usage update record carries the current usage history data of the current user and the sharing status of the current usage record data, and the sharing status can be distinguished by setting the sharing identifier. For example, when the sharing identifier is 0, it means not sharing, as the first Private data of a terminal, only the current user enters the current user account to log in on the first terminal, and can access the private data. If the current user logs in through other terminals, even if the same current user account or the current user account is input. The associated account cannot access the private data. When the share identifier is 1, it indicates sharing. As the shared data of the current user, the current user enters the current user account or the account associated with the current user account on any terminal. You can access these private data by logging in. Step B: The SLP server updates the usage record data of the current user stored in the SLP server according to the usage record update request. The current update record data of the current user is carried in the record update request, and the SLP server updates the original data by using the current use record data of the current user. In this embodiment, the data is updated in real time only when the user initiates the request, and the SLP server is used as the cache module for using the recorded data, and the used record data is not directly stored in the database, thereby minimizing the synchronization of the SLP server and the database with the full amount of user data. Avoid impact on the performance of the business processing server and database, in the case of massive user data, can greatly improve the efficiency of the system processing data. Step C: The EPG server receives the current user usage record access request sent by the second terminal, and forwards the request to the SLP server. The second terminal is a set top box, a PC or a mobile terminal. The usage record access request may include an account of the current user, a device identifier of the second terminal, and the like. Step D: The SLP server queries, according to the usage record access request, the usage record data in the current user's usage record data that is shared by the current user and the usage record data shared by the second terminal, and sent to the EPG server, and sent to the EPG server. The EPG server forwards to the second terminal.
SLP服务器在接收到使用记录访问请求后, 根据当前用户的账号在 SLP服务器中 查找当前用户的使用记录数据, 根据共享标识查找共享状态为当前用户共享的数据, 共享的数据可以发送给如何一台终端设备, 并根据共享标识和设备标识查找共享状态 为第二终端私有的数据, 私有的数据只能发送给该私有数据对应的终端设备。 例如, 当前用户在今天上午 9点通过第一终端观看某一视频文件, 视频播放到 20%, 当前用 户经由第一终端发送使用记录更新请求,并标记今天上午 9点的使用记录为共享, SLP 服务器保存这一更新记录; 当前用户在今天下午 2点通过第一终端重新访问该视频文 件, SLP服务器根据更新的数据,将视频已播放到 20%的使用记录数据告知第一终端, 第一终端从 20%开始播放该视频, 视频播放到 60%, 当前用户经由第一终端发送使用 记录更新请求, 并标记今天下午 2点的使用记录为私有, SLP服务器保存这一更新记 录; 当前用户在今天晚上 8点通过第二终端重新访问该视频文件, SLP服务器根据更 新的数据, 由于下午更新的数据未第一终端私有, 因此, SLP服务器仍然按照上午更 新的数据, 将视频已播放到 20%的使用记录数据告知第二终端, 第二终端从 20%开始 播放该视频。 本实施例根据每一条用户使用记录数据设置的共享状态进行分别处理, —方面保护了各用户的个人隐私, 另一方面也使共享变得更加灵活。 如图 2所示,图 2为本发明 OTT互联网电视使用记录共享方法的第二实施例的流 程图。 本实施例以图 1所示实施例为基础, 对步骤 B详细描述, 步骤 B具体包括: 步骤 B01, SLP服务器根据使用记录更新请求中携带的当前用户的账号, 向数据 库获取数据库中存储的当前用户的使用记录数据的更新时间戳。 为避免在数据更新时更新到无用的数据, 应确保 SLP服务器上存储的数据为最新 数据, SLP服务器在接收到终端设备的更新请求时, 需要与数据库中存储的数据进行 比较, 判断是否是数据库中存储的最新数据, 判断的方式可采用对比时间戳的方式, 即 SLP服务器上存储的数据与数据库中存储的数据所标记的更新时间是否相同。 步骤 B02, SLP服务器判断 SLP服务器中存储的当前用户的使用记录数据的更新 时间戳与数据库中存储的当前用户的使用记录数据的更新时间戳是否一致; 如果否, 则执行步骤 B03; 如果是, 则执行步骤 B04。 步骤 B03, SLP服务器获取数据库中存储的当前用户的使用记录数据, 更新 SLP 服务器中存储的当前用户的使用记录数据, 并将 SLP服务器中存储的当前用户的使用 记录数据的更新时间戳更新为与数据库中存储的当前用户的使用记录数据的更新时间 戳一致, 执行步骤 B04。 当 SLP服务器中的数据的更新时间戳与数据库中的数据的更新时间戳不一致时, 表示 SLP服务器中存储的数据不是最新的数据, 应从数据库中下载最新的数据来更新 SLP服务器中的数据, 避免在数据更新时更新到无用的数据。 由于本实施例只在用户 发起请求时, SLP服务器才对数据库进行访问, 并在判定数据不一致时, SLP服务器 才从数据库中下载数据, 尽可能减少了 SLP服务器与数据库之间数据传输的次数, 避 免对业务处理服务器和数据库性能造成冲击, 在海量用户数据的情况下, 能大幅度提 高系统处理数据的效率。 步骤 B04, SLP服务器根据使用记录更新请求中携带的当前用户的本次使用记录 数据和本次使用记录数据的共享状态, 更新 SLP服务器中存储的当前用户的使用记录 数据, 并将 SLP服务器中存储的当前用户的使用记录数据的更新时间戳更新为当前时 间。 本实施例在 SLP服务器中的数据的更新时间戳与数据库中的数据的更新时间戳一 致时,即表示 SLP服务器中存储的数据与数据库中存储的数据相同,都是最新的数据, 此时在更新数据时, 便能够对最新的数据进行更新, 有利于数据更新。 如图 3所示,图 3为本发明 OTT互联网电视使用记录共享方法的第三实施例的流 程图。 本实施例以图 2所示实施例为基础, 在步骤 B04之后还包括: 步骤 B05, SLP服务器将更新后的当前用户的使用记录数据缓存为增量数据。 步骤 B06, 当同步时间到达或增量数据的条数大于或等于更新阈值时, SLP服务 器将增量数据同步至数据库。 After receiving the record access request, the SLP server searches the SLP server for the current user's usage record data according to the current user's account, and searches for the shared state as the data shared by the current user according to the shared identifier, and the shared data can be sent to one. The terminal device searches for the data shared by the second terminal according to the shared identifier and the device identifier, and the private data can only be sent to the terminal device corresponding to the private data. For example, the current user views a certain video file through the first terminal at 9:00 this morning, the video plays to 20%, the current user sends a usage record update request via the first terminal, and marks the usage record of 9:00 this morning as sharing, SLP The server saves the update record; the current user re-accesses the video file through the first terminal at 2 pm today, and the SLP server notifies the first terminal, the first terminal, that the video has been played to 20% of the usage record data according to the updated data. The video starts playing from 20%, the video plays to 60%, the current user sends a usage record update request via the first terminal, and marks the usage record at 2 pm today as private, and the SLP server saves the update record; the current user is today The video file is re-accessed by the second terminal at 8:00 pm, and the SLP server does not have the first terminal private because the data updated in the afternoon is updated according to the updated data. Therefore, the SLP server still plays the video to 20% according to the data updated in the morning. Using the recorded data to inform the second terminal that the second terminal starts playing the game from 20% Frequency. This embodiment performs separate processing according to the sharing state set by each user using the record data, which protects the personal privacy of each user, and on the other hand makes the sharing more flexible. As shown in FIG. 2, FIG. 2 is a flowchart of a second embodiment of a method for recording and sharing OTT Internet TV according to the present invention. This embodiment is based on the embodiment shown in FIG. 1 and is described in detail in step B. Step B specifically includes: Step B01: The SLP server obtains the current stored in the database from the database according to the account of the current user carried in the record update request. The update timestamp of the user's usage record data. In order to avoid updating to useless data when the data is updated, it should be ensured that the data stored on the SLP server is the latest data. When receiving the update request of the terminal device, the SLP server needs to compare with the data stored in the database to determine whether it is a database. The latest data stored in the method can be judged by comparing the timestamps, that is, whether the data stored on the SLP server is the same as the update time marked by the data stored in the database. Step B02, the SLP server determines whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; if not, executing step B03; if yes, Then step B04 is performed. Step B03, the SLP server acquires the usage record data of the current user stored in the database, updates the usage record data of the current user stored in the SLP server, and updates the update time stamp of the current user usage record data stored in the SLP server to The update timestamp of the usage record data of the current user stored in the database is consistent, and step B04 is performed. When the update timestamp of the data in the SLP server is inconsistent with the update timestamp of the data in the database, it indicates that the data stored in the SLP server is not the latest data, and the latest data should be downloaded from the database to update the data in the SLP server to avoid Update to useless data as the data is updated. Since the SLP server accesses the database only when the user initiates the request, and when the data is inconsistent, the SLP server downloads the data from the database, thereby reducing the number of data transmissions between the SLP server and the database as much as possible. Avoid impact on the performance of the business processing server and database, in the case of massive user data, can greatly improve the efficiency of the system processing data. Step B04, the SLP server updates the usage record data of the current user stored in the SLP server according to the current usage record data of the current user and the sharing status of the current usage record data carried in the usage record update request, and stores the usage record data of the current user in the SLP server. The update timestamp of the current user's usage record data is updated to the current time. In this embodiment, when the update timestamp of the data in the SLP server is consistent with the update timestamp of the data in the database, it means that the data stored in the SLP server is the same as the data stored in the database, and is the latest data. When the data is updated, the latest data can be updated to facilitate data updates. As shown in FIG. 3, FIG. 3 is a flowchart of a third embodiment of a method for recording and sharing OTT Internet TV according to the present invention. The embodiment is based on the embodiment shown in FIG. 2. After step B04, the method further includes: Step B05: The SLP server caches the updated current user usage record data as incremental data. In step B06, when the synchronization time arrives or the number of pieces of incremental data is greater than or equal to the update threshold, the SLP server synchronizes the incremental data to the database.
SLP服务器在进行数据更新后并不马上更新数据库中的数据, 而是将需更新的数 据缓存起来, 以减少对数据库的访问次数, 尽可能减少了 SLP服务器与数据库同步全 量的用户数据, 缓解了流量压力, 避免对业务处理服务器和数据库性能造成冲击, 在 海量用户数据的情况下, 能大幅度提高系统处理数据的效率。 如图 4所示,图 4为本发明 OTT互联网电视使用记录共享方法的第四实施例的流 程图。 本实施例以图 2所示实施例为基础, 在步骤 B04之后还包括: 步骤 B07, SLP服务器根据使用记录更新请求中携带的当前用户的账号和第一终 端的设备标识, 在更新后的当前用户的使用记录数据中查询共享状态为当前用户共享 的使用记录数据和共享状态为第一终端私有的使用记录数据, 并反馈至 EPG服务器, 由 EPG服务器转发至第一终端。 在进行完成数据更新后, SLP服务器还将更新结果反馈给第一终端, 告知第一终 端当前更新状态, 如果第一终端在更新完成后, 即刻需要继续访问当前业务, 则无需 提出访问请求, 减少了访问流程, 缓解了流量压力, 有利于提高系统处理效率。 如图 5所示,图 5为本发明 OTT互联网电视使用记录共享方法的第五实施例的流 程图。 本实施例以图 1所示实施例为基础, 对步骤 D详细描述, 步骤 D具体包括: 步骤 D01, SLP服务器根据使用记录访问请求中携带的当前用户的账号, 向数据 库获取数据库中存储的当前用户的使用记录数据的更新时间戳。 使用记录访问请求中携带有当前用户的账号和第二终端的设备标识。 为避免在数 据访问时访问到无用的数据, 应确保 SLP服务器上存储的数据为最新数据, SLP服务 器在接收到终端设备的访问请求后, 需要与数据库中存储的数据进行比较, 判断是否 是数据库中存储的最新数据, 判断的方式同样可采用对比时间戳的方式。 步骤 D02, SLP服务器判断 SLP服务器中存储的当前用户的使用记录数据的更新 时间戳与数据库中存储的当前用户的使用记录数据的更新时间戳是否一致; 如果否, 则执行步骤 D03; 如果是, 则执行步骤 D04。 步骤 D03, SLP服务器获取数据库中存储的当前用户的使用记录数据, 更新 SLP 服务器中存储的当前用户的使用记录数据, 并将 SLP服务器中存储的当前用户的使用 记录数据的更新时间戳更新为与数据库中存储的当前用户的使用记录数据的更新时间 戳一致, 执行步骤 D04。 当 SLP服务器中的数据的更新时间戳与数据库中的数据的更新时间戳不一致时, 表示 SLP服务器中存储的数据不是最新的数据, 应从数据库中下载最新的数据来更新 SLP服务器中的数据, 避免在数据访问时访问到无用的数据, 且尽可能减少了 SLP服 务器与数据库之间数据传输的次数, 避免对业务处理服务器和数据库性能造成冲击, 在海量用户数据的情况下, 能大幅度提高系统处理数据的效率。 步骤 D04, SLP服务器根据使用记录访问请求中携带的当前用户的账号和第二终 端的设备标识, 在更新后的当前用户的使用记录数据中查询共享状态为当前用户共享 的使用记录数据和共享状态为第二终端私有的使用记录数据, 并发送至 EPG服务器, 由 EPG服务器转发至第二终端。 本实施例在 SLP服务器中的数据的更新时间戳与数据库中的数据的更新时间戳一 致时,即表示 SLP服务器中存储的数据与数据库中存储的数据相同,都是最新的数据, 此时在访问数据时, 便能够访问到最新的数据, 有利于数据下载。 如图 6所示,图 6为本发明 OTT互联网电视使用记录共享系统的第一实施例的结 构示意图。 本实施例提到的 OTT互联网电视使用记录共享系统, 包括 EPG服务器 10 和 SLP服务器 20: The SLP server does not update the data in the database immediately after the data update, but caches the data to be updated to reduce the number of accesses to the database, and minimizes the STP server and the database to synchronize the full amount of user data, alleviating the Traffic pressure, to avoid impact on business processing server and database performance, in the case of massive user data, can greatly improve the efficiency of the system processing data. As shown in FIG. 4, FIG. 4 is a flowchart of a fourth embodiment of a method for recording and sharing OTT Internet TV according to the present invention. This embodiment is based on the embodiment shown in FIG. 2, and further includes after step B04: Step B07: The SLP server queries, according to the account of the current user and the device identifier of the first terminal carried in the use record update request, the usage history data shared by the current user in the used usage record data of the current user. Recording data for the private use of the first terminal is fed back to the EPG server and forwarded by the EPG server to the first terminal. After the data update is completed, the SLP server feeds back the update result to the first terminal, and informs the first terminal of the current update status. If the first terminal needs to continue to access the current service immediately after the update is completed, the access request is not required to be reduced. The access process eases the flow pressure and helps improve system processing efficiency. As shown in FIG. 5, FIG. 5 is a flowchart of a fifth embodiment of a method for recording and sharing OTT Internet TV according to the present invention. This embodiment is based on the embodiment shown in FIG. 1 and is described in detail in step D. Step D specifically includes: Step D01: The SLP server acquires the current stored in the database from the database according to the current user account carried in the record access request. The update timestamp of the user's usage record data. The record access request carries the account of the current user and the device identifier of the second terminal. In order to avoid accessing useless data during data access, ensure that the data stored on the SLP server is the latest data. After receiving the access request from the terminal device, the SLP server needs to compare with the data stored in the database to determine whether it is a database. The latest data stored in the method can also be judged in the same way as the timestamp. Step D02, the SLP server determines whether the update timestamp of the usage record data of the current user stored in the SLP server is consistent with the update timestamp of the usage record data of the current user stored in the database; if not, executing step D03; if yes, Then step D04 is performed. Step D03: The SLP server acquires the usage record data of the current user stored in the database, updates the usage record data of the current user stored in the SLP server, and updates the update time stamp of the current user usage record data stored in the SLP server to The update timestamp of the usage record data of the current user stored in the database is consistent, and step D04 is performed. When the update timestamp of the data in the SLP server is inconsistent with the update timestamp of the data in the database, it indicates that the data stored in the SLP server is not the latest data, and the latest data should be downloaded from the database to update the data in the SLP server to avoid Access to useless data during data access, and minimize the number of data transfers between the SLP server and the database, avoiding impact on the business processing server and database performance, and greatly improving the system in the case of massive user data. The efficiency of processing data. Step D04: The SLP server queries the sharing status of the current user in the usage record data of the current user according to the account of the current user and the device identifier of the second terminal carried in the record access request. The usage record data and the share status are private use record data of the second terminal, and are sent to the EPG server, and are forwarded by the EPG server to the second terminal. In this embodiment, when the update timestamp of the data in the SLP server is consistent with the update timestamp of the data in the database, it means that the data stored in the SLP server is the same as the data stored in the database, and is the latest data. When accessing data, you can access the latest data, which is good for data download. As shown in FIG. 6, FIG. 6 is a schematic structural diagram of a first embodiment of a OTT Internet TV usage record sharing system according to the present invention. The OTT Internet TV usage record sharing system mentioned in this embodiment includes an EPG server 10 and an SLP server 20:
EPG服务器 10设置为, 接收第一终端 30发送的当前用户的使用记录更新请求, 并转发至 SLP服务器 20;使用记录更新请求中携带有当前用户的本次使用记录数据和 本次使用记录数据的共享状态; 接收第二终端 40 发送的当前用户的使用记录访问请 求, 并转发至 SLP服务器 20; 将 SLP服务器 20发送的共享状态为当前用户共享的使 用记录数据和共享状态为第二终端 40私有的使用记录数据转发至第二终端 40。 The EPG server 10 is configured to receive the current user's usage record update request sent by the first terminal 30, and forward it to the SLP server 20; the use record update request carries the current user's current use record data and the current use record data. The sharing status is received by the second terminal 40, and is forwarded to the SLP server 20; the sharing status sent by the SLP server 20 is the usage record data shared by the current user and the sharing status is private to the second terminal 40. The usage record data is forwarded to the second terminal 40.
SLP服务器 20设置为, 根据使用记录更新请求, 更新 SLP服务器 20中存储的当 前用户的使用记录数据; 根据使用记录访问请求, 在当前用户的使用记录数据中查询 共享状态为当前用户共享的使用记录数据和共享状态为第二终端 40 私有的使用记录 数据, 并发送至 EPG服务器 10。 本实施例中, 第一终端 30为机顶盒、 PC或移动终端。 当前用户可在第一终端 30 输入当前用户的账号来登录 OTT TV业务, 并由第一终端 30发起更新请求。使用记录 更新请求中携带有当前用户的本次使用记录数据和本次使用记录数据的共享状态, 可 通过设置共享标识来区分共享状态, 例如, 当共享标识为 0时, 表示不共享, 作为第 一终端 30的私有数据, 只有当前用户在第一终端 30上输入当前用户账号登录, 才能 够访问这条私有数据, 如果当前用户通过其他终端登录, 即使输入的是同一个当前用 户账号或与当前用户账号相关联的账号, 均不可访问这条私有数据; 当共享标识为 1 时, 表示共享, 作为当前用户的共享数据, 当前用户在任何一个终端上输入当前用户 账号或与当前用户账号相关联的账号登录, 均可以访问这些私有数据。 使用记录更新 请求中携带有当前用户的本次使用记录数据, SLP服务器 20采用当前用户的本次使用 记录数据更新原有的数据。 本实施例只在用户发起请求的时候实时更新数据, 并且采 用 SLP服务器 20作为使用记录数据的缓存模块, 使用记录数据没有直接存储于数据 库 50中, 尽可能减少了 SLP服务器 20与数据库 50同步全量的用户数据, 避免对业 务处理服务器和数据库 50性能造成冲击,在海量用户数据的情况下, 能大幅度提高系 统处理数据的效率。 本实施例的第二终端 40为机顶盒、 PC或移动终端。 使用记录访 问请求中可包括当前用户的账号、 第二终端 40的设备标识等。 SLP服务器 20在接收 到使用记录访问请求后, 根据当前用户的账号在 SLP服务器 20中查找当前用户的使 用记录数据, 根据共享标识查找共享状态为当前用户共享的数据, 共享的数据可以发 送给如何一台终端设备,并根据共享标识和设备标识查找共享状态为第二终端 40私有 的数据, 私有的数据只能发送给该私有数据对应的终端设备。 例如, 当前用户在今天 上午 9点通过第一终端 30观看某一视频文件,视频播放到 20%, 当前用户经由第一终 端 30发送使用记录更新请求, 并标记今天上午 9点的使用记录为共享, SLP服务器 20保存这一更新记录; 当前用户在今天下午 2点通过第一终端 30重新访问该视频文 件, SLP服务器 20根据更新的数据,将视频已播放到 20%的使用记录数据告知第一终 端 30, 第一终端 30从 20%开始播放该视频, 视频播放到 60%, 当前用户经由第一终 端 30发送使用记录更新请求, 并标记今天下午 2点的使用记录为私有, SLP服务器 20保存这一更新记录; 当前用户在今天晚上 8点通过第二终端 40重新访问该视频文 件, SLP服务器 20根据更新的数据, 由于下午更新的数据未第一终端 30私有, 因此, SLP服务器 20仍然按照上午更新的数据,将视频已播放到 20%的使用记录数据告知第 二终端 40, 第二终端 40从 20%开始播放该视频。 本实施例根据每一条用户使用记录 数据设置的共享状态进行分别处理, 一方面保护了各用户的个人隐私, 另一方面也使 共享变得更加灵活。 本发明实施例中, SLP服务器 20具体设置为: 根据使用记录更新请求中携带的当前用户的账号, 向数据库 50获取数据库 50中 存储的当前用户的使用记录数据的更新时间戳。 判断 SLP服务器 20中存储的当前用户的使用记录数据的更新时间戳与数据库 50 中存储的当前用户的使用记录数据的更新时间戳是否一致。 当更新时间戳不一致时, 获取数据库 50中存储的当前用户的使用记录数据, 更新 SLP服务器 20中存储的当前用户的使用记录数据, 并将 SLP服务器 20中存储的当前 用户的使用记录数据的更新时间戳更新为与数据库 50 中存储的当前用户的使用记录 数据的更新时间戳一致。 当更新时间戳一致时, 根据使用记录更新请求中携带的当前用户的本次使用记录 数据和本次使用记录数据的共享状态, 更新 SLP服务器 20中存储的当前用户的使用 记录数据, 并将 SLP服务器 20中存储的当前用户的使用记录数据的更新时间戳更新 为当前时间。 本实施例为避免在数据更新时更新到无用的数据, 应确保 SLP服务器 20上存储 的数据为最新数据, SLP服务器 20在接收到终端设备的更新请求时, 需要与数据库 50中存储的数据进行比较, 判断是否是数据库 50中存储的最新数据, 判断的方式可 采用对比时间戳的方式, 即 SLP服务器 20上存储的数据与数据库 50中存储的数据所 标记的更新时间是否相同。 当 SLP服务器 20中的数据的更新时间戳与数据库 50中的 数据的更新时间戳不一致时, 表示 SLP服务器 20中存储的数据不是最新的数据, 应 从数据库 50中下载最新的数据来更新 SLP服务器 20中的数据, 避免在数据更新时更 新到无用的数据。 由于本实施例只在用户发起请求时, SLP服务器 20才对数据库 50 进行访问, 并在判定数据不一致时, SLP服务器 20才从数据库 50中下载数据, 尽可 能减少了 SLP服务器 20与数据库 50之间数据传输的次数, 避免对业务处理服务器和 数据库 50性能造成冲击,在海量用户数据的情况下, 能大幅度提高系统处理数据的效 率。本实施例在 SLP服务器 20中的数据的更新时间戳与数据库 50中的数据的更新时 间戳一致时, 即表示 SLP服务器 20中存储的数据与数据库 50中存储的数据相同, 都 是最新的数据, 此时在更新数据时, 便能够对最新的数据进行更新, 有利于数据更新。 本发明实施例中, SLP服务器 20具体还设置为: 将更新后的当前用户的使用记录数据缓存为增量数据。 当同步时间到达或增量数据的条数大于或等于更新阈值时, SLP服务器 20将增量 数据同步至数据库 50。 本实施例的 SLP服务器 20在进行数据更新后并不马上更新数据库 50中的数据, 而是将需更新的数据缓存起来, 以减少对数据库 50 的访问次数, 尽可能减少了 SLP 服务器 20与数据库 50同步全量的用户数据, 缓解了流量压力, 避免对业务处理服务 器和数据库 50性能造成冲击,在海量用户数据的情况下, 能大幅度提高系统处理数据 的效率。 本发明实施例中, SLP服务器 20具体还设置为, 根据使用记录更新请求中携带的 当前用户的账号和第一终端 30的设备标识,在更新后的当前用户的使用记录数据中查 询共享状态为当前用户共享的使用记录数据和共享状态为第一终端 30 私有的使用记 录数据, 并反馈至 EPG服务器 10。 The SLP server 20 is configured to update the usage record data of the current user stored in the SLP server 20 according to the usage record update request; and query the usage status shared by the current user in the usage record data of the current user according to the usage record access request. The data and sharing status are private usage record data of the second terminal 40, and are sent to the EPG server 10. In this embodiment, the first terminal 30 is a set top box, a PC, or a mobile terminal. The current user may enter the current user's account at the first terminal 30 to log in to the OTT TV service, and the first terminal 30 initiates an update request. The usage update record carries the current usage history data of the current user and the sharing status of the current usage record data, and the sharing status can be distinguished by setting the sharing identifier. For example, when the sharing identifier is 0, it means not sharing, as the first The private data of a terminal 30, only the current user enters the current user account to log in on the first terminal 30, and can access the private data. If the current user logs in through other terminals, even if the same current user account or the current input is entered The account associated with the user account cannot access the private data; when the share identifier is 1, it indicates sharing, as the shared data of the current user, the current user inputs the current user account on any terminal or is associated with the current user account. The account login can access these private data. The current usage record data of the current user is carried in the record update request, and the SLP server 20 updates the original data by using the current use record data of the current user. In this embodiment, the data is updated in real time only when the user initiates the request, and the SLP server 20 is used as the cache module for using the recorded data, and the used record data is not directly stored in the database 50, thereby minimizing the synchronization of the SLP server 20 and the database 50 as much as possible. User data, to avoid impact on the performance of the business processing server and database 50, in the case of massive user data, can greatly improve the system The efficiency of processing data. The second terminal 40 of this embodiment is a set top box, a PC or a mobile terminal. The usage record access request may include an account of the current user, a device identifier of the second terminal 40, and the like. After receiving the record access request, the SLP server searches the SLP server 20 for the current user's usage record data according to the current user's account, and searches for the shared state as the data shared by the current user according to the shared identifier, and the shared data can be sent to the user. A terminal device searches for the private data of the second terminal 40 according to the shared identifier and the device identifier, and the private data can only be sent to the terminal device corresponding to the private data. For example, the current user views a certain video file through the first terminal 30 at 9:00 this morning, the video is played to 20%, the current user sends a usage record update request via the first terminal 30, and marks the usage record of 9:00 this morning as sharing. The SLP server 20 saves the update record; the current user re-accesses the video file through the first terminal 30 at 2 pm today, and the SLP server 20 informs the first that the video has been played to 20% of the usage record data according to the updated data. The terminal 30, the first terminal 30 starts playing the video from 20%, and the video plays to 60%. The current user sends a usage record update request via the first terminal 30, and marks the use record of 2 pm today as private, and the SLP server 20 saves This update record; the current user re-accesses the video file through the second terminal 40 at 8:00 this evening, and the SLP server 20 does not have the first terminal 30 private because the data updated in the afternoon is not according to the updated data, therefore, the SLP server 20 still follows The data updated in the morning, the video has been played to 20% of the usage record data to inform the second terminal 40, the second End 40 starts to play video from 20%. This embodiment performs separate processing according to the sharing state set by each user using the record data, which protects the personal privacy of each user on the one hand, and makes the sharing more flexible on the other hand. In the embodiment of the present invention, the SLP server 20 is specifically configured to: obtain an update time stamp of the usage record data of the current user stored in the database 50 from the database 50 according to the account of the current user carried in the use record update request. It is judged whether or not the update time stamp of the current user's usage record data stored in the SLP server 20 coincides with the update time stamp of the current user's usage record data stored in the database 50. When the update time stamps are inconsistent, the usage record data of the current user stored in the database 50 is acquired, the usage record data of the current user stored in the SLP server 20 is updated, and the update of the usage record data of the current user stored in the SLP server 20 is obtained. The timestamp is updated to coincide with the update timestamp of the current user's usage record data stored in database 50. When the update time stamps are consistent, the usage history data of the current user stored in the SLP server 20 is updated according to the sharing status of the current usage record data of the current user and the current usage record data carried in the usage record update request, and the SLP is The update time stamp of the usage record data of the current user stored in the server 20 is updated to the current time. In this embodiment, in order to avoid updating to useless data when the data is updated, it is ensured that the data stored on the SLP server 20 is the latest data, and the SLP server 20 needs to perform data with the data stored in the database 50 when receiving the update request of the terminal device. For comparison, it is judged whether it is the latest data stored in the database 50, and the manner of judging can adopt the method of comparing time stamps, that is, whether the data stored on the SLP server 20 and the update time marked by the data stored in the database 50 are the same. When the update time stamp of the data in the SLP server 20 does not coincide with the update time stamp of the data in the database 50, it indicates that the data stored in the SLP server 20 is not the latest data, and the latest data should be downloaded from the database 50 to update the SLP server 20. The data in the data, to avoid updating to useless data when the data is updated. Since the SLP server 20 accesses the database 50 only when the user initiates the request, and when the data is determined to be inconsistent, the SLP server 20 downloads the data from the database 50, minimizing the SLP server 20 and the database 50. The number of times of data transmission avoids impact on the performance of the business processing server and database 50. In the case of massive user data, the efficiency of processing data by the system can be greatly improved. In this embodiment, when the update timestamp of the data in the SLP server 20 coincides with the update timestamp of the data in the database 50, that is, the data stored in the SLP server 20 is the same as the data stored in the database 50, and is the latest data. At this time, when the data is updated, the latest data can be updated to facilitate data update. In the embodiment of the present invention, the SLP server 20 is further configured to: cache the updated usage history data of the current user as incremental data. The SLP server 20 synchronizes the delta data to the database 50 when the synchronization time arrives or the number of increments of data is greater than or equal to the update threshold. The SLP server 20 of the present embodiment does not immediately update the data in the database 50 after performing the data update, but caches the data to be updated to reduce the number of accesses to the database 50, and minimizes the SLP server 20 and the database. 50 Synchronize the full amount of user data, alleviate the traffic pressure, avoid the impact on the performance of the business processing server and database 50, in the case of massive user data, can greatly improve the efficiency of the system processing data. In the embodiment of the present invention, the SLP server 20 is further configured to query the sharing status in the updated usage data of the current user according to the account of the current user and the device identifier of the first terminal 30 carried in the usage record update request. The usage record data and the sharing status shared by the current user are the usage history data private to the first terminal 30, and are fed back to the EPG server 10.
EPG服务器 10具体还设置为,将 SLP服务器 20反馈的共享状态为当前用户共享 的使用记录数据和共享状态为第一终端 30私有的使用记录数据转发至第一终端 30。 本实施例在进行完成数据更新后, SLP服务器 20还将更新结果反馈给第一终端 30, 告知第一终端 30当前更新状态, 如果第一终端 30在更新完成后, 即刻需要继续 访问当前业务, 则无需提出访问请求, 减少了访问流程, 缓解了流量压力, 有利于提 高系统处理效率。 本发明实施例中, SLP服务器 20具体还设置为: 根据使用记录访问请求中携带的当前用户的账号, 向数据库 50获取数据库 50中 存储的当前用户的使用记录数据的更新时间戳。 判断 SLP服务器 20中存储的当前用户的使用记录数据的更新时间戳与数据库 50 中存储的当前用户的使用记录数据的更新时间戳是否一致。 当更新时间戳不一致时, 获取数据库 50中存储的当前用户的使用记录数据, 更新The EPG server 10 is further configured to forward the sharing status fed back by the SLP server 20 to the first terminal 30 for the usage record data shared by the current user and the usage record data shared by the first terminal 30. After performing the update of the data in this embodiment, the SLP server 20 also feeds back the update result to the first terminal 30, and informs the first terminal 30 of the current update status. If the first terminal 30 needs to continue to access the current service immediately after the update is completed, There is no need to make an access request, which reduces the access process, relieves traffic pressure, and helps improve system processing efficiency. In the embodiment of the present invention, the SLP server 20 is further configured to: obtain an update time stamp of the usage record data of the current user stored in the database 50 from the database 50 according to the account of the current user carried in the record access request. It is judged whether or not the update time stamp of the current user's usage record data stored in the SLP server 20 coincides with the update time stamp of the current user's usage record data stored in the database 50. When the update time stamps are inconsistent, the usage record data of the current user stored in the database 50 is obtained, and the update is performed.
SLP服务器 20中存储的当前用户的使用记录数据, 并将 SLP服务器 20中存储的当前 用户的使用记录数据的更新时间戳更新为与数据库 50 中存储的当前用户的使用记录 数据的更新时间戳一致。 当更新时间戳一致时, 根据使用记录访问请求中携带的当前用户的账号和第二终 端 40的设备标识,在更新后的当前用户的使用记录数据中查询共享状态为当前用户共 享的使用记录数据和共享状态为第二终端 40私有的使用记录数据, 并发送至 EPG服 务器 10。 本实施例的使用记录访问请求中携带有当前用户的账号和第二终端 40 的设备标 识。 为避免在数据访问时访问到无用的数据, 应确保 SLP服务器 20上存储的数据为 最新数据, SLP服务器 20在接收到终端设备的访问请求后, 需要与数据库 50中存储 的数据进行比较,判断是否是数据库 50中存储的最新数据,判断的方式同样可采用对 比时间戳的方式。 当 SLP服务器 20中的数据的更新时间戳与数据库 50中的数据的更 新时间戳不一致时, 表示 SLP服务器 20中存储的数据不是最新的数据, 应从数据库 50中下载最新的数据来更新 SLP服务器 20中的数据, 避免在数据访问时访问到无用 的数据, 且尽可能减少了 SLP服务器 20与数据库 50之间数据传输的次数, 避免对业 务处理服务器和数据库 50性能造成冲击,在海量用户数据的情况下, 能大幅度提高系 统处理数据的效率。本实施例在 SLP服务器 20中的数据的更新时间戳与数据库 50中 的数据的更新时间戳一致时, 即表示 SLP服务器 20中存储的数据与数据库 50中存储 的数据相同, 都是最新的数据, 此时在访问数据时, 便能够访问到最新的数据, 有利 于数据下载。 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用 本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在其他 相关的技术领域, 均同理包括在本发明的专利保护范围内。 The usage record data of the current user stored in the SLP server 20, and the update time stamp of the usage record data of the current user stored in the SLP server 20 is updated to be consistent with the update time stamp of the usage record data of the current user stored in the database 50. . When the update timestamps are consistent, the usage history data shared by the current user is queried in the updated current user usage record data according to the current user's account number carried in the record access request and the device identifier of the second terminal 40. And the shared state is the usage record data private to the second terminal 40, and is sent to the EPG server 10. The usage record access request of this embodiment carries the account of the current user and the device identifier of the second terminal 40. In order to avoid accessing useless data during data access, it is ensured that the data stored on the SLP server 20 is the latest data. After receiving the access request of the terminal device, the SLP server 20 needs to compare with the data stored in the database 50 to determine Whether it is the latest data stored in the database 50, the manner of judging can also adopt the method of comparing time stamps. When the update time stamp of the data in the SLP server 20 does not coincide with the update time stamp of the data in the database 50, it indicates that the data stored in the SLP server 20 is not the latest data, and the latest data should be downloaded from the database 50 to update the SLP server 20. The data in the file avoids accessing useless data during data access, and minimizes the number of data transfers between the SLP server 20 and the database 50, avoiding impact on the performance of the service processing server and the database 50, in the case of massive user data. In this case, the efficiency of the system processing data can be greatly improved. In this embodiment, when the update timestamp of the data in the SLP server 20 coincides with the update timestamp of the data in the database 50, that is, the data stored in the SLP server 20 is the same as the data stored in the database 50, and is the latest data. At this time, when accessing the data, the latest data can be accessed, which is beneficial to data download. The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent flow transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.

Claims

权 利 要 求 书 、 一种 OTT互联网电视使用记录共享方法, 包括: A claim for rights, a method for sharing records using OTT Internet TV, including:
步骤 A, EPG服务器接收第一终端发送的当前用户的使用记录更新请求, 并转发至 SLP服务器; 所述使用记录更新请求中携带有当前用户的本次使用记 录数据和所述本次使用记录数据的共享状态;  Step A: The EPG server receives the usage record update request of the current user sent by the first terminal, and forwards the request to the SLP server; the usage record update request carries the current usage record data of the current user and the current usage record data. Shared state
步骤 B, 所述 SLP服务器根据所述使用记录更新请求, 更新所述 SLP服务 器中存储的当前用户的使用记录数据;  Step B: The SLP server updates the usage record data of the current user stored in the SLP server according to the usage record update request.
步骤 C,所述 EPG服务器接收第二终端发送的当前用户的使用记录访问请 求, 并转发至所述 SLP服务器;  Step C: The EPG server receives a usage record access request of a current user sent by the second terminal, and forwards the request to the SLP server;
步骤 D, 所述 SLP服务器根据所述使用记录访问请求, 在当前用户的使用 记录数据中查询共享状态为当前用户共享的使用记录数据和共享状态为第二终 端私有的使用记录数据, 并发送至所述 EPG服务器, 由所述 EPG服务器转发 至所述第二终端。 、 根据权利要求 1所述的 OTT互联网电视使用记录共享方法, 其中, 所述步骤 B 具体包括:  Step D: The SLP server queries, according to the usage record access request, the usage record data shared by the current user and the usage record data shared by the current user in the usage record data of the current user, and is sent to the usage data of the second terminal privately. The EPG server is forwarded by the EPG server to the second terminal. The OTT Internet TV usage record sharing method according to claim 1, wherein the step B specifically includes:
步骤 B01, 所述 SLP服务器根据所述使用记录更新请求中携带的当前用户 的账号, 向数据库获取所述数据库中存储的当前用户的使用记录数据的更新时 间戳;  Step B01, the SLP server acquires, according to the account of the current user carried in the use record update request, an update time stamp of the current user's usage record data stored in the database to the database;
步骤 B02,所述 SLP服务器判断所述 SLP服务器中存储的当前用户的使用 记录数据的更新时间戳与所述数据库中存储的当前用户的使用记录数据的更新 时间戳是否一致; 如果否, 则执行步骤 B03; 如果是, 则执行步骤 B04;  Step B02, the SLP server determines whether an update timestamp of the usage record data of the current user stored in the SLP server is consistent with an update timestamp of the usage record data of the current user stored in the database; if not, executing Step B03; If yes, proceed to step B04;
步骤 B03, 所述 SLP服务器获取所述数据库中存储的当前用户的使用记录 数据, 更新所述 SLP服务器中存储的当前用户的使用记录数据, 并将所述 SLP 服务器中存储的当前用户的使用记录数据的更新时间戳更新为与所述数据库中 存储的当前用户的使用记录数据的更新时间戳一致, 执行步骤 B04;  Step B03, the SLP server acquires usage record data of the current user stored in the database, updates usage record data of the current user stored in the SLP server, and records usage records of the current user stored in the SLP server. The update timestamp of the data is updated to be consistent with the update timestamp of the usage record data of the current user stored in the database, and step B04 is performed;
步骤 B04, 所述 SLP服务器根据所述使用记录更新请求中携带的当前用户 的本次使用记录数据和所述本次使用记录数据的共享状态, 更新所述 SLP服务 器中存储的当前用户的使用记录数据, 并将所述 SLP服务器中存储的当前用户 的使用记录数据的更新时间戳更新为当前时间。 、 根据权利要求 2所述的 OTT互联网电视使用记录共享方法, 其中, 所述步骤 B04之后还包括: Step B04, the SLP server updates the usage record of the current user stored in the SLP server according to the current usage record data of the current user and the sharing status of the current usage record data carried in the usage record update request. Data, and update the update time stamp of the current user's usage record data stored in the SLP server to the current time. The OTT Internet TV usage record sharing method according to claim 2, wherein the step B04 further comprises:
步骤 B05, 所述 SLP服务器将更新后的当前用户的使用记录数据缓存为增 量数据;  Step B05, the SLP server caches the updated usage record data of the current user as the incremental data.
步骤 B06,当同步时间到达或所述增量数据的条数大于或等于更新阈值时, 所述 SLP服务器将所述增量数据同步至所述数据库。 、 根据权利要求 2或 3所述的 OTT互联网电视使用记录共享方法,其中,所述步 骤 B04之后还包括:  Step B06, when the synchronization time arrives or the number of the incremental data is greater than or equal to the update threshold, the SLP server synchronizes the incremental data to the database. The OTT Internet TV usage record sharing method according to claim 2 or 3, wherein the step B04 further comprises:
步骤 B07, 所述 SLP服务器根据所述使用记录更新请求中携带的当前用户 的账号和所述第一终端的设备标识, 在更新后的当前用户的使用记录数据中查 询共享状态为当前用户共享的使用记录数据和共享状态为第一终端私有的使用 记录数据, 并反馈至所述 EPG服务器, 由所述 EPG服务器转发至所述第一终  In step B07, the SLP server queries the shared user's usage record data in the updated current user usage record data according to the current user's account number and the device identifier of the first terminal that are carried in the usage record update request. Using the recorded data and the shared state as the usage data of the first terminal private, and feeding back to the EPG server, and forwarding by the EPG server to the first terminal
、 根据权利要求 1或 2所述的 OTT互联网电视使用记录共享方法,其中,所述步 骤 D具体包括: The OTT Internet TV usage record sharing method according to claim 1 or 2, wherein the step D specifically includes:
步骤 D01, 所述 SLP服务器根据所述使用记录访问请求中携带的当前用户 的账号, 向数据库获取所述数据库中存储的当前用户的使用记录数据的更新时 间戳;  Step D01, the SLP server acquires, according to the account of the current user carried in the record access request, an update time stamp of the current user's usage record data stored in the database to the database;
步骤 D02,所述 SLP服务器判断所述 SLP服务器中存储的当前用户的使用 记录数据的更新时间戳与所述数据库中存储的当前用户的使用记录数据的更新 时间戳是否一致; 如果否, 则执行步骤 D03; 如果是, 则执行步骤 D04;  Step D02, the SLP server determines whether an update timestamp of the usage record data of the current user stored in the SLP server is consistent with an update timestamp of the usage record data of the current user stored in the database; if not, executing Step D03; If yes, step D04 is performed;
步骤 D03, 所述 SLP服务器获取所述数据库中存储的当前用户的使用记录 数据, 更新所述 SLP服务器中存储的当前用户的使用记录数据, 并将所述 SLP 服务器中存储的当前用户的使用记录数据的更新时间戳更新为与所述数据库中 存储的当前用户的使用记录数据的更新时间戳一致, 执行步骤 D04;  Step D03, the SLP server acquires usage record data of the current user stored in the database, updates usage record data of the current user stored in the SLP server, and records usage records of the current user stored in the SLP server. The update timestamp of the data is updated to be consistent with the update timestamp of the usage record data of the current user stored in the database, and step D04 is performed;
步骤 D04, 所述 SLP服务器根据所述使用记录访问请求中携带的当前用户 的账号和所述第二终端的设备标识, 在更新后的当前用户的使用记录数据中查 询共享状态为当前用户共享的使用记录数据和共享状态为第二终端私有的使用 记录数据, 并发送至所述 EPG服务器, 由所述 EPG服务器转发至所述第二终 、 一种 OTT互联网电视使用记录共享系统, 包括 EPG服务器和 SLP服务器, 其 中- 所述 EPG服务器,设置为接收第一终端发送的当前用户的使用记录更新请 求, 并转发至 SLP服务器; 所述使用记录更新请求中携带有当前用户的本次使 用记录数据和所述本次使用记录数据的共享状态; 接收第二终端发送的当前用 户的使用记录访问请求,并转发至所述 SLP服务器; 将所述 SLP服务器发送的 共享状态为当前用户共享的使用记录数据和共享状态为第二终端私有的使用记 录数据转发至所述第二终端; In step D04, the SLP server queries the shared user's usage record data in the updated current user usage record data according to the current user account and the device identifier of the second terminal that are carried in the use record access request. Using the recorded data and the shared state as the usage data of the second terminal private, and sent to the EPG server, and forwarded by the EPG server to the second terminal An OTT Internet TV usage record sharing system, comprising an EPG server and an SLP server, wherein the EPG server is configured to receive a current user usage record update request sent by the first terminal, and forward the request to the SLP server; The record update request carries the current use record data of the current user and the share status of the current use record data; receiving a use record access request of the current user sent by the second terminal, and forwarding the request to the SLP server; The usage record sent by the SLP server is the usage record data shared by the current user and the usage record data shared by the second terminal is forwarded to the second terminal by the second terminal;
所述 SLP服务器,设置为根据所述使用记录更新请求, 更新所述 SLP服务 器中存储的当前用户的使用记录数据; 根据所述使用记录访问请求, 在当前用 户的使用记录数据中查询共享状态为当前用户共享的使用记录数据和共享状态 为第二终端私有的使用记录数据, 并发送至所述 EPG服务器。 、 根据权利要求 6所述的 ΟΤΤ互联网电视使用记录共享系统, 其中, 所述 SLP 服务器具体设置为:  The SLP server is configured to update the usage record data of the current user stored in the SLP server according to the usage record update request; and query the sharing status in the current user usage record data according to the usage record access request The usage record data and the sharing status shared by the current user are the usage record data private to the second terminal, and are sent to the EPG server. The ΟΤΤInternet TV usage record sharing system according to claim 6, wherein the SLP server is specifically configured to:
根据所述使用记录更新请求中携带的当前用户的账号, 向数据库获取所述 数据库中存储的当前用户的使用记录数据的更新时间戳;  And obtaining, according to the account of the current user carried in the record update request, an update time stamp of the current user's usage record data stored in the database to the database;
判断所述 SLP服务器中存储的当前用户的使用记录数据的更新时间戳与所 述数据库中存储的当前用户的使用记录数据的更新时间戳是否一致;  Determining whether an update timestamp of the usage record data of the current user stored in the SLP server is consistent with an update timestamp of the usage record data of the current user stored in the database;
当更新时间戳不一致时, 获取所述数据库中存储的当前用户的使用记录数 据, 更新所述 SLP 服务器中存储的当前用户的使用记录数据, 并将所述 SLP 服务器中存储的当前用户的使用记录数据的更新时间戳更新为与所述数据库中 存储的当前用户的使用记录数据的更新时间戳一致;  When the update time stamps are inconsistent, acquiring usage record data of the current user stored in the database, updating usage record data of the current user stored in the SLP server, and using the current user usage record stored in the SLP server The update timestamp of the data is updated to be consistent with the update timestamp of the usage record data of the current user stored in the database;
当更新时间戳一致时, 根据所述使用记录更新请求中携带的当前用户的本 次使用记录数据和所述本次使用记录数据的共享状态, 更新所述 SLP服务器中 存储的当前用户的使用记录数据, 并将所述 SLP服务器中存储的当前用户的使 用记录数据的更新时间戳更新为当前时间。 、 根据权利要求 7所述的 ΟΤΤ互联网电视使用记录共享系统, 其中, 所述 SLP 服务器具体还设置为:  Updating the usage record of the current user stored in the SLP server according to the sharing status of the current usage record data of the current user and the current usage record data carried in the usage record update request when the update time stamps are consistent. Data, and update the update time stamp of the current user's usage record data stored in the SLP server to the current time. The ΟΤΤInternet TV usage record sharing system according to claim 7, wherein the SLP server is further configured to:
将更新后的当前用户的使用记录数据缓存为增量数据;  Caching the updated current user usage record data into incremental data;
当同步时间到达或所述增量数据的条数大于或等于更新阈值时, 所述 SLP 服务器将所述增量数据同步至所述数据库。 、 根据权利要求 7或 8所述的 OTT互联网电视使用记录共享系统, 其中, 所述 SLP服务器具体还设置为, 根据所述使用记录更新请求中携带的当前用户的账 号和所述第一终端的设备标识, 在更新后的当前用户的使用记录数据中查询共 享状态为当前用户共享的使用记录数据和共享状态为第一终端私有的使用记录 数据, 并反馈至所述 EPG服务器; The SLP server synchronizes the delta data to the database when the synchronization time arrives or the number of increments of data is greater than or equal to an update threshold. The OTT Internet TV usage record sharing system according to claim 7 or 8, wherein the SLP server is further configured to: according to the account of the current user and the first terminal carried in the usage record update request The device identifier is used to query, in the updated usage record data of the current user, the usage record data shared by the current user and the usage record data shared by the first terminal, and fed back to the EPG server;
所述 EPG服务器具体还设置为, 将所述 SLP服务器反馈的共享状态为当 前用户共享的使用记录数据和共享状态为第一终端私有的使用记录数据转发至 所述第一终端。 、 根据权利要求 6或 7所述的 OTT互联网电视使用记录共享系统, 其中, 所述 SLP服务器具体还设置为:  The EPG server is further configured to: forward the shared status fed back by the SLP server to the first terminal by using the usage record data shared by the current user and the usage record data shared by the first terminal. The OTT Internet TV usage record sharing system according to claim 6 or 7, wherein the SLP server is further configured to:
根据所述使用记录访问请求中携带的当前用户的账号, 向数据库获取所述 数据库中存储的当前用户的使用记录数据的更新时间戳;  Obtaining, according to the account of the current user carried in the record access request, an update time stamp of the current user's usage record data stored in the database to the database;
判断所述 SLP服务器中存储的当前用户的使用记录数据的更新时间戳与所 述数据库中存储的当前用户的使用记录数据的更新时间戳是否一致;  Determining whether an update timestamp of the usage record data of the current user stored in the SLP server is consistent with an update timestamp of the usage record data of the current user stored in the database;
当更新时间戳不一致时, 获取所述数据库中存储的当前用户的使用记录数 据, 更新所述 SLP 服务器中存储的当前用户的使用记录数据, 并将所述 SLP 服务器中存储的当前用户的使用记录数据的更新时间戳更新为与所述数据库中 存储的当前用户的使用记录数据的更新时间戳一致;  When the update time stamps are inconsistent, acquiring usage record data of the current user stored in the database, updating usage record data of the current user stored in the SLP server, and using the current user usage record stored in the SLP server The update timestamp of the data is updated to be consistent with the update timestamp of the usage record data of the current user stored in the database;
当更新时间戳一致时, 根据所述使用记录访问请求中携带的当前用户的账 号和所述第二终端的设备标识, 在更新后的当前用户的使用记录数据中查询共 享状态为当前用户共享的使用记录数据和共享状态为第二终端私有的使用记录 数据, 并发送至所述 EPG服务器。  When the update timestamps are consistent, according to the account of the current user and the device identifier of the second terminal carried in the use record access request, the shared status of the current user is used to query the shared status as shared by the current user. The usage record data and the share status are private use record data of the second terminal, and are sent to the EPG server.
PCT/CN2013/082008 2013-03-01 2013-08-21 Method and system for sharing usage record of over-the-top (ott) tv WO2014131270A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310067078.0 2013-03-01
CN201310067078.0A CN104023252B (en) 2013-03-01 2013-03-01 OTT internet television usage record sharing methods and system

Publications (1)

Publication Number Publication Date
WO2014131270A1 true WO2014131270A1 (en) 2014-09-04

Family

ID=51427507

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082008 WO2014131270A1 (en) 2013-03-01 2013-08-21 Method and system for sharing usage record of over-the-top (ott) tv

Country Status (2)

Country Link
CN (1) CN104023252B (en)
WO (1) WO2014131270A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994438A (en) * 2015-06-30 2015-10-21 中兴通讯股份有限公司 Channel collection method and device and set top box
CN106897151A (en) * 2015-12-17 2017-06-27 阿里巴巴集团控股有限公司 User's usage record synchronous method, apparatus and system
CN110147759A (en) * 2019-05-17 2019-08-20 北京迈格威科技有限公司 Target identification method, system, target identification management method and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217640A (en) * 2007-12-29 2008-07-09 腾讯科技(深圳)有限公司 A method and device realizing program collection in P2P VOD
CN101561820A (en) * 2008-04-17 2009-10-21 埃洛伊科技有限责任公司 Method and system for aggregating media collections between participants of a sharing network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070157220A1 (en) * 2005-12-29 2007-07-05 United Video Properties, Inc. Systems and methods for managing content
CN101964787B (en) * 2010-09-17 2013-07-10 深圳市同洲电子股份有限公司 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs
US8856813B2 (en) * 2010-11-23 2014-10-07 Verizon Patent And Licensing Inc. Adaptive video quality substitution
CN102769783A (en) * 2012-07-20 2012-11-07 深圳数字电视国家工程实验室股份有限公司 Method and device for processing multimedia information
CN102946553B (en) * 2012-12-02 2015-07-01 北京中科大洋科技发展股份有限公司 Digital copyright protection system and method applicable to OTT (over the top) Internet TV (television)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217640A (en) * 2007-12-29 2008-07-09 腾讯科技(深圳)有限公司 A method and device realizing program collection in P2P VOD
CN101561820A (en) * 2008-04-17 2009-10-21 埃洛伊科技有限责任公司 Method and system for aggregating media collections between participants of a sharing network

Also Published As

Publication number Publication date
CN104023252A (en) 2014-09-03
CN104023252B (en) 2017-08-25

Similar Documents

Publication Publication Date Title
US11792462B2 (en) Apparatus and methods for recording, accessing, and delivering packetized content
KR100456924B1 (en) User controlled multi-device media-on-demand system
TWI633781B (en) Program and device class entitlements in a media platform
US11350139B2 (en) Video live broadcast method and apparatus
US8423659B2 (en) Systems and methods for synchronizing operations among a plurality of independently clocked digital data processing devices that independently source digital data
JP6082946B2 (en) Receiving apparatus, receiving method, program, and information processing system
WO2017071566A1 (en) Network video playback method and system, and user terminal and home streaming service node
TWI616097B (en) Streaming apparatus, streaming method, streaming service system using the streaming apparatus and the recording medium
WO2010040269A1 (en) Method and system for implementing internet tv media interaction
CN103379362A (en) Video-on-demand method and system
JP2014063512A (en) Network repository for metadata
WO2016197875A1 (en) Data processing method and device applicable to service-providing device
US9877065B2 (en) System and method for synching portable media player content with storage space optimization
WO2007093094A1 (en) A method for selecting the qos policy and a system thereof
WO2014026590A1 (en) Method, terminal and cdn server in iptv system for realizing playing while downloading
WO2014131270A1 (en) Method and system for sharing usage record of over-the-top (ott) tv
WO2011160553A1 (en) Method and system for data synchronization in internet protocol television
WO2013044660A1 (en) Iptv system advertisement implementation method, device and system
US20160309219A1 (en) Apparatus and Method for Media Play in Home Network
WO2010110605A2 (en) Iptv receiver, and content-downloading method for same
WO2010081376A1 (en) Digital television management system and method
CN110933447B (en) Distributed video service architecture based on small front-end ring
JP2002328851A (en) Control method and transmitter
KR101745367B1 (en) Multimedia contents streaming system using http and method thereof
JP2004236240A (en) Network broadcast system, content distributing method, and program providing apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13876488

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13876488

Country of ref document: EP

Kind code of ref document: A1