CN110855921B - Video recording control method and electronic equipment - Google Patents

Video recording control method and electronic equipment Download PDF

Info

Publication number
CN110855921B
CN110855921B CN201911101487.1A CN201911101487A CN110855921B CN 110855921 B CN110855921 B CN 110855921B CN 201911101487 A CN201911101487 A CN 201911101487A CN 110855921 B CN110855921 B CN 110855921B
Authority
CN
China
Prior art keywords
video
video recording
target
recording area
target video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911101487.1A
Other languages
Chinese (zh)
Other versions
CN110855921A (en
Inventor
徐立桐
顾瀚之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911101487.1A priority Critical patent/CN110855921B/en
Publication of CN110855921A publication Critical patent/CN110855921A/en
Application granted granted Critical
Publication of CN110855921B publication Critical patent/CN110855921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/93Regeneration of the television signal or of selected parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention provides a video recording control method and electronic equipment. The method comprises the following steps: receiving a first input of a user; responding to the first input, starting video recording, and displaying a video recording interface, wherein the video recording interface comprises at least two video recording areas; receiving a first voice input of a user in a video recording process; responding to the first voice input, and under the condition that a target keyword exists in the first voice input, performing video editing processing on a target video image corresponding to a target video recording area according to the target keyword, wherein the target video recording area is at least one of at least two video recording areas, and the video editing processing comprises the following steps: at least one of a video pause recording, a video addition, and a video replacement. The method of the invention edits the video image in the video recording area through the keyword, increases the interest of video recording, diversifies the video recording mode and meets the individual requirements of video recording of users.

Description

一种视频录制控制方法及电子设备A video recording control method and electronic device

技术领域technical field

本发明实施例涉及通信应用技术领域,尤其涉及一种视频录制控制方法及电子设备。Embodiments of the present invention relate to the technical field of communication applications, and in particular, to a video recording control method and an electronic device.

背景技术Background technique

随着智能手机的发展,手机已经成为人们生活中的必需品。人们可以用手机录制视频,保存起来作为记忆或者上传到社交类应用程序上分享给朋友们观看,视频录制功能是人们使用手机时不可或缺的一种功能。With the development of smart phones, mobile phones have become a necessity in people's lives. People can record videos with their mobile phones, save them as memories or upload them to social apps and share them with friends. The video recording function is an indispensable function when people use mobile phones.

尽管视频录制功能是人们常用的功能,但现有的手机上录制视频方式比较单一,一般是简单的点击录像按钮开始录像,再次点击录像按钮停止录像,又或者稍微加一点小配饰如帽子等功能,趣味性不高,无法满足人们日益增长的需求;而人们想完成趣味视频,需要将录制的原始视频在计算机上通过工具完成拼接,很不方便。Although the video recording function is a commonly used function, the existing video recording methods on mobile phones are relatively simple. Generally, simply click the record button to start recording, click the record button again to stop recording, or add some small accessories such as hats and other functions. , the interest is not high, and it cannot meet people's growing needs; and people want to complete interesting videos, they need to splicing the recorded original videos on the computer through tools, which is very inconvenient.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种视频录制控制方法及电子设备,以解决现有电子设备录制视频方式单一,无法满足用户视频录制的个性化需求的问题。Embodiments of the present invention provide a video recording control method and an electronic device, so as to solve the problem that the existing electronic device has a single way of recording video and cannot meet the individual needs of users for video recording.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,本发明的实施例提供了一种视频录制控制方法,应用于电子设备,包括:In a first aspect, an embodiment of the present invention provides a video recording control method, applied to an electronic device, including:

接收用户的第一输入;receiving the first input from the user;

响应于所述第一输入,开启视频录制,并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;In response to the first input, start video recording, and display a video recording interface, the video recording interface includes at least two video recording areas;

在视频录制过程中,接收用户的第一语音输入;During the video recording process, receiving the first voice input of the user;

响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理;In response to the first voice input, if there is a target keyword in the first voice input, perform video editing processing on the target video image corresponding to the target video recording area according to the target keyword;

其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换中的至少一者。The target video recording area is at least one of the at least two video recording areas, and the video editing process includes: at least one of video pause recording, video addition, and video replacement.

第二方面,本发明的实施例还提供了一种电子设备,包括:In a second aspect, an embodiment of the present invention also provides an electronic device, including:

第一接收模块,用于接收用户的第一输入;a first receiving module, configured to receive the first input of the user;

开启模块,用于响应于所述第一输入,开启视频录制,并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;an enabling module for enabling video recording in response to the first input, and displaying a video recording interface, where the video recording interface includes at least two video recording areas;

第二接收模块,用于在视频录制过程中,接收用户的第一语音输入;The second receiving module is used for receiving the first voice input of the user during the video recording process;

编辑处理模块,用于响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理;The editing processing module is configured to, in response to the first voice input, in the case of a target keyword in the first voice input, according to the target keyword, perform video recording on the target video image corresponding to the target video recording area edit processing;

其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换中的至少一者。The target video recording area is at least one of the at least two video recording areas, and the video editing process includes: at least one of video pause recording, video addition, and video replacement.

第三方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的视频录制控制方法的步骤。In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor When executed, the steps of the video recording control method as described above are realized.

第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的视频录制控制方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned video recording control method is implemented A step of.

本发明实施例的上述方案中,通过接收用户的第一输入;响应于所述第一输入,开启视频录制,并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;在视频录制过程中,接收用户的第一语音输入;响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理;其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换中的至少一者,如此,通过关键字,对目标视频录制区域对应的目标视频图像进行编辑处理,增加了视频录制的趣味性,使得视频录制方式多样化,满足用户视频录制的个性化需求。In the above solution of the embodiment of the present invention, the first input from the user is received; in response to the first input, video recording is started, and a video recording interface is displayed, and the video recording interface includes at least two video recording areas; During the recording process, the user's first voice input is received; in response to the first voice input, in the case where a target keyword exists in the first voice input, according to the target keyword, the target video recording area corresponds to The target video image is subjected to video editing processing; wherein, the target video recording area is at least one of the at least two video recording areas, and the video editing processing includes: video pause recording, video addition, and video replacement. At least one, in this way, the target video image corresponding to the target video recording area is edited and processed through keywords, which increases the fun of video recording, diversifies video recording methods, and meets the individual needs of users for video recording.

附图说明Description of drawings

图1为本发明实施例提供的视频录制控制方法的流程示意图;1 is a schematic flowchart of a video recording control method provided by an embodiment of the present invention;

图2为本发明实施例的视频录制界面中视频录制区域的示意图;2 is a schematic diagram of a video recording area in a video recording interface according to an embodiment of the present invention;

图3为本发明实施例的视频录制界面中视频控件的示意图;3 is a schematic diagram of a video control in a video recording interface according to an embodiment of the present invention;

图4为本发明实施例提供的电子设备的结构示意图;4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;

图5为本发明实施例提供的电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

如图1所示,为本发明实施例提供的视频录制控制方法的流程示意图,该方法应用于电子设备。下面就该图具体说明该方法的实施过程。As shown in FIG. 1 , it is a schematic flowchart of a video recording control method provided by an embodiment of the present invention, and the method is applied to an electronic device. The implementation process of the method will be specifically described below with reference to the figure.

步骤101,接收用户的第一输入;Step 101, receiving the first input of the user;

本步骤中,第一输入为预先设备的输入。较优地,该第一输入为可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第一输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合操作。In this step, the first input is the input of the pre-device. Preferably, the first input may include, but is not limited to, at least one of click input, press input, long-press input, pinch input, drag input, slide input, and swipe input, that is, the first input. An input can be one of the above-mentioned inputs, or it can be a combined operation of two or more of them.

可选地,本步骤可具体包括:接收用户对视频录制界面的第一输入。Optionally, this step may specifically include: receiving a first input from the user on the video recording interface.

一般地,第一输入是对视频录制界面中用于开启或关闭视频录制的虚拟按钮的点击输入。Generally, the first input is a click input to a virtual button used to turn on or off video recording in the video recording interface.

步骤102,响应于所述第一输入,开启视频录制,并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;Step 102, in response to the first input, enable video recording, and display a video recording interface, where the video recording interface includes at least two video recording areas;

步骤103,在视频录制过程中,接收用户的第一语音输入;Step 103, during the video recording process, receive the first voice input of the user;

步骤104,响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理;其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换中的至少一者。Step 104, in response to the first voice input, in the case that there is a target keyword in the first voice input, perform video editing processing on the target video image corresponding to the target video recording area according to the target keyword; The target video recording area is at least one of the at least two video recording areas, and the video editing process includes: at least one of video pause recording, video addition, and video replacement.

本步骤中,作为一可选地实现方式,可通过对用户的第一语音输入进行语音识别,识别是否存在目标关键字。In this step, as an optional implementation manner, whether there is a target keyword may be identified by performing voice recognition on the user's first voice input.

本发明实施例的视频录制控制方法,通过接收用户的第一输入;响应于所述第一输入,开启视频录制,并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;在视频录制过程中,接收用户的第一语音输入;响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域中对应的目标视频图像进行视频编辑处理;其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换处理中的至少一者,如此,通过关键字,对目标视频录制区域对应的目标视频图像进行编辑处理,增加了视频录制的趣味性,使得视频录制方式多样化,满足用户视频录制的个性化需求。In the video recording control method according to the embodiment of the present invention, the first input from the user is received; in response to the first input, video recording is started, and a video recording interface is displayed, and the video recording interface includes at least two video recording areas; During the video recording process, the user's first voice input is received; in response to the first voice input, if a target keyword exists in the first voice input, the target video recording area is recorded according to the target keyword. Perform video editing processing on the corresponding target video image in In at least one of the processing, in this way, the target video image corresponding to the target video recording area is edited and processed through keywords, which increases the interest of video recording, diversifies video recording methods, and meets the personalized needs of users for video recording. .

基于图1所示的实施例,作为一可选地实现方式,在步骤102之后,步骤103之前,所述方法还可包括:Based on the embodiment shown in FIG. 1, as an optional implementation manner, after step 102 and before step 103, the method may further include:

对所述视频录制界面进行区域划分,划分为至少两个视频录制区域。The video recording interface is divided into at least two video recording areas.

可选地,可通过预先设置的划分方式,对所述视频录制界面进行区域划分,将视频录制界面划分为至少两个视频录制区域。Optionally, the video recording interface may be divided into regions by a preset division manner, and the video recording interface may be divided into at least two video recording regions.

当然,还可通过用户操作对视频录制界面进行区域划分,这里具体的划分方式不做限定。Of course, the video recording interface can also be divided into regions through user operations, and the specific division method is not limited here.

进一步地,为了方便用户查看各视频录制区域,便于通过用户操作触发对视频录制区域的编辑处理,以及对编辑处理后的视频录制区域的实时查看视频录制情况,优选的,在上述对所述视频录制界面进行区域划分,划分为至少两个视频录制区域之后,所述方法还包括:Further, in order to facilitate the user to view each video recording area, to trigger the editing processing of the video recording area through user operations, and to view the video recording situation in real time of the edited video recording area, preferably, in the above-mentioned video recording After the recording interface is divided into at least two video recording areas, the method further includes:

显示将所述视频录制界面划分为所述至少两个视频录制区域的区域划分线。A region dividing line dividing the video recording interface into the at least two video recording regions is displayed.

如图2所示,视频录制界面被划分为四个视频录制区域,由相交的两条区域划分线,即区域划分线A以及区域划分线B区分出来。As shown in FIG. 2 , the video recording interface is divided into four video recording areas, which are distinguished by two intersecting area dividing lines, namely, the area dividing line A and the area dividing line B.

基于图1所示的实施例,作为一可选地实现方式,本发明方法的步骤104中根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理,可以具体包括:Based on the embodiment shown in FIG. 1 , as an optional implementation manner, in step 104 of the method of the present invention, video editing processing is performed on the target video image corresponding to the target video recording area according to the target keyword, which may specifically include:

根据预先设置的关键字与视频编辑处理的第一对应关系,确定与所述目标关键字对应的目标视频编辑处理;determining the target video editing process corresponding to the target keyword according to the preset first correspondence between the keyword and the video editing process;

本步骤中,关键字与视频编辑处理的第一对应关系可以通过用户自行设置,也可以采用系统默认设置。In this step, the first correspondence between keywords and video editing processing can be set by the user, or a system default setting can be adopted.

需要说明的是,在未开启视频录制时,可预先设置关键字与视频编辑处理的第一对应关系。这里,第一对应关系可通过表格形式存储于电子设备中。It should be noted that, when video recording is not enabled, a first correspondence between keywords and video editing processing may be preset. Here, the first correspondence may be stored in the electronic device in a table form.

基于所述目标关键字,确定目标视频录制视频区域;Based on the target keyword, determine the target video recording video area;

这里,基于所述目标关键字,确定目标视频录制区域可以包括以下两种实现方式:Here, based on the target keyword, determining the target video recording area may include the following two implementations:

方式一,根据预先设置的关键字与视频录制区域的第二对应关系,确定与所述目标关键字对应的视频录制区域为目标视频录制区域;Mode 1: According to the preset second correspondence between keywords and video recording areas, determine the video recording area corresponding to the target keyword as the target video recording area;

这里,关键字与视频录制区域的第二对应关系可以通过用户自行设置,也可以采用系统默认设置。Here, the second correspondence between the keyword and the video recording area may be set by the user, or a system default setting may be adopted.

需要说明的是,在未开启视频录制时,可预先设置关键字与视频录制区域的第二对应关系。这里,第二对应关系可通过表格形式存储于电子设备中。It should be noted that, when video recording is not enabled, a second correspondence between keywords and video recording areas may be preset. Here, the second correspondence may be stored in the electronic device in a table form.

方式二,将视频录制界面中与所述目标关键字相关联的录制对象所在的视频录制区域确定为目标视频录制区域。In a second manner, the video recording area where the recording object associated with the target keyword is located in the video recording interface is determined as the target video recording area.

需要说明的是,电子设备根据所述目标关键字识别出视频录制界面中与该目标关键字相关联的录制对象所在的视频录制区域,并将该视频录制区域确定为目标视频录制区域。It should be noted that, according to the target keyword, the electronic device identifies the video recording area where the recording object associated with the target keyword is located in the video recording interface, and determines the video recording area as the target video recording area.

比如,监测到的目标关键字为气球,则电子设备会自动识别视频录制界面中与气球相关联的录制对象,即识别视频录制界面中是否存在气球,并将识别到的气球所在的视频录制区域确定为目标视频录制区域。For example, if the detected target keyword is balloon, the electronic device will automatically identify the recording object associated with the balloon in the video recording interface, that is, identify whether there is a balloon in the video recording interface, and record the video recording area where the identified balloon is located. Determine the target video recording area.

可选地,所述目标视频编辑处理为视频添加;则对所述目标视频录制区域对应的目标视频图像进行目标视频编辑处理的步骤,可具体包括:在所述目标视频录制区域对应的目标视频图像中添加与所述目标关键字相关联的第一视频。Optionally, the target video editing processing is video addition; then the step of performing target video editing processing on the target video image corresponding to the target video recording area may specifically include: a target video corresponding to the target video recording area. A first video associated with the target keyword is added to the image.

这里,为了方便用户在视频录制过程中对已添加的视频的进行后续的筛选处理,作为一可选地实现方式,在所述目标视频录制区域中添加与所述目标关键字相关联的第一视频之后,所述方法还包括:Here, in order to facilitate the user to perform subsequent screening of the added videos during the video recording process, as an optional implementation manner, add a first keyword associated with the target keyword in the target video recording area. After the video, the method further includes:

接收对所述视频录制界面中的视频控件的第二输入;receiving a second input to a video control in the video recording interface;

本步骤中,可选地,视频录制界面中的视频控件为透明的圆形圈,如图3所示,视频控件1为透明的圆形圈。圆形圈为透明的,其目的是不妨碍用户的视频录制。In this step, optionally, the video control in the video recording interface is a transparent circle. As shown in FIG. 3 , the video control 1 is a transparent circle. The circle is transparent and its purpose is not to interfere with the user's video recording.

这里,第二输入为预先设备的输入。较优地,该第二输入为可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第二输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合操作。Here, the second input is the input of the pre-device. Preferably, the second input may include, but is not limited to, at least one of click input, press input, long-press input, pinch input, drag input, slide input, and swipe input, that is, the first input. The second input can be one of the above-mentioned inputs, or it can also be a combined operation of two or more of the above inputs.

较优地,第二输入为点击输入,即对视频控件的点击输入。Preferably, the second input is a click input, that is, a click input on a video control.

响应于所述第二输入,将在视频录制过程中所添加的视频以列表方式显示于所述视频录制界面;In response to the second input, the videos added during the video recording process are displayed on the video recording interface in a list manner;

这里,将视频录制过程中所添加的视频以列表方式显示于所述视频录制界面,其目的是方便用户的查看与筛选。Here, the videos added during the video recording process are displayed on the video recording interface in a list manner, the purpose of which is to facilitate the user's viewing and screening.

接收对所述列表中目标视频的第三输入;receiving a third input to the target video in the list;

这里,第三输入为预先设备的输入。较优地,该第三输入为可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第三输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合操作。Here, the third input is a pre-device input. Preferably, the third input may include, but is not limited to, at least one of click input, press input, long-press input, pinch input, drag input, slide input, and swipe input, that is, the third input. The three inputs can be one of the above inputs, or can be a combination of two or more of them.

较优地,第三输入为点击输入。Preferably, the third input is a click input.

响应于所述第三输入,删除之前添加在所述视频录制界面中的所述目标视频。In response to the third input, the target video previously added in the video recording interface is deleted.

可选地,所述目标视频编辑处理为视频替换;则对所述目标视频录制区域对应的目标视频图像进行目标视频编辑处理的步骤,可具体包括:将所述目标视频录制区域对应的目标视频图像替换为与所述目标关键字相关联的第二视频。Optionally, the target video editing processing is video replacement; then the step of performing target video editing processing on the target video image corresponding to the target video recording area may specifically include: converting the target video corresponding to the target video recording area. The image is replaced with a second video associated with the target keyword.

需要说明的是,上述无论是视频添加还是视频替换,其与关键字相关联的视频,可预先通过用户自行配置,即用户可以通过电子设备的配置界面,配置相关关键字与对应的关联视频。在后续的使用过程中也可添加和更改参考图,对于用户随意绘制的参考图,电子设备可予以保存。It should be noted that, whether the above is video addition or video replacement, the video associated with the keyword can be pre-configured by the user, that is, the user can configure the relevant keyword and the corresponding associated video through the configuration interface of the electronic device. Reference pictures can also be added and changed in the subsequent use process, and the electronic device can save the reference pictures drawn by the user at will.

另外,与关键字相关联的视频,还可采用系统默认设置,或者,通过访问服务器(即网上搜索)实时获取与关键字相关联的视频。In addition, for the video associated with the keyword, the default setting of the system may also be adopted, or the video associated with the keyword may be acquired in real time by accessing the server (ie, searching on the Internet).

可选地,所述目标视频编辑处理为视频暂停录制;则对所述目标视频录制区域对应的目标视频图像进行目标视频编辑处理的步骤,可具体包括:暂停所述目标视频录制区域上的视频录制;基于此,在暂停所述目标视频录制区域上的视频录制之后,本发明的方法还可包括:Optionally, the target video editing processing is video pause recording; then the step of performing target video editing processing on the target video image corresponding to the target video recording area may specifically include: pausing the video on the target video recording area recording; based on this, after pausing the video recording on the target video recording area, the method of the present invention may further include:

接收用户的第二语音输入;receiving a second voice input from the user;

响应于所述第二语音输入,在所述第二语音输入中存在第二目标关键字的情况下,继续对所述目标视频录制区域进行视频录制。In response to the second voice input, if the second target keyword exists in the second voice input, continue to perform video recording on the target video recording area.

需要说明的是,对于视频暂停录制对应的关键字,除预先设置外,还可由系统随机设定,用户可选择关键字随机模式,那么系统会随机选择某些关键字作为禁字,即用于暂停视频录制的关键字。It should be noted that, in addition to the preset settings, the keywords corresponding to the video pause recording can also be randomly set by the system. The user can select the keyword random mode, and the system will randomly select certain keywords as forbidden words, which are used for Keyword to pause video recording.

当电子设备监听到目标关键字为系统随机设定的关键字,则暂停对目标视频录制区域的视频录制。如此,能够增加视频录制的趣味性。When the electronic device monitors that the target keyword is a keyword randomly set by the system, it suspends the video recording in the target video recording area. In this way, the fun of video recording can be increased.

需要说明的是,本发明实施例的视频录制控制方法,能够对正在录制的视频进行视频编辑处理,一方面能够提高视频录制的趣味性,另一方面还避免了后期处理视频的复杂性。It should be noted that the video recording control method of the embodiment of the present invention can perform video editing processing on the video being recorded, which can improve the fun of video recording on the one hand, and avoid the complexity of post-processing video on the other hand.

基于图1所示的实施例,作为一可选地实现方式,在步骤104之后,本发明的方法还可包括:Based on the embodiment shown in FIG. 1, as an optional implementation manner, after step 104, the method of the present invention may further include:

接收对所述视频录制界面的第四输入;receiving a fourth input to the video recording interface;

本步骤中,第四输入为预先设备的输入。较优地,该第四输入为可以包括但不限于点击输入、按压输入、长按输入、捏合输入、拖拽输入、滑动输入和划动输入中的至少一种,也即是说,该第四输入可以为上述输入中的其中一种,或者也可以为其中两种或以上输入的组合操作。In this step, the fourth input is the input of the pre-device. Preferably, the fourth input may include, but is not limited to, at least one of click input, press input, long-press input, pinch input, drag input, slide input, and swipe input, that is, the fourth input. The four inputs can be one of the above inputs, or can be a combination of two or more of them.

一般地,第四输入是对视频录制界面中用于开启或关闭视频录制的虚拟按钮的点击输入。Generally, the fourth input is a click input to a virtual button in the video recording interface for enabling or disabling video recording.

响应于所述第四输入,停止视频录制,保存经视频编辑处理后的整个录制视频。In response to the fourth input, video recording is stopped, and the entire recorded video after video editing processing is saved.

本步骤中,整个录制视频不仅包括用户实时录制下来的视频,还包括对目标视频录制子界面进行视频编辑处理后的视频。In this step, the entire recorded video includes not only the video recorded by the user in real time, but also the video after video editing processing is performed on the target video recording sub-interface.

本发明实施例的视频录制控制方法,通过接收用户的第一输入;响应于所述第一输入,开启视频录制,并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;在视频录制过程中,接收用户的第一语音输入;响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理;其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换中的至少一者,如此,通过关键字,对目标视频录制区域中的目标视频图像进行编辑处理,增加了视频录制的趣味性,使得视频录制方式多样化,满足用户视频录制的个性化需求。In the video recording control method according to the embodiment of the present invention, the first input from the user is received; in response to the first input, video recording is started, and a video recording interface is displayed, and the video recording interface includes at least two video recording areas; During the video recording process, the user's first voice input is received; in response to the first voice input, if a target keyword exists in the first voice input, the target video recording area is recorded according to the target keyword. The corresponding target video image is subjected to video editing processing; wherein, the target video recording area is at least one of the at least two video recording areas, and the video editing processing includes: video pause recording, video addition, and video replacement In at least one of the above, the target video image in the target video recording area is edited and processed through keywords, which increases the fun of video recording, diversifies video recording methods, and meets the individual needs of users for video recording.

基于上述方法,本发明实施例提供一种用以实现上述方法的电子设备。Based on the above method, an embodiment of the present invention provides an electronic device for implementing the above method.

如图4所示,为本发明实施例提供的电子设备的结构示意图。本发明实施例提供一种电子设备400,该电子设备400可以包括:As shown in FIG. 4 , it is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. An embodiment of the present invention provides an electronic device 400, and the electronic device 400 may include:

第一接收模块401,用于接收用户的第一输入;a first receiving module 401, configured to receive a first input from a user;

开启模块402,用于响应于所述第一输入,开启视频录制,并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;an enabling module 402, configured to enable video recording in response to the first input, and display a video recording interface, where the video recording interface includes at least two video recording areas;

第二接收模块403,用于在视频录制过程中,接收用户的第一语音输入;The second receiving module 403 is configured to receive the first voice input of the user during the video recording process;

编辑处理模块404,用于响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理,其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换中的至少一者。The editing processing module 404 is configured to, in response to the first voice input, under the condition that a target keyword exists in the first voice input, according to the target keyword, perform a target video image corresponding to the target video recording area. Video editing processing, wherein the target video recording area is at least one of the at least two video recording areas, and the video editing processing includes: at least one of video pause recording, video addition, and video replacement.

可选地,所述电子设备400还包括:Optionally, the electronic device 400 further includes:

区域划分模块,用于对所述视频录制界面进行区域划分,划分为至少两个视频录制区域。The area division module is configured to divide the video recording interface into at least two video recording areas.

可选地,所述电子设备400还包括:Optionally, the electronic device 400 further includes:

第一显示模块,用于显示将所述视频录制界面划分为所述至少两个视频录制区域的区域划分线。The first display module is configured to display an area dividing line dividing the video recording interface into the at least two video recording areas.

可选地,所述编辑处理模块404可包括:Optionally, the editing processing module 404 may include:

第一处理单元,用于根据预先设置的关键字与视频编辑处理的第一对应关系,确定与所述目标关键字对应的目标视频编辑处理;a first processing unit, configured to determine a target video editing process corresponding to the target keyword according to a preset first correspondence between the keyword and the video editing process;

第二处理单元,用于基于所述目标关键字,确定目标视频录制区域;a second processing unit, configured to determine a target video recording area based on the target keyword;

第三处理单元,用于对所述目标视频录制区域对应的视频图像进行目标视频编辑处理。The third processing unit is configured to perform target video editing processing on the video image corresponding to the target video recording area.

可选地,所述第二处理单元具体用于:Optionally, the second processing unit is specifically used for:

根据预先设置的关键字与视频录制区域的第二对应关系,确定与所述目标关键字对应的视频录制区域为目标视频录制区域;或者,According to the preset second correspondence between the keyword and the video recording area, determine the video recording area corresponding to the target keyword as the target video recording area; or,

将视频录制界面中与所述目标关键字相关联的录制对象所在的视频录制子界面确定为目标视频录制区域。The video recording sub-interface where the recording object associated with the target keyword is located in the video recording interface is determined as the target video recording area.

可选地,所述目标视频编辑处理为视频添加;相应地,所述第三处理单元具体用于:Optionally, the target video editing process is video addition; accordingly, the third processing unit is specifically used for:

在所述目标视频录制区域对应的目标视频图像中添加与所述目标关键字相关联的第一视频。The first video associated with the target keyword is added to the target video image corresponding to the target video recording area.

可选地,所述目标视频编辑处理为视频替换;相应地,所述第三处理单元具体用于:Optionally, the target video editing process is video replacement; accordingly, the third processing unit is specifically used for:

将所述目标视频录制区域对应的的目标视频图像替换为与所述目标关键字相关联的第二视频。The target video image corresponding to the target video recording area is replaced with the second video associated with the target keyword.

可选地,所述目标视频编辑处理为视频暂停录制;相应地,所述第三处理单元具体用于:暂停所述目标视频录制区域上的视频录制;Optionally, the target video editing process is video pause recording; accordingly, the third processing unit is specifically configured to: pause video recording on the target video recording area;

相应地,所述电子设备400,还包括:Correspondingly, the electronic device 400 further includes:

第三接收模块,用于接收用户的第二语音输入;The third receiving module is used for receiving the second voice input of the user;

录制控制模块,用于响应于所述第二语音输入,在所述第二语音输入中存在第二目标关键字的情况下,继续对所述目标视频录制区域进行视频录制。A recording control module, configured to, in response to the second voice input, continue to perform video recording on the target video recording area in the presence of a second target keyword in the second voice input.

可选地,所述电子设备400还可包括:Optionally, the electronic device 400 may further include:

第四接收模块,用于在所述目标视频录制区域中添加与所述目标关键字相关联的第一视频之后,接收对所述视频录制界面中的视频控件的第二输入;a fourth receiving module, configured to receive a second input to a video control in the video recording interface after adding the first video associated with the target keyword in the target video recording area;

第二显示模块,用于响应于所述第二输入,将在视频录制过程中所添加的视频以列表方式显示于所述视频录制界面;a second display module, configured to display the videos added during the video recording process on the video recording interface in a list manner in response to the second input;

第五接收模块,用于接收对所述列表中目标视频的第三输入;the fifth receiving module, for receiving the third input to the target video in the list;

视频删除模块,用于响应于所述第三输入,删除之前添加在所述视频录制界面中的所述目标视频。A video deletion module, configured to delete the target video previously added in the video recording interface in response to the third input.

可选地,所述电子设备400还可包括:Optionally, the electronic device 400 may further include:

第六接收模块,接收对所述视频录制界面的第四输入;the sixth receiving module, receiving the fourth input to the video recording interface;

停止录制模块,用于响应于所述第四输入,停止视频录制,保存经视频编辑处理后的整个录制视频。The recording stop module is configured to stop video recording in response to the fourth input, and save the entire recorded video after video editing processing.

本发明实施例提供的电子设备能够实现图1至图3的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of FIG. 1 to FIG. 3 , and to avoid repetition, details are not described here.

本发明实施例提供的电子设备,通过第一接收模块接收用户的第一输入;开启模块响应于所述第一输入,开启视频录制,并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;第二接收模块在视频录制过程中,接收用户的第一语音输入;编辑处理模块响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理;其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换中的至少一者,如此,通过关键字,对目标视频录制区域对应的目标视频图像进行编辑处理,增加了视频录制的趣味性,使得视频录制方式多样化,满足用户视频录制的个性化需求。The electronic device provided by the embodiment of the present invention receives the first input of the user through the first receiving module; the enabling module responds to the first input, starts video recording, and displays a video recording interface, where the video recording interface includes at least two the video recording area; the second receiving module receives the user's first voice input during the video recording process; the editing processing module responds to the first voice input, and in the case that the target keyword exists in the first voice input, Perform video editing processing on the target video image corresponding to the target video recording area according to the target keyword; wherein, the target video recording area is at least one of the at least two video recording areas, and the video editing processing Including: at least one of video pause recording, video addition and video replacement, in this way, the target video image corresponding to the target video recording area is edited and processed through keywords, which increases the interest of video recording and makes video recording various. to meet the personalized needs of users for video recording.

图5为实现本发明各个实施例的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.

该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power 511 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, electronic devices include but are not limited to mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.

其中,用户输入单元507用于接收用户的第一输入;处理器510用于响应于所述第一输入,开启视频录制并显示视频录制界面,所述视频录制界面包括至少两个视频录制区域;在视频录制过程中,接收用户的第一语音输入;响应于所述第一语音输入,在所述第一语音输入中存在目标关键字的情况下,根据所述目标关键字,对目标视频录制区域对应的目标视频图像进行视频编辑处理;其中,所述目标视频录制区域为所述至少两个视频录制区域中的至少一者,所述视频编辑处理包括:视频暂停录制、视频添加和视频替换中的至少一者。Wherein, the user input unit 507 is configured to receive the first input of the user; the processor 510 is configured to start video recording and display a video recording interface in response to the first input, and the video recording interface includes at least two video recording areas; During the video recording process, the user's first voice input is received; in response to the first voice input, in the case that a target keyword exists in the first voice input, the target video is recorded according to the target keyword The target video image corresponding to the area is subjected to video editing processing; wherein, the target video recording area is at least one of the at least two video recording areas, and the video editing processing includes: video pause recording, video addition and video replacement at least one of the.

本发明实施例中,通过关键字,对目标视频录制区域对应的目标视频图像进行编辑处理,增加了视频录制的趣味性,使得视频录制方式多样化,满足用户视频录制的个性化需求。In the embodiment of the present invention, the target video image corresponding to the target video recording area is edited and processed through keywords, which increases the fun of video recording, diversifies video recording methods, and meets the individual needs of users for video recording.

应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 510; The uplink data is sent to the base station. Generally, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the network module 502, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into audio signals and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.

输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 506 . The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502 . The microphone 5042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.

电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and the display panel 5061 when the electronic device 500 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 505 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 may be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 5071). operate). The touch panel 5071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 510, the command sent by the processor 510 is received and executed. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 5071 , the user input unit 507 may also include other input devices 5072 . Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 5071 can be covered on the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits it to the processor 510 to determine the type of the touch event, and then the processor 510 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on display panel 5061. Although in FIG. 5 , the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device to the electronic device 500 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 508 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 500 or may be used between the electronic device 500 and external Transfer data between devices.

