WO2017076007A1 - 一种频道数据存储方法和装置 - Google Patents

一种频道数据存储方法和装置 Download PDF

Info

Publication number
WO2017076007A1
WO2017076007A1 PCT/CN2016/086612 CN2016086612W WO2017076007A1 WO 2017076007 A1 WO2017076007 A1 WO 2017076007A1 CN 2016086612 W CN2016086612 W CN 2016086612W WO 2017076007 A1 WO2017076007 A1 WO 2017076007A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
data
list data
channel list
byte stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/086612
Other languages
English (en)
French (fr)
Inventor
刘显珂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Priority to RU2016138185A priority Critical patent/RU2016138185A/ru
Priority to US15/239,420 priority patent/US20170124189A1/en
Publication of WO2017076007A1 publication Critical patent/WO2017076007A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4332Content storage operation, e.g. storage operation in response to a pause request, caching operations by placing content in organized collections, e.g. local EPG data repository
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4355Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Definitions

  • the present invention relates to the field of data storage, and in particular, to a channel data storage method and apparatus.
  • smart set-top boxes provide more and more channels, and some can even provide more than 500 channels, so the storage of channel data is very important.
  • the channel data is stored in the following manner: 1) the channel list data is acquired from the channel server; 2) the channel list data is stored locally in the form of a database, and each channel in the channel list data is required to pass through the database.
  • the basic information data is stored in the basic information table, and the video stream data is stored in the video stream table.
  • the server channel list data changes, the basic information table and the video stream table need to be updated separately.
  • the preferred embodiment of the present invention provides a channel data storage method and The device, by serializing the channel list data into a byte stream and saving to the channel data file, makes the storage of the channel data more convenient, while saving memory and storage time.
  • an embodiment of the present invention provides a channel data storage method, including:
  • the byte stream is written to the channel data file.
  • the channel list data includes channel basic information and a channel video stream
  • the channel basic information includes a channel number and a channel name.
  • the channel list data is read from a server that saves the channel list data or the channel list data is read from a local.
  • the byte stream of the channel data file is read, and the byte stream is deserialized to obtain the channel list data.
  • the channel list data is serialized into the byte stream using a serialization mechanism provided by the JAVA programming language.
  • an embodiment of the present invention provides a channel data storage device, including:
  • a serialization module configured to serialize the channel list data into a byte stream
  • a file module is written for writing the byte stream to a channel data file.
  • the channel list data includes channel basic information and a channel video stream
  • the channel basic information includes a channel number and a channel name.
  • the channel list data is read from a server that saves the channel list data or the channel list data is read from a local.
  • the byte stream of the channel data file is read, and the byte stream is deserialized to obtain the channel list data.
  • the channel list data is serialized into the byte stream using a serialization mechanism provided by the JAVA programming language.
  • the present application also provides a computer readable medium having recorded a computer program for performing a channel data storage method as described herein.
  • FIG. 1 is a flow chart of a channel data storage method according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a channel data storage method according to another embodiment of the present invention.
  • FIG. 3 is a block diagram of a channel data storage device in accordance with another embodiment of the present invention.
  • a preferred embodiment of the present invention provides a channel data storage method, including: step S001, reading channel list data; step S002, serializing channel list data into a byte stream; and step S003, byte stream Write to the channel data file.
  • step S001 the channel list data is saved in the channel list server or saved locally.
  • step S002 serializing the channel list data into a sequence in the byte stream is a process of converting the state information of the object into a form that can be stored or transmitted. During serialization, an object writes its current state to a temporary or persistent store. Later, you can recreate the object by reading or deserializing the state of the object from the storage area.
  • serialized typically, all fields of an object instance are serialized, which means that the data is represented as serialized data for the object instance.
  • deserialization extracts data from the serialized representation and sets the object state directly.
  • the serialized byte stream is written to the channel data file for use in deserialization.
  • the channel list data includes channel basic information and a channel video stream, the channel basic information including a channel number and a channel name.
  • the channel number and channel name are, for example, 1 educational area, 1 for the channel number, and educational area for the channel name.
  • the channel video stream is the video to be played by the channel.
  • the video stream corresponding to the education zone numbered 1 is an educational cartoon video.
  • the channel list data is read from the server that holds the channel list data or the channel list data is read from the local.
  • the channel list data is stored in the channel server, and the channel list data is read by the channel server.
  • the byte stream of the channel data file is read in response to the channel data file read instruction, and the byte stream is deserialized to obtain the channel list data.
  • channel list data use it when The user needs to know the program list of the channel with channel number 1. It is necessary to first read the byte stream from the channel data file, deserialize the byte stream, and then restore the channel list data stored in the byte stream to the channel object. The way, the channel name and channel video stream information are displayed to the user according to the channel number.
  • the channel list data is stored and read by deserializing the byte stream of the serialized channel data file into channel list data, so that the storage of the channel list data is more memory efficient and the reading is faster.
  • the channel list data is serialized into a byte stream using a serialization mechanism provided by the JAVA programming language.
  • the serialization mechanism provided by the JAVA program is used to serialize and deserialize the channel data, which makes the program writing more convenient, and the channel data storage and reading does not cause errors.
  • serialization of channel list data can take the following program statement:
  • the deserialization of channel list data can use the following program statement:
  • the deserialized byte stream is implemented as channel list data.
  • Step S201 reading channel list data from the channel server; step S202, serializing the channel list data into a byte stream by using a JAVA serialization mechanism; and step S203, writing the byte stream to the channel data file; step S204, when When it is necessary to use the channel list data, the channel data file is read; in step S205, the byte stream of the channel data file is deserialized into channel list data.
  • the storage of the channel list data is more memory efficient and the reading is more time-saving.
  • an embodiment of the present invention provides a channel data storage apparatus, including: a read channel list data module 301 for reading channel list data, and a serialization module 302 for serializing channel list data into A byte stream; a write file module 303 for writing a stream of bytes to a channel data file.
  • the serialization module 302 serializing the channel list data into a sequence in the byte stream is a process of converting the state information of the object into a form that can be stored or transmitted.
  • an object writes its current state to a temporary or persistent store. Later, you can recreate the object by reading or deserializing the state of the object from the storage area.
  • serialization extracts data from the serialized representation and sets the object state directly.
  • the write file module 303 writes the serialized byte stream to the channel data file for deserialization use.
  • the channel list data includes channel basic information and a channel video stream, the channel basic information including a channel number and a channel name.
  • the channel list data is read from the server that holds the channel list data or the channel list data is read from the local.
  • the byte stream of the channel data file is read in response to the channel data file read instruction, and the byte stream is deserialized to obtain the channel list data.
  • the channel list data is serialized into a byte stream using a serialization mechanism provided by the JAVA programming language.
  • the channel list data is serialized into a byte stream using a serialization mechanism provided by the JAVA programming language.
  • the serialization mechanism provided by the JAVA program is used to serialize and deserialize the channel data, which makes the program writing more convenient, and the channel data storage and reading does not cause errors.
  • a person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium.
  • the flow of an embodiment of the methods as described above may be included.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a mobile terminal (which may be a personal computer, server, network device or mobile phone, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

本发明提出一种频道数据存储方法和装置,方法包括:读取频道列表数据;将所述频道列表数据序列化为字节流;将所述字节流写入到频道数据文件。装置包括:读取频道列表数据模块,用于读取频道列表数据;序列化模块,用于将所述频道列表数据序列化为字节流;写入文件模块,用于将所述字节流写入到频道数据文件。本发明通过将频道列表数据序列化为字节流保存到频道数据文件的方式,使针对频道数据的存储变得更加方便,同时节省了内存和存储时间。

Description

一种频道数据存储方法和装置
本申请要求2015年11月2日提交的中国专利申请CN 201510734185.3的优先权,其全部内容通过引用被合并于此。
技术领域
本发明涉及数据存储领域,尤其涉及一种频道数据存储方法和装置。
背景技术
因为基于互联网内容的直播应用软件越来越多,智能机顶盒提供的频道数量也越来越多,有的甚至可以提供500多个频道,所以频道数据的存储就非常重要。
现有技术中,频道数据的存储方式为:1)从频道服务器获取到频道列表数据;2)将频道列表数据以数据库的方式存储在本地,通过数据库的方式需要将频道列表数据中每个频道的基本信息数据存储在基本信息表,视频流数据存储在视频流表。当服务器频道列表数据发生变化时,需要分别更新基本信息表和视频流表。当想从基本信息表和视频流表中读取数据时,需要为每一个频道都单独构建一个对象用于保存每个频道对应的基本信息数据和视频流数据。
发明人在研发过程中发现,采用数据库的方式存储频道数据使频道的存储和读取都非常的繁琐,占用内存且耗时,而且每一个频道都单独构建一个对象的方式会导致内存中有很多小对象,造成内存碎片化。
因此,有必要改进上面提到的缺陷。
发明内容
为了克服现有技术中存在的上述采用数据库的方式存储频道数据使频道的存储和读取都非常的繁琐并且占用内存、耗时的问题,本发明的优选实施例提出一种频道数据存储方法和装置,通过将频道列表数据序列化为字节流保存到频道数据文件的方式,使针对频道数据的存储变得更加方便,同时节省了内存和存储时间。
一方面,本发明的一个实施例提出一种频道数据存储方法,包括:
读取频道列表数据;
将所述频道列表数据序列化为字节流;
将所述字节流写入到频道数据文件。
可选地,所述频道列表数据包括频道基本信息和频道视频流,所述频道基本信息包括频道编号和频道名称。
可选地,从保存所述频道列表数据的服务器读取所述频道列表数据或从本地读取所述频道列表数据。
可选地,响应于频道数据文件读取指令,读取所述频道数据文件的所述字节流,将所述字节流反序列化得到所述频道列表数据。
可选地,采用JAVA编程语言所提供的序列化机制将所述频道列表数据序列化为所述字节流。
另一方面,本发明一个实施例提供一种频道数据存储装置,包括:
读取频道列表数据模块,用于读取频道列表数据;
序列化模块,用于将所述频道列表数据序列化为字节流;
写入文件模块,用于将所述字节流写入到频道数据文件。
可选地,所述频道列表数据包括频道基本信息和频道视频流,所述频道基本信息包括频道编号和频道名称。
可选地,从保存所述频道列表数据的服务器读取所述频道列表数据或从本地读取所述频道列表数据。
可选地,响应于频道数据文件读取指令,读取所述频道数据文件的所述字节流,将所述字节流反序列化得到所述频道列表数据。
可选地,采用JAVA编程语言所提供的序列化机制将所述频道列表数据序列化为所述字节流。
根据本申请的另一方面,本申请还提出了一种计算机可读介质,所述计算机可读介质记载有用于执行如本申请所述的频道数据存储方法的计算机程序。
采用上述技术方案,具有以下有益效果:
通过将频道列表数据序列化为字节流保存到频道数据文件的方式,使针对频道数据的存储变得更加方便,同时节省了内存和存储时间。
附图说明
为了更清楚地说明本发明具体实施方式中的技术方案,下面将对具体实施方式描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是根据本发明一个实施例的频道数据存储方法的流程图;
图2是根据本发明另一个实施例的频道数据存储方法的流程图;
图3是根据本发明另一个实施例的频道数据存储装置的框图。
具体实施方式
下面将结合附图对本发明的具体实施例的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
参照图1,本发明的优选实施例提出一种频道数据存储方法,包括:步骤S001,读取频道列表数据;步骤S002,将频道列表数据序列化为字节流;步骤S003,将字节流写入到频道数据文件。步骤S001中,频道列表数据会保存在频道列表服务器中或者保存在本地。步骤S002中,将频道列表数据序列化为字节流中的序列是一种将对象的状态信息转换为可以存储或传输的形式的过程。在序列化期间,对象将其当前状态写入到临时或持久性存储区。以后,可以通过从存储区中读取或反序列化对象的状态,重新创建该对象。通常,对象实例的所有字段都会被序列化,这意味着数据会被表示为对象实例的序列化数据。类似地,反序列化从序列化的表示形式中提取数据,并直接设置对象状态。最后在步骤S003中,将序列化后的字节流写入到频道数据文件,以备反序列化使用。
通过将频道列表数据序列化为字节流保存到频道数据文件的方式,使针对频道数据的存储变得更加方便,同时节省了内存和存储时间。
在本发明的一个实施例中,频道列表数据包括频道基本信息和频道视频流,频道基本信息包括频道编号和频道名称。频道编号和频道名称例如:1教育专区,1代表频道编号,教育专区代表频道名称。频道视频流是频道要播放的视频如编号为1的教育专区对应的视频流为教育类的动画片视频。
在本发明的一个实施例中,从保存频道列表数据的服务器读取频道列表数据或从本地读取频道列表数据。一般情况,频道列表数据保存在频道服务器,通过去频道服务器读取频道列表数据。
在本发明的一个实施例中,响应于频道数据文件读取指令,读取频道数据文件的字节流,将字节流反序列化得到频道列表数据。当要使用频道列表数据时,如此时用 户需要知道频道编号为1的频道的节目单,需要先从频道数据文件中读取字节流,将字节流进行反序列化,再将以字节流存储的频道列表数据恢复为频道对象的方式,根据频道编号将频道名称和频道视频流信息显示给用户。
通过将序列化的频道数据文件的字节流反序列化为频道列表数据的方式来实现频道列表数据的存储和读取,使得频道列表数据的存储更加节省内存,读取更快速。
在本发明的一个实施例中,采用JAVA编程语言所提供的序列化机制将频道列表数据序列化为字节流。采用JAVA程序提供的序列化机制去实现频道数据的序列化和反序列化,使程序编写更加方便,频道数据存储和读取不会出现错误。
例如,频道列表数据的序列化可以采用如下程序语句:
Figure PCTCN2016086612-appb-000001
例如,频道列表数据的反序列化可以采用如下程序语句:
Figure PCTCN2016086612-appb-000002
Figure PCTCN2016086612-appb-000003
参照图2,作为本发明的最佳实施例,通过将频道列表数据序列化为字节流存储到频道数据文件,当读取频道数据文件,反序列化字节流为频道列表数据的方式实现对频道列表数据的存储。步骤S201,从频道服务器读取频道列表数据;步骤S202,采用JAVA的序列化机制将频道列表数据序列化为字节流;步骤S203,将字节流写入到频道数据文件;步骤S204,当需要使用频道列表数据时,去读取频道数据文件;步骤S205,将频道数据文件的字节流反序列化为频道列表数据。
通过将频道列表数据序列化为字节流以及将频道数据文件的字节流反序列化为频道列表数据的方式,使得频道列表数据的存储更节省内存,读取更省时。
参照图3,本发明的一个实施例提供一种频道数据存储装置,包括:读取频道列表数据模块301,用于读取频道列表数据;序列化模块302,用于将频道列表数据序列化为字节流;写入文件模块303,用于将字节流写入到频道数据文件。所述序列化模块302将频道列表数据序列化为字节流中的序列是一种将对象的状态信息转换为可以存储或传输的形式的过程。在序列化期间,对象将其当前状态写入到临时或持久性存储区。以后,可以通过从存储区中读取或反序列化对象的状态,重新创建该对象。通常,对象实例的所有字段都会被序列化,这意味着数据会被表示为对象实例的序列化数据。类似地,反序列化从序列化的表示形式中提取数据,并直接设置对象状态。所述写入文件模块303将序列化后的字节流写入到频道数据文件,以备反序列化使用。
通过将频道列表数据序列化为字节流保存到频道数据文件的方式,使针对频道数据的存储变得更加方便,同时节省了内存和存储时间。
在本发明的一个实施例中,频道列表数据包括频道基本信息和频道视频流,频道基本信息包括频道编号和频道名称。
在本发明的一个实施例中,从保存所述频道列表数据的服务器读取频道列表数据或从本地读取频道列表数据。
在本发明的一个实施例中,响应于频道数据文件读取指令,读取频道数据文件的字节流,将字节流反序列化得到频道列表数据。
在本发明的一个实施例中,采用JAVA编程语言所提供的序列化机制将频道列表数据序列化为字节流。
在本发明的一个实施例中,采用JAVA编程语言所提供的序列化机制将频道列表数据序列化为字节流。采用JAVA程序提供的序列化机制去实现频道数据的序列化和反序列化,使程序编写更加方便,频道数据存储和读取不会出现错误。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台移动终端(可以是个人计算机、服务器、、网络设备或手机等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (11)

  1. 一种频道数据存储方法,其特征在于,包括:
    读取频道列表数据;
    将所述频道列表数据序列化为字节流;
    将所述字节流写入到频道数据文件。
  2. 根据权利要求1所述的频道数据存储方法,其特征在于,所述频道列表数据包括频道基本信息和频道视频流,所述频道基本信息包括频道编号和频道名称。
  3. 根据权利要求1所述的频道数据存储方法,其特征在于,从保存所述频道列表数据的服务器读取所述频道列表数据或从本地读取所述频道列表数据。
  4. 根据权利要求1所述的频道数据存储方法,其特征在于,响应于频道数据文件读取指令,读取所述频道数据文件的所述字节流,将所述字节流反序列化得到所述频道列表数据。
  5. 根据权利要求1所述的频道数据存储方法,其特征在于,采用JAVA编程语言所提供的序列化机制将所述频道列表数据序列化为所述字节流。
  6. 一种频道数据存储装置,其特征在于,包括:
    读取频道列表数据模块,用于读取频道列表数据;
    序列化模块,用于将所述频道列表数据序列化为字节流;
    写入文件模块,用于将所述字节流写入到频道数据文件。
  7. 根据权利要求6所述的频道数据存储装置,其特征在于,所述频道列表数据包括频道基本信息和频道视频流,所述频道基本信息包括频道编号和频道名称。
  8. 根据权利要求6所述的频道数据存储装置,其特征在于,从保存所述频道列表数据的服务器读取所述频道列表数据或从本地读取所述频道列表数据。
  9. 根据权利要求6所述的频道数据存储装置,其特征在于,响应于频道数据文件读取指令,读取所述频道数据文件的所述字节流,将所述字节流反序列化得到所述频道列表数据。
  10. 根据权利要求1所述的频道数据存储装置,其特征在于,采用JAVA编程语言所提供的序列化机制将所述频道列表数据序列化为所述字节流。
  11. 一种计算机可读介质,其特征在于,所述计算机可读介质记载有用于执行如权利要求1-5任一项所述的频道数据存储方法的计算机程序。
PCT/CN2016/086612 2015-11-02 2016-06-21 一种频道数据存储方法和装置 Ceased WO2017076007A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
RU2016138185A RU2016138185A (ru) 2015-11-02 2016-06-21 Устройство и способ хранения канальных данных
US15/239,420 US20170124189A1 (en) 2015-11-02 2016-08-17 Device and method for storing channel data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510734185.3A CN105657521A (zh) 2015-11-02 2015-11-02 一种频道数据存储方法和装置
CN201510734185.3 2015-11-02

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/239,420 Continuation US20170124189A1 (en) 2015-11-02 2016-08-17 Device and method for storing channel data

Publications (1)

Publication Number Publication Date
WO2017076007A1 true WO2017076007A1 (zh) 2017-05-11

Family

ID=56482178

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086612 Ceased WO2017076007A1 (zh) 2015-11-02 2016-06-21 一种频道数据存储方法和装置

Country Status (3)

Country Link
CN (1) CN105657521A (zh)
RU (1) RU2016138185A (zh)
WO (1) WO2017076007A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490724A (zh) * 2019-07-03 2019-11-22 平安证券股份有限公司 账户数据的存储方法和装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657521A (zh) * 2015-11-02 2016-06-08 乐视致新电子科技(天津)有限公司 一种频道数据存储方法和装置
WO2019028580A1 (zh) * 2017-08-07 2019-02-14 深圳市智晟达科技有限公司 一种数字电视搜台方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102428465A (zh) * 2009-05-19 2012-04-25 微软公司 媒体内容检索系统和个人虚拟频道
US20140052736A1 (en) * 2012-08-14 2014-02-20 International Business Machines Corporation Custom object-in-memory format in data grid network appliance
CN104199927A (zh) * 2014-09-03 2014-12-10 腾讯科技(深圳)有限公司 数据处理方法及数据处理装置
CN105657521A (zh) * 2015-11-02 2016-06-08 乐视致新电子科技(天津)有限公司 一种频道数据存储方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4240766B2 (ja) * 2000-06-26 2009-03-18 パナソニック株式会社 データ蓄積方法およびそれを実現した受信装置および放送システム
US7034890B2 (en) * 2001-04-13 2006-04-25 Ati Technologies, Inc. Method and apparatus for updating a computer system clock from a real time television signal
CN104918117B (zh) * 2015-03-24 2018-10-19 四川长虹电器股份有限公司 一种智能电视广告及用户标签推荐方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102428465A (zh) * 2009-05-19 2012-04-25 微软公司 媒体内容检索系统和个人虚拟频道
US20140052736A1 (en) * 2012-08-14 2014-02-20 International Business Machines Corporation Custom object-in-memory format in data grid network appliance
CN104199927A (zh) * 2014-09-03 2014-12-10 腾讯科技(深圳)有限公司 数据处理方法及数据处理装置
CN105657521A (zh) * 2015-11-02 2016-06-08 乐视致新电子科技(天津)有限公司 一种频道数据存储方法和装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XIAO, BO ET AL.: "Research on Serialization Application Based on JAVA", COMPUTER STUDY, 1 December 2008 (2008-12-01), pages 53 - 55 *
YU , HAIYING ET AL.: "Study on Serialization Technology of Coal Information Based on .NET Framework", NATURAL SCIENCE JOURNAL OF HARBIN NORMAL UNIVERSITY, vol. 26, no. 2, 15 April 2010 (2010-04-15), pages 49 - 52 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490724A (zh) * 2019-07-03 2019-11-22 平安证券股份有限公司 账户数据的存储方法和装置

Also Published As

Publication number Publication date
RU2016138185A (ru) 2019-12-05
CN105657521A (zh) 2016-06-08

Similar Documents

Publication Publication Date Title
CN106570018B (zh) 序列化与反序列化的方法、装置、系统以及电子设备
CN109064399B (zh) 图像超分辨率重建方法和系统、计算机设备及其存储介质
US20180129933A1 (en) Method and Apparatus for Processing Data Sequence
CN108881227B (zh) 远程白板系统的操作控制方法和装置、远程白板系统
CN104572683A (zh) 文字笔画动画处理方法和装置
KR20170049380A (ko) 태그처리방법 및 태그처리장치
US10795606B2 (en) Buffer-based update of state data
US20150091913A1 (en) Techniques and architecture for improved vertex processing
CN113722550A (zh) 一种关系图谱的实现方法、装置、电子设备及存储介质
CN112817657A (zh) 一种应用程序启动项加载方法、装置、系统及存储介质
WO2017076007A1 (zh) 一种频道数据存储方法和装置
WO2020228452A1 (zh) 非结构化数据处理方法和非结构化数据处理系统
CN116912187A (zh) 图像生成模型训练及图像生成方法、装置、设备和介质
CN109426496A (zh) 程序日志写入文件的方法、存储介质、电子设备及系统
CN104598453A (zh) 基于数据缓冲的数据迁移方法
CN110309517B (zh) 表情文案处理方法、装置、系统及存储介质
CN102779076B (zh) 一种浏览器中进程间通信的方法和装置
CN114840162B (zh) 首屏页面呈现方法、装置、电子设备和存储介质
CN105404672A (zh) 网页数据存储和操作的系统及方法
CN106843819B (zh) 对象序列化的方法及装置
CN106874490A (zh) 一种电子教材快速制作方法和装置
WO2019085235A1 (zh) 图片处理方法、用户界面显示方法及设备
CN118451413A (zh) 基于人工智能的集成框架
CN101770508A (zh) 移动通信终端中的数据访问方法和设备
CN106155996A (zh) 一种本地便签的生成方法及装置

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: 16861277

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016138185

Country of ref document: RU

122 Ep: pct application non-entry in european phase

Ref document number: 16861277

Country of ref document: EP

Kind code of ref document: A1