CN104168490B - Menu languages ​​method and system settings - Google Patents

Menu languages ​​method and system settings Download PDF

Info

Publication number
CN104168490B
CN104168490B CN201410385276.6A CN201410385276A CN104168490B CN 104168490 B CN104168490 B CN 104168490B CN 201410385276 A CN201410385276 A CN 201410385276A CN 104168490 B CN104168490 B CN 104168490B
Authority
CN
China
Prior art keywords
language
audio
video
user
entry
Prior art date
Application number
CN201410385276.6A
Other languages
Chinese (zh)
Other versions
CN104168490A (en
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 深圳市九洲电器有限公司
Priority to CN201410385276.6A priority Critical patent/CN104168490B/en
Publication of CN104168490A publication Critical patent/CN104168490A/en
Application granted granted Critical
Publication of CN104168490B publication Critical patent/CN104168490B/en

Links

Abstract

本发明涉及种菜单语言设置方法及系统,该方法将多种语言的词条封装成词条包并插入到码流中,通过码流发送到音视频终端,在用户选择需要的菜单语言后,从码流中将用户需要菜单语言的词条解析出并存储到音视频终端中,从而完成菜单语言的设置。 The present invention relates to a method of setting menu languages ​​and systems, the method multilingual translation entry packaged into packets and inserted into the code stream sent by the terminal to the audio and video stream, the user selects the desired menu language, parses the stream entry in the user needs menu language and stored into the audio and video terminals, thereby completing the setup menu language. 本发明只需要根据用户的选择,将用户所选择语言种类的词条由码流中解析存储到音视频终端的指定存储位置即可,不需要在音视频终端内预置多个语言的词条,从而大大减少了音视频终端存储空间的占用,提高了音视频终端硬件设备的使用,降低音视频终端的成本。 The present invention requires selection of the user, the language selected by the user from the entry code stream by parsing the audio and video stored in the specified storage location to the terminal, does not need to preset a plurality of entries in the language of audio and video terminals , thereby greatly reducing the occupied storage space of the audio and video terminals, audio and video to improve the use of the terminal hardware, reducing the cost of audio and video terminals. 同时避免用户需要的语言在音视频终端内没有预置,音视频终端不支持造成用户无法使用的问题,大大提高了用户体验,方便了用户使用。 While avoiding the need for the user's language is not preset in the audio and video terminals, audio and video terminal does not support the cause of the problem that users can not use, greatly improving the user experience and convenience to users.

Description

一种菜单语言设置方法及系统 A menu-language method and system settings

技术领域 FIELD

[0001] 本发明涉及通信领域,尤其涉及一种菜单语言设置方法及系统。 [0001] The present invention relates to the field of communications, particularly to a method and system settings menu language.

背景技术 Background technique

[0002] 现有的广播电视节目内容越来越丰富,对音视频终端(例如机顶盒、智能电视)的使用越来越人性化,由于产品的国际化,对音视频终端的国际适用要求也越来越多,比如要求音视频终端菜单语言可以支持多国语言等等。 [0002] the existing radio and television programs increasingly rich content, audio and video terminals (such as set-top boxes, smart TVs) use more humane, due to the internationalization of the product, the applicable requirements of the international terminal of the more audio and video for more, such as requiring audio and video endpoint menu language can support multiple languages ​​and so on. 由于不同语言之间差异很大,需要不同的字库甚至上层的应用来支持,而且有些国家本身就存在母语和其他几个小语种共存的情况,如何处理好对于多种语言的支持显得特别重要。 Due to the large differences between different languages, different fonts and even the upper application support, and in some countries the situation itself there are several native language and other minority languages ​​coexist, how to deal with is particularly important for multi-lingual support.

[0003] 目前的方案是在音视频终端中预置多种语言的字库以及对应的需要的词条。 [0003] The present embodiment is preset required fonts and a corresponding entry in the languages ​​of audio and video terminals. 用户可以通过菜单上语言的切换来达到切换整个菜单语言显示的目的。 The user can switch the menu language to achieve the purpose of switching the entire display menu language. 这样就需要将多种语言的词条存储在音视频终端的存储设备内,使用户切换语言的时候能够进行切换。 This requires the translation of languages ​​stored in the storage device audio and video terminal so that when the user language switching can be switched. 但是,这样就需要占用存储设备大量的存储空间,降低音视频终端硬件设备的使用,增加音视频终端的成本。 However, this will take up a lot of storage space to store equipment, reduce the use of audio and video terminal hardware equipment, increase the cost of audio and video terminals. 同时,如果用户需要的语言在音视频终端内没有预置,那么音视频终端将不支持该语言的菜单显示,这就造成用户无法使用,用户必须通过软件升级等方式对音视频终端的软件进行升级,操作过程复杂,用户体验较差,大大限制了用户使用。 Meanwhile, if the user does not need language preset in the audio and video terminals, the audio and video terminals will not support the language of the menu display, which resulted in users can not use, the user must end audio and video software through software upgrades, etc. upgrade, complicated operation, the user experience is poor, which greatly limits the users.

发明内容 SUMMARY

[0004] 有鉴于此,有必要针对上述多种语言内置占用存储空间,限制用户使用的问题,提供一种菜单语言设置方法及系统。 [0004] In view of this, it is necessary for the above-described built-up storage space multilingual, user constraints, there is provided a method and system settings menu language.

[0005] 本发明提供一种菜单语言设置方法,包括如下步骤: [0005] The present invention provides a menu language setting method, comprising the steps of:

[0006] S10:对多种语言种类及对应的词条进行封装,形成多种语言的词条包; [0006] S10: types of languages ​​and the corresponding entry encapsulated form multilingual translation package;

[0007] S20:将多种语言的词条包插入到码流中,通过码流下发到音视频终端; [0007] S20: The entry packet into multiple languages ​​stream by the code stream sent to the audio and video terminals;

[0008] S30:由音视频终端接收码流,获取词条包的语言种类并对用户进行显示,供用户选择菜单语言; [0008] S30: receiving audio and video streams from the terminals, to gain entry packet and the language of a user to display, for the user to select the menu language;

[0009] S40:获取用户选择的语言种类,只将用户选择语言种类对应词条包中的词条解析出并存储到音视频终端指定的词条存储位置,完成菜单语言设置。 [0009] S40: acquiring language selected by the user, only the user selects the language of the corresponding entry in the entry packet and parsing the audio and video stored in the terminal storage location designated entry, language setting through the menu.

[0010] 本发明还提供一种菜单语言设置系统,包括: [0010] The present invention also provides a system settings menu language, comprising:

[0011] 词条封装单元,对多种语言种类及对应的词条进行封装,形成多种语言的词条包; [0011] The term packaging unit, and the corresponding type of multilingual translation encapsulated form multilingual translation package;

[0012] 词条发送单元,将多种语言的词条包插入到码流中,通过码流下发到音视频终端; [0012] The transmitting unit entry, the entry packet into multiple languages ​​stream by the code stream sent to the audio and video terminals;

[0013] 菜单语言选择单元,控制音视频终端接收码流,获取词条包的语言种类并对用户进行显示,供用户选择菜单语言; [0013] The menu language selection unit, a control terminal to receive audio and video streams to acquire the language pack entry and display the user, for the user to select the menu language;

[0014] 菜单语言设置单元,获取用户选择的语言种类,只将用户选择语言种类对应词条包中的词条解析出并存储到音视频终端指定的词条存储位置,完成菜单语言设置。 [0014] Menu Language setting unit, acquires the language selected by the user, only the user selects the language of the corresponding entry in the entry packet and parsing the audio and video stored in the terminal storage location designated entry, language setting through the menu.

[0015] 本发明的菜单语言设置方法及系统,将多种语言的词条封装成词条包并插入到码流中,通过码流发送到音视频终端,在用户选择需要的菜单语言后,从码流中将用户需要菜单语言的词条解析出并存储到音视频终端中,从而完成菜单语言的设置,这样只需要根据用户的选择,将用户所选择语言种类的词条由码流中解析存储到音视频终端的指定存储位置即可,不需要在音视频终端内预置多个语言的词条,从而大大减少了音视频终端存储空间的占用,提高了音视频终端硬件设备的使用,降低音视频终端的成本。 [0015] Menu Language setting method and system of the invention, will be packaged into multilingual translation entry packet is inserted into the bitstream and transmitted to the terminal through the audio and video stream, the user selects the desired menu language, parses the stream entry in the user needs menu language and stored in the audio and video terminals, thereby completing the setup menu language, so that only the user selection, the language of the user entry selected by the code stream analytical stored in the designated storage location of the audio and video terminals, you do not need multiple preset languages ​​in terms of audio and video terminals, thereby greatly reducing the occupied storage space of the audio and video terminals, audio and video to improve the use of the terminal apparatus hardware , reducing the cost of audio and video terminals. 同时避免用户需要的语言在音视频终端内没有预置,音视频终端不支持造成用户无法使用的问题,大大提高了用户体验,方便了用户使用。 While avoiding the need for the user's language is not preset in the audio and video terminals, audio and video terminal does not support the cause of the problem that users can not use, greatly improving the user experience and convenience to users.

附图说明 BRIEF DESCRIPTION

[0016] 图1是一个实施例中的菜单语言设置方法的流程图; [0016] FIG. 1 is a flowchart illustrating a method of setting the menu language one embodiment embodiment;

[0017] 图2是一个实施例中的菜单语言设置系统的结构图。 [0017] FIG. 2 is a configuration diagram of a system menu language setting in the embodiment.

具体实施方式 Detailed ways

[0018] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0018] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are merely used to explain the present invention and are not intended to limit the present invention.