存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 509 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, or other volatile solid state storage device.

处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing the software programs and/or modules stored in the memory 509, and calling the data stored in the memory 509. , perform various functions of electronic equipment and process data, so as to monitor electronic equipment as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 510.

电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 500 may also include a power supply 511 (such as a battery) for supplying power to various components. Preferably, the power supply 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system and other functions.

另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 500 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种电子设备,包括处理器510,存储器509,存储在存储器509上并可在处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述视频录制控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides an electronic device, including a processor 510, a memory 509, a computer program stored in the memory 509 and running on the processor 510, the computer program being executed by the processor 510 to implement the above-mentioned The various processes of the embodiments of the video recording control method can achieve the same technical effect, and are not repeated here in order to avoid repetition.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述视频录制控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the foregoing video recording control method embodiment can be achieved, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (13)

1. A video recording control method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving a first input of a user;
responding to the first input, starting video recording, and displaying a video recording interface, wherein the video recording interface comprises at least two video recording areas;
receiving a first voice input of a user in a video recording process;
responding to the first voice input, and under the condition that a target keyword exists in the first voice input, performing video editing processing on a target video image corresponding to a target video recording area according to the target keyword;
wherein the target video recording area is at least one of the at least two video recording areas, and the video editing process includes: at least one of a video pause recording, a video addition, and a video replacement;
according to the target keywords, video editing processing is carried out on the target video image corresponding to the target video recording area, and the video editing processing method comprises the following steps:
determining target video editing processing corresponding to the target keywords according to a first corresponding relation between preset keywords and video editing processing;
determining a target video recording area based on the target keyword;
and performing target video editing processing on the target video image corresponding to the target video recording area.
2. The method of claim 1, wherein determining a target video recording area based on the target keyword comprises:
determining a video recording area corresponding to the target keyword as a target video recording area according to a preset second corresponding relation between the keyword and the video recording area; or,
and determining a video recording area where the recording object associated with the target keyword in the video recording interface is located as a target video recording area.
3. The method of claim 1, wherein the target video editing process is video addition;
the target video editing processing of the target video image corresponding to the target video recording area includes:
and adding a first video associated with the target keyword in a target video image corresponding to the target video recording area.
4. The method of claim 1, wherein the target video editing process is video replacement;
the target video editing processing of the target video image corresponding to the target video recording area includes:
and replacing the target video image corresponding to the target video recording area with a second video associated with the target keyword.
5. The method of claim 1, wherein the target video editing process is a video pause recording;
the target video editing processing of the target video image corresponding to the target video recording area includes:
pausing video recording on the target video recording area;
after the suspending the video recording on the target video recording area, the method further comprises:
receiving a second voice input of the user;
and responding to the second voice input, and under the condition that a second target keyword exists in the second voice input, continuing to record the video of the target video recording area.
6. The method of claim 3, wherein after adding the first video associated with the target keyword in the target video recording area, the method further comprises:
receiving a second input to a video control in the video recording interface;
responding to the second input, and displaying the videos added in the video recording process in a list mode on the video recording interface;
receiving a third input to a target video in the list;
deleting the target video previously added in the video recording interface in response to the third input.
7. An electronic device, comprising:
the first receiving module is used for receiving a first input of a user;
the starting module is used for responding to the first input, starting video recording and displaying a video recording interface, wherein the video recording interface comprises at least two video recording areas;
the second receiving module is used for receiving the first voice input of a user in the video recording process;
the editing processing module is used for responding to the first voice input, and under the condition that a target keyword exists in the first voice input, performing video editing processing on a target video image corresponding to a target video recording area according to the target keyword;
wherein the target video recording area is at least one of the at least two video recording areas, and the video editing process includes: at least one of a video pause recording, a video addition, and a video replacement;
the editing processing module comprises:
the first processing unit is used for determining target video editing processing corresponding to the target keywords according to a first corresponding relation between preset keywords and the video editing processing;
the second processing unit is used for determining a target video recording area based on the target keyword;
and the third processing unit is used for carrying out target video editing processing on the video image corresponding to the target video recording area.
8. The electronic device of claim 7, wherein the second processing unit is specifically configured to:
determining a video recording area corresponding to the target keyword as a target video recording area according to a preset second corresponding relation between the keyword and the video recording area; or,
and determining a video recording area where the recording object associated with the target keyword in the video recording interface is located as a target video recording area.
9. The electronic device of claim 7, wherein the target video editing process is video addition;
the third processing unit is specifically configured to:
and adding a first video associated with the target keyword in a target video image corresponding to the target video recording area.
10. The electronic device of claim 7, wherein the target video editing process is video replacement;
the third processing unit is specifically configured to:
and replacing the target video image corresponding to the target video recording area with a second video associated with the target keyword.
11. The electronic device of claim 7, wherein the target video editing process is a video pause recording;
the third processing unit is specifically configured to:
pausing video recording on the target video recording area;
the electronic device further includes:
the third receiving module is used for receiving a second voice input of the user;
and the recording control module is used for responding to the second voice input and continuing to record the video of the target video recording area under the condition that a second target keyword exists in the second voice input.
12. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the video recording control method according to any one of claims 1 to 6.
13. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the video recording control method according to any one of claims 1 to 6.
CN201911101487.1A 2019-11-12 2019-11-12 Video recording control method and electronic equipment Active CN110855921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911101487.1A CN110855921B (en) 2019-11-12 2019-11-12 Video recording control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911101487.1A CN110855921B (en) 2019-11-12 2019-11-12 Video recording control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110855921A CN110855921A (en) 2020-02-28
CN110855921B true CN110855921B (en) 2021-12-03

