CN106210900A - Method and system for realizing multi-section repetition marking for Web audio and video player - Google Patents

Method and system for realizing multi-section repetition marking for Web audio and video player Download PDF

Info

Publication number
CN106210900A
CN106210900A CN201510225837.0A CN201510225837A CN106210900A CN 106210900 A CN106210900 A CN 106210900A CN 201510225837 A CN201510225837 A CN 201510225837A CN 106210900 A CN106210900 A CN 106210900A
Authority
CN
China
Prior art keywords
key
number
corresponding
audio
current
Prior art date
Application number
CN201510225837.0A
Other languages
Chinese (zh)
Inventor
董延平
Original Assignee
Tcl集团股份有限公司
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 Tcl集团股份有限公司 filed Critical Tcl集团股份有限公司
Priority to CN201510225837.0A priority Critical patent/CN106210900A/en
Publication of CN106210900A publication Critical patent/CN106210900A/en

Links

Abstract

The invention discloses a method and a system for realizing multi-section repetition marking for a Web audio and video player. The method comprises steps: when the Web audio and video player carries out audio/video playing, a keyboard key operation instruction of a user is detected in real time; if the instruction is detected, whether the corresponding key is a designated recording starting trigger key is judged; if yes, according to an already-stored key event number in a webpage key event list storage array, the current key event number is acquired, the recording starting time corresponding to the current key operation instruction is acquired, and after the recording starting time is stored, next keyboard key operation instruction of the user is detected in real time; and when the key corresponding to the next keyboard key operation instruction is the number key with the same number as the current key event, corresponding recording stop time is acquired, and together with the current key event number and the recording starting time, repetition marking information is synthesized and stored. Multi-section repetition marking can be carried out on an audio/video file, interrupted playing is not needed in the case of marking, and the user is greatly facilitated.

Description

一种Web音视频播放器多段复读标记实现方法及系统 For Web audio and video player multi-repeat method and system for labeling

技术领域 FIELD

[0001] 本发明涉及网络播放器技术领域,尤其涉及的是一种Web音视频播放器多段复读标记实现方法及系统。 [0001] The present invention relates to the field network player, and more particularly relates to an audio and video player Web multistage method and system repeat marker.

背景技术 Background technique

[0002]目前,在网络上通过页面在线音视频学习的用户越来越多,也越来越普及,尤其是英语类的学习。 [0002] Currently, the page on the web through online audio and video learning more and more users, more and more popular, especially English class learning. 用户可以从网络上获得大量学习资料,如听力资料。 Users can get a lot of learning material from the Internet, such as hearing information. 但在练习听力的时候,之前用户常使用复读机进行练习,现在网络播放器也重现了这一功能。 But when practice listening, before the user often use repetition to practice, and now network player can also reproduce this feature. 但使用网络播放器的复读功能时,必需中断当前的听力,如果一段听力材料有多个小段落都需要精听,必需重新开始并做标计,也就是一次只能标记一段复读音频,不能同时标记多个复读段落。 However, when using the repeat function network player, it is necessary to interrupt the current hearing, if the period of listening material number of small passages need intensive listening, you must start over and do the standard gauge, which is a marker for a repeat audio only, not both a plurality of repeat markers paragraphs.

[0003] 因此,现有技术还有待于改进和发展。 [0003] Thus, the prior art has yet to be improved and developed.

发明内容 SUMMARY

[0004] 鉴于上述现有技术的不足,本发明的目的在于提供一种Web音视频播放器多段复读标记实现方法及系统,旨在解决现有技术中网络播放器无法同时标记多个复读段落的缺陷。 [0004] In view of the deficiencies of the prior art, an object of the present invention is to provide an audio and video player Web multistage method and system repeat flag, the prior art to solve the network player can not repeat a plurality of markers simultaneously paragraphs defect.

[0005] 本发明的技术方案如下: [0005] aspect of the present invention is as follows:

一种Web音视频播放器多段复读标记实现方法,其中,所述方法包括以下步骤: For Web audio and video player repeat markers multistage implemented method, wherein said method comprises the steps of:

A、当Web音视频播放器进行音/视频播放时,对用户的键盘按键操作指令进行实时检测;若检测到时,则判断当前按键操作指令对应的按键是否为指定记录起始触发键; When A, when the Web audio and video players for audio / video player, the user's keyboard operation command detected in real time; if detected, the current key is determined whether the button operation instruction corresponding to the specified recording start trigger button;

B、若是时,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,并获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测; B, and if yes, the current key event ID number acquired key event in accordance with the key event list page stored in the memory array, and acquires the current key operation instruction corresponding to the recording start time, and then stored for the next keyboard operation of the user real-time detection instruction;

C、当检测到下一键盘按键操作指令对应的按键为与所述当前按键事件编号相同的数字键时,则获取该按键操作指令对应的记录终止时间,并将所述当前按键事件编号、记录起始时间及记录终止时间合成复读标记信息存储在页面按键事件列表存储阵列中。 C, when detecting a next operation command keyboard keys corresponding to the current key is the key event number same numeric key, the key is acquired operation instruction corresponding to the recording end time, and the current key event number, the recording start time and a recording end time stamp information synthesis repeat key event list stored in the page memory array.

[0006] 所述Web音视频播放器多段复读标记实现方法,其中,所述指定记录起始触发键为键盘中的字母键、数字键或符号键中的任意一个。 [0006] The audio and video Web multistage repeat marker player-implemented method, wherein the designated recording start trigger key of the keyboard letter keys, numeric keys, or any symbol keys.

[0007] 所述Web音视频播放器多段复读标记实现方法,其中,所述步骤B具体包括: [0007] The audio and video Web multistage repeat marker player-implemented method, wherein said step B comprises:

B1、若检测到当前按键操作指令对应的按键为指定记录起始触发键时,则获取所述指定记录起始触发键的按键类型;若所述指定记录起始触发键的按键类型为字母键或符号键,则执行步骤B2 ;若所述指定记录起始触发键的按键类型为数字键,则执行步骤B3 ; B1, upon detecting a key operation corresponding to the command current key specified recording start trigger key, acquiring the specified key type recording start trigger button; if the specified recording start button type trigger key for the letter keys or symbol key, step B2 is executed; if the specified recording start trigger button type key is the numeric key, step B3;

B2、将页面按键事件列表存储阵列中已存储的按键事件编号总数加一后并检测该值是否己存在,如果不存在则获取当前按键事件编号,如果存在则在该值上再加一重复检测直到该编号不存在于按键事件列表存储阵列中,存储后再对用户的下一键盘按键操作指令进行实时检测; B3、判断该数字键对应数字是否与页面按键事件列表存储阵列中已存储的按键事件编号相同;若不同,则以该数字键对应数字为当前按键事件编号,并对应获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测。 B2, the total number of key events page key event list already stored in the memory array after a number plus and detects whether the value already exists, if there is no current key event number is acquired, if present, together with a repeat on the detected value until the number does not exist in the key event list memory array, and then stored for the next keyboard operation instruction of the user detected in real time; B3, judging whether the key number corresponding to the number keys and the page key event list already stored in the memory array the same event number; if different, the number corresponding to the number key for the current event number keys, and acquires the current key corresponding to the operation instruction corresponding to the recording start time, after the user stores the next keyboard operation command detected in real time.

[0008] 所述Web音视频播放器多段复读标记实现方法,其中,所述步骤B3中还包括:若该数字键对应数字与页面按键事件列表存储阵列中已存储的按键事件编号相同,则更新该按键事件编号的记录终止时间为该数字键对应的记录终止时间。 [0008] The audio and video Web multistage repeat marker player-implemented method, wherein said step B3 further comprises: if the same key event ID and the page number key corresponding to the key event number list stored in the memory array, is updated the recording end time key event number corresponding to the number key for the recording end time.

[0009] 所述Web音视频播放器多段复读标记实现方法,其中,所述页面按键事件列表存储阵列中存储的复读标记信息可删除。 [0009] The audio and video Web multistage repeat marker player-implemented method, wherein the marker information page key repeat event list stored in the memory array can be deleted.

[0010] 一种Web音视频播放器多段复读标记实现系统,其中,包括: [0010] A Web Video Player audio repeat flag multistage implemented system, comprising:

检测判断模块,用于当Web音视频播放器进行音/视频播放时,对用户的键盘按键操作指令进行实时检测;若检测到时,则判断当前按键操作指令对应的按键是否为指定记录起始触发键; Detection determining means for when the Web audio and video players for audio / video player, the user's keyboard operation command detected in real time; if detected, it is determined whether the current key operation corresponding to the command for the specified record start key trigger key;

编号及时间获取模块,用于若是时,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,并获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测; Number and time acquisition module, if used for, the number of the current key event acquired key event pages are numbered according to the key event list already stored in the memory array, and acquires the recording starting time, and then stores the current key operation instruction corresponding to the user next keyboard operation command detected in real time;

复读标记获取模块,用于当检测到下一键盘按键操作指令对应的按键为与所述当前按键事件编号相同的数字键时,则获取该按键操作指令对应的记录终止时间,并将所述当前按键事件编号、记录起始时间及记录终止时间合成复读标记信息存储在页面按键事件列表存储阵列中。 Repeat flag obtaining module, configured to detect when the next operation command keyboard keys corresponding to the current key is the key event number same numeric key, the key is acquired operation instruction corresponding to the recording end time, and the current key event number, a recording start time and a recording end time stamp information synthesis repeat key event list stored in the page memory array.

[0011] 所述Web音视频播放器多段复读标记实现系统,其中,所述指定记录起始触发键为键盘中的字母键、数字键或符号键中的任意一个。 [0011] The Web audio and video player repeat marking system for implementing a multistage, wherein the designated recording start trigger key is any key of the keyboard of a letter, number keys or symbol keys.

[0012] 所述Web音视频播放器多段复读标记实现系统,其中,所述编号及时间获取模块具体包括: [0012] The Web audio and video player repeat marking system for implementing a multistage, wherein the number and time acquisition module comprises:

按键类型判断单元,用于若检测到当前按键操作指令对应的按键为指定记录起始触发键时,则获取所述指定记录起始触发键的按键类型;若所述指定记录起始触发键的按键类型为字母键或符号键,则启动第一获取单元;若所述指定记录起始触发键的按键类型为数字键,则启动第二获取单元; Key type determination means, when detecting key for this key operation instruction corresponding to the specified recording start trigger key, acquiring the specified key type recording start trigger button; if the designated recording start trigger button key type keys letter or symbol key, initiating a first obtaining unit; if the specified recording start trigger button type key is the numeric key, initiating a second acquisition unit;

第一获取单元,用于将页面按键事件列表存储阵列中已存储的按键事件编号总数加一后并检测该值是否己存在,如果不存在则获取当前按键事件编号,如果存在则在该值上再加一重复检测直到该编号不存在于按键事件列表存储阵列中,存储后再对用户的下一键盘按键操作指令进行实时检测; A first obtaining unit, the total number of key events for the page key event list memory array stored number will be increased by one and detects whether the value already exists, if there is no current key event number is acquired, if present, on the value a detector coupled repeated until the number does not exist in the key event list memory array, and then stored for the next keyboard operation instruction of the user detected in real time;

第二获取单元,用于判断该数字键对应数字是否与页面按键事件列表存储阵列中已存储的按键事件编号相同;若不同,则以该数字键对应数字为当前按键事件编号,并对应获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测。 A second acquisition unit configured to determine whether the same numeric key corresponding to the key event numbers page key event list memory array stored number; if different, the number keys corresponding to the key event for the current digital number corresponding to the acquired current and key operation instruction corresponding to the recording start time, after the user stores the next keyboard operation command detected in real time.

[0013] 所述Web音视频播放器多段复读标记实现系统,其中,所述第二获取单元还用于若该数字键对应数字与页面按键事件列表存储阵列中已存储的按键事件编号相同,则更新该按键事件编号的记录终止时间为该数字键对应的记录终止时间。 [0013] The Web audio and video player repeat marking system for implementing a multistage, wherein the second obtaining unit is further used for the same event number if the number key corresponding to the key numbers and key events page list stored in the storage array, then updating the key event number corresponding to the number keys recording end time end time for recording.

[0014] 所述Web音视频播放器多段复读标记实现系统,其中,所述页面按键事件列表存储阵列中存储的复读标记信息可删除。 [0014] The Web audio and video player system for implementing a multistage repeat flag, wherein the flag information page key repeat event list stored in the memory array can be deleted.

[0015] 本发明提供的一种Web音视频播放器多段复读标记实现方法及系统,方法包括:当Web音视频播放器进行音/视频播放时,对用户的键盘按键操作指令进行实时检测;若检测到时,则对应的按键是否为指定记录起始触发键;若是时,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,并获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测;当检测到时,则获取对应的记录终止时间,并与当前按键事件编号及记录起始时间合成复读标记信息存储。 [0015] A Web audio and video players multistage repeat the present invention provides a marking method and system, the method comprising: when a Web audio and video players for audio / video player, the user's keyboard operation command detected in real time; if if detected, the corresponding key for the specified recording start trigger button; while if yes, the current key event ID number acquired key event in accordance with the key event list page stored in the memory array, and acquires the current key operation instruction corresponding record start time, after storage of the user's keyboard operation command next time detection; when detected, the corresponding recording end time is acquired, and stores the flag information and repeat this key event number and recording start time of synthesis. 本发明中对音视频文件进行多个复读段落的标记,且标记时无需中断播放,极大的方便了用户。 The present invention, a plurality of labeled repeat paragraphs audio and video files, and the playback without interruption flag, a great convenience to the user.

附图说明 BRIEF DESCRIPTION

[0016]图1为本发明所述Web音视频播放器多段复读标记实现方法较佳实施例的流程图。 [0016] FIG. 1 by the Web Video Player audio repeat flag multistage flow chart of a preferred embodiment of the present invention to achieve a method.

[0017]图2为本发明所述Web音视频播放器多段复读标记实现方法中获取当前按键事件编号及记录起始时间的具体流程图。 [0017] FIG. 2 of the Web-based multi-player video audio repeat flag detailed flowchart of the current button and the recording start time of the event ID acquired implemented method of the invention.

[0018]图3为本发明所述Web音视频播放器多段复读标记实现系统较佳实施例的结构框图。 [0018] FIG 3 the Web audio and video players implement a multistage structure repeat marker block diagram of the preferred embodiment of the system of the present invention.

具体实施方式 Detailed ways

[0019] 本发明提供一种Web音视频播放器多段复读标记实现方法及系统,为使本发明的目的、技术方案及效果更加清楚、明确,以下对本发明进一步详细说明。 [0019] The present invention provides an audio and video player Web multistage method and system repeat marker, for the purposes of the present invention, technical solutions and advantages clearer, explicit, the following detailed description of the present invention further. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0020] 如图1所示,为本发明所述eb音视频播放器多段复读标记实现方法较佳实施例的流程图。 [0020] 1, the present audio video player eb flowchart of multistage repeat flag preferred embodiment of the invention implemented method. 所述方法包括以下步骤: Said method comprising the steps of:

步骤S100、当Web音视频播放器进行音/视频播放时,对用户的键盘按键操作指令进行实时检测;若检测到时,则判断当前按键操作指令对应的按键是否为指定记录起始触发键。 When the step S100, the Web as audio and video players for audio / video player, the user's keyboard operation command detected in real time; if detected, the current key is determined whether the button operation instruction corresponding to the specified recording start trigger key.

[0021] 本发明的实施例中,当用户打开Web音视频播放器(即网络播放器)进行音视频的播放时,则对用户的键盘按键指令进行实时检测,也就是对用户当前是否按下键盘按键进行实时检测。 [0021] Example embodiments of the present invention, when the user opens a Web audio and video player (i.e., network player) for playing audio and video, then the user's keyboard commands detected in real time, whether the user is currently pressed keyboard key real-time detection. 当检测到时,则判断当前按键操作指令对应的按键是否为指定记录起始触发键。 When detected, the current key is determined whether the button operation instruction corresponding to the specified recording start trigger key.

[0022] 由于键盘中包括数字键、字母键、符号键及特定功能键(如回车键,删除键,Tab键及方向键等),上述按键中数字键、字母键和符号键具有字符输入功能。 [0022] Since the keyboard including numeric keys, letter keys, symbol keys and specific function keys (such as the return key, the delete key, Tab key and a direction key, etc.), the above-described keys numeric keys, letter keys and symbol keys having a character input Features. 为了方便用户进行复读段落标记,故设置只具有字符输入功能的字母键、数字键或符号键为指定记录起始触发键。 In order to facilitate the user to repeat the paragraph mark, it is provided with only alphabetic character input function key, the numeric keys or symbol keys for a specified recording start trigger button. 本发明在具体实施时,选定S键、0-9中任意一数字键或任意一符号键为指定记录起始触发键。 In a specific embodiment of the present invention, the S key is selected, any of a number key 0-9 or any one-symbol keys for a specified recording start trigger button.

[0023] 步骤S200、若是时,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,并获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测。 [0023] In step S200, the time and if yes, the current key event ID number acquired key event in accordance with the key event list page stored in the memory array, and acquires the current key operation instruction corresponding to the recording start time, after storage under the user's a keyboard operation command for real-time detection.

[0024] 在步骤S200中,当检测到用户按下指定记录起始触发键,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,即判断该记录起始触发键所触发的复读标记信息的序号。 [0024] In step S200, when detecting that the user presses a key designated recording start trigger, the ID number acquired key event in accordance with the current page key event key event list stored in the storage array, i.e., determines whether the recording start trigger button repeat triggered tag number information. 在获取当前按键事件编号的同时,还获取了当前按键操作指令对应的记录起始时间。 Acquiring the current key event number at the same time, this also acquires a key corresponding to the operation instruction start time of the recording. 例如页面按键事件列表存储阵列中已存储的按键事件编号为1-3,若检测到用户按下指定记录起始触发键,且按下该指定记录起始触发键的时间为30s,则当前按键事件编号为4,且当前按键操作指令对应的记录起始时间为30s。 E.g. page key event list memory array stored key event number 1-3, when detecting that the user presses the specified recording start trigger button is pressed and the specified recording start time of the trigger key is 30s, the current key event No. 4, and the current key operation instruction corresponding to the recording start time is 30s.

[0025] 显然,当记录了当前按键事件编号,及与当前按键事件编号相对应的记录起始时间后,还需获取与当前按键事件编号相对应的记录终止时间才能合成一个完整的复读标记信息,故还需对用户的下一键盘按键操作指令进行实时检测。 [0025] Obviously, when the current record number key events, key events and after the current record number corresponding to the start time, the need to obtain a complete repeat of the current-labeled synthetic key event corresponding to the number of recording end time to information , so the need for the next keyboard operation instruction of the user real-time detection.

[0026] 步骤S300、当检测到下一键盘按键操作指令对应的按键为与所述当前按键事件编号相同的数字键时,则获取该按键操作指令对应的记录终止时间,并将所述当前按键事件编号、记录起始时间及记录终止时间合成复读标记信息存储在页面按键事件列表存储阵列中。 [0026] step S300, the next keyboard keys when detecting an operation instruction corresponding to the current key is the key event number same numeric key, the key is acquired operation instruction corresponding to the recording end time, and the current key event number, a recording start time and a recording end time stamp information synthesis repeat key event list stored in the page memory array.

[0027] 当检测到用户的下一键盘按键操作指令时,则判断该键盘按键操作指令对应的数字与当前按键事件编号是否相同时。 [0027] When detecting the next user's operation command keyboard keys, it is determined whether the operation instruction corresponding keyboard key to the current key number is the same event number. 若相同,则获取该按键操作指令对应的记录终止时间。 If yes, obtaining the key corresponding to the operation instruction of the recording end time. 例如,当前按键事件编号为4,且当前按键操作指令对应的记录起始时间为30s,若检测到用户按下数字键4时,则记录按下数字键4对应的记录终止时间(如40s),并将当前按键事件编号为4,记录起始时间为30s,记录终止时间40s合成一个复读标记信息存储在页面按键事件列表存储阵列中。 For example, the current key event number 4, and the current key operation instruction corresponding to the recording start time of 30s, 4 if the user presses the number key is detected, then the record pressing the number keys corresponding to the recording end time 4 (e.g., 40s) and the current key event number 4, the recording start time of 30s, 40s into one recording end time repeat flag information stored in the page key event list memory array. 这样用户无需中断音视频的播放也能对复读段落进行标记,极大的方便了用户。 So that users without interrupting playback of audio and video can be marked to repeat a paragraph, a great convenience to the user.

[0028] 在步骤S300中,若检测到下一键盘按键操作指令对应的按键与当前按键事件编号不同,且与页面按键事件列表存储阵列中已存储的按键事件编号也不相同,则表示该键盘按键操作指令对应的记录终止时间为无效的记录终止时间,无需记录。 [0028] In step S300, upon detecting an operation instruction corresponding to the next keyboard key to the current key event number different from the key event and the key event list page number already stored in the storage array is not the same, it indicates that the keyboard instruction corresponding record key operation end time is recorded as invalid termination time, without recording.

[0029] 进一步的,如图2所示,所述步骤S200中获取当前按键事件编号及记录起始时间的具体流程包括: [0029] Further, as shown in FIG. 2, step S200, acquires the current key event number and the recording start time of the specific process comprises:

步骤S201、若检测到当前按键操作指令对应的按键为指定记录起始触发键时,则获取所述指定记录起始触发键的按键类型;若所述指定记录起始触发键的按键类型为字母键或符号键,则执行步骤S202 ;若所述指定记录起始触发键的按键类型为数字键,则执行步骤S203o Step S201, the current is detected when a key operation corresponding to the command button is designated recording start trigger key, acquiring the specified key type recording start trigger button; if the specified recording start trigger button type letter keys key or symbol key, step S202 is executed; if the specified recording start trigger button type key is the numeric key, execute step S203o

[0030] 步骤S202、将页面按键事件列表存储阵列中已存储的按键事件编号总数加一后并检测该值是否己存在,如果不存在则获取当前按键事件编号,如果存在则在该值上再加一重复检测直到该编号不存在于按键事件列表存储阵列中,存储后再对用户的下一键盘按键操作指令进行实时检测。 [0030] step S202, the total number of key events page key event list memory array stored number plus the latter and detects whether the value already exists, if it does not exist acquires the current key event number, if present, and then on the value plus a repeated until the detection number is not present in the list of key events in the memory array, and then stored in the user's next operation command keyboard for real-time detection.

[0031] 在步骤S202中,所述当前按键事件编号及所述记录起始时间均存储至页面按键事件列表存储阵列中。 [0031] In step S202, the key event number and the current recording start time is stored to a page key event list memory array.

[0032] 步骤S203、判断该数字键对应数字是否与页面按键事件列表存储阵列中已存储的按键事件编号相同;若不同,则以该数字键对应数字为当前按键事件编号,并对应获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测。 [0032] step S203, the determination of the number keys corresponding to the key event number is the same as the page key event list memory array stored number; if different, the number corresponding to the number key for the current event number keys, and the key corresponding to the acquired current an operation instruction corresponding to the recording start time, after the user stores the next keyboard operation command detected in real time.

[0033] 在步骤S203中,所述当前按键事件编号及所述记录起始时间均存储至页面按键事件列表存储阵列中。 [0033] In step S203, the key event number and the current recording start time is stored to a page key event list memory array.

[0034] 进一步的,所述步骤S203中还包括:若该数字键对应数字与页面按键事件列表存储阵列中已存储的按键事件编号相同,则更新该按键事件编号的记录终止时间为该数字键对应的记录终止时间。 [0034] Further, further comprising the step S203: No key event if the same number with the number keys corresponding to the key event list page stored in the memory array, recording the key event number is updated end time for the numeric key corresponding to the recording end time.

[0035]例如,页面按键事件列表存储阵列中已存储的按键编号为3的复读标记信息为:{按键事件编号3,记录起始时间20s,记录终止时间30s}。 [0035] For example, the page key event list memory array stored in the key number for the repeat flag information 3: {3 key event number, recording start time of 20s, the recording end time 30s}. 若此时检测到用户再次按下数字键3,且按下数字键3对应的记录终止时间为40s,则将按键编号为3的复读标记信息更新为:{按键事件编号3,记录起始时间20s,记录终止时间40s}。 When the detected user presses the number key of 3, 3 is pressed and the corresponding numeric key to terminate the recording time is 40s, then the number key 3 repeat flag information is updated: {key event number 3, the recording start time 20s, the recording end time 40s}.

[0036] 本发明的实施例中,当用户完成了多个复读标记信息的存储时,则按下每一数字键后,则判断页面按键事件列表存储阵列中已存储的多个复读标记信息中按键事件编号是否有与该数字键相同的,若有相同的则播放该复读标记信息对应的复读段落。 After the [0036] embodiment of the present invention, when the user completes the store flag information when the plurality of repetition, each numeric key is pressed, it is determined that a plurality of key repeat event list page flag information already stored in the storage array in whether the key event number has the same numeric key, if the same repeat play paragraph tag information corresponding to the repetition.

[0037] 具体的,当按标记的的数值键即可复播相应时间区间的音视频的流程如下: [0037] Specifically, when the flow press the numeric key labeled multicasting of audio and video corresponding to the time intervals as follows:

1)判断当前按键操作指令对应的按键是否为数字键,当是时则执行步骤2),当否是结束流程; 1) determines the current key operation corresponding to the command key is a number key, when the step is 2), when no flow is ended;

2)判断页面按键事件列表存储阵列中是否存在按键事件编号与该数字键对应数字相同的复读标记信息,当有时则执行步骤3),当无时则结束流程; 2) determines whether there is a key event to the digital number corresponding to the same digital key repeat flag information page key event list memory array, sometimes when step 3 is performed), the process ends if no;

3)获取按键事件编号为该数字键对应数字所对应的复读标记信息; 3) acquiring mark information key repeat event number for numeric key corresponding to the corresponding figures;

4)获取该复读标记信息中的记录起始时间及记录终止时间,并播放记录起始时间至记录终止时间时间段的音视频。 4) Get the repeat tag information recording start time and a recording end time, recording start time and playing audio and video recording end time to the period.

[0038] 进一步的,所述页面按键事件列表存储阵列中已存储的多个复读标记信息均可删除。 A plurality of repeat flag information [0038] Further, the key event list page stored in the memory array can be deleted. 也即当所述页面按键事件列表存储阵列中存储的复读标记信息中有因用户误操作而不想继续保存的,则用户可手动删除,这样方便了用户管理页面按键事件列表存储阵列中的复读标记信息。 That is when the repeat key event marking the information of the page list stored in the memory array due to user errors and do not want to have to continue to save, the user can manually deleted, so convenient for the user management page repeat mark a key event in the list of storage arrays information.

[0039] 基于上述方法实施例,本发明还提供一种Web音视频播放器多段复读标记实现系统。 [0039] Based on the above-described embodiments of the method, the present invention also provides a Web audio and video player system for implementing a multistage repeat marker. 如图3所示,所述Web音视频播放器多段复读标记实现系统包括: As shown in the audio and video Web player repeat markers achieve multistage system shown in Figure 3 comprising:

检测判断模块100,用于当Web音视频播放器进行音/视频播放时,对用户的键盘按键操作指令进行实时检测;若检测到时,则判断当前按键操作指令对应的按键是否为指定记录起始触发键; Detection determination module 100, when the Web for audio and video player for audio / video player, the user's keyboard operation command detected in real time; if detected, it is determined whether the current key operation corresponding to the command key for the specified record from start trigger key;

编号及时间获取模块200,用于若是时,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,并获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测; Number and time acquisition module 200, if used for, the number of the current key event acquired key event pages are numbered according to the key event list stored in the memory array, and acquires the current key operation instruction corresponding to the recording start time, after storage of user keyboard next operation command detected in real time;

复读标记获取模块300,用于当检测到下一键盘按键操作指令对应的按键为与所述当前按键事件编号相同的数字键时,则获取该按键操作指令对应的记录终止时间,并将所述当前按键事件编号、记录起始时间及记录终止时间合成复读标记信息存储在页面按键事件列表存储阵列中。 Repeat markers acquiring module 300 for detecting when the next operation command keyboard keys corresponding to the current key is the key event number same numeric key, the key is acquired operation instruction corresponding to the recording end time, and the current key event number, a recording start time and a recording end time stamp information synthesis repeat key event list stored in the page memory array.

[0040] 进一步的,在所述Web音视频播放器多段复读标记实现系统中,所述指定记录起始触发键为键盘中的字母键、数字键或符号键中的任意一个。 [0040] Further, the marking system for implementing the specified recording start trigger, any numeric key or a symbol key of the keyboard keys in the key alphabet Web repeater tone multi-video player.

[0041] 进一步的,在所述Web音视频播放器多段复读标记实现系统中,所述编号及时间获取模块200具体包括: 按键类型判断单元,用于若检测到当前按键操作指令对应的按键为指定记录起始触发键时,则获取所述指定记录起始触发键的按键类型;若所述指定记录起始触发键的按键类型为字母键或符号键,则启动第一获取单元;若所述指定记录起始触发键的按键类型为数字键,则启动第二获取单元; [0041] Further, in the audio and video player Web multistage system for implementing repeat flag, the number and time acquisition module 200 comprises: a key type determining means, when detecting key for the current instruction corresponding to a key operation when specifying the recording start trigger button, the designated key is acquired type recording start trigger button; if the specified recording start button type trigger key for the letter key or symbol key, initiating a first obtaining unit; if the said specified recording start trigger button type key is the numeric key, initiating a second acquisition unit;

第一获取单元,用于将页面按键事件列表存储阵列中已存储的按键事件编号总数加一后并检测该值是否己存在,如果不存在则获取当前按键事件编号,如果存在则在该值上再加一重复检测直到该编号不存在于按键事件列表存储阵列中,存储后再对用户的下一键盘按键操作指令进行实时检测; A first obtaining unit, the total number of key events for the page key event list memory array stored number will be increased by one and detects whether the value already exists, if there is no current key event number is acquired, if present, on the value a detector coupled repeated until the number does not exist in the key event list memory array, and then stored for the next keyboard operation instruction of the user detected in real time;

第二获取单元,用于判断该数字键对应数字是否与页面按键事件列表存储阵列中已存储的按键事件编号相同;若不同,则以该数字键对应数字为当前按键事件编号,并对应获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测。 A second acquisition unit configured to determine whether the same numeric key corresponding to the key event numbers page key event list memory array stored number; if different, the number keys corresponding to the key event for the current digital number corresponding to the acquired current and key operation instruction corresponding to the recording start time, after the user stores the next keyboard operation command detected in real time.

[0042] 进一步的,在所述Web音视频播放器多段复读标记实现系统中,所述第二获取单元还用于若该数字键对应数字与页面按键事件列表存储阵列中已存储的按键事件编号相同,则更新该按键事件编号的记录终止时间为该数字键对应的记录终止时间。 [0042] Further, in the marking system for implementing Web repeater tone multi-video player, the second obtaining unit is further configured to, if the number key corresponding to the key event numbers and page key event list memory array stored number same, the record number is updated key event end time for the numeric key corresponding to the recording end time.

[0043] 进一步的,在所述Web音视频播放器多段复读标记实现系统中,所述页面按键事件列表存储阵列中存储的复读标记信息可删除。 [0043] Further, in the marking system for implementing Web repeater tone multi-video player, video information of the marker key event list page stored in the memory array can be deleted.

[0044] 综上所述,本发明提供的一种Web音视频播放器多段复读标记实现方法及系统,方法包括:当Web音视频播放器进行音/视频播放时,对用户的键盘按键操作指令进行实时检测;若检测到时,则对应的按键是否为指定记录起始触发键;若是时,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,并获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测;当检测到时,则获取对应的记录终止时间,并与当前按键事件编号及记录起始时间合成复读标记信息存储。 [0044] In summary, the present invention provides an audio and video player Web multistage method and system repeat flag, the method comprising: when a Web audio and video players for audio / video player, the user's keyboard operation instruction real-time detection; if detected, the corresponding key is specified whether the recording start trigger key; while if yes, the current key event ID number acquired key event in accordance with the key event list page stored in the memory array, and acquires the current key an operation instruction corresponding to the recording start time, after storage of the user's keyboard operation command next time detection; when detected, the corresponding recording end time is acquired, and synthesized with the current record number and key event start time repeat tag information storage. 本发明中对音视频文件进行多个复读段落的标记,且标记时无需中断播放,极大的方便了用户。 The present invention, a plurality of labeled repeat paragraphs audio and video files, and the playback without interruption flag, a great convenience to the user.

[0045] 应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。 [0045] It should be appreciated that the present invention is applied is not limited to the above-described example, those of ordinary skill in the art, can be modified or converted according to the above description, all such modifications and variations shall fall within the appended claims of the invention protected range.

Claims (10)

1.一种Web音视频播放器多段复读标记实现方法,其特征在于,所述方法包括以下步骤: A、当Web音视频播放器进行音/视频播放时,对用户的键盘按键操作指令进行实时检测;若检测到时,则判断当前按键操作指令对应的按键是否为指定记录起始触发键; B、若是时,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,并获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测; C、当检测到下一键盘按键操作指令对应的按键为与所述当前按键事件编号相同的数字键时,则获取该按键操作指令对应的记录终止时间,并将所述当前按键事件编号、记录起始时间及记录终止时间合成复读标记信息存储在页面按键事件列表存储阵列中。 An audio and video Web multistage repeat marker player-implemented method, characterized in that the method comprises the steps of: A, when the Web audio and video players for audio / video player, the user's real-time operation instruction keyboard detection; if detected, the current key is determined whether the button operation instruction corresponding to the specified recording start trigger key; B, while if yes, the current key event ID number acquired key event in accordance with the key event list page already stored in the memory array and acquires the current key operation instruction corresponding to the recording start time, after storage of the user's keyboard operation command next time detection; C, when detecting a next operation command keyboard keys corresponding to the current key with the key when the same event number numeric key, the key is acquired operation instruction corresponding to the recording end time, and the current key event number, a recording start time and a recording end time stamp information synthesis repeat key event list stored in the page memory array .
2.根据权利要求1所述Web音视频播放器多段复读标记实现方法,其特征在于,所述指定记录起始触发键为键盘中的字母键、数字键或符号键中的任意一个。 The audio and the video player 1 Web as claimed in claim multistage repeat markers implemented method, wherein, the designated recording start trigger any letter key of keyboard keys, numeric keys or symbol keys a.
3.根据权利要求2所述Web音视频播放器多段复读标记实现方法,其特征在于,所述步骤B具体包括: B1、若检测到当前按键操作指令对应的按键为指定记录起始触发键时,则获取所述指定记录起始触发键的按键类型;若所述指定记录起始触发键的按键类型为字母键或符号键,则执行步骤B2 ;若所述指定记录起始触发键的按键类型为数字键,则执行步骤B3 ; B2、将页面按键事件列表存储阵列中已存储的按键事件编号总数加一后并检测该值是否己存在,如果不存在则获取当前按键事件编号,如果存在则在该值上再加一重复检测直到该编号不存在于按键事件列表存储阵列中,存储后再对用户的下一键盘按键操作指令进行实时检测; B3、判断该数字键对应数字是否与页面按键事件列表存储阵列中已存储的按键事件编号相同;若不同,则以该数字键对应数字为当前按 The audio and the video player 2 Web multi-implemented method of claim numerals repeat, wherein said step B comprises: B1, upon detecting an operation instruction corresponding to the current key is the key when the designated recording start trigger button , the designated key is acquired type recording start trigger button; if the specified recording start button type trigger key for the letter key or symbol key, step B2 is executed; if the specified recording start trigger button keys type is the numeric key, step B3; B2, the total number of key events page key event list memory array stored number plus the latter and detects whether the value already exists, if it does not exist acquires the current key event number, if present then that value plus a repeated until the detection number is not present in the list of key events in the memory array, and then stored for the next keyboard operation instruction of the user detected in real time; B3, determining whether the numeric key corresponding to the page number and the same key event list memory array stored key event number; if different, the number corresponding to the number of the current key press 键事件编号,并对应获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测。 Key event number, and acquires the current key corresponding to the operation instruction corresponding to the recording start time, after the user stores the next keyboard operation command detected in real time.
4.根据权利要求3所述Web音视频播放器多段复读标记实现方法,其特征在于,所述步骤B3中还包括:若该数字键对应数字与页面按键事件列表存储阵列中已存储的按键事件编号相同,则更新该按键事件编号的记录终止时间为该数字键对应的记录终止时间。 The audio and the video player 3 Web claim multistage repeat markers implemented method, wherein said step B3 further comprises: if the key event corresponding to a digital numeric keys and key event list page already stored in the memory array the same number, the record number is updated key event end time for the numeric key corresponding to the recording end time.
5.根据权利要求1所述Web音视频播放器多段复读标记实现方法,其特征在于,所述页面按键事件列表存储阵列中存储的复读标记信息可删除。 The audio and the video player 1 Web claim multistage repeat markers implemented method, wherein the flag information page key repeat event list stored in the memory array can be deleted.
6.一种Web音视频播放器多段复读标记实现系统,其特征在于,包括: 检测判断模块,用于当Web音视频播放器进行音/视频播放时,对用户的键盘按键操作指令进行实时检测;若检测到时,则判断当前按键操作指令对应的按键是否为指定记录起始触发键; 编号及时间获取模块,用于若是时,则根据页面按键事件列表存储阵列中已存储的按键事件编号获取当前按键事件编号,并获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测; 复读标记获取模块,用于当检测到下一键盘按键操作指令对应的按键为与所述当前按键事件编号相同的数字键时,则获取该按键操作指令对应的记录终止时间,并将所述当前按键事件编号、记录起始时间及记录终止时间合成复读标记信息存储在页面按键事件列表存储阵列中。 A Web Video Player audio repeat flag achieve multistage system, characterized by comprising: a detection module determining, when the Web for audio and video players for audio / video player, the user's keyboard operation command detected in real time ; if is detected, it is determined whether the current key operation corresponding to the command key for the specified recording start trigger button; when the number and time acquisition module for if, in accordance with the key event list memory page key event number stored in the array Get the current key event ID, and acquires the current key operation instruction corresponding record start time, after storage of the user's keyboard operation command next time detection; repeat flag obtaining module, configured to detect when a next operation of keyboard keys the corresponding button command is the same as the current event number keys numeric keys, the key is acquired operation instruction corresponding to the recording end time, and the current key event number, a recording start time and a recording end time repeat flag synthesis key event information stored in the page memory array list.
7.根据权利要求6所述Web音视频播放器多段复读标记实现系统,其特征在于,所述指定记录起始触发键为键盘中的字母键、数字键或符号键中的任意一个。 The audio and the video player 6 Web as claimed in claim multistage system for implementing repeat marker, wherein said specified numeric key any one of keys or symbol keys for the keyboard letter key recording start trigger.
8.根据权利要求7所述Web音视频播放器多段复读标记实现系统,其特征在于,所述编号及时间获取模块具体包括: 按键类型判断单元,用于若检测到当前按键操作指令对应的按键为指定记录起始触发键时,则获取所述指定记录起始触发键的按键类型;若所述指定记录起始触发键的按键类型为字母键或符号键,则启动第一获取单元;若所述指定记录起始触发键的按键类型为数字键,则启动第二获取单元; 第一获取单元,用于将页面按键事件列表存储阵列中已存储的按键事件编号总数加一后并检测该值是否己存在,如果不存在则获取当前按键事件编号,如果存在则在该值上再加一重复检测直到该编号不存在于按键事件列表存储阵列中,存储后再对用户的下一键盘按键操作指令进行实时检测; 第二获取单元,用于判断该数字键对应数字是否与页面按键事件 According to claim 7 Web Video Player audio repeat flag achieve multistage system, characterized in that the number and time acquisition module comprises: a key type determining means for detecting if the current instruction corresponding to a key operation keys recording start trigger for the specified key, the designated key is acquired type recording start trigger button; if the specified recording start button type trigger key for the letter key or symbol key, initiating a first obtaining unit; if the designated recording start trigger button type key is the numeric key, initiating a second acquisition unit; a first obtaining unit, the total number of key events for the page key event list memory array stored number will be increased by one and detects the whether the value already exists, if there is no current key event number is acquired, if present, together with a detection is repeated until the value of the key event number does not exist in the list memory array, and then stored for the next user keyboard real-time detection operation instruction; second obtaining unit, for determining whether the numeric key corresponding to the numeric key event page 列表存储阵列中已存储的按键事件编号相同;若不同,则以该数字键对应数字为当前按键事件编号,并对应获取当前按键操作指令对应的记录起始时间,存储后再对用户的下一键盘按键操作指令进行实时检测。 The same list of storage arrays already stored in the key event number; if different, the number corresponding to the number key for the current event number keys, and acquires the current key corresponding to the operation instruction corresponding to the recording start time, and then stored for the next user keyboard operation command for real-time detection.
9.根据权利要求8所述Web音视频播放器多段复读标记实现系统,其特征在于,所述第二获取单元还用于若该数字键对应数字与页面按键事件列表存储阵列中已存储的按键事件编号相同,则更新该按键事件编号的记录终止时间为该数字键对应的记录终止时间。 9. The method of claim 8 Web Video Player audio repeat flag achieve multistage system, wherein the second obtaining unit is further configured to if the numeric key corresponding to the key numbers and key event list page already stored in the memory array the same event number, the record number is updated key event end time for the numeric key corresponding to the recording end time.
10.根据权利要求6所述Web音视频播放器多段复读标记实现系统,其特征在于,所述页面按键事件列表存储阵列中存储的复读标记信息可删除。 10. The method of claim 6 Web audio and video player system for implementing a multistage repeat flag, wherein the flag information page key repeat event list stored in the memory array can be deleted.
CN201510225837.0A 2015-05-06 2015-05-06 Method and system for realizing multi-section repetition marking for Web audio and video player CN106210900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510225837.0A CN106210900A (en) 2015-05-06 2015-05-06 Method and system for realizing multi-section repetition marking for Web audio and video player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510225837.0A CN106210900A (en) 2015-05-06 2015-05-06 Method and system for realizing multi-section repetition marking for Web audio and video player

Publications (1)

Publication Number Publication Date
CN106210900A true CN106210900A (en) 2016-12-07

Family

ID=57458965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510225837.0A CN106210900A (en) 2015-05-06 2015-05-06 Method and system for realizing multi-section repetition marking for Web audio and video player

Country Status (1)

Country Link
CN (1) CN106210900A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1666510A (en) * 2002-07-09 2005-09-07 汤姆森许可贸易公司 Enhanced bookmarks for digital video playback
CN101071441A (en) * 2006-05-11 2007-11-14 索尼株式会社 Content marking method and playback equipment and method and storage medium
CN101490762A (en) * 2006-07-12 2009-07-22 皇家飞利浦电子股份有限公司 A device and a method for playing audio-video content
CN201449745U (en) * 2009-06-15 2010-05-05 林健 Hi-fi digital sound player capable of rereading fragments randomly
CN104349173A (en) * 2013-08-07 2015-02-11 中国移动通信集团公司 Video repeating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1666510A (en) * 2002-07-09 2005-09-07 汤姆森许可贸易公司 Enhanced bookmarks for digital video playback
CN101071441A (en) * 2006-05-11 2007-11-14 索尼株式会社 Content marking method and playback equipment and method and storage medium
CN101490762A (en) * 2006-07-12 2009-07-22 皇家飞利浦电子股份有限公司 A device and a method for playing audio-video content
CN201449745U (en) * 2009-06-15 2010-05-05 林健 Hi-fi digital sound player capable of rereading fragments randomly
CN104349173A (en) * 2013-08-07 2015-02-11 中国移动通信集团公司 Video repeating method and device

Similar Documents

Publication Publication Date Title
AU2004203374B2 (en) Image file container
CN102024028B (en) Method and equipment for distinctly displaying main contents of webpage on mobile terminal
JP6150405B2 (en) System and method of applying the caption to the media
KR100672296B1 (en) Method for calculating program rating using both direction TV
CN1581156B (en) Information processing system, method, program and recording medium
CN101616264B (en) Method and system for cataloging news video
CN101212648B (en) Method and device for synchronizing data flow and metadata of content
CN102737109B (en) Method and apparatus for generating label media content
JP2010536077A (en) System and method for creating a thumbnail image for the audiovisual file
JP2005293239A (en) Information sharing device, and information sharing method
JP3858686B2 (en) Learning support program, learning support methods and learning support system
US6209096B1 (en) Method and device for storing main information with associated additional information incorporated therein
CN1820511A (en) Method and device for generating and detecting a fingerprint functioning as a trigger marker in a multimedia signal
CN1979494A (en) Data display apparatus, data display method and data display program
JP2003084745A (en) Device for producing multimedia presentation
CN102665014A (en) Number information prompting method and system
JPH08249348A (en) Method and device for video retrieval
JP2016513307A (en) Method and system for performing the audio information collection and querying
CN101930779B (en) Video commenting method and video player
CN101202864A (en) Player for movie contents
KR20100121700A (en) Smart slate
US20060195318A1 (en) System for correction of speech recognition results with confidence level indication
CN103179093B (en) Matching systems and methods for video subtitles
CN101848230A (en) Method for pushing application program and application program server
JP2004102803A (en) Bulletin board system and method for displaying information

Legal Events

Date Code Title Description
C06 Publication
SE01