WO2022089034A1 - Method for generating video note and electronic device - Google Patents

Method for generating video note and electronic device Download PDF

Info

Publication number
WO2022089034A1
WO2022089034A1 PCT/CN2021/117569 CN2021117569W WO2022089034A1 WO 2022089034 A1 WO2022089034 A1 WO 2022089034A1 CN 2021117569 W CN2021117569 W CN 2021117569W WO 2022089034 A1 WO2022089034 A1 WO 2022089034A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
note
tag
target
user
Prior art date
Application number
PCT/CN2021/117569
Other languages
French (fr)
Chinese (zh)
Inventor
陈俊亮
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022089034A1 publication Critical patent/WO2022089034A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4355Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method for generating video notes and an electronic device.
  • videos are often recorded for those who haven’t come or to review for review.
  • the recorded video is too long, and the viewer cannot determine the key sections of the video.
  • the recorded notes also cannot be automatically matched with the video content.
  • the present application provides a method and electronic device for generating video notes, which can support users to record notes while recording videos or online videos, without the need for users to perform any video editing operations, and can automatically associate video content with corresponding notes to generate video notes .
  • the user can view the video and the note content corresponding to the video in this section at the same time, allowing the user to quickly review the key content and making the video note making process more efficient.
  • the present application provides a method for generating a video note, the method comprising: obtaining one or more video tags by an electronic device, and each video tag in the one or more video tags includes a first keyword and a first moment, The first keyword is any one of the preset keywords, and the first moment is the time point when the first keyword is recognized, wherein each video tag is generated according to the received video; the electronic device obtains one or more Note label, each note label in one or more note labels includes a second keyword and a time interval, the second keyword is any one of the preset keywords, and the time interval includes the time when the user records a note corresponding to a note label.
  • the specific implementation of matching the target video tag in one or more video tags may include: obtaining the target keyword, and querying the above one or more video tags for the first keyword to be the same as the target keyword obtain the first video tag set, and the target keyword is the second keyword corresponding to the target note tag; obtain the start time point and the end time point corresponding to the target note tag; according to preset conditions, extract the first video tag Target video tags that meet preset conditions in the set, the preset conditions include that the first moment in the target video tag is earlier than the starting time point corresponding to the target note tag, and the first moment in the target video tag is the first video tag set the earliest moment.
  • users take notes they first hear the keywords and key content that need to be recorded, and then record them. Therefore, when matching the target video tag for the target note tag, set the condition to the starting time point of the target note tag at the first moment. The first time is the earliest, and the target video tag can be quickly found.
  • each note label further includes a page number, and one or more note labels are arranged according to the page number from small to large, wherein, the smaller the page number value, the earlier the user records the note corresponding to the page number, and the preset condition It also includes: the first moment in the target video tag is later than the end time point corresponding to the first note tag, and the first note tag is arranged before the target note tag and is adjacent to the target note tag.
  • the video interval corresponding to the note being recorded on the current page is after the video interval corresponding to the previous page of notes, so the condition can be further set as the first moment is before the start time point of the target note label, and the target After the end time point of the previous note tag before the note tag, and the first moment is the earliest, the target video tag can be quickly found.
  • the video is a video recorded by an electronic device or a video received by the electronic device through a network.
  • a fourth aspect provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to execute the first aspect or any possible implementation manner of the first aspect. method described.
  • a fifth aspect a computer program product comprising instructions, characterized in that, when the computer program product is run on an electronic device, the electronic device is made to execute the first aspect or any possible implementation manner of the first aspect method.
  • FIG. 9 is a schematic diagram of an information recording method provided by an example of the present application.
  • the electronic device obtains the video information of the recorded object, and there are two main ways to obtain it. You can shoot the video by turning on the camera and microphone, or you can receive the video information through the network; the speech recognizes that a preset keyword appears in the video, which is recorded as the first key.
  • the word and the first moment, the first moment is the time point when the first keyword appears in the video, that is, the keyword and the voice time point, forming a video tag of "keyword + voice time point".
  • Matching each note tag is called the target note tag.
  • traverse the video tag to find the "voice time point” in the previous note tag “note end time” to this page note tag "note”
  • the earliest video tag that appears in the "Start Time" that is, the target video tag, subtract 10 seconds from the "voice time point” of the target tag as the start time of the corresponding video interval, and the "note end time” of the target note label as the end of the corresponding video interval time.
  • Each page of notes forms an associated mapping with the corresponding video interval to complete the matching of video content and notes.
  • Application menu 101 may include one or more application icons including "Video Notes" application 101A; status bar 102 may include one or more signal strength indicators of mobile communication signals, one of wireless fidelity (WiFi) signals or more signal strength indicators, battery status indicators, and time indicators.
  • WiFi wireless fidelity
  • the user interface 10 shown in FIG. 3 may be a home screen.
  • the confirmation control 303A is used to confirm the above-mentioned operation of the user. After the user inputs the name and keywords, the user clicks the confirmation control 303A. After the electronic device 100 detects the user's click operation, it can start to create a video note; the cancel control 303B is used to cancel the user In the above operation, the user clicks the cancel control 303B after opening the new setting page 30, and the electronic device can return to the user interface 20 of the application 101A after detecting the user's click operation.
  • the newly created setting page 30 may include more or less input boxes or controls, which are not limited in the examples of this application.
  • the recording start/end control 401B can be used to monitor the user operation that triggers the recording start or stop.
  • the electronic device 100 can detect the user operation acting on the recording start/end control 401B, and in response to the operation, the electronic device 100 can start recording through the camera; the user operation acting on the recording start/end control 401B is detected again, the electronic device 100 will stop the recording of the video and save the recorded video as a video file with the name entered in the New Settings page 30.
  • the recording start/end control 401B may be a button or other forms of control.
  • Note tab bar 404 includes hidden controls 4041 and note tab table 4042 .
  • the hidden control 4041 is used to monitor the user's triggering operation of the hidden note label table 4042.
  • the electronic device 100 detects the user's trigger operation on the hidden control 4041, and responds to the operation and hides the note label table 4042; the note label table 4042 is used to display the user's The keyword, page number and time point label selected in the note keyword display area 402A.
  • the newly created page 40 after hiding the voice label bar 403 and the note label bar 404 is shown in FIG.
  • a video tag record of "emphasis+t1" is formed in the voice tag table 4032 and displayed in the voice tag column 403; at time t2 If it is recognized that the voice content of the recording object contains the preset keyword "error-prone point”, a video tag record of "error-prone point+t2" is formed in the voice tag table 4032 and displayed in the voice tag column 403 .
  • the note area 402 is located on the second screen, the user performs a keyword selection operation on the note keyword display area 402A, and selects the keyword of each page of notes from the preset keywords, and the note collection module 240 obtains the notes input by the user. is displayed in the note area 402, and the input start time is recorded. Listen to the trigger operation of the user acting on the note page-turning control 402B to enter the next page of the note, record the end time of the page, and form a "keyword + page number + note start time + note end time” note label and record it in the note label table 4042 and Displayed in the note tab bar 404.
  • the "note start time” is the time when the user starts to input the note on the page
  • the "note end time” is the time when the user inputs an instruction to enter the next page of the note.
  • the processing module 230 matches each page of notes according to the information in the note label table 4042, the note label of this page of notes is the target note label, the "keyword" of the target note label is the second keyword, and the second keyword is The primary key traverses the video tags in the video tag table 4032, the "keyword" of the video tag is the first keyword, and the "voice time point” is the first moment, find that the first keyword in the video tag table 4032 is the same as the second keyword , and the first moment is at least one record in the time zone from the end time point corresponding to the first note tag to the start time point corresponding to the target note tag in the note tag table 4042, as the first video tag set, and the earliest among them
  • the video tag is used as the target note tag, the first moment of the target note tag minus 10 seconds is used
  • the target note label of the note on page 1 in the note label table 4042 includes:
  • the first moment is the first video tag in the time section from the end time point corresponding to the first note tag in the note tag table 4042 to the start time point corresponding to the target note tag, and this video tag is the target video tag, and the target video tag is the target video tag.
  • the first moment of the video tag minus 10 seconds is the start time of the video section corresponding to the note on page 1, and the note "end time” on page 1 is the end time of the video section corresponding to the note on the page.
  • the video note tag index is formed as follows:
  • FIG. 11 is an exemplary video note playback interface provided by the example of this application.
  • the user views the video note catalog 201 on the user interface 20 of the “Video Notes” application 101A, finds the created video note file in the video note catalog 20, and clicks
  • the electronic device 100 displays a video note play page 50 as shown in FIG. 11 in response to a user's trigger operation.
  • the video note playback page 50 may include a video playback area 501 , a note display area 502 , a video directory column 503 , and a note directory column 504 .
  • the directory index displayed in the video directory column 503 may include the following content:
  • the video playback area 501 includes a playback pause control 501A, a playback time display control 501B, a playback progress bar control 501C, and a volume selection control 501D.
  • the play pause control 501A is used to monitor the user operation for pausing or starting the video playback, the electronic device 100 can detect the user operation acting on the play pause control 501B, and in response to the operation, the electronic device 100 stops playing the video displayed in the video play area 501. video, the user operation acting on the playback pause control 501B is detected again, and the electronic device 100 will continue to play the video;
  • the volume control 501D is used to monitor the user operation that triggers the video volume adjustment.
  • the electronic device 100 can detect the user operation acting on the volume control 501D, and adjust the video volume in response to the operation.
  • the video directory bar 503 is used to monitor the user operation of the video section selection, the electronic device 100 can detect the user operation acting on the video directory bar 503, and in response to this operation, the video displayed in the video playback area 501 jumps to the user selection.
  • the keyword tag corresponding to the start time of the video interval is played.
  • the operation performed by the user may be the user clicking, double-clicking, long-pressing, or suspending operation of the video directory bar 503.
  • the above-mentioned user operation may also be performed in other ways, which are not limited in this embodiment of the present application.
  • the electronic device 100 detects the user's trigger operation on the hidden control 5041, and responds to the operation and hides the note table of contents 5042; hides the video table of contents 503 and the note table of contents
  • the video note playback page 50 after 504 is shown in FIG. 12 , the call-out control 5033 is used to monitor the operation of the user triggering the display of the video catalog 5032, and the electronic device 100 detects the user's trigger operation on the call-out control 5033, and responds to the operation and sends the video
  • the table of contents 4032 is displayed on the video note playback page 50; the call-out control 5043 is used to monitor the user's operation to trigger the display of the note table of contents 5042.
  • the electronic device 100 is connected to the first input device through the USB interface 130; using Bluetooth connection, the electronic device 100 is connected to the first input device through Bluetooth through the wireless communication module 160; The communication module 160 is connected with the first input device WLAN.
  • the note collection module 240 can obtain the notes input by the user using the first input device; the obtained notes input by the user may be input by handwriting input, or may be typing or voice input,
  • the input methods are not limited to the above-mentioned ones, which are not limited in this embodiment of the present application.
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.

Abstract

A method for making a video note. The method comprises: when a user is recording a video or watching a video, setting a plurality of keywords in advance, identifying the keywords by voice during the recording process, and recording the time when the keywords are identified, to form video tags of "keyword" + "time point"; and recording a keyword, a page number, start time and end time of a note entered by the user, to form a note tag of "page number" + "keyword" + "start time" + "end time". According to the association between the note tag and the video tags, an association between the video and the note is formed. The user does not need to perform secondary editing on the video, and can complete the matching of the video and a note once the recording ends, improving the flexibility and convenience of an electronic video note.

Description

视频笔记生成方法及电子设备Video note generation method and electronic device
本申请要求于2020年10月30日提交中国专利局、申请号为202011193993.0、申请名称为“视频笔记生成方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011193993.0 and the application title "Video Note Generation Method and Electronic Device" filed with the China Patent Office on October 30, 2020, the entire contents of which are incorporated into this application by reference .
技术领域technical field
本申请涉及计算机技术领域,具体涉及一种视频笔记的生成方法及电子设备。The present application relates to the field of computer technology, and in particular, to a method for generating video notes and an electronic device.
背景技术Background technique
在学校上课或是培训的时候,经常会录制视频给没来的人或是温故复习时观看,然而这会出现一个问题,录制的视频过于冗长,观看者无法确定视频的关键区段,上课时记录的笔记也无法和视频内容自动匹配。During classes or training sessions at school, videos are often recorded for those who haven’t come or to review for review. However, there will be a problem. The recorded video is too long, and the viewer cannot determine the key sections of the video. The recorded notes also cannot be automatically matched with the video content.
目前,用于制作视频笔记的发明在解决这个问题上大多是对视频进行二次编辑,由用户在对应的区段添加笔记内容,编辑的过程十分耗时,也对视频编辑技术有一定的要求。At present, most of the inventions for making video notes solve this problem by secondary editing of the video, and the user adds the note content in the corresponding section. The editing process is very time-consuming, and it also has certain requirements for video editing technology. .
发明内容SUMMARY OF THE INVENTION
本申请提供了一种视频笔记生成方法及电子设备,可支持用户在录制视频或在线视频的同时记录笔记,无需用户进行任何视频编辑操作,可自动将视频内容与对应的笔记关联,生成视频笔记。用户在查看视频笔记时,可以同时查看到视频和该区段视频所对应的笔记内容,让用户迅速回顾重点内容,也使视频笔记的制作过程更加高效。The present application provides a method and electronic device for generating video notes, which can support users to record notes while recording videos or online videos, without the need for users to perform any video editing operations, and can automatically associate video content with corresponding notes to generate video notes . When viewing a video note, the user can view the video and the note content corresponding to the video in this section at the same time, allowing the user to quickly review the key content and making the video note making process more efficient.
第一方面,本申请提供一种视频笔记生成方法,该方法包括:电子设备获取一条或多条视频标签,一条或多条视频标签中的每条视频标签包括第一关键词和第一时刻,第一关键词为预设关键词中的任意一个,第一时刻为识别到第一关键词的时间点,其中,每条视频标签是根据接收到的视频生成的;电子设备获取一条或多条笔记标签,一条或多条笔记标签中的每条笔记标签包括第二关键词和时间区间,第二关键词为预设关键词中的任意一个,时间区间包括用户记录一条笔记标签对应的笔记的起始时间点和结束时间点,笔记是用户根据视频的内容记录的;根据目标笔记标签,在一条或多条视频标签中匹配目标视频标签,将目标笔记标签对应的笔记和目标视频标签进行关联,目标笔记标签为一条或多条笔记标签中的任意一条。将笔记标签与视频标签对应匹配,即可将笔记与视频关联起来,无需用户编辑即可生成视频笔记,方便回顾重点内容。In a first aspect, the present application provides a method for generating a video note, the method comprising: obtaining one or more video tags by an electronic device, and each video tag in the one or more video tags includes a first keyword and a first moment, The first keyword is any one of the preset keywords, and the first moment is the time point when the first keyword is recognized, wherein each video tag is generated according to the received video; the electronic device obtains one or more Note label, each note label in one or more note labels includes a second keyword and a time interval, the second keyword is any one of the preset keywords, and the time interval includes the time when the user records a note corresponding to a note label. The start time and end time, the notes are recorded by the user according to the content of the video; according to the target note tag, match the target video tag in one or more video tags, and associate the note corresponding to the target note tag with the target video tag , the target note label is any one of one or more note labels. By matching note tags with video tags, you can associate notes with videos, and generate video notes without user editing, making it easy to review key content.
在一种可能的实现方式中,在一条或多条视频标签中匹配目标视频标签具体实现可以包括:获取目标关键词,在上述一条或多条视频标签中查询第一关键词与目标关键词相同的视频标签,得到第一视频标签集合,目标关键词为目标笔记标签对应的第二关键词;获取目标笔记标签对应的起始时间点和终止时间点;根据预设条件,提取第一视频标签集合中符合预设条件的目标视频标签,预设条件包括目标视频标签中的第一时刻早于目标笔记标签对应的起始时间点,且目标视频标签中的第一时刻是第一视频标签集合中最早的时刻。用户记录笔记时,先听到需要记录的关键词和重点内容,才会记录下来,因此在为目标笔记标签匹配目标视频标签时,将条件设置为第一时刻在目标笔记标签的起始时间点前,且第一时刻最早,可快速找到目标视频标签。In a possible implementation manner, the specific implementation of matching the target video tag in one or more video tags may include: obtaining the target keyword, and querying the above one or more video tags for the first keyword to be the same as the target keyword obtain the first video tag set, and the target keyword is the second keyword corresponding to the target note tag; obtain the start time point and the end time point corresponding to the target note tag; according to preset conditions, extract the first video tag Target video tags that meet preset conditions in the set, the preset conditions include that the first moment in the target video tag is earlier than the starting time point corresponding to the target note tag, and the first moment in the target video tag is the first video tag set the earliest moment. When users take notes, they first hear the keywords and key content that need to be recorded, and then record them. Therefore, when matching the target video tag for the target note tag, set the condition to the starting time point of the target note tag at the first moment. The first time is the earliest, and the target video tag can be quickly found.
在一种可能的实现方式中,每条笔记标签还包括页码,一条或多条笔记标签按照页码从 小到大排列,其中,页码值越小表示用户记录与页码对应的笔记越早,预设条件还包括:目标视频标签中的第一时刻晚于第一笔记标签对应的结束时间点,第一笔记标签排列在目标笔记标签之前且与目标笔记标签相邻。用户记录笔记时,当前页正在记录的笔记所对应的视频区间在上一页笔记对应的视频区间之后,因此可进一步将条件设置为第一时刻在目标笔记标签的起始时间点前,在目标笔记标签前一笔记标签的结束时间点后,且第一时刻最早,可快速找到目标视频标签。In a possible implementation manner, each note label further includes a page number, and one or more note labels are arranged according to the page number from small to large, wherein, the smaller the page number value, the earlier the user records the note corresponding to the page number, and the preset condition It also includes: the first moment in the target video tag is later than the end time point corresponding to the first note tag, and the first note tag is arranged before the target note tag and is adjacent to the target note tag. When the user takes notes, the video interval corresponding to the note being recorded on the current page is after the video interval corresponding to the previous page of notes, so the condition can be further set as the first moment is before the start time point of the target note label, and the target After the end time point of the previous note tag before the note tag, and the first moment is the earliest, the target video tag can be quickly found.
在一种可能的实现方式中,电子设备将目标笔记标签对应的笔记和目标视频标签进行关联,具体实现可以包括:将目标视频标签中的第一时刻与目标笔记标签对应的终止时间点之间的目标视频,与目标笔记标签对应的笔记进行关联。目标视频标签的第一时刻为用户听到关键重点内容的时间点,目标笔记标签的结束时间点即为用户完成笔记的时间点,两个时间点确定的视频区间即为目标笔记所对应的视频区间,将目标笔记与对应视频区间关联起来。In a possible implementation manner, the electronic device associates the note corresponding to the target note tag with the target video tag. The specific implementation may include: associating the first moment in the target video tag with the termination time point corresponding to the target note tag. The target video is associated with the note corresponding to the target note tag. The first moment of the target video label is the time when the user hears the key content, the end time of the target note label is the time when the user completes the note, and the video interval determined by the two time points is the video corresponding to the target note. section, which associates the target note with the corresponding video section.
在一种可能的实现方式中,电子设备获取视频以及与视频对应的语音,根据语音识别预设关键词,在识别到第一关键词时,生成一条视频标签。In a possible implementation manner, the electronic device acquires the video and the voice corresponding to the video, recognizes a preset keyword according to the voice, and generates a video tag when the first keyword is recognized.
在一种可能的实现方式中,电子设备获取用户选择的第二关键词,并获取到第二关键词的时间点作为起始时间点;获取用户触发的翻页指令,记录获取到翻页指令的时间点作为结束时间点,并生成一条笔记标签。In a possible implementation manner, the electronic device obtains the second keyword selected by the user, and obtains the time point of the second keyword as the starting time point; obtains the page-turning instruction triggered by the user, and records the obtained page-turning instruction The time point is used as the end time point, and a note label is generated.
通过语音识别视频中出现的预设关键词生成视频标签,通过获取到的用户输入笔记的开始时间与结束时间生成笔记标签,通过视频标签与笔记标签的匹配将笔记与视频对应起来。The video tag is generated by the preset keywords appearing in the speech recognition video, the note tag is generated by the obtained start time and end time of the user input note, and the note and the video are corresponding by matching the video tag and the note tag.
在一种可能的实现方式中,电子设备在检测到用户在查看目标笔记标签对应的笔记时,从目标视频标签中的第一时刻播放目标视频。In a possible implementation manner, when the electronic device detects that the user is viewing the note corresponding to the target note tag, the electronic device plays the target video from the first moment in the target video tag.
结合第一方面,在一些实施例中,电子设备在检测到播放目标视频标签中的第一时刻之后,目标笔记标签对应的终止时间点之前的视频内容时,电子设备在屏幕显示目标笔记标签对应的笔记。With reference to the first aspect, in some embodiments, when the electronic device detects the video content before the termination time point corresponding to the target note tag after the electronic device detects the first moment in the playback target video tag, the electronic device displays on the screen the video content corresponding to the target note tag 's notes.
在一种可能的实现方式中,视频是电子设备录制的视频或者电子设备通过网络接收的视频。In a possible implementation manner, the video is a video recorded by an electronic device or a video received by the electronic device through a network.
本申请中的视频不限于正在录制的视频,也可以是通过网络接收的视频,可以应用于学生上课和视频会议等多种使用场景。The video in this application is not limited to the video being recorded, but can also be the video received through the network, which can be applied to various usage scenarios such as student classes and video conferences.
第二方面,本申请提供了一种电子设备,电子设备可包括:一个或多个功能模块,一个或多个功能模块用于执行如上述第一方面或第一方面任一可能的实现方式中所述的方法。In a second aspect, the present application provides an electronic device. The electronic device may include: one or more functional modules, where the one or more functional modules are used to execute the first aspect or any possible implementation manner of the first aspect. the method described.
第三方面,本申请提供一种计算机设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,处理器执行计算机程序时使得计算机设备实现如第一方面中任一可能的实现方式。In a third aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, when the processor executes the computer program, the computer device can achieve the first Any possible implementation of any of the aspects.
第四方面,提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如第一方面或第一方面任一可能的实现方式中所述的方法。A fourth aspect provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to execute the first aspect or any possible implementation manner of the first aspect. method described.
第五方面,一种包含指令的计算机程序产品,其特征在于,当计算机程序产品在电子设备上运行时,使得电子设备执行如第一方面或第一方面任一可能的实现方式中所述的方法。A fifth aspect, a computer program product comprising instructions, characterized in that, when the computer program product is run on an electronic device, the electronic device is made to execute the first aspect or any possible implementation manner of the first aspect method.
附图说明Description of drawings
图1是本申请实例提供的一种电子设备结构模块图;Fig. 1 is a kind of electronic equipment structural module diagram provided by the example of this application;
图2是本申请实例提供的一种视频笔记生成方法的流程示意图;2 is a schematic flowchart of a method for generating a video note provided by an example of the present application;
图3是本申请实例提供的一种电子设备的用户界面示意图;3 is a schematic diagram of a user interface of an electronic device provided by an example of the present application;
图4是本申请实例提供的一种应用的用户界面示意图;4 is a schematic diagram of a user interface of an application provided by an example of the present application;
图5是本申请实例提供的一种新建设置页面示意图;5 is a schematic diagram of a new setting page provided by an example of this application;
图6-图7是本申请实例提供的一种新建页面示意图;Figure 6-Figure 7 is a schematic diagram of a new page provided by the example of this application;
图8是本申请实例提供的一种应用场景示意图;8 is a schematic diagram of an application scenario provided by an example of this application;
图9是本申请实例提供的一种信息记录方法示意图;9 is a schematic diagram of an information recording method provided by an example of the present application;
图10是本申请实例提供的一种保存页面示意图;10 is a schematic diagram of a save page provided by an example of this application;
图11-图12是本申请实例提供的视频笔记播放界面示意图;11-12 are schematic diagrams of the video note playback interface provided by the example of this application;
图13是本申请实例提供的一种电子设备结构示意图。FIG. 13 is a schematic structural diagram of an electronic device provided by an example of this application.
具体实施方式Detailed ways
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指并包含一个或多个所列出项目的任何或所有可能组合。The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "an," "the," "above," "the," and "the" are intended to also Plural expressions are included unless the context clearly dictates otherwise. It will also be understood that, as used in this application, the term "and/or" refers to and includes any and all possible combinations of one or more of the listed items.
当前,用户想要对视频添加相应笔记的时候,往往需要录制完成后进行二次编辑,即手动定位想要添加笔记的视频区间并将笔记输入,操作耗时且需要一定视频编辑能力。也就是说,用户录制的视频内容是无法直接与记录的笔记对应起来的。本申请的目的在于提供一种视频笔记的制作方法,可支持用户在录制视频的同时记录笔记,将记录的笔记与视频内容自动匹配,无需用户对视频进行二次编辑来添加笔记,操作便利。用户在查看视频时会自动显示对应的笔记,便于用户对视频内容进行回顾与理解。At present, when users want to add corresponding notes to a video, they often need to perform secondary editing after recording, that is, manually locate the video section where they want to add notes and input the notes, which is time-consuming and requires certain video editing capabilities. That is to say, the video content recorded by the user cannot directly correspond to the recorded notes. The purpose of this application is to provide a method for making a video note, which can support a user to record a note while recording a video, automatically match the recorded note with the video content, without the need for the user to add notes by secondary editing of the video, and the operation is convenient. When users view the video, the corresponding notes will be automatically displayed, which is convenient for users to review and understand the video content.
如图1所示,本申请实施例提供的视频笔记制作方法可以应用于包括视频获取模块210,语音识别模块220、处理模块230、笔记采集模块240的电子设备100。视频获取模块210用于获取视频数据;语音识别模块220用于采集语音数据并识别关键词;笔记采集模块240用于获取用户输入的笔记;处理模块230用于完成视频与笔记的关联存储。As shown in FIG. 1 , the video note making method provided in this embodiment of the present application can be applied to an electronic device 100 including a video acquisition module 210 , a speech recognition module 220 , a processing module 230 , and a note collection module 240 . The video acquisition module 210 is used to acquire video data; the speech recognition module 220 is used to collect speech data and identify keywords; the note collection module 240 is used to acquire notes input by the user; the processing module 230 is used to complete the associated storage of videos and notes.
下面介绍本申请实施例提供的视频笔记制作方法,图2是本申请实施例提供的一种视频笔记制作方法的流程示意图,该方法包括S101至S103。The following describes a video note making method provided by an embodiment of the present application. FIG. 2 is a schematic flowchart of a video note making method provided by an embodiment of the present application, and the method includes S101 to S103.
S101、电子设备获取记录对象的视频信息,识别关键词,生成语音标签记录关键词与关键词出现的时间点。S101. The electronic device acquires the video information of the recording object, identifies the keyword, and generates a voice tag to record the keyword and the time point at which the keyword appears.
电子设备获取记录对象的视频信息,获取途径主要有两种,可以通过开启摄像头和麦克风拍摄视频,也可以网络接收视频信息;语音识别到视频中出现预先设定的关键词,记为第一关键词与第一时刻,第一时刻是第一关键词出现在视频中的时间点,即关键词与语音时间点,形成“关键词+语音时间点”的视频标签。The electronic device obtains the video information of the recorded object, and there are two main ways to obtain it. You can shoot the video by turning on the camera and microphone, or you can receive the video information through the network; the speech recognizes that a preset keyword appears in the video, which is recorded as the first key. The word and the first moment, the first moment is the time point when the first keyword appears in the video, that is, the keyword and the voice time point, forming a video tag of "keyword + voice time point".
一种可能的示例为,若预先设置关键词集合为“重点,难点,考点”,视频在开始后10分钟11秒捕捉到关键词“重点”,则生成“重点+10:11”的视频标签。A possible example is, if the keyword set is preset as "Key points, difficult points, test points", and the keyword "Key Points" is captured 10 minutes and 11 seconds after the video starts, a video tag of "Key Points + 10:11" will be generated. .
S102、电子设备获取用户输入的笔记与选择的关键词,生成笔记标签记录关键词与笔记开始时间和结束时间。S102, the electronic device acquires the note input by the user and the selected keyword, and generates a note tag to record the keyword and the start time and end time of the note.
电子设备获取用户输入的笔记和页数,获取每页笔记用户选择的关键词,记为第二关键词;用户开始输入笔记的视频时间记录为该页笔记的开始时间点,用户输入笔记翻页指令时的视频时间记录为该页笔记的结束时间点;即笔记标签的关键词、页数、笔记开始时间和笔记结束时间,形成“关键词+页数+笔记开始时间+笔记结束时间”的笔记标签。The electronic device obtains the notes and the number of pages input by the user, obtains the keywords selected by the user for each page of notes, and records them as the second keyword; the video time when the user starts to input the notes is recorded as the start time point of the page of notes, and the user inputs the notes to turn pages The video time at the time of the instruction is recorded as the end time point of the note on the page; that is, the keyword of the note label, the number of pages, the start time of the note, and the end time of the note, forming the “keyword + page number + note start time + note end time”. Note label.
一种可能的示例为,若用户选择第2页的关键词为“重点”,在视频开始后10分钟34秒开始输入笔记,在视频开始后17分钟21秒翻页,则生成“重点+第2页+10:34+17:21”的笔记标签。A possible example is, if the user selects the keyword on page 2 as "key", starts to input notes at 10 minutes and 34 seconds after the video starts, and turns the page at 17 minutes and 21 seconds after the video starts, it will generate "key + page". 2 pages +10:34+17:21” note label.
S103、电子设备根据笔记标签中的“关键词”为主键遍历视频标签进行时间点合并,完成视频内容与笔记的匹配。S103 , the electronic device traverses the video tag according to the "keyword" in the note tag as the primary key to perform time point merging, so as to complete the matching between the video content and the note.
对每条笔记标签进行匹配时称为目标笔记标签,根据“关键词”作为主键,遍历视频标签,查找“语音时间点”在上一页笔记标签“笔记结束时间”到该页笔记标签“笔记开始时间”内最早出现的视频标签,即目标视频标签,将目标标签的“语音时间点”减10秒作为对应视频区间的开始时间,目标笔记标签的“笔记结束时间”作为对应视频区间的结束时间。每页笔记与对应的视频区间形成关联映射,完成视频内容与笔记的匹配。Matching each note tag is called the target note tag. According to the "keyword" as the primary key, traverse the video tag to find the "voice time point" in the previous note tag "note end time" to this page note tag "note" The earliest video tag that appears in the "Start Time", that is, the target video tag, subtract 10 seconds from the "voice time point" of the target tag as the start time of the corresponding video interval, and the "note end time" of the target note label as the end of the corresponding video interval time. Each page of notes forms an associated mapping with the corresponding video interval to complete the matching of video content and notes.
该电子设备可以是折叠屏手机、非折叠屏手机,平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或个人数字助理(personaldigital assistant,PDA)等,本申请对该电子设备的具体类型不作任何限制。The electronic device may be a mobile phone with a folding screen, a mobile phone with a non-folding screen, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. There is no restriction on the specific type of the electronic device.
所述数据获取模块与笔记采集模块可以集中在电子设备上,如折叠屏手机、笔记本电脑等可以同时进行摄像与笔记输入的电子设备;也可以是与电子设备连接的其他设备,作为数据获取模块的可以是摄像头、手机、平板电脑等具有摄像功能的设备;作为笔记采集模块的可以是手机、键盘、手写板等具有信息输入功能的设备。The data acquisition module and the note collection module can be concentrated on electronic devices, such as electronic devices such as folding screen mobile phones, notebook computers, etc. that can perform video recording and note input at the same time; it can also be other devices connected to the electronic device as a data acquisition module. The device can be a camera, mobile phone, tablet computer and other devices with a camera function; as a note collection module, it can be a device with information input functions such as a mobile phone, a keyboard, and a handwriting board.
图3示出了电子设备100上的一种用户界面10,该用户界面10包括应用菜单101,状态栏102以及页面指示符103。其中:FIG. 3 shows a user interface 10 on the electronic device 100 , the user interface 10 includes an application menu 101 , a status bar 102 and a page indicator 103 . in:
应用菜单101可包括“视频笔记”应用101A在内的一个或多个应用图标;状态栏102可包括移动通信信号的一个或多个信号强度指示符、无线高保真(wirelessfidelity,WiFi)信号的一个或多个信号强度指示符、电池状态指示符以及时间指示符。 Application menu 101 may include one or more application icons including "Video Notes" application 101A; status bar 102 may include one or more signal strength indicators of mobile communication signals, one of wireless fidelity (WiFi) signals or more signal strength indicators, battery status indicators, and time indicators.
页面指示符103用于指示用户当前浏览的是哪一个页面中的应用。应理解,电子设备100中安装有多个应用时,多个应用可以分部在多个页面中,用户能够通过滑动操作切换电子设备100显示的页面。当检测到用户点击某个应用图标时,电子设备100可显示该应用的用户界面。The page indicator 103 is used to indicate the application in which page the user is currently browsing. It should be understood that when multiple applications are installed in the electronic device 100, the multiple applications may be divided into multiple pages, and the user can switch pages displayed by the electronic device 100 through a sliding operation. When detecting that the user clicks on an application icon, the electronic device 100 may display the user interface of the application.
图3所示的用户界面10可以为主界面(Home screen)。The user interface 10 shown in FIG. 3 may be a home screen.
在其他一些实施例中,电子设备100还可以包括主屏幕键。该主屏幕键可以是实体按键,也可以是虚拟按键。该主屏幕键可用于接收用户的指令,将当前显示的用户界面返回到主界面,这样可以方便用户随时查看主界面。In some other embodiments, the electronic device 100 may also include a home screen key. The home screen key can be a physical key or a virtual key. The home screen key can be used to receive the user's instruction and return the currently displayed user interface to the main interface, so that it is convenient for the user to view the main interface at any time.
可以理解的是,图3仅仅示例性示出了电子设备100上的一种用户界面,不应构成对本申请实施例的限定。It can be understood that, FIG. 3 only exemplarily shows a user interface on the electronic device 100, and should not constitute a limitation to the embodiments of the present application.
下面详细介绍根据本申请实施例提供的方法进行视频笔记制作的操作过程以及示例性的用户界面。The following describes in detail an operation process and an exemplary user interface for making a video note according to the method provided by the embodiment of the present application.
本申请涉及的视频笔记制作方法可以适用于学生录制老师讲课,视频会议等可以录制视 频或在线视频的场景,以下实施例中,以学生录制老师讲课的场景进行说明。The video note making method involved in this application can be applied to scenarios where students record teacher lectures, video conferences and other scenarios where video or online video can be recorded.
在一种具体的实现方式中,视频获取模块210与笔记采集模块240位于同一个电子设备上,接下来以折叠屏手机作为电子设备,介绍视频笔记制作的过程。In a specific implementation manner, the video acquisition module 210 and the note collection module 240 are located on the same electronic device. Next, a folding screen mobile phone is used as the electronic device to introduce the process of making video notes.
如图3所示,电子设备100监听到用户打开“视频笔记”应用101A的用户操作,响应该操作,电子设备100显示“视频笔记”应用101A的用户界面20。例如,用户打开“视频笔记”应用101A的用户操作可以是点击该应用的图标,或者语音、长按、双击等操作均可,本申请实施例对此不做限制。As shown in FIG. 3 , the electronic device 100 listens to a user operation of opening the “Video Notes” application 101A, and in response to the operation, the electronic device 100 displays the user interface 20 of the “Video Notes” application 101A. For example, the user operation for opening the "video note" application 101A may be clicking on the icon of the application, or operations such as voice, long press, double click, etc., which are not limited in this embodiment of the present application.
图4是本申请实施例提供的一种“视频笔记”应用101A的示例性用户界面20,该用户界面20包括视频笔记目录201,视频笔记新建控件202以及文件查找控件203。用户可以通过视频笔记目录201查看已经创建的视频笔记,例如,用户可以点击想要查看的视频笔记查看具体内容,用户可以通过点击视频笔记新建控件202创建新的视频笔记,也可以使用文件查找控件203输入名称查找需要的视频笔记。应理解,上述触发控件的方式还可以是语音、长按或者双击等均可,本申请实施例对此不做限制。FIG. 4 is an exemplary user interface 20 of a “video note” application 101A provided by an embodiment of the present application. The user interface 20 includes a video note directory 201 , a video note creation control 202 and a file search control 203 . The user can view the created video notes through the video note directory 201. For example, the user can click on the video note that he wants to view to view the specific content, the user can create a new video note by clicking the video note new control 202, or he can use the file search control. 203 Enter the name to find the desired video note. It should be understood that the foregoing manner of triggering the control may also be voice, long-pressing, or double-clicking, etc., which is not limited in this embodiment of the present application.
当用户需要创建新的视频笔记时,点击新建控件202,电子设备100响应用户作用于新建控件202的触发操作,电子设备100显示如图5所示的新建设置界面30。其中,新建设置页面30包括名称输入框301、关键词输入框302、确认控件303A与取消控件303B。其中:When the user needs to create a new video note, clicks on the new control 202, the electronic device 100 responds to the user's triggering operation on the new control 202, and the electronic device 100 displays the new setting interface 30 as shown in FIG. 5 . The new setting page 30 includes a name input box 301, a keyword input box 302, a confirmation control 303A and a cancel control 303B. in:
名称输入框301用于接收用户输入的名称,该名称作为视频笔记的文件名,便于后续查找与查看,如将要记录的课程内容为计算机网络的运输层相关,可输入“计算机网络-运输层”作为名称;The name input box 301 is used to receive the name input by the user, which is used as the file name of the video note, which is convenient for subsequent searching and viewing. as a name;
关键词设置控件302用于接收用户输入的关键词,该关键词为用户根据将要记录的内容主题设置,如将要录制课堂内容制作视频笔记,可输入关键词集合如“重点”、“难点”、“总结”等;The keyword setting control 302 is used to receive the keyword input by the user, and the keyword is set by the user according to the content subject to be recorded. "Summary", etc.;
确认控件303A用于确认用户的上述操作,用户在输入名称和关键词之后,点击确定控件303A,电子设备100检测到用户的点击操作后,即可开始创建视频笔记;取消控件303B用于取消用户的上述操作,用户在打开新建设置页面30之后,点击取消控件303B,电子设备检测到用户的点击操作后,即可返回应用101A的用户界面20。新建设置页面30可以包含更多或更少的输入框或控件,本申请实例对此不做限定。The confirmation control 303A is used to confirm the above-mentioned operation of the user. After the user inputs the name and keywords, the user clicks the confirmation control 303A. After the electronic device 100 detects the user's click operation, it can start to create a video note; the cancel control 303B is used to cancel the user In the above operation, the user clicks the cancel control 303B after opening the new setting page 30, and the electronic device can return to the user interface 20 of the application 101A after detecting the user's click operation. The newly created setting page 30 may include more or less input boxes or controls, which are not limited in the examples of this application.
上述图5所示的新建设置页面30仅为示例性说明,在其他实现方式中,该页面还可以有其他名称,在此不列举。视频笔记新建模式的开启也不限于上述方式,在具体实现中,还可以有其他的开启方式,在此不列举。The above-mentioned new setting page 30 shown in FIG. 5 is only an exemplary description, and in other implementation manners, the page may also have other names, which are not listed here. The opening of the video note creation mode is not limited to the above-mentioned methods. In specific implementation, there may be other opening methods, which are not listed here.
图6是本申请实施例提供的一种新建页面的示意图。用户在新建页面30输入名称和关键词后,触发确认控件303A,电子设备100响应该触发显示如图6所示新建页面40。新建页面40包括视频录制区401、笔记区402、语音标签栏403,笔记标签栏404和标题栏405。FIG. 6 is a schematic diagram of a new page provided by an embodiment of the present application. After the user inputs the name and keywords in the newly created page 30, the confirmation control 303A is triggered, and the electronic device 100 displays the newly created page 40 as shown in FIG. 6 in response to the trigger. The newly created page 40 includes a video recording area 401 , a note area 402 , a voice label bar 403 , a note label bar 404 and a title bar 405 .
所述视频录制区401用于显示数据获取模块210获取的视频。视频录制区401包括录制暂停控件401A、录制开始/结束控件401B、摄像头切换控件401C、变焦倍率调节控件401D。其中:The video recording area 401 is used to display the video acquired by the data acquisition module 210 . The video recording area 401 includes a recording pause control 401A, a recording start/end control 401B, a camera switching control 401C, and a zoom ratio adjustment control 401D. in:
录制暂停控件401A可用于监听触发录像暂停的用户操作。电子设备100可以检测到作用于录制暂停控件401A的用户操作,响应于该操作,电子设备100可以中止正在录制的视频;再次检测到作用于录制暂停控件401A的用户操作后,继续录制。The recording pause control 401A can be used to monitor the user operation that triggers the recording pause. The electronic device 100 can detect a user operation acting on the recording pause control 401A, and in response to the operation, the electronic device 100 can stop the video being recorded; after detecting the user operation acting on the recording pause control 401A again, continue recording.
录制开始/结束控件401B可用于监听触发录像开始或停止的用户操作。电子设备100可以检测到作用于录制开始/结束控件401B的用户操作,响应于该操作,电子设备100可以开始通过摄像头进行录像;再次检测到作用于录制开始/结束控件401B的用户操作,电子设备100将停止视频的录制,将录制的视频保存为在新建设置页面30中输入的名称的视频文件。其中,录制开始/结束控件401B可以是按钮或者其他形式的控件。The recording start/end control 401B can be used to monitor the user operation that triggers the recording start or stop. The electronic device 100 can detect the user operation acting on the recording start/end control 401B, and in response to the operation, the electronic device 100 can start recording through the camera; the user operation acting on the recording start/end control 401B is detected again, the electronic device 100 will stop the recording of the video and save the recorded video as a video file with the name entered in the New Settings page 30. The recording start/end control 401B may be a button or other forms of control.
摄像头翻转控件401C可用于监听触发切换摄像头的用户操作。电子设备100可以检测到作用于摄像头切换控件401C的用户操作,例如点击操作,响应于该操作,电子设备100可以翻转摄像头,例如将后置摄像头切换为前置摄像头。The camera flip control 401C can be used to monitor user operations that trigger camera switching. The electronic device 100 may detect a user operation, such as a click operation, acting on the camera switching control 401C, and in response to the operation, the electronic device 100 may flip the camera, such as switching the rear camera to the front camera.
变焦倍率调节控件401D可用于指示显示在视频录制区401中的图像所呈现的预览视角变换的比例。其中,变焦倍率调节控件401D越大,显示在视频录制区401中的图像所呈现的预览视角越小。反之,变焦倍率调节控件401D越小,显示在视频录制区401中的图像所呈现的预览视角越大。如图6所示,1X可以默认变焦倍率。当变焦倍率调节控件401D为一倍倍率1X,显示在视频录制区401中的图像所呈现的预览视角与普通摄像头拍摄视角一样大。本申请实施例对上述默认变焦倍率不作限定。The zoom magnification adjustment control 401D can be used to indicate the ratio of the preview perspective transformation presented by the image displayed in the video recording area 401 . Wherein, the larger the zoom factor adjustment control 401D is, the smaller the preview angle of view presented by the image displayed in the video recording area 401 is. Conversely, the smaller the zoom magnification adjustment control 401D is, the larger the preview angle of view presented by the image displayed in the video recording area 401 is. As shown in Figure 6, 1X can default zoom ratio. When the zoom magnification adjustment control 401D is a magnification of 1X, the preview angle of view presented by the image displayed in the video recording area 401 is as large as the shooting angle of view of a common camera. This embodiment of the present application does not limit the above-mentioned default zoom magnification.
笔记区402用于显示笔记采集模块240获取的用户输入的笔记;笔记区402有笔记关键词显示区域402A和笔记翻页控件402B,其中:The note area 402 is used to display the notes input by the user obtained by the note collection module 240; the note area 402 has a note keyword display area 402A and a note page turning control 402B, wherein:
笔记关键词显示区域402A用于监听用户选择笔记关键词的触发操作。笔记关键词显示区域402A显示用户提前输入的关键词集合,电子设备100检测到用户对于笔记关键词显示区域402A的触发操作,记录用户选择的关键词。用户选择笔记关键词的触发操作可以是用户点击、双击、长按或者悬浮操作。The note keyword display area 402A is used to monitor the triggering operation of the user selecting the note keyword. The note keyword display area 402A displays a set of keywords input by the user in advance. The electronic device 100 detects the user's triggering operation on the note keyword display area 402A, and records the keyword selected by the user. The triggering operation for the user to select a note keyword may be the user's click, double-click, long-press or hover operation.
笔记翻页控件402B用于监听用户触发进入笔记上一页或下一页的操作。电子设备100可以检测到作用于笔记翻页控件402B的用户操作,响应于该操作,在笔记区402显示上一页或下一页笔记内容,作用于笔记翻页控件402B的用户操作可以是用户点击、双击、长按或者悬浮操作。The note page turning control 402B is used to monitor the user's triggering operation to enter the previous page or the next page of the note. The electronic device 100 may detect a user operation acting on the note page turning control 402B, and in response to the operation, display the content of the previous or next page of notes in the note area 402, and the user operation acting on the note turning control 402B may be the user Click, double-click, long-press or hover operation.
语音标签栏403包括隐藏控件4031和语音标签表4032,隐藏控件4031用于监听用户触发隐藏语音标签表4032的操作,电子设备100检测到用户对隐藏控件4031的触发操作,响应该操作并将语音标签表4032隐藏;语音标签表4032用于显示根据语音识别模块220识别到的关键词与获取到关键词的时间点标签。作用于隐藏控件4031的用户操作可以是用户点击、双击、长按或者悬浮操作。The voice tag bar 403 includes a hidden control 4031 and a voice tag table 4032. The hidden control 4031 is used to monitor the operation of the user triggering the hidden voice tag table 4032. The electronic device 100 detects the user's triggering operation on the hidden control 4031, responds to the operation and sends the voice The tag table 4032 is hidden; the voice tag table 4032 is used to display the keywords recognized according to the voice recognition module 220 and the time point tags at which the keywords are obtained. The user operation acting on the hidden control 4031 may be the user's click, double-click, long-press or hover operation.
笔记标签栏404包括隐藏控件4041和笔记标签表4042。隐藏控件4041用于监听用户触发隐藏笔记标签表4042的操作,电子设备100检测到用户对隐藏控件4041的触发操作,响应该操作并将笔记标签表4042隐藏;笔记标签表4042用于显示用户在笔记关键词显示区域402A选择的关键词、页码与时间点标签。隐藏语音标签栏403与笔记标签栏404后的新建页面40如图7所示,呼出控件4033用于监听用户触发显示语音标签表4032的操作,电子设备100检测到用户对呼出控件4033的触发操作,响应该操作并将语音标签表4032显示在新建页面40;呼出控件4043用于监听用户触发显示笔记标签表4042的操作,电子设备100检测到用户对呼出控件4043的触发操作,响应该操作并将笔记标签表4042显示在新建页面40。用户对呼出控件4033和呼出控件4043的触发操作可以是用户点击、双击、长按或者拖拽操作。在实际实现中,上述触发操作还可以通过其他方式,本申请实施例对此不作限制。Note tab bar 404 includes hidden controls 4041 and note tab table 4042 . The hidden control 4041 is used to monitor the user's triggering operation of the hidden note label table 4042. The electronic device 100 detects the user's trigger operation on the hidden control 4041, and responds to the operation and hides the note label table 4042; the note label table 4042 is used to display the user's The keyword, page number and time point label selected in the note keyword display area 402A. The newly created page 40 after hiding the voice label bar 403 and the note label bar 404 is shown in FIG. 7 , the call-out control 4033 is used to monitor the operation of the user triggering the display of the voice-label table 4032 , and the electronic device 100 detects the user’s trigger operation on the call-out control 4033 , in response to this operation and display the voice tag table 4032 on the new page 40; the call-out control 4043 is used to monitor the user's operation of triggering the display of the note-tag table 4042, the electronic device 100 detects the user's trigger operation on the call-out control 4043, responds to the operation and A note tag table 4042 is displayed on the new page 40 . The triggering operation of the user on the outgoing control 4033 and the outgoing control 4043 may be a user click, double click, long press or drag operation. In actual implementation, the above triggering operation may also be performed in other manners, which are not limited in this embodiment of the present application.
标题栏405包括视频笔记名称4051和保存控件4052,视频笔记名称显示用户在新建设置页面30的名称输入框301中输入的视频笔记名称,保存控件4052用于监听用户触发保存视频笔记的操作,电子设备100检测到用户对保存控件4052的触发操作,显示如图10所示保存页面406。The title bar 405 includes a video note name 4051 and a save control 4052. The video note name displays the video note name entered by the user in the name input box 301 of the new setting page 30. The save control 4052 is used to monitor the user's triggering operation of saving the video note. The device 100 detects the user's triggering operation on the save control 4052, and displays the save page 406 as shown in FIG. 10 .
保存页面406包括确认控件406A和取消控件406B。406A用于监听用户触发确认结束制作保存视频笔记文件的操作,电子设备100检测到用户对于406A的触发操作,保存视频笔记并回到用户界面20;取消控件406B用于监听用户触发取消结束制作保存视频笔记文件的操作,电子设备100检测到用户对于406B的触发操作,回到新建页面40。Save page 406 includes confirm control 406A and cancel control 406B. 406A is used to monitor the user's triggering confirmation to end the production and save the operation of the video note file, the electronic device 100 detects the user's trigger operation for 406A, saves the video note and returns to the user interface 20; the cancel control 406B is used to monitor the user's trigger to cancel the end of the production and save For the operation of the video note file, the electronic device 100 detects the user's trigger operation on 406B and returns to the new page 40 .
视频录制区401录制的视频由数据获取模块210获取,视频获取可以通过以下两种方式:The video recorded in the video recording area 401 is obtained by the data obtaining module 210, and the video can be obtained in the following two ways:
第一种通过摄像模块录制视频,图8示例性的展示了用户录制视频时的使用场景。用户将电子设备100折叠,摄像头对着录制对象方向,视频录制区401所在为第一屏幕,在视频录制区401显示摄像头获取的图像,麦克风获取录制对象的语音。视频标签表4032的生成过程如图9所示,语音识别模块识别录制对象的语音内容,识别到预先设置的关键词就记录下该时间点,形成“关键词+语音时间点”视频标签记录在视频标签表4032并显示在语音标签栏403。如在t1时刻识别到录制对象的语音内容中包含预先设置的关键词“重点”,则在语音标签表4032中形成“重点+t1”的视频标签记录并显示在语音标签栏403;在t2时刻识别到录制对象的语音内容中包含预先设置的关键词“易错点”,则在语音标签表4032中形成“易错点+t2”的视频标签记录并显示在语音标签栏403。The first is to record video through a camera module. Figure 8 exemplarily shows a usage scenario when a user records a video. The user folds the electronic device 100, the camera faces the recording object, the video recording area 401 is the first screen, the image captured by the camera is displayed in the video recording area 401, and the microphone captures the recording object's voice. The generation process of the video tag table 4032 is shown in Figure 9. The speech recognition module recognizes the voice content of the recording object, recognizes the preset keyword and records the time point, and forms the "keyword+voice time point" video tag and is recorded in the video tag. The video tag table 4032 is displayed in the voice tag column 403. If it is recognized at time t1 that the voice content of the recording object contains the preset keyword "emphasis", a video tag record of "emphasis+t1" is formed in the voice tag table 4032 and displayed in the voice tag column 403; at time t2 If it is recognized that the voice content of the recording object contains the preset keyword "error-prone point", a video tag record of "error-prone point+t2" is formed in the voice tag table 4032 and displayed in the voice tag column 403 .
第二种通过通信模块接收通过网络发送的视频数据:视频录制区401所在屏幕为第一屏幕,视频信号接收模块接收实时视频信号并存储,在视频录制401显示视频的图像。视频标签表4032的生成过程如图9所示,语音识别模块识别视频语音内容,识别到预先设置的关键词就记录下该时间点,形成“关键词+语音时间点”视频标签记录在视频标签表4032并显示在语音标签栏403。电子设备100监听到结束录制的用户操作,响应该操作并关闭数据获取模块。The second is to receive video data sent through the network through the communication module: the screen where the video recording area 401 is located is the first screen, the video signal receiving module receives and stores the real-time video signal, and displays the video image in the video recording 401 . The generation process of the video tag table 4032 is shown in Figure 9, the speech recognition module recognizes the video voice content, recognizes the preset keyword and records the time point, and forms a "keyword+voice time point" video tag and records it in the video tag. Table 4032 and displayed in the voice tag column 403. The electronic device 100 monitors the user operation for ending the recording, and closes the data acquisition module in response to the operation.
笔记区402所在为第二屏幕,用户作用于笔记关键词显示区域402A进行的关键词选择操作,在预先设置好的关键词中选择每页笔记的关键词,笔记采集模块240获取用户输入的笔记显示在笔记区402,并记录输入开始时间。监听到用户作用于笔记翻页控件402B进入笔记下一页的触发操作,记录该页结束时间,形成“关键词+页数+笔记开始时间+笔记结束时间”笔记标签记录在笔记标签表4042并显示在笔记标签栏404。所述“笔记开始时间”为用户开始输入该页笔记的时间,所述“笔记结束时间”为用户输入进入笔记下一页的指令的时间。The note area 402 is located on the second screen, the user performs a keyword selection operation on the note keyword display area 402A, and selects the keyword of each page of notes from the preset keywords, and the note collection module 240 obtains the notes input by the user. is displayed in the note area 402, and the input start time is recorded. Listen to the trigger operation of the user acting on the note page-turning control 402B to enter the next page of the note, record the end time of the page, and form a "keyword + page number + note start time + note end time" note label and record it in the note label table 4042 and Displayed in the note tab bar 404. The "note start time" is the time when the user starts to input the note on the page, and the "note end time" is the time when the user inputs an instruction to enter the next page of the note.
笔记区402显示笔记采集模块240获取的用户输入的笔记内容;用户输入的方式可以是在笔记区402手写输入,可以是输入法提供的虚拟键盘输入,输入方式不限于以上提到的几种,本申请实施例对此不作限定。The note area 402 displays the content of the notes input by the user acquired by the note collection module 240; the user input method can be handwritten input in the note area 402, or the virtual keyboard input provided by the input method, and the input method is not limited to the above-mentioned several, This embodiment of the present application does not limit this.
视频笔记制作结束后,用户触发保存控件4052,电子设备100显示保存页面406,用户触发确认控件406A,结束视频笔记制作并保存视频笔记文件。处理模块230根据笔记标签表4042中的信息,对每页笔记进行匹配,该页笔记的笔记标签为目标笔记标签,目标笔记标签的“关键词”为第二关键词,以第二关键词为主键遍历视频标签表4032中的视频标签,视频标签的“关键词”为第一关键词,“语音时间点”为第一时刻,找到视频标签表4032中第一关键词与第二关键词相同,且第一时刻在笔记标签表4042中第一笔记标签对应的结束时间点至 目标笔记标签对应的开始时间点的时间区段内的至少一条记录,作为第一视频标签集合,将其中最早的视频标签作为目标笔记标签,目标笔记标签的第一时刻减去10秒作为该页笔记对应视频区间的开始时间,将笔记标签表4042中该页笔记的“笔记结束时间”作为对应视频区间的结束时间,对应视频区间作为目标视频,将每页笔记都映射到录制视频的对应区间中。After the video note creation is completed, the user triggers the save control 4052, the electronic device 100 displays the save page 406, and the user triggers the confirmation control 406A to end the video note creation and save the video note file. The processing module 230 matches each page of notes according to the information in the note label table 4042, the note label of this page of notes is the target note label, the "keyword" of the target note label is the second keyword, and the second keyword is The primary key traverses the video tags in the video tag table 4032, the "keyword" of the video tag is the first keyword, and the "voice time point" is the first moment, find that the first keyword in the video tag table 4032 is the same as the second keyword , and the first moment is at least one record in the time zone from the end time point corresponding to the first note tag to the start time point corresponding to the target note tag in the note tag table 4042, as the first video tag set, and the earliest among them The video tag is used as the target note tag, the first moment of the target note tag minus 10 seconds is used as the start time of the video section corresponding to the page of notes, and the "note end time" of the page note in the note tag table 4042 is used as the end of the corresponding video section Time, the corresponding video interval is used as the target video, and each page of notes is mapped to the corresponding interval of the recorded video.
示例性地,若第1页笔记在笔记标签表4042中的目标笔记标签包括:Exemplarily, if the target note label of the note on page 1 in the note label table 4042 includes:
{{
  关键字:功能keyword: function
  页数:1Pages: 1
  笔记开始时间:00:04:25Note start time: 00:04:25
  笔记结束时间:00:10:44Note end time: 00:10:44
}}
则在视频标签表4032中查找相同关键词“功能”的第一视频标签集合:Then look up the first video tag set of the same keyword "function" in the video tag table 4032:
{{
  关键词:功能Keywords: function
  语音时间点:00:02:13Voice time point: 00:02:13
}}
{{
  关键词:功能Keywords: function
  语音时间点:00:05:34Voice time point: 00:05:34
}}
{{
  关键词:功能Keywords: function
  语音时间点:00:10:28Voice time point: 00:10:28
}}
第一时刻在笔记标签表4042中第一笔记标签对应的结束时间点至目标笔记标签对应的开始时间点的时间区段内的为第一条视频标签,该条视频标签为目标视频标签,目标视频标签的第一时刻减10秒为第1页笔记对应视频区间开始时间,第1页笔记“笔记结束时间”作为该页笔记对应视频区间结束时间,形成视频笔记标签索引如下:The first moment is the first video tag in the time section from the end time point corresponding to the first note tag in the note tag table 4042 to the start time point corresponding to the target note tag, and this video tag is the target video tag, and the target video tag is the target video tag. The first moment of the video tag minus 10 seconds is the start time of the video section corresponding to the note on page 1, and the note "end time" on page 1 is the end time of the video section corresponding to the note on the page. The video note tag index is formed as follows:
{{
  关键词:功能Keywords: function
  页数:1Pages: 1
  视频区间开始时间:00:02:03Video interval start time: 00:02:03
  视频区间结束时间:00:10:44End time of video interval: 00:10:44
}}
用户可以在应用101A的用户界面20上的视频笔记目录201直接找到想要查看的视频笔记,用户界面20的查看方式包括但不限于滑动查看与翻页查看;用户也可以通过在应用101A的用户界面20搜索视频笔记的名称来找到想要查看的视频笔记。用户查看视频笔记的触发操作可以是用户点击、双击、长按或者悬浮操作视频笔记,在实际实现中,上述用户操作还可以通过其他方式,本申请实施例对此不作限制。The user can directly find the video note that he wants to view in the video note catalog 201 on the user interface 20 of the application 101A. The viewing methods of the user interface 20 include but are not limited to sliding view and page turning view; The interface 20 searches the name of the video note to find the video note you want to view. The triggering operation for the user to view the video note may be the user clicking, double-clicking, long-pressing, or hovering to operate the video note. In actual implementation, the above-mentioned user operation may also be performed in other ways, which are not limited in this embodiment of the present application.
图11为本申请实例提供的一种示例性视频笔记播放界面,用户在“视频笔记”应用101A的用户界面20查看视频笔记目录201,在视频笔记目录20中找到创建好的视频笔记文件,点击视频笔记文件,电子设备100响应用户的触发操作显示如图11所示视频笔记播放页面50。其中,视频笔记播放页面50可以包括视频播放区501、笔记展示区502、视频目录栏503、笔记目录栏504。其中,视频播放区501用于播放制作前述视频笔记时录制的视频;笔记展示区502用于展示制作前述视频笔记时添加的笔记;视频目录栏503用于显示视频的标签索引;笔记目录栏504用于显示笔记的标签索引。FIG. 11 is an exemplary video note playback interface provided by the example of this application. The user views the video note catalog 201 on the user interface 20 of the “Video Notes” application 101A, finds the created video note file in the video note catalog 20, and clicks For a video note file, the electronic device 100 displays a video note play page 50 as shown in FIG. 11 in response to a user's trigger operation. The video note playback page 50 may include a video playback area 501 , a note display area 502 , a video directory column 503 , and a note directory column 504 . Among them, the video playback area 501 is used to play the video recorded when making the aforementioned video notes; the note display area 502 is used to display the notes added when making the aforementioned video notes; the video catalog column 503 is used to display the tag index of the video; the note catalog column 504 The index of tags used to display the note.
示例性地,所述视频目录栏503显示的目录索引可以包括如下内容:Exemplarily, the directory index displayed in the video directory column 503 may include the following content:
{{
  关键词:功能Keywords: function
  视频区间开始时间:00:02:03Video interval start time: 00:02:03
  视频区间结束时间:00:10:44End time of video interval: 00:10:44
}}
示例性地,所述笔记目录栏503显示的目录索引可以包括如下内容:Exemplarily, the directory index displayed in the note directory column 503 may include the following content:
{{
  关键词:功能Keywords: function
  页数:1Pages: 1
}}
视频播放区501包括播放暂停控件501A、播放时间显示控件501B、播放进度条控件501C和音量选择控件501D。其中,播放暂停控件501A用于监听视频播放暂停或开始的用户操作,电子设备100可以检测到作用于播放暂停控件501B的用户操作,响应于该操作,电子设备100停止播放视频播放区501显示的视频,再次检测到作用于播放暂停控件501B的用户操作,电子设备100将继续视频的播放;The video playback area 501 includes a playback pause control 501A, a playback time display control 501B, a playback progress bar control 501C, and a volume selection control 501D. The play pause control 501A is used to monitor the user operation for pausing or starting the video playback, the electronic device 100 can detect the user operation acting on the play pause control 501B, and in response to the operation, the electronic device 100 stops playing the video displayed in the video play area 501. video, the user operation acting on the playback pause control 501B is detected again, and the electronic device 100 will continue to play the video;
播放时间显示控件501B用于显示已播放视频的时长与视频总时长;The playback time display control 501B is used to display the duration of the played video and the total duration of the video;
播放进度条控件501C用于显示当前播放视频进度,用于监听触发视频进度跳转的用户操作;电子设备100可以检测到作用于播放进度条控件501C的用户操作,响应于该操作,电子设备100可以在视频播放区501显示用户选择的时间点对应的视频内容;The playback progress bar control 501C is used to display the current playback video progress, and is used to monitor the user operation that triggers the video progress jump; the electronic device 100 can detect the user operation acting on the playback progress bar control 501C, and in response to this operation, the electronic device 100 The video content corresponding to the time point selected by the user can be displayed in the video playback area 501;
音量控件501D用于监听触发视频音量调整的用户操作,电子设备100可以检测到作用于音量控件501D的用户操作,响应与该操作,调节视频音量的大小。The volume control 501D is used to monitor the user operation that triggers the video volume adjustment. The electronic device 100 can detect the user operation acting on the volume control 501D, and adjust the video volume in response to the operation.
用户进行的上述操作可以是用户点击、双击、长按或者悬浮操作上述控件。在实际实现中,上述操作还可以通过其他方式进行,本申请实施例对此不作限制。The above-mentioned operation performed by the user may be the user's clicking, double-clicking, long-pressing, or hovering to operate the above-mentioned control. In actual implementation, the foregoing operations may also be performed in other manners, which are not limited in this embodiment of the present application.
笔记展示区502包括笔记翻页控件502A,笔记翻页控件502A用于监听用户触发进入笔记上一页或下一页的操作。电子设备100可以检测到作用于笔记翻页控件502A的用户操作,响应于该操作,在笔记展示区502显示上一页或下一页笔记内容,作用于笔记翻页控件502A的用户操作可以是用户点击、双击、长按或者悬浮操作所述笔记翻页控件502A。The note display area 502 includes a note page turning control 502A, and the note page turning control 502A is used to monitor an operation triggered by the user to enter the previous or next page of the note. The electronic device 100 may detect a user operation acting on the note page turning control 502A, and in response to the operation, display the content of the previous or next page of notes in the note display area 502, and the user operation acting on the note page turning control 502A may be: The user operates the note page turning control 502A by clicking, double-clicking, long-pressing, or hovering.
所述视频目录栏503用于监听视频区间选择的用户操作,电子设备100可以检测到作用于视频目录栏503的用户操作,响应于该操作,在视频播放区501显示的视频跳转至用户选择的关键词标签对应视频区间开始时间进行播放。用户进行的操作可以是用户点击、双击、长按或者悬浮操作视频目录栏503,在实际实现中,上述用户操作还可以通过其他方式进行, 本申请实施例对此不作限制。The video directory bar 503 is used to monitor the user operation of the video section selection, the electronic device 100 can detect the user operation acting on the video directory bar 503, and in response to this operation, the video displayed in the video playback area 501 jumps to the user selection. The keyword tag corresponding to the start time of the video interval is played. The operation performed by the user may be the user clicking, double-clicking, long-pressing, or suspending operation of the video directory bar 503. In actual implementation, the above-mentioned user operation may also be performed in other ways, which are not limited in this embodiment of the present application.
所述笔记目录栏504用于监听笔记页选择的用户操作,电子设备100可以检测到作用于笔记目录栏504的用户操作,响应于该操作,在笔记展示区502显示用户选择的关键词标签对应页数的笔记。用户进行的上述操作可以是用户点击、双击、长按或者悬浮操作笔记目录栏504,在实际实现中,上述用户操作还可以通过其他方式进行,本申请实施例对此不作限制。The note catalog bar 504 is used to monitor the user operation of the note page selection, the electronic device 100 can detect the user operation acting on the note catalog bar 504, and in response to this operation, the note display area 502 displays the corresponding keyword tags selected by the user. Pages of notes. The above-mentioned operation performed by the user may be the user clicking, double-clicking, long-pressing, or suspending to operate the note directory bar 504. In actual implementation, the above-mentioned user operation may also be performed in other ways, which are not limited in this embodiment of the present application.
电子设备在视频笔记播放页面50播放视频笔记时,视频播放区501播放视频,笔记展示区502显示用户输入的笔记,电子设备在检测到播放目标视频标签中的第一时刻之后,目标笔记标签对应的终止时间点之前的视频内容时,电子设备在笔记展示区502显示所述目标笔记标签对应的笔记。When the electronic device plays a video note on the video note playback page 50, the video playback area 501 plays the video, and the note display area 502 displays the note input by the user. After the electronic device detects the first moment in the playback target video tag, the target note tag corresponds to When the video content is before the termination time point, the electronic device displays the note corresponding to the target note tag in the note display area 502 .
笔记展示区502会随着视频播放区501播放的视频进度变化显示对应的笔记。用户触发播放进度条控件501C进行视频跳转操作,视频播放区501播放的视频跳转至用户选择的时间点进度,该时间点在目标视频标签中的第一时刻之后,目标笔记标签对应的终止时间点之前,笔记展示区502显示目标笔记标签对应的笔记。用户也可以触发视频目录栏503中的关键词查看对应的视频区间,笔记显示区502会显示关键词对应的笔记内容。如用户触发视频目录栏503中的关键词“特点”,视频播放区501将跳转至对应视频区间开始时间00:21:24处开始播放,笔记展示区502显示关键词“特点”对应的第4页笔记内容。The note display area 502 will display the corresponding notes along with the progress of the video played in the video playback area 501 . The user triggers the playback progress bar control 501C to perform a video jump operation, and the video played in the video playback area 501 jumps to the progress of the time point selected by the user. The time point is after the first moment in the target video tag, and the corresponding termination of the target note tag Before the time point, the note display area 502 displays the note corresponding to the target note tag. The user can also trigger the keyword in the video catalog column 503 to view the corresponding video section, and the note display area 502 will display the note content corresponding to the keyword. If the user triggers the keyword "feature" in the video catalog column 503, the video playback area 501 will jump to the start time of the corresponding video interval at 00:21:24 and start playing, and the note display area 502 displays the first page corresponding to the keyword "feature". 4 pages of notes.
视频播放区501会随着笔记展示区502显示的笔记变化播放对应的视频。用户触发笔记翻页控件502A进行笔记翻页操作,笔记展示区502显示的笔记翻页至用户选择的内容,电子设备在检测到用户在查看目标笔记标签对应的笔记时,视频播放区501从目标视频标签中的第一时刻播放目标视频。用户也可以触发笔记目录栏504中的关键词查看对应的笔记,视频播放区501会播放该关键词对应的视频区间。如用户触发笔记标签栏中的关键词“总结”,笔记展示区502显示对应点的第5页笔记,视频播放区501播放跳转至关键词“总结”对应的视频区间开始时间00:28:23处开始播放。The video playback area 501 will play the corresponding video as the notes displayed in the note display area 502 change. The user triggers the note page turning control 502A to perform a note page turning operation, and the notes displayed in the note display area 502 are turned to the content selected by the user. The first moment in the video tag plays the target video. The user can also trigger the keyword in the note catalog column 504 to view the corresponding note, and the video playback area 501 will play the video section corresponding to the keyword. For example, if the user triggers the keyword "summary" in the note label column, the note display area 502 displays the note on page 5 of the corresponding point, and the video playback area 501 plays and jumps to the start time of the video section corresponding to the keyword "summary" at 00:28: Play starts at 23.
所述视频目录栏503有隐藏控件5031和视频目录表5032。隐藏控件5031用于监听用户触发隐藏视频目录表5032的操作,电子设备100检测到用户对隐藏控件5031的触发操作,响应该操作并将视频目录表5032隐藏;所述笔记目录栏504有隐藏控件5041和笔记目录表5042。隐藏控件5041用于监听用户触发隐藏笔记目录表5042的操作,电子设备100检测到用户对隐藏控件5041的触发操作,响应该操作并将笔记目录表5042隐藏;隐藏视频目录栏503与笔记目录栏504后的视频笔记播放页面50如图12所示,呼出控件5033用于监听用户触发显示视频目录表5032的操作,电子设备100检测到用户对呼出控件5033的触发操作,响应该操作并将视频目录表4032显示在视频笔记播放页面50;呼出控件5043用于监听用户触发显示笔记目录表5042的操作,电子设备100检测到用户对呼出控件5043的触发操作,响应该操作并将笔记目录表5042显示在视频笔记播放页面50。用户进行的触发操作可以是用户点击、双击、长按或者拖拽操作。在实际实现中,上述用户操作还可以通过其他方式进行,本申请实施例对此不作限制。The video directory bar 503 has hidden controls 5031 and a video directory table 5032 . The hidden control 5031 is used to monitor the operation of the user triggering the hidden video table of contents 5032, and the electronic device 100 detects the user's triggering operation on the hidden control 5031, and responds to the operation and hides the video table of contents 5032; the note table of contents bar 504 has hidden controls 5041 and Note Table of Contents 5042. The hidden control 5041 is used to monitor the user's triggering operation to hide the note table of contents 5042. The electronic device 100 detects the user's trigger operation on the hidden control 5041, and responds to the operation and hides the note table of contents 5042; hides the video table of contents 503 and the note table of contents The video note playback page 50 after 504 is shown in FIG. 12 , the call-out control 5033 is used to monitor the operation of the user triggering the display of the video catalog 5032, and the electronic device 100 detects the user's trigger operation on the call-out control 5033, and responds to the operation and sends the video The table of contents 4032 is displayed on the video note playback page 50; the call-out control 5043 is used to monitor the user's operation to trigger the display of the note table of contents 5042. The electronic device 100 detects the user's triggering operation on the call-out control 5043, and responds to the operation and displays the note table of contents 5042. Displayed on the video note playback page 50. The trigger operation performed by the user may be a user click, double click, long press or drag operation. In actual implementation, the above-mentioned user operations may also be performed in other manners, which are not limited in this embodiment of the present application.
在另一种具体的实现方式中,数据获取模块210与笔记采集模块240还可以在不同设备上,接下来将平板电脑称为电子设备100,外接键盘作为笔记采集模块240。In another specific implementation manner, the data acquisition module 210 and the note collection module 240 may also be on different devices. Next, the tablet computer is referred to as the electronic device 100 , and the external keyboard is used as the note collection module 240 .
用户启动“视频笔记”应用并进入视频笔记新建页面40的过程和用户界面与第一种实现 方式相同。创建新的视频笔记,数据获取模块获取到的视频可以通过以下两种方式:The process and user interface of the user launching the "video note" application and entering the video note new page 40 are the same as in the first implementation. To create a new video note, the video obtained by the data acquisition module can be obtained in the following two ways:
第一种通过摄像模块录制视频,图6示例性的展示了用户录制视频时的使用场景。用户将电子设备100折叠,摄像头对着录制对象方向,视频录制区401所在为第一屏幕,在视频录制区401显示摄像头获取的图像,麦克风获取录制对象的声音,语音识别模块识别录制对象的语音内容,识别到预先设置的关键词就记录下该时间点,形成“关键词+语音时间点”视频标签记录在视频标签表4032并显示在语音标签栏403。获取到结束录制指令,关闭数据获取模块。The first is to record a video through a camera module, and FIG. 6 exemplarily shows a usage scenario when a user records a video. The user folds the electronic device 100, the camera faces the direction of the recording object, the video recording area 401 is located on the first screen, the image obtained by the camera is displayed in the video recording area 401, the microphone obtains the sound of the recording object, and the speech recognition module recognizes the voice of the recording object. content, the preset keyword is recognized, the time point is recorded, and a video tag of "keyword + voice time point" is formed, which is recorded in the video tag table 4032 and displayed in the voice tag column 403 . When the end recording instruction is obtained, the data acquisition module is closed.
第二种通过视频信号接收模块获取视频数据:视频录制区401所在屏幕为第一屏幕,视频信号接收模块接收实时视频信号并存储,在视频录制区401显示视频的图像,语音识别模块识别视频语音内容,识别到预先设置的关键词就记录下该时间点,形成“关键词+语音时间点”视频标签记录在视频标签表4032并显示在语音标签栏403。接收到视频结束指令,关闭数据获取模块。The second is to obtain video data through the video signal receiving module: the screen where the video recording area 401 is located is the first screen, the video signal receiving module receives the real-time video signal and stores it, displays the image of the video in the video recording area 401, and the speech recognition module recognizes the video voice. content, the preset keyword is recognized, the time point is recorded, and a video tag of "keyword + voice time point" is formed, which is recorded in the video tag table 4032 and displayed in the voice tag column 403 . After receiving the video end instruction, close the data acquisition module.
笔记区402所在为第二屏幕,笔记关键词显示区域402A接收用户输入的关键词选择指令,在预先设置好的关键词中选择每页笔记的关键词,笔记区获取用户输入的笔记,并记录输入开始时间,获取到进入笔记下一页的指令,记录该页结束时间,形成“关键词+页数+笔记开始时间+笔记结束时间”笔记标签记录在笔记标签表4042并显示在笔记标签栏404。所述“笔记开始时间”为用户开始输入该页笔记的时间,所述“笔记结束时间”为用户输入进入笔记下一页的指令的时间。获取到结束笔记指令,关闭笔记采集模块。The note area 402 is located on the second screen, and the note keyword display area 402A receives the keyword selection instruction input by the user, selects the keywords of each page of notes from the preset keywords, and the note area obtains the notes input by the user, and records Enter the start time, get the instruction to enter the next page of the note, record the end time of the page, and form the "keyword + page number + note start time + note end time" note label is recorded in the note label table 4042 and displayed in the note label column 404. The "note start time" is the time when the user starts to input the note on the page, and the "note end time" is the time when the user inputs an instruction to enter the next page of the note. After obtaining the end note instruction, close the note collection module.
所述笔记区获取的用户输入的笔记来自第一输入设备,电子设备100与第一输入设备连接,连接方式可以是硬件连接、蓝牙连接、WLAN连接等。The notes input by the user acquired in the note area are from the first input device, and the electronic device 100 is connected to the first input device, and the connection mode may be hardware connection, Bluetooth connection, WLAN connection, or the like.
具体的,采用硬件连接,电子设备100通过USB接口130与第一输入设备连接;采用蓝牙连接,电子设备100通过无线通信模块160与第一输入设备蓝牙连接;采用WLAN连接,电子设备100通过无线通信模块160与第一输入设备WLAN连接。电子设备100与第一输入设备连接后,笔记采集模块240可以获取用户使用第一输入设备输入的笔记;获取的用户输入的笔记,其输入方式可以为手写输入,也可以为打字或语音输入,输入方式不限于以上提到的几种,本申请实施例对此不作限定。Specifically, using hardware connection, the electronic device 100 is connected to the first input device through the USB interface 130; using Bluetooth connection, the electronic device 100 is connected to the first input device through Bluetooth through the wireless communication module 160; The communication module 160 is connected with the first input device WLAN. After the electronic device 100 is connected to the first input device, the note collection module 240 can obtain the notes input by the user using the first input device; the obtained notes input by the user may be input by handwriting input, or may be typing or voice input, The input methods are not limited to the above-mentioned ones, which are not limited in this embodiment of the present application.
根据视频标签表与笔记标签表的映射关系完成视频和笔记的关联,具体过程与第一种实施方式相同。The association of the video and the note is completed according to the mapping relationship between the video tag table and the note tag table, and the specific process is the same as that of the first embodiment.
下面介绍本申请实施例中提供的示例性电子设备100。The following describes the exemplary electronic device 100 provided in the embodiments of the present application.
图13示出了电子设备100的结构示意图。FIG. 13 shows a schematic structural diagram of the electronic device 100 .
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,按键180,马达181,指示器182,摄像头183,显示屏184,以及用户标识模块(subscriber identification module,SIM)卡接口185等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, key 180, motor 181, indicator 182, camera 183, display screen 184, and user identification module ( subscriber identification module, SIM) card interface 185, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
在本申请实施例中,处理器110可用于确定电子设备100当前启动的第三方应用是否有权限使用电子设备的增强功能。在一些实施例中,处理器110还可以用于在当前启动的第三方应用有权限使用电子设备的增强功能的情况下,确定当前提供给用户的增强功能。处理器110确定当前提供给用户的增强功能的方式可参照后续实施例的相关描述,在此不再赘述。In this embodiment of the present application, the processor 110 may be configured to determine whether a third-party application currently launched by the electronic device 100 has permission to use the enhanced function of the electronic device. In some embodiments, the processor 110 may be further configured to determine the enhanced function currently provided to the user under the condition that the currently launched third-party application has permission to use the enhanced function of the electronic device. For the manner in which the processor 110 determines the enhanced function currently provided to the user, reference may be made to the related descriptions in the subsequent embodiments, and details are not described herein again.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces. For example, the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 . In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160 . For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc. In some embodiments, the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 . The processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号 调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
在本申请实施例中,显示屏194可用于显示控件,该控件可用于监听展开显示电子设备当前可提供的增强功能所对应的控件的操作。响应于该操作,显示屏194还可以用于显示电子设备当前提供的增强功能所对应的控件。电子设备当前提供的增强功能所对应的控件可用于监听启用对应的增强功能的操作。电子设备确定当前提供给用户的增强功能的方式可参照后续实施例的相关描述,在此不再赘述。In this embodiment of the present application, the display screen 194 may be used to display a control, and the control may be used to monitor an operation of expanding and displaying a control corresponding to an enhanced function currently provided by the electronic device. In response to this operation, the display screen 194 may also be used to display controls corresponding to enhanced functions currently provided by the electronic device. The control corresponding to the enhanced function currently provided by the electronic device can be used to monitor the operation of enabling the corresponding enhanced function. For the manner in which the electronic device determines the enhanced function currently provided to the user, reference may be made to the related descriptions in the subsequent embodiments, and details are not described herein again.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。Internal memory 121 may be used to store computer executable program code, which includes instructions. The internal memory 121 may include a storage program area and a storage data area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通 过扬声器170A收听音乐,或收听免提通话。 Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or a voice message, the voice can be answered by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
按键180包括开机键,音量键等。按键180可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 180 include a power-on key, a volume key, and the like. Keys 180 may be mechanical keys. It can also be a touch key. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
马达181可以产生振动提示。马达181可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达181也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 181 can generate vibrating cues. The motor 181 can be used for incoming call vibration alerts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 181 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器182可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 182 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
SIM卡接口185用于连接SIM卡。SIM卡可以通过插入SIM卡接口185,或从SIM卡接口185拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口185可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口185可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口185也可以兼容不同类型的SIM卡。SIM卡接口185也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 185 is used to connect a SIM card. The SIM card can be inserted into the SIM card interface 185 or pulled out from the SIM card interface 185 to achieve contact and separation with the electronic device 100 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 185 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 185 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 185 can also be compatible with different types of SIM cards. The SIM card interface 185 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .

Claims (12)

  1. 一种视频笔记生成方法,其特征在于,包括:A method for generating video notes, comprising:
    电子设备获取一条或多条视频标签,所述一条或多条视频标签中的每条视频标签包括第一关键词和第一时刻,所述第一关键词为预设关键词中的任意一个,所述第一时刻为识别到所述第一关键词的时间点,其中,所述每条视频标签是根据接收到的视频生成的;The electronic device acquires one or more video tags, and each video tag in the one or more video tags includes a first keyword and a first moment, and the first keyword is any one of the preset keywords, The first moment is the time point when the first keyword is recognized, wherein each video tag is generated according to the received video;
    电子设备获取一条或多条笔记标签,所述一条或多条笔记标签中的每条笔记标签包括第二关键词和时间区间,所述第二关键词为所述预设关键词中的任意一个,所述时间区间包括用户记录一条笔记标签对应的笔记的起始时间点和结束时间点,所述笔记是所述用户根据所述视频的内容记录的;The electronic device acquires one or more note tags, each note tag in the one or more note tags includes a second keyword and a time interval, and the second keyword is any one of the preset keywords , the time interval includes a start time point and an end time point when the user records a note corresponding to a note label, and the note is recorded by the user according to the content of the video;
    根据目标笔记标签,在所述一条或多条视频标签中匹配目标视频标签,将所述目标笔记标签对应的笔记和所述目标视频标签进行关联,所述目标笔记标签为所述一条或多条笔记标签中的任意一条。According to the target note tag, match the target video tag in the one or more video tags, and associate the note corresponding to the target note tag with the target video tag, and the target note tag is the one or more Any of the note tags.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述一条或多条视频标签中匹配目标视频标签,包括:The method according to claim 1, wherein the matching the target video tag in the one or more video tags comprises:
    获取目标关键词,在所述一条或多条视频标签中查询所述第一关键词与所述目标关键词相同的视频标签,得到第一视频标签集合,所述目标关键词为所述目标笔记标签对应的第二关键词;Obtain the target keyword, query the video tags with the same first keyword and the target keyword in the one or more video tags, and obtain the first video tag set, and the target keyword is the target note The second keyword corresponding to the tag;
    获取所述目标笔记标签对应的起始时间点和终止时间点;根据预设条件,提取所述第一视频标签集合中符合所述预设条件的目标视频标签,所述预设条件包括所述目标视频标签中的第一时刻早于所述目标笔记标签对应的起始时间点,且所述目标视频标签中的第一时刻是所述第一视频标签集合中最早的时刻。Obtain the start time point and the end time point corresponding to the target note label; according to preset conditions, extract the target video labels that meet the preset conditions in the first video label set, and the preset conditions include the The first moment in the target video tag is earlier than the start time point corresponding to the target note tag, and the first moment in the target video tag is the earliest moment in the first video tag set.
  3. 根据权利要求2所述的方法,其特征在于,所述每条笔记标签还包括页码,所述一条或多条笔记标签按照页码从小到大排列,其中,页码值越小表示用户记录与所述页码对应的笔记越早,所述预设条件还包括:The method according to claim 2, wherein each note label further includes a page number, and the one or more note labels are arranged according to the page number from small to large, wherein a smaller page number value indicates that the user record is related to the said page number. The earlier the note corresponding to the page number is, the preset conditions further include:
    所述目标视频标签中的第一时刻晚于第一笔记标签对应的结束时间点,所述第一笔记标签排列在所述目标笔记标签之前且与所述目标笔记标签相邻。The first time in the target video tag is later than the end time point corresponding to the first note tag, and the first note tag is arranged before and adjacent to the target note tag.
  4. 根据权利要求3所述的方法,其特征在于,所述将所述目标笔记标签对应的笔记和所述目标视频标签进行关联,包括:The method according to claim 3, wherein the associating the note corresponding to the target note label with the target video label comprises:
    将所述目标视频标签中的第一时刻与所述目标笔记标签对应的终止时间点之间的目标视频,与所述目标笔记标签对应的笔记进行关联。The target video between the first moment in the target video tag and the termination time point corresponding to the target note tag is associated with the note corresponding to the target note tag.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    获取所述视频以及与所述视频对应的语音,根据所述语音识别所述预设关键词,在识别到所述第一关键词时,生成一条所述视频标签。Acquire the video and the voice corresponding to the video, recognize the preset keyword according to the voice, and generate a video tag when the first keyword is recognized.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method according to claim 5, wherein the method further comprises:
    获取用户选择的所述第二关键词,并记录获取到所述第二关键词的时间点作为所述起始时间点;Obtain the second keyword selected by the user, and record the time point at which the second keyword is obtained as the starting time point;
    获取用户触发的翻页指令,记录获取到所述翻页指令的时间点作为结束时间点,并生成一条所述笔记标签,所述翻页指令指示用户完成一页笔记的记录。The page turning instruction triggered by the user is acquired, the time point when the page turning instruction is obtained is recorded as the end time point, and a note label is generated, and the page turning instruction instructs the user to complete the recording of a page of notes.
  7. 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:The method according to claim 3 or 4, wherein the method further comprises:
    电子设备在检测到所述用户在查看所述目标笔记标签对应的笔记时,播放所述目标视频。The electronic device plays the target video when detecting that the user is viewing the note corresponding to the target note tag.
  8. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    电子设备在检测到播放所述目标视频时,所述电子设备在屏幕显示所述目标笔记标签对应的笔记。When the electronic device detects that the target video is played, the electronic device displays the note corresponding to the target note tag on the screen.
  9. 根据权利要求8所述的方法,其特征在于,所述视频是所述电子设备录制的视频或者所述电子设备通过网络接收的视频。The method according to claim 8, wherein the video is a video recorded by the electronic device or a video received by the electronic device through a network.
  10. 一种电子设备,包括:一个或多个功能模块,所述一个或多个功能模块用于执行如权利要求1-9任一项所述的方法。An electronic device, comprising: one or more functional modules, the one or more functional modules are used to execute the method according to any one of claims 1-9.
  11. 一种计算机设备,包括存储器、处理器以及存储在所述存储器上并在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时使得所述计算机设备实现如权利要求1-9任一项所述的方法。A computer device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, when the processor executes the computer program, the computer device realizes the following: The method of any one of claims 1-9.
  12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得所述计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores instructions, when executed on a computer, causing the computer to execute the method according to any one of claims 1-9 .
PCT/CN2021/117569 2020-10-30 2021-09-10 Method for generating video note and electronic device WO2022089034A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011193993.0 2020-10-30
CN202011193993.0A CN114449333B (en) 2020-10-30 2020-10-30 Video note generation method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022089034A1 true WO2022089034A1 (en) 2022-05-05

Family

ID=81357576

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117569 WO2022089034A1 (en) 2020-10-30 2021-09-10 Method for generating video note and electronic device

Country Status (2)

Country Link
CN (1) CN114449333B (en)
WO (1) WO2022089034A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115934647A (en) * 2022-10-21 2023-04-07 广州文石信息科技有限公司 Note label generation method and device, storage medium and computer equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134650A (en) * 2022-06-27 2022-09-30 上海哔哩哔哩科技有限公司 Video note display method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140280186A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Crowdsourcing and consolidating user notes taken in a virtual meeting
US20180211552A1 (en) * 2017-01-20 2018-07-26 Coursera, Inc. Smart bookmarks
CN109672940A (en) * 2018-12-11 2019-04-23 北京新鼎峰软件科技有限公司 Video playback method and video playback system based on note contents
CN110381382A (en) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 Video takes down notes generation method, device, storage medium and computer equipment
CN110569393A (en) * 2019-09-05 2019-12-13 杭州米络星科技(集团)有限公司 Short video cutting method for air classroom

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5799315A (en) * 1995-07-07 1998-08-25 Sun Microsystems, Inc. Method and apparatus for event-tagging data files automatically correlated with a time of occurence in a computer system
US9236047B2 (en) * 2010-05-21 2016-01-12 Microsoft Technology Licensing, Llc Voice stream augmented note taking
US20120245936A1 (en) * 2011-03-25 2012-09-27 Bryan Treglia Device to Capture and Temporally Synchronize Aspects of a Conversation and Method and System Thereof
US20140033040A1 (en) * 2012-07-24 2014-01-30 Apple Inc. Portable device with capability for note taking while outputting content
CN105898544A (en) * 2016-05-23 2016-08-24 乐视控股(北京)有限公司 Video playing method and device
CN107707936A (en) * 2016-08-09 2018-02-16 作业帮教育科技(北京)有限公司 Video playback method and device during online question-answering
CN108009140A (en) * 2017-11-27 2018-05-08 上海爱优威软件开发有限公司 A kind of end message edit methods and system
CN109246472A (en) * 2018-08-01 2019-01-18 平安科技(深圳)有限公司 Video broadcasting method, device, terminal device and storage medium
CN109145149B (en) * 2018-08-16 2021-05-04 科大讯飞股份有限公司 Information alignment method, device, equipment and readable storage medium
US10657176B1 (en) * 2019-06-11 2020-05-19 Amazon Technologies, Inc. Associating object related keywords with video metadata
CN110223365A (en) * 2019-06-14 2019-09-10 广东工业大学 A kind of notes generation method, system, device and computer readable storage medium
CN110347866B (en) * 2019-07-05 2023-06-23 联想(北京)有限公司 Information processing method, information processing device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140280186A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Crowdsourcing and consolidating user notes taken in a virtual meeting
US20180211552A1 (en) * 2017-01-20 2018-07-26 Coursera, Inc. Smart bookmarks
CN109672940A (en) * 2018-12-11 2019-04-23 北京新鼎峰软件科技有限公司 Video playback method and video playback system based on note contents
CN110381382A (en) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 Video takes down notes generation method, device, storage medium and computer equipment
CN110569393A (en) * 2019-09-05 2019-12-13 杭州米络星科技(集团)有限公司 Short video cutting method for air classroom

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115934647A (en) * 2022-10-21 2023-04-07 广州文石信息科技有限公司 Note label generation method and device, storage medium and computer equipment
CN115934647B (en) * 2022-10-21 2023-10-13 广州文石信息科技有限公司 Notebook label generation method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN114449333B (en) 2023-09-01
CN114449333A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN109660842B (en) Method for playing multimedia data and electronic equipment
WO2021078284A1 (en) Content continuation method and electronic device
WO2020249098A1 (en) Bluetooth communication method, tws bluetooth headset, and terminal
WO2021052214A1 (en) Hand gesture interaction method and apparatus, and terminal device
WO2020224449A1 (en) Split-screen display operation method and electronic device
WO2022100610A1 (en) Screen projection method and apparatus, and electronic device and computer-readable storage medium
WO2020173370A1 (en) Method for moving application icons, and electronic device
WO2020168968A1 (en) Control method for electronic device having foldable screen, and electronic device
WO2022089034A1 (en) Method for generating video note and electronic device
WO2020119464A1 (en) Video splitting method and electronic device
WO2022037463A1 (en) Function switching entry determining method and electronic device
CN114115674B (en) Method for positioning sound recording and document content, electronic equipment and storage medium
WO2022116930A1 (en) Content sharing method, electronic device, and storage medium
WO2022042769A2 (en) Multi-screen interaction system and method, apparatus, and medium
CN115278377A (en) Method for continuously playing multimedia content between devices
WO2023024852A1 (en) Short message notification method and electronic terminal device
CN114115770A (en) Display control method and related device
WO2022042768A1 (en) Index display method, electronic device, and computer readable storage medium
EP4266208A1 (en) Video switching method and apparatus, storage medium, and device
WO2022062884A1 (en) Text input method, electronic device, and computer-readable storage medium
CN113497851B (en) Control display method and electronic equipment
CN113593567A (en) Method for converting video and sound into text and related equipment
WO2023029916A1 (en) Annotation display method and apparatus, terminal device, and readable storage medium
WO2022095752A1 (en) Frame demultiplexing method, electronic device and storage medium
WO2022183941A1 (en) Message reply method and device

Legal Events

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

Ref document number: 21884764

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21884764

Country of ref document: EP

Kind code of ref document: A1