CN114928761B - Video sharing method, device and electronic device - Google Patents
Video sharing method, device and electronic device Download PDFInfo
- Publication number
- CN114928761B CN114928761B CN202210496636.4A CN202210496636A CN114928761B CN 114928761 B CN114928761 B CN 114928761B CN 202210496636 A CN202210496636 A CN 202210496636A CN 114928761 B CN114928761 B CN 114928761B
- Authority
- CN
- China
- Prior art keywords
- contact
- target
- input
- video
- identifier
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000004044 response Effects 0.000 claims abstract description 60
- 230000015654 memory Effects 0.000 claims description 25
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000003825 pressing Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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
- H04N21/47205—End-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 for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请公开了一种视频分享方法、装置及电子设备,属于图像处理技术领域。该方法包括:在显示目标视频的播放界面的情况下,接收用户对目标画面中第一对象的第一输入,所述目标画面为所述目标视频的任一视频画面;响应于所述第一输入,将所述第一对象与第一联系人进行关联;将第一视频片段发送至所述第一联系人,所述第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,所述目标视频帧为所述目标视频中包括所述第一对象的视频帧,所述目标图像内容包括所述第一对象对应的图像内容。
The present application discloses a video sharing method, device and electronic device, which belongs to the field of image processing technology. The method includes: receiving a first input from a user to a first object in a target screen when displaying a playback interface of a target video, wherein the target screen is any video screen of the target video; in response to the first input, associating the first object with a first contact; sending a first video clip to the first contact, wherein the first video clip is a video clip generated based on target image content in at least two frames of target video frames, wherein the target video frame is a video frame in the target video that includes the first object, and the target image content includes image content corresponding to the first object.
Description
技术领域Technical Field
本申请属于图像处理技术领域,具体涉及一种视频分享方法、装置及电子设备。The present application belongs to the field of image processing technology, and specifically relates to a video sharing method, device and electronic device.
背景技术Background technique
通过电子设备分享信息已经逐渐成为了当前时代的潮流。用户可以将自己生活中的事情以图片、文字、视频的形式分享给其他电子设备的用户。也可以将自己喜欢的视频通过电子设备快速的分享给朋友。Sharing information through electronic devices has gradually become a trend in the current era. Users can share things in their lives with other electronic device users in the form of pictures, texts, and videos. They can also quickly share their favorite videos with friends through electronic devices.
目前,在用户使用电子设备分享视频的场景中,需要用户将包含完整视频内容的视频文件发送至对方,使得被分享的视频文件的数据量较大,从而花费较多流量。Currently, in the scenario where users use electronic devices to share videos, users are required to send video files containing complete video content to the other party, which makes the data volume of the shared video file larger, thereby consuming more traffic.
发明内容Summary of the invention
本申请实施例的目的是提供一种视频分享方法、装置及电子设备,能够解决相关技术中分享视频文件数据量较大的问题。The purpose of the embodiments of the present application is to provide a video sharing method, device and electronic device, which can solve the problem of large data volume of shared video files in related technologies.
第一方面,本申请实施例提供了一种视频分享方法,该方法包括:In a first aspect, an embodiment of the present application provides a video sharing method, the method comprising:
在显示目标视频的播放界面的情况下,接收用户对目标画面中第一对象的第一输入,其中,所述目标画面为所述目标视频的任一视频画面;In a case where a playback interface of a target video is displayed, receiving a first input from a user on a first object in a target screen, wherein the target screen is any video screen of the target video;
响应于所述第一输入,将所述第一对象与第一联系人进行关联;In response to the first input, associating the first object with a first contact;
将第一视频片段发送至所述第一联系人,其中,所述第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,所述目标视频帧为所述目标视频中包括所述第一对象的视频帧,所述目标图像内容包括所述第一对象对应的图像内容。Send a first video clip to the first contact, wherein the first video clip is a video clip generated based on target image content in at least two target video frames, the target video frames are video frames in the target video that include the first object, and the target image content includes image content corresponding to the first object.
第二方面,本申请实施例提供了一种视频分享装置,该装置包括:In a second aspect, an embodiment of the present application provides a video sharing device, the device comprising:
第一接收模块,用于在显示目标视频的播放界面的情况下,接收用户对目标画面中第一对象的第一输入,其中,所述目标画面为所述目标视频的任一视频画面;A first receiving module is used to receive a first input of a user on a first object in a target screen when displaying a playback interface of a target video, wherein the target screen is any video screen of the target video;
第一响应模块,用于响应于所述第一输入,将所述第一对象与第一联系人进行关联;A first response module, configured to associate the first object with a first contact in response to the first input;
发送模块,用于将第一视频片段发送至所述第一联系人,其中,所述第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,所述目标视频帧为所述目标视频中包括所述第一对象的视频帧,所述目标图像内容包括所述第一对象对应的图像内容。A sending module, used to send a first video clip to the first contact, wherein the first video clip is a video clip generated based on target image content in at least two target video frames, the target video frame is a video frame in the target video that includes the first object, and the target image content includes image content corresponding to the first object.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
本申请实施例中,在显示目标视频的播放界面的情况下,接收用户对目标画面中的第一对象的第一输入,由于目标画面为目标视频的任一视频画面,因此用户可以在观看目标视频过程中随时对其感兴趣的第一对象进行第一输入。然后将第一对象与第一联系人进行关联,其中,第一联系人为分享视频的对象,最后将第一视频片段发送至第一联系人,完成视频的分享。由于第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,目标视频帧为目标视频中包括第一对象的视频帧,目标图像内容包括第一对象对应的图像内容,因此无需将完整的目标视频发送至第一联系人,针对性地将用户感兴趣的视频内容发送至第一联系人,不仅降低了被分享视频文件的数据量,同时也节省了分享双方的流量。In an embodiment of the present application, when the playback interface of the target video is displayed, a first input of the user to the first object in the target screen is received. Since the target screen is any video screen of the target video, the user can make a first input to the first object of interest at any time while watching the target video. Then the first object is associated with the first contact, wherein the first contact is the object of sharing the video, and finally the first video clip is sent to the first contact to complete the sharing of the video. Since the first video clip is a video clip generated based on the target image content in at least two frames of the target video frames, the target video frame is a video frame including the first object in the target video, and the target image content includes the image content corresponding to the first object, there is no need to send the complete target video to the first contact, and the video content of interest to the user is sent to the first contact in a targeted manner, which not only reduces the data volume of the shared video file, but also saves the traffic of both parties of the sharing.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的视频分享方法的步骤流程图;FIG1 is a flowchart of the steps of a video sharing method provided in an embodiment of the present application;
图2是本申请实施例中第一控件的界面示意图;FIG2 is a schematic diagram of an interface of a first control in an embodiment of the present application;
图3是本申请实施例中第一联系人标识的界面示意图;FIG3 is a schematic diagram of an interface of a first contact identification in an embodiment of the present application;
图4是本申请实施例中对第一联系人标识进行输入的界面示意图之一;FIG4 is a schematic diagram of one of the interfaces for inputting a first contact identifier in an embodiment of the present application;
图5是本申请实施例中对第一联系人标识进行输入的界面示意图之二;FIG5 is a second schematic diagram of an interface for inputting a first contact identifier in an embodiment of the present application;
图6是本申请实施例中对第一联系人标识进行输入的界面示意图之三;FIG6 is a third schematic diagram of an interface for inputting a first contact identifier in an embodiment of the present application;
图7是本申请实施例中第一窗口的界面示意图;FIG7 is a schematic diagram of the interface of the first window in an embodiment of the present application;
图8是本申请实施例提供的视频分享装置的结构框图;FIG8 is a structural block diagram of a video sharing device provided in an embodiment of the present application;
图9是本申请实施例提供的电子设备的硬件结构示意图之一;FIG9 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application;
图10是本申请实施例提供的电子设备的硬件结构示意图之二。FIG. 10 is a second schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的视频分享方法进行详细地说明。The video sharing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
如图1所示,为本申请实施例提供的视频分享方法,该视频分享方法包括:As shown in FIG1 , a video sharing method provided in an embodiment of the present application includes:
步骤101:在显示目标视频的播放界面的情况下,接收用户对目标画面中第一对象的第一输入。Step 101: When displaying a playback interface of a target video, receiving a first input from a user on a first object in a target screen.
本步骤中,目标视频为任意视频格式的视频文件。这里,显示目标视频中的播放界面的情况包括:播放目标视频或暂停播放目标视频的情况。目标画面为目标视频的任一视频画面,也就是当前显示的目标视频中的视频画面。第一对象为目标画面中的任一对象,这里对其类型并不做限定,其类型可以为人物类型、动物类型、建筑物类型等。In this step, the target video is a video file in any video format. Here, the situation of displaying the playback interface in the target video includes: playing the target video or pausing the target video. The target screen is any video screen of the target video, that is, the video screen in the currently displayed target video. The first object is any object in the target screen, and its type is not limited here, and its type can be a person type, an animal type, a building type, etc.
第一输入可以为:用户对目标区域的点击输入,或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。The first input may be: a click input of the user on the target area, or a voice command input by the user, or a specific gesture input by the user. The specific input may be determined according to actual usage requirements, and the embodiment of the present application does not limit this.
本申请实施例中的特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本申请实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input.
可以理解的是,第一对象为用户感兴趣的对象,用户在目标画面中选择感兴趣的对象进行第一输入,被选择的对象即为第一对象。It can be understood that the first object is an object that the user is interested in. The user selects the object of interest in the target screen to perform the first input, and the selected object is the first object.
步骤102:响应于第一输入,将第一对象与第一联系人进行关联。Step 102: In response to a first input, associate a first object with a first contact.
本步骤中,第一联系人为电子设备中存储的任一联系人,例如第一联系人可以为社交类应用中的任一好友,但不限于此。将第一对象与第一联系人进行关联,可以理解为建立或记录第一对象与第一联系人的关联关系。In this step, the first contact is any contact stored in the electronic device, for example, the first contact can be any friend in a social application, but is not limited thereto. Associating the first object with the first contact can be understood as establishing or recording an association relationship between the first object and the first contact.
步骤103:将第一视频片段发送至第一联系人。Step 103: Send the first video clip to the first contact.
本步骤中,第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,目标视频帧为目标视频中包括第一对象的视频帧,目标图像内容包括第一对象对应的图像内容。这里,第一视频片段也可以理解为目标视频中的第一对象的视频内容。其可以仅包括第一对象,但不限于此。例如目标画面中存在人物A和人物B,假如第一对象为目标画面中的人物A,则第一视频片段中可以仅存在人物A,当然也可以存在除人物B之外的所有图像内容。In this step, the first video clip is a video clip generated based on the target image content in at least two target video frames, the target video frame is a video frame including the first object in the target video, and the target image content includes the image content corresponding to the first object. Here, the first video clip can also be understood as the video content of the first object in the target video. It can only include the first object, but is not limited to this. For example, there are person A and person B in the target picture. If the first object is person A in the target picture, then only person A can exist in the first video clip, and of course all image content except person B can also exist.
本申请实施例中,在显示目标视频的播放界面的情况下,接收用户对目标画面中的第一对象的第一输入,由于目标画面为目标视频的任一视频画面,因此用户可以在观看目标视频过程中随时对其感兴趣的第一对象进行第一输入。然后将第一对象与第一联系人进行关联,其中,第一联系人为分享视频的对象,最后将第一视频片段发送至第一联系人,完成视频的分享。由于第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,目标视频帧为目标视频中包括第一对象的视频帧,目标图像内容包括第一对象对应的图像内容,因此无需将完整的目标视频发送至第一联系人,针对性地将用户感兴趣的视频内容发送至第一联系人,不仅降低了被分享视频文件的数据量,同时也节省了分享双方的流量。In an embodiment of the present application, when the playback interface of the target video is displayed, a first input of the user to the first object in the target screen is received. Since the target screen is any video screen of the target video, the user can make a first input to the first object of interest at any time while watching the target video. Then the first object is associated with the first contact, wherein the first contact is the object of sharing the video, and finally the first video clip is sent to the first contact to complete the sharing of the video. Since the first video clip is a video clip generated based on the target image content in at least two frames of the target video frames, the target video frame is a video frame including the first object in the target video, and the target image content includes the image content corresponding to the first object, there is no need to send the complete target video to the first contact, and the video content of interest to the user is sent to the first contact in a targeted manner, which not only reduces the data volume of the shared video file, but also saves the traffic of both parties of the sharing.
可选地,第一输入包括第一子输入、第二子输入、第三子输入和第四子输入,上述步骤101中接收用户对目标画面中第一对象的第一输入,可以包括:Optionally, the first input includes a first sub-input, a second sub-input, a third sub-input and a fourth sub-input. In step 101, receiving the first input of the user to the first object in the target screen may include:
接收用户对目标画面中第一对象的第一子输入;receiving a first sub-input of a user on a first object in a target screen;
其中,第一子输入包括点击、滑动、长按等输入,但不限于此。The first sub-input includes inputs such as click, slide, and long press, but is not limited thereto.
上述步骤102:响应于第一输入,将第一对象与第一联系人进行关联,包括:The above step 102: in response to the first input, associating the first object with the first contact includes:
响应于第一子输入,显示第一控件。In response to the first sub-input, a first control is displayed.
本步骤中,第一控件可以显示于电子设备屏幕的任意位置,并且可以以显示任意的形式进行显示。例如,第一控件可以在靠近第一对象的显示区域进行显示,以避免其对第一对象的遮挡。如图2所示,用户对第一对象21进行第一子输入,将在靠近第一对象21的显示区域显示第一控件22。In this step, the first control can be displayed at any position on the screen of the electronic device and can be displayed in any form. For example, the first control can be displayed in a display area close to the first object to avoid blocking the first object. As shown in FIG. 2 , the user performs a first sub-input on the first object 21, and the first control 22 is displayed in a display area close to the first object 21.
在接收到用户对第一控件的第二子输入的情况下,显示至少一个应用程序标识,其中,每一应用程序标识对应一个应用程序。When a second sub-input of the user to the first control is received, at least one application identifier is displayed, wherein each application identifier corresponds to an application.
本步骤中,第二子输入包括点击、滑动、长按等输入,但不限于此。至少一个应用程序标识对应的应用程序均为安装于电子设备中的应用程序。较佳地,至少一个应用程序标识对应的应用程序均为社交类的应用程序。可以理解的是,由于每个人的喜好或习惯可能相同或者不同,因此不同人选择使用的应用程序可能相同或者不同。对于某一电子设备的用户来说,其亲朋好友等联系人所选择使用的应用程序可能并不完全相同。例如安装于电子设备中的应用程序A和应用程序B,某一电子设备的用户的亲朋好友等联系人中的一部分人可能仅使用应用程序A,对于这部分联系人,用户可以通过应用程序A进行交流。一部分人可能仅使用应用程序B,对于这部分联系人,用户可以通过应用程序B进行交流。一部分人既使用应用程序A,也使用应用程序B,对于这部分联系人,用户可以通过应用程序A或应用程序B进行交流。较佳地,至少一个应用程序标识对应的应用程序包括电子设备中安装的所有应用程序或所有社交类的应用程序,从而可以提供给电子设备的用户最大的选择范围。In this step, the second sub-input includes inputs such as click, slide, and long press, but is not limited thereto. The applications corresponding to at least one application identifier are all applications installed in the electronic device. Preferably, the applications corresponding to at least one application identifier are all social applications. It is understandable that since everyone's preferences or habits may be the same or different, the applications chosen by different people may be the same or different. For a user of a certain electronic device, the applications chosen by their relatives, friends, and other contacts may not be exactly the same. For example, among the applications A and B installed in the electronic device, some of the relatives, friends, and other contacts of the user of a certain electronic device may only use application A, and for these contacts, the user can communicate through application A. Some people may only use application B, and for these contacts, the user can communicate through application B. Some people use both application A and application B, and for these contacts, the user can communicate through application A or application B. Preferably, the applications corresponding to at least one application identifier include all applications installed in the electronic device or all social applications, so that the maximum range of choices can be provided to the user of the electronic device.
在接收到用户对至少一个应用程序标识中目标应用标识的第三子输入的情况下,显示目标应用程序对应的至少一个联系人标识,其中,目标应用程序为目标应用程序标识对应的应用程序。When a third sub-input of a target application identifier in at least one application identifier is received from the user, at least one contact identifier corresponding to the target application is displayed, wherein the target application is an application corresponding to the target application identifier.
本步骤中,第三子输入包括点击、滑动、长按等输入,但不限于此。在显示至少一个应用程序标识的情况下,用户可以根据被分享方的具体情况选择任一应用程序标识作为目标应用程序标识。例如被分享方为用户的哥哥,至少一个应用程序标识包括对应应用程序A的第一标识和对应应用程序B的第二标识。假如用户的哥哥仅作为应用程序A中的联系人,则用户将对第一标识进行第三子输入,第一标识即为目标应用程序标识,此时将显示应用程序A对应的至少一个联系人标识,即应用程序A中至少一个联系人的联系人标识。In this step, the third sub-input includes inputs such as click, slide, and long press, but is not limited to these. When at least one application identifier is displayed, the user can select any application identifier as the target application identifier according to the specific situation of the shared party. For example, if the shared party is the user's brother, the at least one application identifier includes a first identifier corresponding to application A and a second identifier corresponding to application B. If the user's brother is only a contact in application A, the user will perform the third sub-input on the first identifier, and the first identifier is the target application identifier. At this time, at least one contact identifier corresponding to application A will be displayed, that is, the contact identifier of at least one contact in application A.
可以理解的是,联系人标识可以为联系人的昵称、真实姓名、头像等,但不限于此。这里,每一联系人具有一联系人标识,通过联系人标识可以区分不同的联系人。这里,可以直接显示目标应用程序的好友列表,但不限于此。It is understandable that the contact identifier can be a nickname, real name, avatar, etc. of the contact, but is not limited thereto. Here, each contact has a contact identifier, and different contacts can be distinguished by the contact identifier. Here, the friend list of the target application can be directly displayed, but is not limited thereto.
在接收到用户对至少一个联系人标识中第一联系人标识的第四子输入的情况下,将第一对象与第一联系人进行关联,其中,第一联系人为第一联系人标识对应的联系人。When a fourth sub-input of a first contact identifier among the at least one contact identifier is received from the user, the first object is associated with a first contact, wherein the first contact is a contact corresponding to the first contact identifier.
本步骤中,显示的至少一个联系人标识供用户进行选择,即选择被分享方。这里,第一联系人标识可以为至少一个联系人标识中的任意一个,即用户选择的被分享方的联系人标识。第四子输入包括点击、滑动、长按等输入,但不限于此。In this step, at least one contact identifier is displayed for the user to select, that is, to select the party to be shared. Here, the first contact identifier can be any one of the at least one contact identifier, that is, the contact identifier of the party to be shared selected by the user. The fourth sub-input includes inputs such as click, slide, and long press, but is not limited thereto.
本申请实施例中,以第一控件作为选择被分享方的入口,在用户触发第一控件之后显示至少一个应用程序标识供用户进行第一次选择,在用户选定应用程序之后,将选定的应用程序的联系人提供给用户进行第二次选择。通过两次选择的组合方式,可以提供给用户更大的选择范围,进而可以最大程度的满足用户进行分享的需求。In the embodiment of the present application, the first control is used as the entry for selecting the sharing party. After the user triggers the first control, at least one application logo is displayed for the user to make a first selection. After the user selects the application, the contacts of the selected application are provided to the user for a second selection. By combining the two selections, a larger selection range can be provided to the user, thereby satisfying the user's sharing needs to the greatest extent.
可选地,将第一对象与第一联系人进行关联之后,该方法还包括:Optionally, after associating the first object with the first contact, the method further includes:
在第一显示区域显示第一联系人对应的第一联系人标识,其中,第一显示区域包括目标画面中第一对象对应的显示区域。A first contact identifier corresponding to the first contact is displayed in a first display area, wherein the first display area includes a display area corresponding to the first object in the target screen.
应当说明的是,第一联系人标识对第一对象形成遮挡,如图3所示,第一联系人标识31对第一对象32形成遮挡。当然,第一联系人标识还可以以一定的透明度悬浮在第一对象上。It should be noted that the first contact identifier blocks the first object. As shown in Fig. 3, the first contact identifier 31 blocks the first object 32. Of course, the first contact identifier may also be suspended on the first object with a certain degree of transparency.
本申请实施例中,通过在第一对象对应的第一显示区域显示被分享方的联系人标识,可以将第一对象与被分享方的关联关系直观地展示出来,从而便于用户查看。In the embodiment of the present application, by displaying the contact identifier of the shared party in the first display area corresponding to the first object, the association relationship between the first object and the shared party can be intuitively displayed, thereby facilitating user viewing.
可选地,在第一显示区域显示第一联系人对应的第一联系人标识之后,该方法还包括:Optionally, after the first display area displays the first contact identifier corresponding to the first contact, the method further includes:
接收用户对第一联系人标识的第二输入;receiving a second input of the first contact identifier from the user;
响应于第二输入,取消显示第一联系人标识,并取消关联第一对象与第一联系人。In response to the second input, the first contact identifier is not displayed, and the first object and the first contact are not associated.
应当说明的是,第二输入可以为点击、滑动、长按等输入,但不限于此。如图4所示,对第一联系人标识41进行第二输入可以为从第一对象42所显示位置拖动第一联系人标识41至第一显示区域之外。It should be noted that the second input may be a click, slide, long press, etc. input, but is not limited thereto. As shown in FIG4 , the second input to the first contact identifier 41 may be dragging the first contact identifier 41 from the position where the first object 42 is displayed to outside the first display area.
可以理解的是,在取消关联第一对象与第一联系人之后,与第一对象相关联的第一视频片段将不再发送至第一联系人。此时,用户可以重新选择第一对象,并对第一对象进行第一输入。即可以重新执行步骤101~步骤103。It is understandable that after the first object and the first contact are unassociated, the first video clip associated with the first object will no longer be sent to the first contact. At this time, the user can reselect the first object and make a first input to the first object. That is, steps 101 to 103 can be re-executed.
本申请实施例中,通过第一联系人标识提供移除功能,不仅可以将第一联系人标识移除,还可以取消第一对象与第一联系人之间的关联,从而方便用户重新选择第一对象及其关联的第一联系人。In the embodiment of the present application, a removal function is provided through the first contact identifier, which can not only remove the first contact identifier, but also cancel the association between the first object and the first contact, thereby facilitating the user to reselect the first object and its associated first contact.
可选地,在第一显示区域显示第一联系人对应的第一联系人标识之后,该方法还包括:Optionally, after the first display area displays the first contact identifier corresponding to the first contact, the method further includes:
接收用户对第一联系人标识的第三输入;receiving a third input of the first contact identifier from the user;
响应于第三输入,在第一显示区域取消显示第一联系人标识,并在第二显示区域显示第一联系人标识,其中,第二显示区域包括目标画面中第二对象对应的显示区域。In response to the third input, the first contact identifier is cancelled from being displayed in the first display area, and the first contact identifier is displayed in the second display area, wherein the second display area includes a display area corresponding to the second object in the target screen.
应当说明的是,第三输入可以为点击、滑动、长按等输入,但不限于此。第二对象为目标画面中除第一对象之外的任一对象。如图5所示,对第一联系人标识51进行第三输入可以为从第一对象52所显示位置拖动第一联系人标识51至第二对象53所显示位置。在用户已选定第一对象及其关联的第一联系人的情况下,可能会改变主意,想要将其他对象的视频片段分享至第一联系人。此时用户只需对第一联系人标识进行第三输入即可。其中,针对任一对象,该对象的视频片段与第一对象的第一视频片段的情况类似,这里不再赘述。It should be noted that the third input may be input such as clicking, sliding, and long pressing, but is not limited thereto. The second object is any object in the target screen except the first object. As shown in Figure 5, the third input of the first contact identifier 51 may be dragging the first contact identifier 51 from the position where the first object 52 is displayed to the position where the second object 53 is displayed. When the user has selected the first object and its associated first contact, he may change his mind and want to share video clips of other objects with the first contact. At this time, the user only needs to make a third input to the first contact identifier. Among them, for any object, the video clip of the object is similar to the first video clip of the first object, which will not be repeated here.
应当说明的是,在第一显示区域取消显示第一联系人标识的情况下,将取消关联第一对象与第一联系人。在第二显示区域显示第一联系人标识的情况下,将第二对象与第一联系人关联。由于第一对象与第一联系人已取消关联,且与第一联系人关联的对象为第二对象,此时与第一对象相关联的第一视频片段将不再发送至第一联系人,而是将与第二对象相关联的第二视频片段发送至第一联系人。其中,与第二对象相关联的第二视频片段与第一视频片段类似,两者不同之处在于第一视频片段中目标图像内容为第一对象对应的图像内容,第二视频片段中目标图像内容为第二对象对应的图像内容。It should be noted that, in the case where the first contact identifier is canceled from being displayed in the first display area, the first object and the first contact will be disassociated. In the case where the first contact identifier is displayed in the second display area, the second object will be associated with the first contact. Since the first object and the first contact have been disassociated, and the object associated with the first contact is the second object, the first video clip associated with the first object will no longer be sent to the first contact, but the second video clip associated with the second object will be sent to the first contact. Among them, the second video clip associated with the second object is similar to the first video clip, and the difference between the two is that the target image content in the first video clip is the image content corresponding to the first object, and the target image content in the second video clip is the image content corresponding to the second object.
本申请实施例中,通过对第一联系人标识进行输入,可以更新联系人和视频中的对象的关联关系。In the embodiment of the present application, by inputting the first contact identifier, the association relationship between the contact and the object in the video can be updated.
可选地,在第一显示区域显示第一联系人对应的第一联系人标识之后,该方法还包括:Optionally, after the first display area displays the first contact identifier corresponding to the first contact, the method further includes:
接收用户对第一联系人标识的第四输入;receiving a fourth input of the first contact identifier from the user;
响应于第四输入,在第三显示区域显示第一联系人标识,并保持第一显示区域显示第一联系人标识,其中,第三显示区域包括目标画面中第三对象对应的显示区域。In response to the fourth input, the first contact identifier is displayed in the third display area, and the first display area is kept displaying the first contact identifier, wherein the third display area includes a display area corresponding to the third object in the target screen.
应当说明的是,第四输入可以为点击、滑动、长按等输入,但不限于此。第三对象为目标画面中除第一对象之外的任一对象,也就是说第三对象与第二对象可以相同或不同。如图6所示,对第一联系人标识61进行第四输入可以为从第一对象62所显示位置拖动第一联系人标识61至第三对象63所显示位置。在用户已选定第一对象和第一联系人的情况下,可能会产生新的想法,例如想要将其他对象的视频片段一起分享至第一联系人。此时用户只需对第一联系人标识进行第四输入即可。其中,针对任一对象,该对象的视频片段与第一对象的第一视频片段的情况类似,这里不再赘述。It should be noted that the fourth input may be input such as clicking, sliding, and long pressing, but is not limited thereto. The third object is any object in the target screen except the first object, that is, the third object may be the same as or different from the second object. As shown in Figure 6, the fourth input of the first contact identifier 61 may be dragging the first contact identifier 61 from the position displayed by the first object 62 to the position displayed by the third object 63. When the user has selected the first object and the first contact, new ideas may arise, such as wanting to share video clips of other objects with the first contact. At this time, the user only needs to make the fourth input to the first contact identifier. Among them, for any object, the video clip of the object is similar to the first video clip of the first object, and will not be repeated here.
应当说明的是,在第三显示区域显示第一联系人标识,并保持第一显示区域显示第一联系人标识的情况下,将在第一对象与第一联系人关联的同时,将第三对象与第一联系人关联。此时与第一对象相关联的第一视频片段将不再发送至第一联系人,而是将与第一对象和第三对象相关联的第二视频片段发送至第一联系人。其中,与第一对象和第三对象相关联的第二视频片段与第一视频片段类似,两者不同之处在于第一视频片段中目标图像内容为第一对象对应的图像内容,第二视频片段中目标图像内容为第一对象对应的图像内容和第三对象对应的图像内容。It should be noted that when the first contact identifier is displayed in the third display area and the first contact identifier is kept displayed in the first display area, the third object will be associated with the first contact while the first object is associated with the first contact. At this time, the first video clip associated with the first object will no longer be sent to the first contact, but the second video clip associated with the first object and the third object will be sent to the first contact. Among them, the second video clip associated with the first object and the third object is similar to the first video clip, and the difference between the two is that the target image content in the first video clip is the image content corresponding to the first object, and the target image content in the second video clip is the image content corresponding to the first object and the image content corresponding to the third object.
本申请实施例中,通过对第一联系人标识进行输入,可以更新视频片段所包含的对象。In the embodiment of the present application, the object included in the video clip can be updated by inputting the first contact identifier.
可选地,将第一视频片段发送至第一联系人之前,该方法还包括:Optionally, before sending the first video clip to the first contact, the method further includes:
显示第一窗口,其中,第一窗口中包括第一视频片段的视频画面以及第一联系人标识。A first window is displayed, wherein the first window includes a video image of a first video clip and an identifier of a first contact.
应当说明的是,第一窗口可以为窗口控件,例如以小窗口的形式悬浮显示。可以理解的是,用户在目标画面中选择的对象的数量与显示的窗口的数量相等,且一一对应。例如图7所示,窗口的数量为两个,包括第一窗口71和第二窗口72,其中,第一窗口71对应第一对象73,第二窗口72对应第二对象74。第一窗口71用于显示第一对象73相关联的第一视频画面75和第一联系人标识76;第二窗口72用于显示第二对象74相关联的第二视频画面77和第二联系人标识78。It should be noted that the first window can be a window control, for example, suspended in the form of a small window. It is understandable that the number of objects selected by the user in the target screen is equal to the number of windows displayed, and they correspond one to one. For example, as shown in FIG. 7 , there are two windows, including a first window 71 and a second window 72, wherein the first window 71 corresponds to the first object 73, and the second window 72 corresponds to the second object 74. The first window 71 is used to display the first video screen 75 and the first contact identifier 76 associated with the first object 73; the second window 72 is used to display the second video screen 77 and the second contact identifier 78 associated with the second object 74.
本申请实施例中,通过第一窗口将被分享方的联系人标识以及将要发送至被分享方的第一视频片段的视频画面显示出来,可以方便用户快速查看被分享方以及分享内容。In the embodiment of the present application, the contact identifier of the party to be shared and the video screen of the first video clip to be sent to the party to be shared are displayed in the first window, so that the user can quickly view the party to be shared and the shared content.
可选地,上述步骤103:将第一视频片段发送至第一联系人,包括:Optionally, the above step 103: sending the first video clip to the first contact includes:
接收用户对第一窗口中第一联系人标识的第五输入;receiving a fifth input from the user regarding the first contact identifier in the first window;
响应于第五输入,将第一视频片段发送至第一联系人标识对应的联系人。In response to the fifth input, the first video clip is sent to the contact corresponding to the first contact identifier.
应当说明的是,第五输入可以为点击、滑动、长按等输入,但不限于此。It should be noted that the fifth input may be click, slide, long press or the like, but is not limited thereto.
本申请实施例中,通过第一窗口中的第一联系人标识,可以快速实现第一视频片段的发送。In the embodiment of the present application, the first video clip can be quickly sent through the first contact identifier in the first window.
可选地,在显示第一窗口之后,该方法还包括:Optionally, after displaying the first window, the method further includes:
接收用户对第一窗口中第一联系人标识的第六输入;receiving a sixth input from the user regarding the first contact identifier in the first window;
响应于第六输入,在第一窗口中取消显示第一联系人标识,并取消关联第一对象与第一联系人。In response to the sixth input, the first contact identifier is cancelled from being displayed in the first window, and the association between the first object and the first contact is cancelled.
应当说明的是,第六输入可以为点击、滑动、长按等输入,但不限于此。这里的响应于第六输入所执行的操作与上述发明实施例中响应于第二输入执行的操作类似,这里不再赘述。可以理解的是,在取消关联第一对象与第一联系人之后,与第一对象相关联的第一视频片段将不再发送至第一联系人。此时,用户可以重新选择第一对象,并对第一对象进行第一输入。即可以重新执行步骤101~步骤103。It should be noted that the sixth input may be input such as clicking, sliding, long pressing, etc., but is not limited thereto. The operation performed in response to the sixth input here is similar to the operation performed in response to the second input in the above-mentioned embodiment of the invention, and will not be repeated here. It is understandable that after the first object and the first contact are disassociated, the first video clip associated with the first object will no longer be sent to the first contact. At this point, the user can reselect the first object and perform the first input on the first object. That is, steps 101 to 103 can be re-executed.
本申请实施例中,通过第一联系人标识提供移除功能,不仅可以将第一联系人标识移除,还可以取消第一对象与第一联系人之间的关联,从而方便用户重新选择第一对象及其关联的第一联系人。In the embodiment of the present application, a removal function is provided through the first contact identifier, which can not only remove the first contact identifier, but also cancel the association between the first object and the first contact, thereby facilitating the user to reselect the first object and its associated first contact.
可选地,在同时显示第一窗口和第二窗口的情况下,该方法还包括:Optionally, when the first window and the second window are displayed simultaneously, the method further includes:
接收用户对目标窗口中目标联系人标识的第七输入;receiving a seventh input from the user regarding a target contact identifier in the target window;
响应于第七输入,更新目标联系人标识的显示位置,并更新目标联系人与目标视频片段的关联关系。In response to the seventh input, the display position of the target contact identifier is updated, and the association relationship between the target contact and the target video segment is updated.
应当说明的是,第二窗口中包括第二视频片段的视频画面以及第二联系人标识;目标窗口包括以下至少一项:第一窗口、第二窗口,目标联系人标识包括以下至少一项:第一联系人标识、第二联系人标识;目标联系人为目标联系人标识对应的联系人,目标视频片段为目标窗口对应的视频片段。第二视频片段与第一视频片段类似,两者不同之处在于第一视频片段中目标图像内容为第一对象对应的图像内容,第二视频片段中目标图像内容为第二对象对应的图像内容。It should be noted that the second window includes the video screen of the second video clip and the second contact identifier; the target window includes at least one of the following: the first window and the second window; the target contact identifier includes at least one of the following: the first contact identifier and the second contact identifier; the target contact is the contact corresponding to the target contact identifier, and the target video clip is the video clip corresponding to the target window. The second video clip is similar to the first video clip, and the difference between the two is that the target image content in the first video clip is the image content corresponding to the first object, and the target image content in the second video clip is the image content corresponding to the second object.
可以理解的是,响应于第七输入所执行的操作可以与响应于第三输入所执行的操作或者响应于第四输入所执行的操作类似。具体的,可以在第一窗口取消显示第一联系人标识,并在第二窗口显示第一联系人标识。同时,取消关联第一对象与第一联系人;关联第二对象与第一联系人。It is understandable that the operation performed in response to the seventh input may be similar to the operation performed in response to the third input or the operation performed in response to the fourth input. Specifically, the first contact identifier may be canceled from the first window, and the first contact identifier may be displayed in the second window. At the same time, the first object and the first contact are canceled, and the second object and the first contact are associated.
可以在第二窗口显示第一联系人标识,并保持第一窗口显示第一联系人标识。同时,保持第一对象与第一联系人关联的情况下,关联第二对象与第一联系人。The first contact identifier may be displayed in the second window, and the first window may be kept displaying the first contact identifier. Meanwhile, the second object may be associated with the first contact while the first object is kept associated with the first contact.
本申请实施例中,在同时显示第一窗口和第二窗口的情况下,通过窗口中的联系人标识提供调整功能,可以帮助用户快速调整被分享方。In the embodiment of the present application, when the first window and the second window are displayed at the same time, an adjustment function is provided through the contact identifiers in the windows, which can help the user quickly adjust the sharing party.
可选地,在将第一视频片段发送至第一联系人之前,该方法还包括:Optionally, before sending the first video clip to the first contact, the method further includes:
提取目标视频中存在第一对象的目标视频帧。A target video frame in which the first object exists in the target video is extracted.
将目标视频帧的前景图像中除第一对象之外的对象均去除,得到处理视频帧。All objects except the first object in the foreground image of the target video frame are removed to obtain a processed video frame.
应当说明的是,仅对目标视频帧的前景图像进行处理,可以保留背景图像的图像内容。在对目标视频帧中的对象进行去除时,可以采用抠图的方式将第一对象以及背景图像抠出来,从而实现对第一对象之外的对象进行去除。当然还可以采用裁剪的方式,对第一对象所属区域进行裁剪,保留裁剪出来的包括第一对象的图像内容。还可以先对第一对象之外的对象进行删除,然后利用删除部分周围的像素点进行填充。It should be noted that only the foreground image of the target video frame is processed, and the image content of the background image can be retained. When removing the object in the target video frame, the first object and the background image can be cut out by cutting out the image, so as to remove the objects other than the first object. Of course, the area to which the first object belongs can also be cut out by cutting out, and the cut-out image content including the first object can be retained. It is also possible to delete the objects other than the first object first, and then fill them with the pixels around the deleted part.
基于处理视频帧生成第一视频片段。A first video segment is generated based on the processed video frame.
应当说明的是,同一个对象可以被提取分享给不同的被分享人,同一个被分享人也可以关联多个对象。在同一个被分享人关联多个对象的情况下,将基于该多个对象得到的图像信息将生成一个视频文件,并被发送至被分享方。例如目标视频的目标画面中有人物A,人物B和人物C,人物A与社交联系人小张进行了关联,则人物B和人物C最终不会被提取出来分享给小张,发送至小张的第一视频片段中不存在人物B和人物C。假如人物A和人物B都与社交联系人小张进行了关联,则基于人物A和人物B的图像信息生成一个视频文件,不会生成两个视频文件。可以理解的是,本申请实施例中仅以对象为人物进行示例性说明,但对象并不限于人物。It should be noted that the same object can be extracted and shared with different sharees, and the same sharee can also be associated with multiple objects. In the case where the same sharee is associated with multiple objects, a video file will be generated based on the image information obtained based on the multiple objects and sent to the sharee. For example, there are characters A, B and C in the target screen of the target video, and character A is associated with the social contact Xiao Zhang. Then, characters B and C will not be extracted and shared with Xiao Zhang in the end, and characters B and C do not exist in the first video clip sent to Xiao Zhang. If both characters A and B are associated with the social contact Xiao Zhang, a video file will be generated based on the image information of characters A and B, and two video files will not be generated. It can be understood that in the embodiments of the present application, only the objects are exemplified as characters, but the objects are not limited to characters.
本申请实施例中,第一视频片段去除了前景图像中除第一对象之外的对象,使其更具有针对性,可以更好的满足用户需求。In the embodiment of the present application, the first video clip removes objects other than the first object in the foreground image, making it more targeted and better meeting user needs.
需要说明的是,本申请实施例提供的视频分享方法,执行主体可以为视频分享装置。本申请实施例中以视频分享装置执行视频分享方法为例,说明本申请实施例提供的视频分享装置。It should be noted that the video sharing method provided in the embodiment of the present application can be executed by a video sharing device. In the embodiment of the present application, the video sharing device executing the video sharing method is taken as an example to illustrate the video sharing device provided in the embodiment of the present application.
如图8所示,本申请实施例还提供了一种视频分享装置,该装置包括:As shown in FIG8 , the embodiment of the present application further provides a video sharing device, which includes:
第一接收模块81,用于在显示目标视频的播放界面的情况下,接收用户对目标画面中第一对象的第一输入,其中,目标画面为目标视频的任一视频画面;A first receiving module 81 is used to receive a first input of a user on a first object in a target screen when displaying a playback interface of a target video, wherein the target screen is any video screen of the target video;
第一响应模块82,用于响应于第一输入,将第一对象与第一联系人进行关联;A first response module 82, configured to associate the first object with the first contact in response to the first input;
发送模块83,用于将第一视频片段发送至第一联系人,其中,第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,目标视频帧为目标视频中包括第一对象的视频帧,目标图像内容包括第一对象对应的图像内容。The sending module 83 is used to send the first video clip to the first contact, wherein the first video clip is a video clip generated based on the target image content in at least two target video frames, the target video frame is a video frame including the first object in the target video, and the target image content includes the image content corresponding to the first object.
可选地,第一输入包括第一子输入、第二子输入、第三子输入和第四子输入,第一接收模块81,具体用于接收用户对目标画面中第一对象的第一子输入;Optionally, the first input includes a first sub-input, a second sub-input, a third sub-input and a fourth sub-input, and the first receiving module 81 is specifically configured to receive a first sub-input of a user on a first object in a target screen;
第一响应模块82,包括:The first response module 82 includes:
第一响应子单元,用于响应于第一子输入,显示第一控件;A first response subunit, configured to display a first control in response to a first sub-input;
第二响应子单元,用于在接收到用户对第一控件的第二子输入的情况下,显示至少一个应用程序标识,其中,每一应用程序标识对应一个应用程序;A second response subunit is used to display at least one application identifier when receiving a second sub-input of the user to the first control, wherein each application identifier corresponds to an application;
第三响应子单元,用于在接收到用户对至少一个应用程序标识中目标应用标识的第三子输入的情况下,显示目标应用程序对应的至少一个联系人标识,其中,目标应用程序为目标应用程序标识对应的应用程序;A third response subunit is used to display at least one contact identifier corresponding to the target application when receiving a third sub-input of a target application identifier in at least one application identifier from the user, wherein the target application is an application corresponding to the target application identifier;
第四响应子单元,用于在接收到用户对至少一个联系人标识中第一联系人标识的第四子输入的情况下,将第一对象与第一联系人进行关联,其中,第一联系人为第一联系人标识对应的联系人。The fourth response subunit is used to associate the first object with the first contact when receiving a fourth sub-input of the user for the first contact identifier among the at least one contact identifier, wherein the first contact is the contact corresponding to the first contact identifier.
可选地,该装置还包括:Optionally, the device further comprises:
第一显示模块,用于在第一显示区域显示第一联系人对应的第一联系人标识,其中,第一显示区域包括目标画面中第一对象对应的显示区域。The first display module is used to display a first contact identifier corresponding to the first contact in a first display area, wherein the first display area includes a display area corresponding to the first object in the target screen.
可选地,该装置还包括:Optionally, the device further comprises:
第二接收模块,用于接收用户对第一联系人标识的第二输入;A second receiving module, configured to receive a second input of the first contact identifier by the user;
第二响应模块,用于响应于第二输入,取消显示第一联系人标识,并取消关联第一对象与第一联系人。The second response module is used to cancel the display of the first contact identifier and cancel the association between the first object and the first contact in response to the second input.
可选地,该装置还包括:Optionally, the device further comprises:
第三接收模块,用于接收用户对第一联系人标识的第三输入;A third receiving module, configured to receive a third input of the first contact identifier from the user;
第三响应模块,用于响应于第三输入,在第一显示区域取消显示第一联系人标识,并在第二显示区域显示第一联系人标识,其中,第二显示区域包括目标画面中第二对象对应的显示区域。The third response module is used to cancel the display of the first contact identifier in the first display area and display the first contact identifier in the second display area in response to the third input, wherein the second display area includes the display area corresponding to the second object in the target screen.
可选地,该装置还包括:Optionally, the device further comprises:
第四接收模块,用于接收用户对第一联系人标识的第四输入;A fourth receiving module, configured to receive a fourth input of the first contact identifier from the user;
第四响应模块,用于响应于第四输入,在第三显示区域显示第一联系人标识,并保持第一显示区域显示第一联系人标识,其中,第三显示区域包括目标画面中第三对象对应的显示区域。The fourth response module is used to display the first contact identifier in the third display area in response to the fourth input, and keep the first display area displaying the first contact identifier, wherein the third display area includes the display area corresponding to the third object in the target screen.
可选地,该装置还包括:Optionally, the device further comprises:
第二显示模块,用于显示第一窗口,其中,第一窗口中包括第一视频片段的视频画面以及第一联系人标识。The second display module is used to display the first window, wherein the first window includes the video image of the first video clip and the first contact identifier.
可选地,发送模块83,包括:Optionally, the sending module 83 includes:
第五接收单元,用于接收用户对第一窗口中第一联系人标识的第五输入;A fifth receiving unit, configured to receive a fifth input from a user on the first contact identifier in the first window;
第五响应单元,用于响应于第五输入,将第一视频片段发送至第一联系人标识对应的联系人。The fifth responding unit is configured to send the first video clip to the contact corresponding to the first contact identifier in response to the fifth input.
可选地,该装置还包括:Optionally, the device further comprises:
第六接收模块,用于接收用户对第一窗口中第一联系人标识的第六输入;A sixth receiving module, configured to receive a sixth input of the user on the first contact identifier in the first window;
第六响应模块,用于响应于第六输入,在第一窗口中取消显示第一联系人标识,并取消关联第一对象与第一联系人。The sixth response module is used to cancel the display of the first contact identifier in the first window and cancel the association between the first object and the first contact in response to the sixth input.
可选地,在同时显示第一窗口和第二窗口的情况下,该装置还包括:Optionally, when the first window and the second window are displayed simultaneously, the device further includes:
第七接收模块,用于接收用户对目标窗口中目标联系人标识的第七输入;A seventh receiving module, configured to receive a seventh input of a target contact identifier in the target window from a user;
第七响应模块,用于响应于第七输入,更新目标联系人标识的显示位置,并更新目标联系人与目标视频片段的关联关系;a seventh response module, configured to update the display position of the target contact identifier and update the association relationship between the target contact and the target video clip in response to the seventh input;
其中,第二窗口中包括第二视频片段的视频画面以及第二联系人标识;目标窗口包括以下至少一项:第一窗口、第二窗口,目标联系人标识包括以下至少一项:第一联系人标识、第二联系人标识;目标联系人为目标联系人标识对应的联系人,目标视频片段为目标窗口对应的视频片段。Among them, the second window includes the video screen of the second video clip and the second contact identifier; the target window includes at least one of the following: the first window, the second window, and the target contact identifier includes at least one of the following: the first contact identifier, the second contact identifier; the target contact is the contact corresponding to the target contact identifier, and the target video clip is the video clip corresponding to the target window.
本申请实施例中,在显示目标视频的播放界面的情况下,接收用户对目标画面中的第一对象的第一输入,由于目标画面为目标视频的任一视频画面,因此用户可以在观看目标视频过程中随时对其感兴趣的第一对象进行第一输入。然后将第一对象与第一联系人进行关联,其中,第一联系人为分享视频的对象,最后将第一视频片段发送至所述第一联系人,完成视频的分享。由于第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,所述目标视频帧为所述目标视频中包括所述第一对象的视频帧,所述目标图像内容包括所述第一对象对应的图像内容,因此无需将完整的目标视频发送至第一联系人,针对性地将用户感兴趣的视频内容发送至第一联系人,不仅降低了被分享视频文件的数据量,同时也节省了分享双方的流量。In an embodiment of the present application, when the playback interface of the target video is displayed, a first input of a user to a first object in a target screen is received. Since the target screen is any video screen of the target video, the user can make a first input to the first object of interest at any time while watching the target video. Then the first object is associated with a first contact, wherein the first contact is the object of sharing the video, and finally the first video clip is sent to the first contact to complete the sharing of the video. Since the first video clip is a video clip generated based on the target image content in at least two frames of target video frames, the target video frame is a video frame including the first object in the target video, and the target image content includes the image content corresponding to the first object, there is no need to send the complete target video to the first contact, and the video content of interest to the user is sent to the first contact in a targeted manner, which not only reduces the data volume of the shared video file, but also saves the traffic of both parties of the sharing.
本申请实施例中的视频分享装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtualreality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The video sharing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
本申请实施例中的视频分享装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The video sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的视频分享装置能够实现图1至图7的方法实施例实现的各个过程,实现相同的技术效果,为避免重复,这里不再赘述。The video sharing device provided in the embodiment of the present application can implement each process implemented in the method embodiments of Figures 1 to 7 and achieve the same technical effect. To avoid repetition, it will not be described here.
可选地,如图9所示,本申请实施例还提供一种电子设备900,包括处理器901和存储器902,存储器902上存储有可在所述处理器901上运行的程序或指令,该程序或指令被处理器901执行时实现上述视频分享方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 9, an embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, and the memory 902 stores a program or instruction that can be executed on the processor 901. When the program or instruction is executed by the processor 901, the various steps of the above-mentioned video sharing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
图10为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The electronic device structure shown in FIG10 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.
其中,用户输入单元1007,用于在显示目标视频的播放界面的情况下,接收用户对目标画面中第一对象的第一输入,其中,目标画面为目标视频的任一视频画面;The user input unit 1007 is used to receive a first input of a user to a first object in a target screen when displaying the playback interface of the target video, wherein the target screen is any video screen of the target video;
处理器1010,用于响应于第一输入,将第一对象与第一联系人进行关联;Processor 1010, configured to associate a first object with a first contact in response to a first input;
处理器1010,还用于将第一视频片段发送至第一联系人,其中,第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,目标视频帧为目标视频中包括第一对象的视频帧,目标图像内容包括第一对象对应的图像内容。Processor 1010 is also used to send a first video clip to a first contact, wherein the first video clip is a video clip generated based on target image content in at least two target video frames, the target video frame is a video frame in the target video that includes a first object, and the target image content includes image content corresponding to the first object.
本申请实施例中,在显示目标视频的播放界面的情况下,接收用户对目标画面中的第一对象的第一输入,由于目标画面为目标视频的任一视频画面,因此用户可以在观看目标视频过程中随时对其感兴趣的第一对象进行第一输入。然后将第一对象与第一联系人进行关联,其中,第一联系人为分享视频的对象,最后将第一视频片段发送至第一联系人,完成视频的分享。由于第一视频片段为基于至少两帧目标视频帧中的目标图像内容生成的视频片段,目标视频帧为目标视频中包括第一对象的视频帧,目标图像内容包括第一对象对应的图像内容,因此无需将完整的目标视频发送至第一联系人,针对性地将用户感兴趣的视频内容发送至第一联系人,不仅降低了被分享视频文件的数据量,同时也节省了分享双方的流量。In an embodiment of the present application, when the playback interface of the target video is displayed, a first input of the user to the first object in the target screen is received. Since the target screen is any video screen of the target video, the user can make a first input to the first object of interest at any time while watching the target video. Then the first object is associated with the first contact, wherein the first contact is the object of sharing the video, and finally the first video clip is sent to the first contact to complete the sharing of the video. Since the first video clip is a video clip generated based on the target image content in at least two frames of the target video frames, the target video frame is a video frame including the first object in the target video, and the target image content includes the image content corresponding to the first object, there is no need to send the complete target video to the first contact, and the video content of interest to the user is sent to the first contact in a targeted manner, which not only reduces the data volume of the shared video file, but also saves the traffic of both parties of the sharing.
可选地,显示单元1006,用于在第一显示区域显示第一联系人对应的第一联系人标识,其中,第一显示区域包括目标画面中第一对象对应的显示区域。Optionally, the display unit 1006 is configured to display a first contact identifier corresponding to the first contact in a first display area, wherein the first display area includes a display area corresponding to the first object in the target screen.
本申请实施例中,通过在第一对象对应的第一显示区域显示被分享方的联系人标识,可以将第一对象与被分享方的关联关系直观的展示出来,从而便于用户查看。In the embodiment of the present application, by displaying the contact identifier of the shared party in the first display area corresponding to the first object, the association relationship between the first object and the shared party can be intuitively displayed, thereby facilitating user viewing.
可选地,用户输入单元1007,还用于接收用户对第一联系人标识的第二输入;Optionally, the user input unit 1007 is further configured to receive a second input of the user on the first contact identifier;
处理器1010,还用于响应于第二输入,控制显示单元1006取消显示第一联系人标识,并取消关联第一对象与第一联系人。The processor 1010 is further configured to, in response to the second input, control the display unit 1006 to cancel displaying the first contact identifier and cancel association between the first object and the first contact.
本申请实施例中,通过第一联系人标识提供移除功能,不仅可以将第一联系人标识移除,还可以取消第一对象与第一联系人之间的关联,从而方便用户重新选择第一对象及其关联的第一联系人。In the embodiment of the present application, a removal function is provided through the first contact identifier, which can not only remove the first contact identifier, but also cancel the association between the first object and the first contact, thereby facilitating the user to reselect the first object and its associated first contact.
可选地,用户输入单元1007,还用于接收用户对第一联系人标识的第三输入;Optionally, the user input unit 1007 is further configured to receive a third input of the user on the first contact identifier;
处理器1010,还用于响应于第三输入,控制显示单元1006在第一显示区域取消显示第一联系人标识,并在第二显示区域显示第一联系人标识,其中,第二显示区域包括目标画面中第二对象对应的显示区域。The processor 1010 is further configured to control the display unit 1006 to cancel display of the first contact identifier in the first display area and display the first contact identifier in the second display area in response to the third input, wherein the second display area includes a display area corresponding to the second object in the target screen.
本申请实施例中,通过第一联系人标识进行输入,可以更新联系人与对象之间的关联关系。In the embodiment of the present application, the association relationship between the contact and the object can be updated by inputting the first contact identifier.
可选地,用户输入单元1007,还用于接收用户对第一联系人标识的第四输入;Optionally, the user input unit 1007 is further configured to receive a fourth input of the user on the first contact identifier;
处理器1010,还用于响应于第四输入,控制显示单元1006在第三显示区域显示第一联系人标识,并保持第一显示区域显示第一联系人标识,其中,第三显示区域包括目标画面中第三对象对应的显示区域。The processor 1010 is further configured to, in response to a fourth input, control the display unit 1006 to display the first contact identifier in the third display area and keep the first display area displaying the first contact identifier, wherein the third display area includes a display area corresponding to a third object in the target screen.
本申请实施例中,通过第一联系人标识进行输入,可以更新视频片段所包含的对象。In the embodiment of the present application, the object included in the video clip may be updated by inputting the first contact identifier.
可选地,显示单元1006,还用于显示第一窗口,其中,第一窗口中包括第一视频片段的视频画面以及第一联系人标识。Optionally, the display unit 1006 is further configured to display a first window, wherein the first window includes a video image of the first video clip and an identifier of the first contact.
本申请实施例中,通过第一窗口将被分享方的联系人标识以及将要发送至被分享方的第一视频片段的视频画面显示出来,可以方便用户快速查看被分享方以及分享内容。In the embodiment of the present application, the contact identifier of the party to be shared and the video screen of the first video clip to be sent to the party to be shared are displayed in the first window, so that the user can quickly view the party to be shared and the shared content.
可选地,用户输入单元1007,还用于接收用户对第一窗口中第一联系人标识的第六输入;Optionally, the user input unit 1007 is further configured to receive a sixth input from the user regarding the first contact identifier in the first window;
处理器1010,还用于响应于第六输入,控制显示单元1006在第一窗口中取消显示第一联系人标识,并取消关联第一对象与第一联系人。The processor 1010 is further configured to, in response to a sixth input, control the display unit 1006 to cancel displaying the first contact identifier in the first window, and cancel association between the first object and the first contact.
本申请实施例中,通过第一联系人标识提供移除功能,不仅可以将第一联系人标识移除,还可以取消第一对象与第一联系人之间的关联,从而方便用户重新选择第一对象及其关联的第一联系人。In the embodiment of the present application, a removal function is provided through the first contact identifier, which can not only remove the first contact identifier, but also cancel the association between the first object and the first contact, thereby facilitating the user to reselect the first object and its associated first contact.
可选地,在同时显示第一窗口和第二窗口的情况下,用户输入单元1007,还用于接收用户对目标窗口中目标联系人标识的第七输入;Optionally, in the case where the first window and the second window are displayed simultaneously, the user input unit 1007 is further configured to receive a seventh input of the user on the target contact identifier in the target window;
处理器1010,还用于响应于第七输入,更新目标联系人标识的显示位置,并更新目标联系人与目标视频片段的关联关系;The processor 1010 is further configured to update the display position of the target contact identifier and update the association relationship between the target contact and the target video clip in response to the seventh input;
其中,第二窗口中包括第二视频片段的视频画面以及第二联系人标识;目标窗口包括以下至少一项:第一窗口、第二窗口,目标联系人标识包括以下至少一项:第一联系人标识、第二联系人标识;目标联系人为目标联系人标识对应的联系人,目标视频片段为目标窗口对应的视频片段。Among them, the second window includes the video screen of the second video clip and the second contact identifier; the target window includes at least one of the following: the first window, the second window, and the target contact identifier includes at least one of the following: the first contact identifier, the second contact identifier; the target contact is the contact corresponding to the target contact identifier, and the target video clip is the video clip corresponding to the target window.
本申请实施例中,在同时显示第一窗口和第二窗口的情况下,通过窗口中的联系人标识提供调整功能,可以帮助用户快速调整被分享方。In the embodiment of the present application, when the first window and the second window are displayed at the same time, an adjustment function is provided through the contact identifiers in the windows, which can help the user quickly adjust the sharing party.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(GraphicsProcessing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072中的至少一种。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1009可以包括易失性存储器或非易失性存储器,或者,存储器x09可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1009包括但不限于这些和任意其它适合类型的存储器。The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory x09 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器1010可包括一个或多个处理单元;可选地,处理器1010集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述视频分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned video sharing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述视频分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned video sharing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述视频分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned video sharing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210496636.4A CN114928761B (en) | 2022-05-07 | 2022-05-07 | Video sharing method, device and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210496636.4A CN114928761B (en) | 2022-05-07 | 2022-05-07 | Video sharing method, device and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114928761A CN114928761A (en) | 2022-08-19 |
CN114928761B true CN114928761B (en) | 2024-04-12 |
Family
ID=82807772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210496636.4A Active CN114928761B (en) | 2022-05-07 | 2022-05-07 | Video sharing method, device and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114928761B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115442564A (en) * | 2022-08-25 | 2022-12-06 | 杭州华橙软件技术有限公司 | Video sharing method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110072071A (en) * | 2019-05-31 | 2019-07-30 | 努比亚技术有限公司 | A kind of video record interaction control method, equipment and computer readable storage medium |
CN111612873A (en) * | 2020-05-29 | 2020-09-01 | 维沃移动通信有限公司 | GIF image generation method, device and electronic device |
CN112188260A (en) * | 2020-10-26 | 2021-01-05 | 咪咕文化科技有限公司 | Video sharing method, electronic device and readable storage medium |
CN113918522A (en) * | 2021-10-15 | 2022-01-11 | 维沃移动通信有限公司 | A file generation method, device and electronic device |
CN114449327A (en) * | 2021-12-31 | 2022-05-06 | 北京百度网讯科技有限公司 | Video clip sharing method and device, electronic equipment and readable storage medium |
-
2022
- 2022-05-07 CN CN202210496636.4A patent/CN114928761B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110072071A (en) * | 2019-05-31 | 2019-07-30 | 努比亚技术有限公司 | A kind of video record interaction control method, equipment and computer readable storage medium |
CN111612873A (en) * | 2020-05-29 | 2020-09-01 | 维沃移动通信有限公司 | GIF image generation method, device and electronic device |
CN112188260A (en) * | 2020-10-26 | 2021-01-05 | 咪咕文化科技有限公司 | Video sharing method, electronic device and readable storage medium |
CN113918522A (en) * | 2021-10-15 | 2022-01-11 | 维沃移动通信有限公司 | A file generation method, device and electronic device |
CN114449327A (en) * | 2021-12-31 | 2022-05-06 | 北京百度网讯科技有限公司 | Video clip sharing method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114928761A (en) | 2022-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113300938A (en) | Message sending method and device and electronic equipment | |
CN112184168B (en) | Reminder task generation method, device and electronic device | |
CN114374663B (en) | Message processing method and message processing device | |
WO2024109731A1 (en) | Content sharing method and apparatus, electronic device, and readable storage medium | |
CN112748844A (en) | Message processing method and device and electronic equipment | |
WO2025130932A1 (en) | Message display method and apparatus, and electronic device and readable storage medium | |
CN105094539A (en) | Display method and device of reference information | |
CN114928761B (en) | Video sharing method, device and electronic device | |
CN114679546B (en) | A display method and device, electronic device and readable storage medium | |
CN112764632B (en) | Image sharing method, device and electronic equipment | |
WO2025098310A1 (en) | Expression processing method and apparatus, electronic device, and readable storage medium | |
CN114866835A (en) | Bullet screen display method, bullet screen display device and electronic device | |
WO2024114571A1 (en) | Information display method and apparatus, electronic device, and storage medium | |
WO2025082433A1 (en) | Identifier display method and apparatus, electronic device, and readable storage medium | |
WO2025040061A1 (en) | Screenshot method and apparatus, electronic device, and readable storage medium | |
WO2024245176A1 (en) | Display method and apparatus | |
WO2024093815A1 (en) | Data sharing method and apparatus, electronic device, and medium | |
CN115202524B (en) | Display method and device | |
WO2024093793A1 (en) | Message display method and apparatus, and electronic device and medium | |
CN117215456A (en) | Display method and device and electronic equipment | |
CN116126181A (en) | Information display method, information display device, electronic equipment and storage medium | |
CN112581102B (en) | Task management method, device, electronic device and storage medium | |
CN115586937A (en) | Interface display method and device, electronic equipment and readable storage medium | |
CN113037618A (en) | Image sharing method and device | |
CN114706638B (en) | Interface display method and device, electronic equipment and medium |
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 |