Family

ID=69600125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911101487.1A Active CN110855921B (en) 2019-11-12 2019-11-12 Video recording control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110855921B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010523B (en) * 2019-12-19 2023-06-02 维沃移动通信有限公司 Video recording method and electronic device
CN112118395B (en) * 2020-04-23 2022-04-22 中兴通讯股份有限公司 Video processing method, terminal and computer readable storage medium
CN114390341B (en) * 2020-10-22 2023-06-06 华为技术有限公司 Video recording method, electronic equipment, storage medium and chip
CN112770160A (en) * 2020-12-24 2021-05-07 沈阳麟龙科技股份有限公司 Stock analysis video creation system and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001054107A (en) * 1999-08-09 2001-02-23 Sanyo Electric Co Ltd Multi-screen display controller
CN102638644A (en) * 2012-04-26 2012-08-15 新奥特(北京)视频技术有限公司 Method for synchronous display
CN103780973A (en) * 2012-10-17 2014-05-07 三星电子(中国)研发中心 Video label adding method and video label adding device
CN104967802A (en) * 2015-04-29 2015-10-07 努比亚技术有限公司 Mobile terminal, recording method of screen multiple areas and recording device of screen multiple areas
CN105611410A (en) * 2014-11-21 2016-05-25 Tcl集团股份有限公司 Method and device for pushing information
CN109413352A (en) * 2018-11-08 2019-03-01 北京微播视界科技有限公司 Processing method, device, equipment and the storage medium of video data
CN109639996A (en) * 2019-01-23 2019-04-16 努比亚技术有限公司 High dynamic scene imaging method, mobile terminal and computer readable storage medium
CN110072070A (en) * 2019-03-18 2019-07-30 华为技术有限公司 A kind of multichannel kinescope method and equipment
CN110225282A (en) * 2019-05-31 2019-09-10 努比亚技术有限公司 A kind of video record control method, equipment and computer readable storage medium
CN110336968A (en) * 2019-07-17 2019-10-15 广州酷狗计算机科技有限公司 Video recording method, device, terminal device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030198290A1 (en) * 2002-04-19 2003-10-23 Dynamic Digital Depth Pty.Ltd. Image encoding system
US8531522B2 (en) * 2008-05-30 2013-09-10 Verint Systems Ltd. Systems and methods for video monitoring using linked devices
US20130243408A1 (en) * 2011-09-13 2013-09-19 Cinegenix Llc Video recording system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001054107A (en) * 1999-08-09 2001-02-23 Sanyo Electric Co Ltd Multi-screen display controller
CN102638644A (en) * 2012-04-26 2012-08-15 新奥特(北京)视频技术有限公司 Method for synchronous display
CN103780973A (en) * 2012-10-17 2014-05-07 三星电子(中国)研发中心 Video label adding method and video label adding device
CN105611410A (en) * 2014-11-21 2016-05-25 Tcl集团股份有限公司 Method and device for pushing information
CN104967802A (en) * 2015-04-29 2015-10-07 努比亚技术有限公司 Mobile terminal, recording method of screen multiple areas and recording device of screen multiple areas
CN109413352A (en) * 2018-11-08 2019-03-01 北京微播视界科技有限公司 Processing method, device, equipment and the storage medium of video data
CN109639996A (en) * 2019-01-23 2019-04-16 努比亚技术有限公司 High dynamic scene imaging method, mobile terminal and computer readable storage medium
CN110072070A (en) * 2019-03-18 2019-07-30 华为技术有限公司 A kind of multichannel kinescope method and equipment
CN110225282A (en) * 2019-05-31 2019-09-10 努比亚技术有限公司 A kind of video record control method, equipment and computer readable storage medium
CN110336968A (en) * 2019-07-17 2019-10-15 广州酷狗计算机科技有限公司 Video recording method, device, terminal device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
分屏软件在教学中的应用;蔡焰;《软件导刊》;20121030(第10期);全文 *