[0019] 图1是一个实施例中的菜单语言设置方法的流程图。 [0019] FIG. 1 is a flowchart illustrating a method of setting the menu language one embodiment embodiment. 如图1所示,该方法包括如下步骤: As shown in FIG 1, the method comprising the steps of:

[0020] S10:对多种语言种类及对应的词条进行封装,形成多种语言的词条包。 [0020] S10: types of languages ​​and the corresponding entry encapsulated form multilingual translation package.

[0021] 该实施例中,首先对多个语言种类的词条进行封装,将每种语言的词条封装成词条包,而不是直接将多种语言的词条直接预置在音视频终端内。 [0021] In this embodiment, a plurality of first language entry encapsulates the encapsulated each language translation entry packet, rather than directly multilingual translation directly preset in the audio and video terminals Inside.

[0022] 该步骤由前端执行,具体的,对多种语言种类及对应的词条进行封装如下: [0022] This step is performed by the front end, in particular, on the type and the corresponding entries multilingual encapsulated as follows:

[0023] 首先在网络信息表中增加一个描述多种语言的语言选择描述符; [0023] First, a description languages ​​increase language selected in the network information table descriptor;

[0024] 其中,语言选择描述符为以下格式: [0024] wherein the language selected descriptor in the following format:

[0025] {:描述符号,描述符长度,描述符内容},设定描述符长度是指描述符内容的长度, 描述符内容可以描述与当前语言的描述和对应的词条数据包号,比如英语和中文分别为E (0x45)和C (0x43),加入这两种语言需要对应的数据包为0x15和0x16,由于一个字母占1个字节,那么长度为4,内容为0x45、0xl5、0x43、0xl6。 [0025] {: descriptor, a descriptor length, the content descriptor}, set descriptor length is the length of the content descriptor, the content descriptor may describe the current description language and the corresponding data packet number entry, such as Chinese and English are E (0x45) and C (0x43), was added two languages ​​require corresponding data packet is 0x15 and 0x16, since a letter is 1 byte, the length of 4, the content of 0x45,0xl5, 0x43,0xl6.

[0026] 那么当前的语言选择描述符可以描述为: [0026] then the current descriptor language selection can be described as:

[0027] {0xA0;0x04;0x450xl50x430xl6},这样就表示当前有两种语言并且描述了两种语言对应的词条数据包。 [0027] {0xA0; 0x04; 0x450xl50x430xl6}, This current is described in two languages ​​and two languages ​​corresponding entry packets.

[0028] 其次,在词条整理好之后需要封装成完整的数据包来进行传输,按照传输协议来对词条数据进行封装。 [0028] Next, after entry into a complete collated package need for transmission of packets, to encapsulate the data transmission protocol translation. 由于一个数据包只能由188个字节,其中前4个字节是标准的包头,后面184个字节才能存放此条信息,则需要在包头的四个字节中描述当前数据包号,需要和网络信息表中的语言选择描述符一致,比如当前时英语词条包,就应该在此处描述数据包号为Oxl 5,然后包头后面数词条数据信息:如下: Because a packet can only be 188 bytes, of which the first four bytes is a standard header, followed by 184 bytes to store the entry information is required to describe the number of the current packet header of four bytes, needs and network information table descriptor consistent language selection, such as the current packet when the English term, should the packet number is described here Oxl 5, then the number of entries rear header data: the following:

[0029] [0029]

Figure CN104168490BD00051

[0030] S20:将多种语言的词条包插入到码流中,通过码流下发到音视频终端。 [0030] S20: The entry packet into multiple languages ​​stream by the code stream sent to the audio and video terminals.

[0031] 由于音视频终端在工作时,需要接收前端发送的码流,在该实施例中,在将多种语言的词条封装成词条包后,将多种语言的词条包插入到音视频的码流中,通过码流将词条包下发到音视频终端,利用码流来下发词条包,从而使得词条包可以下发到音视频终端。 [0031] Since the audio and video terminals in operation, the front end needs to receive transmitted code stream, in this embodiment, after the multilingual translation entry packet encapsulated into the entry packet into multiple languages audio and video streams by the stream entry packet delivered to the audio and video terminals, using the code entry packet stream issued, so that entry packet may be delivered to the audio and video terminals.

[0032] 在进一步的实施方式中,该步骤具体为:将多种语言的词条包封装形成私有数据, 将私有数据插入到码流中。 [0032] In a further embodiment, this step is specifically: the multilingual translation private data packet encapsulation is formed, the private data is inserted into the code stream. 更进一步的,将多种语言的词条包采用加密控制字进行加扰,形成私有数据并插入到码流中。 Still further, the bag with the multilingual translation encrypted control word for scrambling, private data is formed and inserted into the code stream.

[0033] S30:由音视频终端接收码流,获取词条包的语言种类并对用户进行显示,供用户选择菜单语言。 [0033] S30: receiving audio and video streams from the terminals, to gain entry packet and the language of a user to display, for the user to select the menu language.

[0034] 在通过码流将词条包发送到音视频终端后,由音视频终端接收码流。 [0034] After entry packet to the terminal through the audio and video streams, the audio and video streams receiving terminal. 为使用户能够了解码流中有哪些语言种类的词条包,能够进行选择,音视频终端获取词条包的语言种类并对用户进行显示。 To enable users to which the language translation packages have decoded stream, can be selected, the language of audio and video terminals and the user acquires the package display entries. 例如,码流中具有英语、中文等多个语言种类的词条包,那么由音视频终端通过语言选择描述符获取这些语言种类,并对用户显示英语、中文等等语言种类,使用户能够在多个语言种类中进行选择。 For example, the code stream having a plurality of language of English, Chinese, etc. entry packet, the descriptor obtaining the language selection by the language of the audio and video via the terminal, and displays a user in English, Chinese language, etc., enables the user to multiple language categories were selected.

[0035] 在进一步的实施方式中,该步骤具体为:由音视频终端获取私有数据,对私有数据进行解析,获取词条包及对应的语言种类。 [0035] In a further embodiment, the steps of: obtaining a private audio and video data by the terminal, to parse the private data, and obtain corresponding entry packet language. 进一步的,由音视频终端对私有数据采用加密控制字进行解扰后获取私有数据,对私有数据进行解析,获取词条包及对应的语言种类。 Further, the audio and video data using the private terminal acquires an encrypted private data descrambling control word, to parse the private data, and gain entry packet corresponding language.

[0036] 具体的,由音视频终端按照设定去解析语言选择描述符,通过语言选择描述符来获取语言种类。 [0036] Specifically, the audio and video terminals according to the language selection is set to parse a descriptor to acquire the language by selecting the language descriptors. 例如,通过语言选择描述符得到{0χΑ0;0χ04; 0x450x150x430x16}这一组数据,可以得知有两种语言,一种是英语,一种是中文,并且对应的数据包号分辨为0x15和0x16;那么此时音视频终端显示模块可以将当前的语言种类显示在菜单上供用户进行选择。 For example, by selecting the language descriptors give {0χΑ0; 0χ04; 0x450x150x430x16} This set of data, that there may be two languages, English one is, one is Chinese, and the corresponding resolution of the data packet number 0x15 and 0x16; at this time, then the audio and video terminal display module may display the current user language selection menu for reference.

[0037] S40:获取用户选择的语言种类,只将用户选择语言种类对应词条包中的词条解析出并存储到音视频终端指定的词条存储位置,完成菜单语言设置。 [0037] S40: acquiring language selected by the user, only the user selects the language of the corresponding entry in the entry packet and parsing the audio and video stored in the terminal storage location designated entry, language setting through the menu.

[0038] 在用户选择所需的语言种类后,获取用户选择的语言种类,此时只将用户所选择语言种类对应的词条包中的词条解析出,并存储到音视频终端指定的词条存储位置,从而完成菜单语言的设置,这样只需要根据用户的选择,将用户所选择语言种类的词条由码流中解析存储到音视频终端的指定存储位置即可,不需要在音视频终端内预置多个语言的词条,从而大大减少了音视频终端存储空间的占用,提高了音视频终端硬件设备的使用,降低音视频终端的成本。 [0038] After the user selects the desired language, the user selects a language acquisition, in which case only the headword corresponding to the language pack selected by the user in terms parsed and stored in the audio and video terminals given word of storage location, thereby completing the setup menu language, so that only the user selection, the language of the user entry selected by parsing the code stream stored in the designated storage location of the audio and video terminals, do not need the audio and video a plurality of terminals within the preset language term, thereby greatly reducing the occupied storage space of the audio and video terminals, audio and video to improve the use of the terminal hardware, reducing the cost of audio and video terminals. 同时避免用户需要的语言在音视频终端内没有预置,音视频终端不支持造成用户无法使用的问题,大大提高了用户体验,方便了用户使用。 While avoiding the need for the user's language is not preset in the audio and video terminals, audio and video terminal does not support the cause of the problem that users can not use, greatly improving the user experience and convenience to users.

[0039] 在进一步的实施方式中,在音视频终端中指定一个词条存储位置。 [0039], specifies a word storage location in the audio and video terminals in a further embodiment. 该词条存储位置中,将词条与序号建立一一对应的关系。 The word storage location, the entry with the number-one correspondence relationship. 比如菜单中的英语词条可以定义为以下的结构模式,第一行表示语言种类,后续表示词条以及对应的序号: Terms such as English menu can be defined as a configuration mode, the first line indicates the language, and the subsequent sequence number corresponding entry represents:

[0040] [0040]

Figure CN104168490BD00061

[0041] 这样就可以将词条和其序号对应起来,那么只需要设置其序号,那么就可以自由的修改序号对应的词条从而做到修改词条的目的。 [0041] This term can be its serial number and association, then only need to set the number thereof, it can be freely modified corresponding to the entry number thereby to achieve the purpose of entry modification. 如果需要将另外一种语言的词条存储到音视频终端时,只需要将词条部分覆盖即可。 If another language is necessary to store audio and video entry terminal entry portions only need to be covered.

[0042] 此外,该方法还包括:初始在音视频终端内预置一种语言的步骤。 [0042] In addition, the method further comprising: an initial step of a language preset in the audio and video terminals. 若用户选择的语言种类与预置语言相同,则不进行存储,若不同,则进行覆盖。 If the language selected by the user with the same preset language, memory is not performed, if different, is covered. 这样始终保持音视频终端内只存储一种语言种类的词条。 Such remains are stored only in the language of audio and video terminal for entry.

[0043] 在进一步的实施方式中,初始在音视频终端内预置一种语言的步骤具体为:统计用户所在地理区域内其他用户选择的语言种类,并根据统计结果初始在音视频终端内预置用户选择最多的语言种类。 [0043] In a further embodiment, the initial preset language of the audio and video terminals in step is specifically: Statistical users within a geographic area where the language selected by other users, and audio and video in the initial pre terminal according to statistics most home users choose the language. 这样可以精确的在音视频终端内初始预置用户最大可能需要的菜单语言。 Such precisely within the audio and video terminals initial preset menu language maximum possible user needs.

[0044] 该菜单语言设置方法,将多种语言的词条封装成词条包并插入到码流中,通过码流发送到音视频终端,在用户选择需要的菜单语言后,从码流中将用户需要菜单语言的词条解析出并存储到音视频终端中,从而完成菜单语言的设置,这样只需要根据用户的选择, 将用户所选择语言种类的词条由码流中解析存储到音视频终端的指定存储位置即可,不需要在音视频终端内预置多个语言的词条,从而大大减少了音视频终端存储空间的占用,提高了音视频终端硬件设备的使用,降低音视频终端的成本。 [0044] The method of setting the menu language, the multilingual translation entry packet encapsulated and inserted into the bitstream, audio and video sent to the terminal through the stream, after the user selects the desired menu language, from the code stream the user needs menu language translation parsed and stored in the audio and video terminals, thereby completing the setup menu language, so that only the user selection, the language of the user entry selected by parsing the code stream stored in the tone specify the storage location of the video terminal, you do not need multiple preset languages ​​in terms of audio and video terminals, thereby greatly reducing the occupied storage space of the audio and video terminals, audio and video to improve the use of the terminal device hardware, reducing the audio and video cost of the terminal. 同时避免用户需要的语言在音视频终端内没有预置,音视频终端不支持造成用户无法使用的问题,大大提高了用户体验, 方便了用户使用。 While avoiding the need for the user's language is not preset in the audio and video terminals, audio and video terminal does not support the cause of the problem that users can not use, greatly improving the user experience and convenience to users.

[0045] 同时,本发明还提供一种菜单语言设置系统。 [0045] Meanwhile, the present invention also provides a system settings menu language. 如图2所示,该系统包括: As shown, the system 2 comprises:

[0046] 词条封装单元100,对多种语言种类及对应的词条进行封装,形成多种语言的词条包。 [0046] The term packaging unit 100, and the corresponding type of multilingual translation encapsulated form multilingual translation package.

[0047] 该实施例中,词条封装单元100首先对多个语言种类的词条进行封装,将每种语言的词条封装成词条包,而不是直接将多种语言的词条直接预置在音视频终端内。 [0047] In this embodiment, the package unit 100 first entry of the plurality of language translation encapsulated, the encapsulated each language translation entry packet, rather than directly to the pre multilingual translation directly placed in the audio and video terminals.

[0048] 具体的,词条封装单元100对多种语言种类及对应的词条进行封装如下: [0048] Specifically, the 100 pairs of entries corresponding to multiple languages ​​and type packaging unit packaging the following terms:

[0049] 首先词条封装单元100在网络信息表中增加一个描述多种语言的语言选择描述符; [0049] The first term describes the package unit 100 increases a multilingual network information table in the language selected descriptor;

[0050] 其中,语言选择描述符为以下格式: [0050] wherein the language selected descriptor in the following format:

[0051] {:描述符号,描述符长度,描述符内容},设定描述符长度是指描述符内容的长度, 描述符内容可以描述与当前语言的描述和对应的词条数据包号,比如英语和中文分别为E (0x45)和C (0x43),加入这两种语言需要对应的数据包为0x15和0x16,由于一个字母占1个字节,那么长度为4,内容为0x45、0xl5、0x43、0xl6。 [0051] {: descriptor, a descriptor length, the content descriptor}, set descriptor length is the length of the content descriptor, the content descriptor may describe the current description language and the corresponding data packet number entry, such as Chinese and English are E (0x45) and C (0x43), was added two languages ​​require corresponding data packet is 0x15 and 0x16, since a letter is 1 byte, the length of 4, the content of 0x45,0xl5, 0x43,0xl6.

[0052] 那么当前的语言选择描述符可以描述为: [0052] then the current descriptor language selection can be described as:

[0053] {0xA0;0x04;0x450xl50x430xl6},这样就表示当前有两种语言并且描述了两种语言对应的词条数据包。 [0053] {0xA0; 0x04; 0x450xl50x430xl6}, This current is described in two languages ​​and two languages ​​corresponding entry packets.

[0054] 其次,在词条整理好之后需要封装成完整的数据包来进行传输,词条封装单元100 按照传输协议来对词条数据进行封装。 [0054] Next, after entry into a complete collated package need for transmission of packets, encapsulating entry unit 100 to encapsulate the data transmission protocol translation. 由于一个数据包只能由188个字节,其中前4个字节是标准的包头,后面184个字节才能存放此条信息,则需要在包头的四个字节中描述当前数据包号,需要和网络信息表中的语言选择描述符一致,比如当前时英语词条包,就应该在此处描述数据包号为0x15,然后包头后面数词条数据信息:如下: Because a packet can only be 188 bytes, of which the first four bytes is a standard header, followed by 184 bytes to store the entry information is required to describe the number of the current packet header of four bytes, needs and network information table descriptor consistent language selection, such as the current packet when the English term, it should be described herein 0x15 packet number, then the number of entries rear header data: the following:

[0055] [0055]

Figure CN104168490BD00081

[0056] 词条发送单元200,将多种语言的词条包插入到码流中,通过码流下发到音视频终端。 [0056] The transmitting unit 200 entries, the entry packet into multiple languages ​​stream by the code stream sent to the audio and video terminals.

[0057] 由于音视频终端在工作时,需要接收前端发送的码流,在该实施例中,在将多种语言的词条封装成词条包后,词条发送单元200将多种语言的词条包插入到音视频的码流中, 通过码流将词条包下发到音视频终端,利用码流来下发词条包,从而使得词条包可以下发到音视频终端。 [0057] Since the audio and video terminals in operation, the front end needs to receive transmitted code stream, in this embodiment, after the entry into multilingual translation encapsulated packet transmission unit 200 entries Multilingual entry packet into the audio and video streams, stream by the entry packet delivered to the audio and video terminals, using the code entry packet stream issued, so that entry packet may be delivered to the audio and video terminals.

[0058] 在进一步的实施方式中,词条发送单元200将多种语言的词条包封装形成私有数据,将私有数据插入到码流中。 [0058] In a further embodiment, the transmitting unit 200 entries multilingual translation private data packet encapsulation is formed, the private data is inserted into the code stream. 更进一步的,词条发送单元200将多种语言的词条包采用加密控制字进行加扰,形成私有数据并插入到码流中。 Further, the term transmission unit 200 multilingual translation encrypted control word packet is scrambled, private data is formed and inserted into the code stream.

[0059] 菜单语言选择单元300,控制音视频终端接收码流,获取词条包的语言种类并对用户进行显示,供用户选择菜单语言。 [0059] The menu language selection unit 300, a control terminal to receive audio and video streams, and to obtain the user language translation packages are displayed for the user to select the menu language.

[0060] 在通过码流将词条包发送到音视频终端后,由音视频终端接收码流。 [0060] After entry packet to the terminal through the audio and video streams, the audio and video streams receiving terminal. 为使用户能够了解码流中有哪些语言种类的词条包,能够进行选择,菜单语言选择单元300控制音视频终端获取词条包的语言种类并对用户进行显示。 To enable users to decode the stream in which a language translation packages, can be selected, menu language selection unit 300 controls the terminal to obtain audio and video packets and the language of the user entry is displayed. 例如,码流中具有英语、中文等多个语言种类的词条包,那么由获取这些语言种类,并对用户显示英语、中文等等语言种类,使用户能够在多个语言种类中进行选择。 For example, the code stream having a plurality of English language, Chinese and other entry packets, then acquired by the language, and displayed to the user in English, Chinese language, etc., enables the user to select the plurality of language.

[0061] 在进一步的实施方式中,菜单语言选择单元300控制音视频终端获取私有数据,对私有数据进行解析,获取词条包及对应的语言种类。 [0061] In a further embodiment, the menu language selection unit 300 controls the terminal to obtain audio and video data private, the private data is parsed, and the corresponding gain entry packet language. 进一步的,菜单语言选择单元300控制音视频终端对私有数据采用加密控制字进行解扰后获取私有数据,对私有数据进行解析, 获取词条包及对应的语言种类。 Further, menu language selection unit 300 controls the audio and video data using the private terminal acquires an encrypted private data descrambling control word, to parse the private data, and gain entry packet corresponding language.

[0062] 具体的,语言选择单元300控制音视频终端按照设定去解析语言选择描述符,通过语言选择描述符来获取语言种类。 [0062] Specifically, the language selection unit 300 controls the audio and video terminals according to the language selection is set to parse a descriptor to acquire the language by selecting the language descriptors. 例如,通过语言选择描述符得到{OxAO; 0x04; 0x450x150x430x16}这一组数据,可以得知有两种语言,一种是英语,一种是中文,并且对应的数据包号分辨为0x15和0x16;那么此时音视频终端显示模块可以将当前的语言种类显示在菜单上供用户进行选择。 For example, by selecting the language descriptors give {OxAO; 0x04; 0x450x150x430x16} This set of data, that there may be two languages, English one is, one is Chinese, and the corresponding resolution of the data packet number 0x15 and 0x16; at this time, then the audio and video terminal display module may display the current user language selection menu for reference.

[0063] 菜单语言设置单元400,获取用户选择的语言种类,只将用户选择语言种类对应词条包中的词条解析出并存储到音视频终端指定的词条存储位置,完成菜单语言设置。 [0063] Menu Language setting unit 400 acquires the language selected by the user, only the user selects the language of the corresponding entry in the entry packet and parsing the audio and video stored in the terminal storage location designated entry, language setting through the menu.

[0064] 在用户选择所需的语言种类后,菜单语言设置单元400获取用户选择的语言种类, 此时只将用户所选择语言种类对应的词条包中的词条解析出,并存储到音视频终端指定的词条存储位置,从而完成菜单语言的设置,这样只需要根据用户的选择,将用户所选择语言种类的词条由码流中解析存储到音视频终端的指定存储位置即可,不需要在音视频终端内预置多个语言的词条,从而大大减少了音视频终端存储空间的占用,提高了音视频终端硬件设备的使用,降低音视频终端的成本。 [0064] After the user selects the desired language, menu language setting unit 400 acquires the language selected by the user, then only the headword corresponding to the language pack selected by the user in terms parsed and stored in the tone video terminal specified word storage location, thereby completing the setup menu language, so that only the user selection, the language of the user entry selected by parsing the code stream stored in the designated storage location of the audio and video to a terminal, preset language does not require entry in the plurality of audio and video terminals, thereby greatly reducing the occupied storage space of the audio and video terminals, audio and video to improve the use of the terminal hardware, reducing the cost of audio and video terminals. 同时避免用户需要的语言在音视频终端内没有预置,音视频终端不支持造成用户无法使用的问题,大大提高了用户体验,方便了用户使用。 While avoiding the need for the user's language is not preset in the audio and video terminals, audio and video terminal does not support the cause of the problem that users can not use, greatly improving the user experience and convenience to users.

[0065] 在进一步的实施方式中,菜单语言设置单元400在音视频终端中指定一个词条存储位置。 [0065], menu language setting unit 400 specifies a storage location in terms of audio and video terminals in a further embodiment. 该词条存储位置中,将词条与序号建立一一对应的关系。 The word storage location, the entry with the number-one correspondence relationship. 比如菜单中的英语词条可以定义为以下的结构模式,第一行表示语言种类,后续表示词条以及对应的序号: Terms such as English menu can be defined as a configuration mode, the first line indicates the language, and the subsequent sequence number corresponding entry represents:

[0066] [0066]

Figure CN104168490BD00091

[0067] 这样就可以将词条和其序号对应起来,那么只需要设置其序号,那么就可以自由的修改序号对应的词条从而做到修改词条的目的。 [0067] This term can be its serial number and association, then only need to set the number thereof, it can be freely modified corresponding to the entry number thereby to achieve the purpose of entry modification. 如果需要将另外一种语言的词条存储到音视频终端时,只需要将词条部分覆盖即可。 If another language is necessary to store audio and video entry terminal entry portions only need to be covered.

[0068] 此外,该系统还包括菜单语言预置单元,用于初始在音视频终端内预置一种菜单语言。 [0068] In addition, the system further comprises a pre-set menu language unit for one kind of an initial menu language preset in the audio and video terminals. 若用户选择的语言种类与预置语言相同,则不进行存储,若不同,则进行覆盖。 If the language selected by the user with the same preset language, memory is not performed, if different, is covered. 这样始终保持音视频终端内只存储一种语言种类的词条。 Such remains are stored only in the language of audio and video terminal for entry.

[0069] 在进一步的实施方式中,菜单语言预置单元统计用户所在地理区域内其他用户选择的语言种类,并根据统计结果在音视频终端内预置用户选择最多的语言种类。 [0069] In a further embodiment, the preset language of the menu language unit in the geographical area statistics of other users in selection, and the user selects the preset language in most audio and video terminals according to statistics. 这样可以精确的在音视频终端内初始预置用户最大可能需要的菜单语言。 Such precisely within the audio and video terminals initial preset menu language maximum possible user needs.

[0070] 该菜单语言设置系统,将多种语言的词条封装成词条包并插入到码流中,通过码流发送到音视频终端,在用户选择需要的菜单语言后,从码流中将用户需要菜单语言的词条解析出并存储到音视频终端中,从而完成菜单语言的设置,这样只需要根据用户的选择, 将用户所选择语言种类的词条由码流中解析存储到音视频终端的指定存储位置即可,不需要在音视频终端内预置多个语言的词条,从而大大减少了音视频终端存储空间的占用,提高了音视频终端硬件设备的使用,降低音视频终端的成本。 [0070] The system menu language setting, the multilingual translation entry packaged into packets and inserted into the code stream sent by the terminal to the audio and video stream, after the user selects the desired menu language, from the code stream the user needs menu language translation parsed and stored in the audio and video terminals, thereby completing the setup menu language, so that only the user selection, the language of the user entry selected by parsing the code stream stored in the tone specify the storage location of the video terminal, you do not need multiple preset languages ​​in terms of audio and video terminals, thereby greatly reducing the occupied storage space of the audio and video terminals, audio and video to improve the use of the terminal device hardware, reducing the audio and video cost of the terminal. 同时避免用户需要的语言在音视频终端内没有预置,音视频终端不支持造成用户无法使用的问题,大大提高了用户体验, 方便了用户使用。 While avoiding the need for the user's language is not preset in the audio and video terminals, audio and video terminal does not support the cause of the problem that users can not use, greatly improving the user experience and convenience to users.

[0071] 本发明的菜单语言设置方法及系统,将多种语言的词条封装成词条包并插入到码流中,通过码流发送到音视频终端,在用户选择需要的菜单语言后,从码流中将用户需要菜单语言的词条解析出并存储到音视频终端中,从而完成菜单语言的设置,这样只需要根据用户的选择,将用户所选择语言种类的词条由码流中解析存储到音视频终端的指定存储位置即可,不需要在音视频终端内预置多个语言的词条,从而大大减少了音视频终端存储空间的占用,提高了音视频终端硬件设备的使用,降低音视频终端的成本。 [0071] Menu Language setting method and system of the invention, will be packaged into multilingual translation entry packet is inserted into the bitstream and transmitted to the terminal through the audio and video stream, the user selects the desired menu language, parses the stream entry in the user needs menu language and stored in the audio and video terminals, thereby completing the setup menu language, so that only the user selection, the language of the user entry selected by the code stream analytical stored in the designated storage location of the audio and video terminals, you do not need multiple preset languages ​​in terms of audio and video terminals, thereby greatly reducing the occupied storage space of the audio and video terminals, audio and video to improve the use of the terminal apparatus hardware , reducing the cost of audio and video terminals. 同时避免用户需要的语言在音视频终端内没有预置,音视频终端不支持造成用户无法使用的问题,大大提高了用户体验,方便了用户使用。 While avoiding the need for the user's language is not preset in the audio and video terminals, audio and video terminal does not support the cause of the problem that users can not use, greatly improving the user experience and convenience to users.

[0072] 以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 [0072] The above description is only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, equivalent substitutions and improvements should be included in the present invention. within the scope of protection.

Claims (10)

1. 一种菜单语言设置方法,其特征在于,包括如下步骤: S10:对多种语言种类及对应的词条进行封装,形成多种语言的词条包,具体的,所述对多种语言种类及对应的词条进行封装包括:在网络信息列表中增加一个描述多种语言的语言选择描述符;按照传输协议对词条数据进行封装; S20:将多种语言的词条包插入到码流中,通过码流下发到音视频终端; S30:由音视频终端接收码流,获取词条包的语言种类并对用户进行显示,供用户选择菜单语言,具体的,由音视频终端按照设定去解析语言选择描述符,通过语言选择描述符来获取语言种类; S40:获取用户选择的语言种类,只将用户选择语言种类对应词条包中的词条解析出并存储到音视频终端指定的词条存储位置,完成菜单语言设置,只需要根据用户的选择,将用户所选择语言种类的词条由码流中解析存储 A menu language setting method characterized by comprising the steps of: S10: types of languages ​​and the corresponding entry encapsulated packet formed multilingual translation, Specifically, the multiple languages type and the corresponding entries encapsulated comprising: adding a description languages ​​descriptor language selection list in the network information; entries for encapsulating data transmission protocol; S20: the entry packet into multiple languages ​​code stream by the code stream sent to the audio and video terminals; S30: receiving audio and video streams from the terminals, and acquires the language of the user entry packet is displayed for the user to select the menu language, specifically, according to the audio and video terminals provided to parse language selection set descriptor to acquire the language by selecting the language descriptors; S40: acquiring language selected by the user, only the user selects the language of the corresponding entry in the entry packet parsed and stored in the audio and video terminals designated the word storage location, through the menu language setting, only according to a user selection, the language of the user entry selected by the code stream stored parsed 到音视频终端的指定存储位置。 Audio and video terminal to the specified storage location.
2. 根据权利要求1所述的菜单语言设置方法,其特征在于,所述步骤S20具体为:将多种语言的词条包采用加密控制字进行加扰,形成私有数据并插入到码流中。 The menu language setting method according to claim 1, wherein said Step S20 specifically includes: a multilingual translation encrypted control word packet is scrambled, private data is formed and inserted into the codestream .
3. 根据权利要求2所述的菜单语言设置方法,其特征在于,所述步骤S30具体为: 由音视频终端对私有数据采用加密控制字进行解扰后获取私有数据,对私有数据进行解析,获取词条包及对应的语言种类。 The menu language setting method according to claim 2, wherein said step S30: obtaining a private data descrambling control word encrypted by the private data audio-video terminal, private data parsing, to gain entry package and the corresponding language.
4. 根据权利要求2所述的菜单语言设置方法,其特征在于,所述步骤S40还包括:在音视频终端中指定一个词条存储位置,所述词条存储位置中,将词条与序号建立一一对应的关系。 The menu language setting method according to claim 2, wherein the step S40 further includes: a word storage location specified in the audio and video terminal, the word storage location, and the entry number establish one relationship.
5. 根据权利要求1所述的菜单语言设置方法,其特征在于,所述方法还包括:统计用户所在地理区域内其他用户选择的语言种类,并根据统计结果初始在音视频终端内预置用户选择最多的语言种类的步骤。 The menu language setting method according to claim 1, wherein said method further comprises: statistical language of the user is located within the geographic area selected by other users, and the initial preset user terminal according to the audio and video statistics select the language of most of the steps.
6. —种菜单语言设置系统,其特征在于,包括: 词条封装单元,对多种语言种类及对应的词条进行封装,形成多种语言的词条包,具体的,所述对多种语言种类及对应的词条进行封装包括:在网络信息列表中增加一个描述多种语言的语言选择描述符;按照传输协议对词条数据进行封装; 词条发送单元,将多种语言的词条包插入到码流中,通过码流下发到音视频终端; 菜单语言选择单元,控制音视频终端接收码流,获取词条包的语言种类并对用户进行显示,供用户选择菜单语言,具体的,由音视频终端按照设定去解析语言选择描述符,通过语言选择描述符来获取语言种类; 菜单语言设置单元,获取用户选择的语言种类,只将用户选择语言种类对应词条包中的词条解析出并存储到音视频终端指定的词条存储位置,完成菜单语言设置,只需要根据用户的 6. - menu languages ​​setting system comprising: encapsulating unit entry, and the corresponding type of multilingual translation encapsulated form multilingual translation package, particularly, a variety of language and the corresponding translation encapsulate comprises: increasing the list in the network information described in a language selected descriptor languages; terms of encapsulating data transmission protocol; transmitting unit entries, entries for multiple languages packet into the code stream, the code stream sent by the terminal to the audio and video; menu language selection unit, a control terminal to receive audio and video streams to acquire the language pack entry and display the user, for the user to select the menu language, the specific , the audio and video terminals according to the language selection is set to parse a descriptor to acquire the language by selecting the language descriptor; menu language setting means acquires the language selected by the user, only the user selects the language of the corresponding entry word packet Article parsed and stored in the word storage location designated audio and video terminal, menu language setting is completed, the user only need to 择,将用户所选择语言种类的词条由码流中解析存储到音视频终端的指定存储位置。 Selection, the language of the user entry is selected by parsing the code stream stored in the designated storage location of the audio and video terminals.
7. 根据权利要求6所述的菜单语言设置系统,其特征在于,所述词条发送单元将多种语言的词条包采用加密控制字进行加扰,形成私有数据并插入到码流中。 7. Menu Language setting system according to claim 6, characterized in that said entry unit transmitting multilingual translation encrypted control word packet is scrambled, private data is formed and inserted into the code stream.
8. 根据权利要求7所述的菜单语言设置系统,其特征在于,所述菜单语言选择单元控制音视频终端对私有数据采用加密控制字进行解扰后获取私有数据,对私有数据进行解析, 获取词条包及对应的语言种类。 8. The system according to the menu language setting in claim 7, wherein said menu language selection unit acquires private data audio-video control terminal descrambling control word encrypted private data, private data parsing obtain entry package and the corresponding language.
9. 根据权利要求6所述的菜单语言设置系统,其特征在于,所述菜单语言设置单元在音视频终端中指定一个词条存储位置,所述词条存储位置中,将词条与序号建立一一对应的关系。 9. The system according to the menu language setting in claim 6, wherein said setting means specifies a menu language word storage location in the audio-video terminal, the word storage location, and the entry number to establish one to one relationship.
10. 根据权利要求6所述的菜单语言设置系统,其特征在于,所述系统还包括:菜单语言预置单元,统计用户所在地理区域内其他用户选择的语言种类,并根据统计结果初始在音视频终端内预置用户选择最多的语言种类。 10. Menu Language setting system according to claim 6, characterized in that the system further comprises: presetting unit menu language, the language of the user is within the statistical geographic area selected by other users, and the initial tone in accordance with the statistical results pre-selected by the user up to the language in the video terminal.
CN201410385276.6A 2014-08-05 2014-08-05 Menu languages ​​method and system settings CN104168490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410385276.6A CN104168490B (en) 2014-08-05 2014-08-05 Menu languages ​​method and system settings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410385276.6A CN104168490B (en) 2014-08-05 2014-08-05 Menu languages ​​method and system settings

Publications (2)

Publication Number Publication Date
CN104168490A CN104168490A (en) 2014-11-26
CN104168490B true CN104168490B (en) 2018-08-03

Family

ID=51912092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410385276.6A CN104168490B (en) 2014-08-05 2014-08-05 Menu languages ​​method and system settings

Country Status (1)

Country Link
CN (1) CN104168490B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187746A (en) * 2015-09-01 2015-12-23 Tcl海外电子(惠州)有限公司 Television set and language storage method of television set
CN105430491A (en) * 2015-11-12 2016-03-23 广州视源电子科技股份有限公司 Method and system for setting audio language of multimedia equipment
CN106385616A (en) * 2016-10-11 2017-02-08 广州视源电子科技股份有限公司 Display method and device for TV screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1076931C (en) * 1995-11-13 2001-12-26 杰姆斯达发展公司 Method and apparatus for displaying textual or graphic data on screen of television receiver
US6445421B1 (en) * 1999-10-14 2002-09-03 Mustek Systems, Inc. Method and apparatus for displaying the subtitle of multiple language between human-machine interface
CN101262293A (en) * 2008-04-25 2008-09-10 中兴通讯股份有限公司 A transmission method and system for multi-language program prompt message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1076931C (en) * 1995-11-13 2001-12-26 杰姆斯达发展公司 Method and apparatus for displaying textual or graphic data on screen of television receiver
US6445421B1 (en) * 1999-10-14 2002-09-03 Mustek Systems, Inc. Method and apparatus for displaying the subtitle of multiple language between human-machine interface
CN101262293A (en) * 2008-04-25 2008-09-10 中兴通讯股份有限公司 A transmission method and system for multi-language program prompt message

Also Published As

Publication number Publication date
CN104168490A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
CN100518267C (en) Contextual web page system and method
US8225367B2 (en) Systems and methods for dynamic conversion of web content to an interactive walled garden program
US20150195605A1 (en) Extensions to trigger parameters table for interactive television
JP4422900B2 (en) System and method for providing a plurality of programming services in a television system
CN100596174C (en) Method for setting interface of electronic card
US10104447B2 (en) Extensions to trigger parameters table for interactive television
RU2345401C2 (en) Universal two-way consecutive interface of data transmission and data transmission method
KR101719442B1 (en) Distributed non-real-time content
US20130250173A1 (en) Non-closed caption data transport in standard caption service
US20140214967A1 (en) Receiver and reception method
CN101945252B (en) Cross-platform media system and implementation method thereof
KR100632363B1 (en) Downloading of applications in a digital decoder
US20140181887A1 (en) Method for transmitting a broadcast service, apparatus for receiving same, and method for processing an additional service using the apparatus for receiving same
CN102687518A (en) Apparatus and methods for describing and timing representations in streaming media files
JP2013521708A (en) Association of service for the transmission of the caption disparity data
CN104126308A (en) Method, computer program, and reception apparatus for delivery of supplemental content
CN103069810A (en) Virtual channel declarative object script binding
CN104509120A (en) Broadband delivery of personalization information for advanced tv services
WO2002043396A2 (en) System and method for providing an omnimedia package
Peng Digital television applications
US20110128442A1 (en) Delivery of Captions, Content Advisory and Other Data Through Digital Interface
KR20140017536A (en) Disparity data transport in standard caption service
Piesing The DVB multimedia home platform (MHP) and related specifications
CN103309308B (en) An apparatus and method for intelligent control devices, systems, equipment Plug
US20070118872A1 (en) Method and apparatus for providing preview service using electronic service guide in a digital broadcasting system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01