Also Published As

Publication number Publication date
CN110855921A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
CN108255378B (en) Display control method and mobile terminal
WO2019196929A1 (en) Video data processing method and mobile terminal
WO2019223494A1 (en) Screenshot capturing method and mobile terminal
CN107613362A (en) A video display control method and mobile terminal
CN110855921B (en) Video recording control method and electronic equipment
CN110308839B (en) A file management method and terminal device
CN109710349B (en) Screen capturing method and mobile terminal
CN108052251A (en) A kind of screenshotss method for information display and mobile terminal
CN108519850A (en) A keyboard interface display method and mobile terminal
CN108600089B (en) Expression image display method and terminal equipment
CN108762869A (en) A kind of information processing method and mobile terminal
CN111124706A (en) Application sharing method and electronic device
CN108366221A (en) A kind of video call method and terminal
CN110673770A (en) Message display method and terminal equipment
CN110096203B (en) A screenshot method and mobile terminal
CN111694536A (en) Audio control method, electronic device and computer-readable storage medium
CN110045943A (en) A kind of data recording method and terminal device
CN109672845B (en) Video call method and device and mobile terminal
CN108347642B (en) A video playback method and mobile terminal
CN107992378B (en) A file processing method and mobile terminal
CN109992192A (en) Interface display method and terminal device
CN110213437B (en) Editing method and mobile terminal
CN110471895B (en) Sharing method and terminal device
CN108628534A (en) Character display method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant