CN117768430A - Method, device and equipment for sending and receiving live pictures in session - Google Patents

Method, device and equipment for sending and receiving live pictures in session Download PDF

Info

Publication number
CN117768430A
CN117768430A CN202311785224.3A CN202311785224A CN117768430A CN 117768430 A CN117768430 A CN 117768430A CN 202311785224 A CN202311785224 A CN 202311785224A CN 117768430 A CN117768430 A CN 117768430A
Authority
CN
China
Prior art keywords
target
live
picture
session
information
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.)
Pending
Application number
CN202311785224.3A
Other languages
Chinese (zh)
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202311785224.3A priority Critical patent/CN117768430A/en
Publication of CN117768430A publication Critical patent/CN117768430A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure relates to the technical field of computers, and discloses a method, a device and equipment for sending and receiving live pictures in a session, wherein the method for sending comprises the following steps: the target sending user side obtains a target live picture to be sent in a session interface of a target session; responding to a live sending operation aiming at the target live picture, and generating a dynamic identifier corresponding to the target live picture; and generating target information based on the target live picture and the dynamic identification, and sending the target information to the target session. The receiving method comprises the following steps: the target receiving user side receives target information from a session interface of a target session, analyzes the target information and determines whether the target information carries dynamic identification; and when the dynamic identification is carried in the target information, displaying the target live picture corresponding to the target information in a live form. By implementing the technical scheme, the dynamic sending and the dynamic receiving of the target live picture are realized.

Description

Method, device and equipment for sending and receiving live pictures in session
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a method, a device and equipment for sending and receiving live pictures in a session.
Background
With the development of computer technology, application programs supporting private communication are rapidly developing. Currently, when a target transmitting user transmits a live picture (for example, livePhoto shot by a mobile terminal) through private messages of an application program, the live picture is transmitted in a form of a still picture, and it is difficult to transmit the live picture in a dynamic form during preview. Accordingly, for the target receiving user side, only a common still picture can be received, and the still picture cannot be displayed in a picture form.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a method, a device, and a device for sending and receiving a live picture in a session, so as to solve the problem that the live picture is difficult to send in a dynamic form.
In a first aspect, an embodiment of the present disclosure provides a method for sending a live picture in a session, including: acquiring a target live picture to be transmitted from a session interface of a target session; responding to a live sending operation aiming at the target live picture, and generating a dynamic identifier corresponding to the target live picture; and generating target information based on the target live picture and the dynamic identifier, and sending the target information to a target session, so that a target receiving user side in the target session displays the target live picture corresponding to the target information in a live form based on the dynamic identifier carried by the target information.
According to the method for sending the live pictures in the session, when the fact that the user sends the target live pictures is detected, corresponding dynamic identifications are generated for the target live pictures, so that the dynamic identifications are added in information for sending the target live pictures, target information is generated, and the target sending user side can send the target live pictures according to a live sending mode. Therefore, the dynamic identification is used for representing that the target live picture is a dynamic live picture, and the dynamic sending of the target live picture is realized.
In a second aspect, an embodiment of the present disclosure provides a method for receiving a live picture in a session, including: receiving target information from a session interface of a target session, wherein the target information is generated by a target transmitting user side in the target session based on a target live picture; analyzing the target information and determining whether the target information carries dynamic identification; and when the dynamic identification is carried in the target information, displaying the target live picture corresponding to the target information in a live form.
According to the receiving method of the live pictures in the session, whether the information content carried by the target information is the target live picture is determined by identifying the dynamic identification carried by the target information. When the information content carried by the target information is determined to be the target live picture, the target receiving user side displays the target live picture according to the live form, so that the dynamic receiving and the dynamic viewing of the target live picture are realized.
In a third aspect, an embodiment of the present disclosure provides a transmitting apparatus for live pictures in a session, including: the acquisition module is used for acquiring a target live picture to be transmitted in a session interface of a target session; the identification generation module is used for responding to the live transmission operation aiming at the target live picture and generating a dynamic identification corresponding to the target live picture; the information sending module is used for generating target information based on the target live picture and the dynamic identification, and sending the picture to the target session, so that a target receiving user side in the target session displays the target live picture corresponding to the target information in a live mode based on the dynamic identification carried by the target information.
In a fourth aspect, an embodiment of the present disclosure provides a receiving apparatus for live pictures in a session, including: the information receiving module is used for receiving target information, wherein the target information is generated by a target sending user side in a target session based on a target live picture; the information analysis module is used for analyzing the target information and determining whether the target information carries dynamic identification; and the live display module is used for displaying the target live picture corresponding to the target information in a live form when the dynamic identification is carried in the target information.
In a fifth aspect, embodiments of the present disclosure provide a computer device comprising: the processor executes the computer instructions, thereby executing the method for sending the live pictures in the session according to the first aspect or any implementation manner corresponding to the first aspect, or executing the method for receiving the live pictures in the session according to the second aspect or any implementation manner corresponding to the second aspect.
In a sixth aspect, an embodiment of the present disclosure provides a computer readable storage medium, where computer instructions are stored on the computer readable storage medium, where the computer instructions are configured to cause a computer to perform the method for sending a live picture in a session according to the first aspect or any embodiment corresponding thereto, or perform the method for receiving a live picture in a session according to the second aspect or any embodiment corresponding thereto.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the prior art, the drawings that are required in the detailed description or the prior art will be briefly described, it will be apparent that the drawings in the following description are some embodiments of the present disclosure, and other drawings may be obtained according to the drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a flow diagram of a method of sending live pictures in a conversation in accordance with some embodiments of the present disclosure;
FIG. 2 is a flow diagram of a method of sending live pictures in another session in accordance with some embodiments of the present disclosure;
FIG. 3 is a schematic diagram of a live shot identity of a shot page of some embodiments of the present disclosure;
FIG. 4 is a schematic diagram of a live on of some embodiments of the present disclosure;
FIG. 5 is a schematic illustration of an edit page of some embodiments of the present disclosure;
FIG. 6 is a schematic diagram of an image library presentation page of some embodiments of the present disclosure;
FIG. 7 is a flow diagram of a method of receiving live pictures in a conversation in accordance with some embodiments of the present disclosure;
FIG. 8 is a flow diagram of a method of receiving live pictures in another session in accordance with some embodiments of the present disclosure;
FIG. 9 is a schematic diagram of a conversation page of some embodiments of the present disclosure;
fig. 10 is a block diagram of a structure of a transmitting apparatus of a live picture in a session according to an embodiment of the present disclosure;
fig. 11 is a block diagram of a structure of a receiving device of a live picture in a session according to an embodiment of the present disclosure;
fig. 12 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person skilled in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
When a transmitting user transmits a live picture (e.g., livePhoto shot by a mobile terminal) to a receiving user side through private information of an application program, the live picture is transmitted in a form of a still picture, and it is difficult to transmit the live picture in a dynamic form during preview. Accordingly, for the receiving user side, only a common still picture can be received, and the still picture cannot be displayed in a picture form.
Based on the above, the technical scheme of the present disclosure can generate a corresponding dynamic identifier when transmitting a live picture, so that a transmitting user side can transmit the live picture in a dynamic form. Meanwhile, the receiving user side can receive the live pictures and display the live pictures in a dynamic form.
According to an embodiment of the present disclosure, there is provided a method embodiment of sending live pictures in a conversation, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
In this embodiment, a method for sending a live picture in a session is provided, which may be used on a target sending user side, and fig. 1 is a flowchart of a method for sending a live picture in a session according to an embodiment of the disclosure, as shown in fig. 1, where the flowchart includes the following steps:
Step S101, acquiring a target live picture to be transmitted in a session interface of a target session.
The target live picture is a dynamic picture sent to the target receiving user side by the target sending user side. In particular, the target live picture is composed of dynamic content for a certain period of time (e.g., a few seconds) and is presented in the form of video and still images. The session interface of the target session is a session interface of the communication session between the target sending user side and the target receiving user side.
Specifically, a camera is arranged on the target sending user side, and the dynamic shooting function is achieved. The user can shoot any object in the real scene through the camera, and correspondingly, the target sending user side can respond to shooting operation of the user to call a dynamic shooting function to generate a target live picture aiming at any object.
Specifically, the target sending user side has a corresponding picture storage space, such as an image library. The user can select the live pictures of interest from the image library, and accordingly, the target transmitting user side can respond to the selection operation of the user and can take the selected live pictures as target live pictures to be transmitted to the target receiving user side.
Of course, the target live picture may also be a live picture received by the target sending user side from other devices, where the obtaining manner of the target live picture is not limited, and may be determined by those skilled in the art according to actual requirements.
Step S102, in response to the live transmission operation for the target live picture, generating a dynamic identification corresponding to the target live picture.
The target live picture has a live identification, and when the live identification is in an on state, the target live picture can be sent in a live form; the target live picture may be sent in a static form while the live identification is in an off state.
The live transmission operation represents an operation of transmitting a target live picture in a live form; dynamic identification is a dynamic marking bit generated for a target live picture, and the currently transmitted resource is characterized as the live picture through the dynamic identification. Specifically, when the fact that the user sends the target live picture in a live mode is detected, the target sending user side can respond to the live sending operation of the user, and corresponding dynamic identification is generated in the process of sending the target live picture.
Step S103, generating target information based on the target live picture and the dynamic identification, and sending the target information to a target session, so that a target receiving user side in the target session displays the target live picture corresponding to the target information in a live form based on the dynamic identification carried by the target information.
The target information is information generated based on a communication protocol between the target transmitting user side and the target receiving user side. Specifically, the target sending user side takes a target live picture as picture information to be sent, codes the target live picture and generates picture coding information; and determining an information format and an information transmission rule by combining a communication protocol between the target sending user side and the target receiving user side, packaging the picture coding information according to the information format and the information transmission rule to generate picture sending information of the target live picture, and adding a dynamic identifier into the picture sending information to generate target information.
The target transmitting user side may transmit the generated target information to the target receiving user side through a network connection (e.g., wi-Fi or mobile network). Correspondingly, the target receiving user side can receive the target information sent by the target sending user side and analyze and process the target information to identify whether the target information carries the dynamic identification. When the dynamic identification is carried in the target information, receiving and displaying the target live picture corresponding to the target information in a live form.
According to the method for sending the live pictures in the session, when the target sending user side detects that the user sends the target live pictures, corresponding dynamic identifications are generated for the target live pictures, so that the dynamic identifications are added in the information for sending the target live pictures, and target information is generated, so that the target sending user side can send the target live pictures according to a live sending mode. Therefore, the dynamic identification is used for representing that the target live picture is a dynamic live picture, and the dynamic sending of the target live picture is realized.
In this embodiment, a method for sending a live picture in a session is provided, which may be used for a target sending user side, and fig. 2 is a flowchart of a method for sending a live picture in a session according to an embodiment of the disclosure, as shown in fig. 2, where the flowchart includes the following steps:
step S201, a target live picture to be sent is obtained in a session interface of a target session.
Specifically, the step S201 may include:
in step S2011, in response to the start operation for the shooting component in the session interface, a shooting page is displayed, where the shooting page includes a live shooting identifier and a target object to be shot.
The shooting component is a functional component deployed in a session page of the target session and used for starting a camera; the live shooting identification is used for representing whether a live shooting target object is adopted; the target object represents an object in an actual scene to be shot by the camera, and the target object may be an object, a person, or an environment, and is not particularly limited herein.
When a user triggers the shooting component to start the shooting function, the shooting component in the conversation page can respond to the starting operation of the user, call the shooting function of the shooting component, and display the shooting page for shooting the target object. And displaying a target object to be shot in the shooting page, wherein a function field is arranged in the shooting page, and a live shooting identifier is displayed in the function field. As shown in fig. 3, a doll to be photographed is shown in a photographing page, and a live photographing identification is provided in a sidebar of the photographing page where the doll is shown.
In step S2012, in response to the live capturing operation for the target object, a prerecorded video within a preset time period before triggering the live capturing operation, and a cover screen generated when triggering the live capturing operation are acquired.
The live shooting operation is an operation of performing live shooting on the target object, and the live shooting operation may be triggered by a physical key set on the device where the target sending user side is located, or may be triggered by a virtual key set in the shooting page, which is not specifically limited herein.
The preset duration is a preset pre-recording duration for the target object, for example, 3 seconds, 5 seconds, etc.; the pre-recorded video is a recorded video generated for the target object before triggering the shooting operation; the cover picture is a still picture generated for the target object, and the cover picture is determined to be a cover frame of the pre-recorded video.
Specifically, as shown in fig. 3, a photographing virtual key is provided in a photographing page, and when a photographing angle and a photographing environment for a doll are determined, a user may trigger the photographing virtual key to acquire a pre-recorded video and a cover picture for the doll. Accordingly, the shooting virtual key can respond to the click operation initiated by the user, capture the video 3 seconds before clicking the shooting virtual key as the prerecorded video, take the doll picture captured when clicking the shooting virtual key as the cover picture, and take the cover picture as the cover frame of the prerecorded video.
Step S2013, generating a target live picture for the target object based on the pre-recorded video and the cover frame.
And combining the prerecorded video with the cover picture to generate a target live picture presented in the form of the prerecorded video and the still cover picture, so that a user can automatically play the prerecorded video of the target live picture when viewing the target live picture, and display the still image corresponding to the cover picture after stopping.
It should be noted that, shooting the target object according to the speed does not affect the use of the live shooting function; when the countdown is started, the live shooting function is not effective, and the target object is still shot in a common shooting mode.
In some optional embodiments, the method may further include: when the live shooting identifier is in an off state, a target live picture for the target object is generated in response to an on trigger operation for the live shooting identifier.
The live shooting identifier has an on state and an off state, and when the live shooting identifier is in the off state, the target sending user side can only shoot a still image of the target object when the shooting function is called up. In order to generate a target live picture of a target object, a live capture identity is required to be in an on state.
When the user looks at the live capture identity in the off state, he can click on the live capture identity to switch the off state to the on state. Accordingly, the live capture identity may be switched from the off state to the on state in response to a user initiated on trigger operation. Then, the target object is photographed by a camera to generate a target live picture.
In the above embodiment, the live shooting identifier is supported to be turned on, and when the live shooting identifier is in the off state, the live shooting identifier is turned on to shoot the live picture aiming at the target object, so that flexible generation of the live picture is realized.
In some optional embodiments, the method may further include: and responding to the opening and closing operation of the live shooting identification, and displaying the opening and closing prompt information of the live shooting identification on the shooting page.
The opening and closing operation is an operation triggered by the user performing state switching on the live shooting identifier on the shooting page, for example, when the live shooting identifier is in a closed state, clicking the live shooting identifier changes to an open state; when the live shooting identification is in an on state, the live shooting identification is turned into an off state after clicking. When detecting that a user triggers the opening and closing operation of the live shooting identification, the live shooting identification responds to the opening and closing operation initiated by the user, switches the opening and closing state of the live shooting identification, and displays opening and closing prompt information corresponding to the opening and closing state on a shooting page.
The opening and closing prompt information is used for prompting the opening and closing state of the current live shooting mark of the user. Specifically, the on-off prompt information may be color information, for example, white is in an on state and black is in an off state; the open/close prompt information may be text information, such as "live on" and "live off". As shown in fig. 4, when the live-shot flag is switched to the on state, "live on" is shown at the top of the shot page.
In the embodiment, the control of the opening and closing state of the live shooting mark is supported, and the opening and closing prompt information can be displayed on the shooting page so as to remind the user of the current live shooting mark and control the opening and closing of the live shooting mark according to the actual requirement.
In some optional embodiments, the method may further include:
step a1, acquiring the open and close states of a live shooting mark in the last shooting process.
And a step a2 of determining the target opening and closing state of the live shooting mark in the current shooting process based on the opening and closing state.
Live shooting has a memory function, i.e. the state of the mark for live shooting when the user last shot can be recorded. Specifically, the target transmitting user side detects the open/close state of the live shooting identifier selected by the user in the last shooting process. When the current shooting process is entered, the open/close state in the last shooting process is taken as the target open/close state of the live shooting mark in the current shooting process.
For example, if the live shooting identifier is in an on state in the last shooting process, then the default live shooting identifier is in an on state in the current shooting process; if the live shooting identification is in the off state in the last shooting process, the default live shooting identification is in the off state in the current shooting process.
In the above embodiment, the opening and closing states of the live shooting marks in the last shooting process are determined, so that the memory function for the live shooting marks is realized, the opening and closing states of the live shooting marks are conveniently determined by combining the memory function, and the user is prevented from repeatedly setting the opening and closing states of the live shooting marks.
In some optional embodiments, the method may further include:
and b1, detecting the times of entering the shot page.
And b2, displaying guide information corresponding to the live shooting identification in the shooting page when the number of times does not exceed a preset threshold value.
The preset threshold is a preset number of times of displaying the guidance information, for example, 3 times, 5 times, etc., and is not particularly limited herein. The guidance information is a guidance indication generated for the live capturing identity, which may be a pattern of the live identity icon and the text "live", as shown in fig. 3 and 4.
And each time a shooting page is entered, the target sending user side can accumulate the times of entering the shooting page to obtain the times of entering the shooting page. The number of times is compared with a preset threshold to determine whether the number of times exceeds the preset threshold. When the number of times exceeds a preset threshold value, the guiding information of the live shooting identification is not displayed any more; otherwise, displaying the guiding information of the live shooting identification in the shooting page.
Taking a preset threshold value as 3 as an example, displaying and displaying guide information of a live shooting identifier by default when the user enters a shooting page for the first 3 times; after 3 presentations, the guide information of the live shot identity is retired.
In some alternative embodiments, when the user clicks on the guiding information of the live shooting identifier while displaying the guiding information, the guiding information automatically goes out of the way and is not displayed.
In the embodiment, the guiding information of the live shooting identification is displayed, so that the user can be guided to know the live shooting function of the target object conveniently.
In some alternative embodiments, the method may further include, prior to generating the target live picture for the target object:
and c1, responding to editing operation for a target object in the target live picture, and obtaining the target editing object.
Step c2, re-triggering live shooting based on the target editing object.
The editing operation is an operation in which the user edits a target object shown in the target live picture. As shown in fig. 5, a function field is set in the editing page, and the function field includes editing components, and each editing component is triggered to enter the editing page to edit. The editing mode may include flipping, special effects, filters, beautification, and the like, and is not particularly limited herein.
When a user needs to edit for a currently presented target object, he can trigger the corresponding editing component. Accordingly, the editing component can respond to the editing operation initiated by the user, and after the editing operation is completed, a corresponding target editing object is obtained.
After the fact that the user finishes editing the target object is detected, returning to a shooting page from an editing page of the target object, and re-triggering a live shooting process to perform live shooting on the target editing object obtained through editing, so that a corresponding target live picture is obtained.
In the above embodiment, editing is supported for the target object shown in the target live picture, so as to obtain the target object meeting the user's expectations. And re-executing live shooting after editing of the target object occurs, so that the generation accuracy of the target live picture is realized.
In some alternative embodiments, after generating the target live picture for the target object, the method may further include: when previewing the target live picture, firstly displaying a cover picture corresponding to the target live picture, and then playing the prerecorded video; or playing the prerecorded video first and then displaying the cover picture.
The cover picture is a static picture corresponding to a cover frame of the target live picture; the prerecorded video is live video of the target object. After triggering live shooting, switching from a shooting page to an editing page to generate a target live picture. And then, the user can preview the shot target live picture on the edit page so as to confirm whether the shot target live picture meets shooting requirements.
Specifically, when previewing the target live picture, the target sending user side can display the cover picture corresponding to the cover frame by default, automatically play the live pre-recorded video, and circularly play the process until the preview is finished.
Specifically, when previewing the target live picture, the target sending user side may also play the live pre-recorded video by default, and then display the cover picture corresponding to the cover frame, and play the process in a circulation manner until the preview is finished.
In the above embodiment, the preview of the target live picture is supported, so that whether the target live picture meets the user's expectations can be confirmed through the preview.
In some optional embodiments, the method may further include:
step d1, acquiring the duration of triggering shooting operation.
And d1, when the duration reaches a first preset duration, starting video recording aiming at the target object.
The first preset duration is a preset duration for starting video recording, for example, 2 seconds. When the target sending user side detects that the user triggers shooting operation, the target sending user side acquires the duration time for triggering the shooting operation. And comparing the duration with a first preset duration to determine whether the duration triggering shooting operation reaches the first preset duration. And when the duration reaches a first preset duration, starting video recording.
As shown in fig. 3, a photographing virtual key is provided in a photographing page, and a user can press the photographing virtual key for a long time to start video recording for a doll. Accordingly, the shooting virtual key can respond to long-press operation initiated by a user to directly trigger a video recording function aiming at the doll.
In the above embodiment, after the duration of triggering the shooting operation reaches a certain duration, the video recording is directly started, so that flexible starting of the video recording is realized.
Specifically, the step S201 may further include:
step S2014, in response to the access operation for the image library component in the session interface, entering an image library presentation page.
The image library display page comprises a live picture, and a live identification is displayed on the live picture.
A database for storing images, such as an album storing images, is provided in the device where the target transmitting user side is located. The stored image content in the image library may include a live image captured by a camera, a video recorded by the camera, a live image or video received from other devices, a picture or video downloaded from an application program or a network, and the like, where the stored content in the image library is not specifically limited.
The access operation is an operation triggered when a user initiates an access to the image library component. When the user triggering the image library component is detected, the image library component can respond to the access operation of the user, enter an image library display page, display the image content stored in the image library display page, and display the corresponding live identification on the live picture, as shown in fig. 6.
In step S2015, in response to the selection operation for the live pictures, the target live pictures are determined and uploaded to the session interface of the target session.
The selection operation is an operation in which the user selects a live picture from the image library presentation page. A selection component is provided on each image displayed in the image library display page, and as shown in fig. 6, a selection circle is provided in the upper right corner of the image.
Specifically, the live picture is displayed with a live identification, and a user can select a live picture to be shared from by looking at an image in the image library display page. When a user selects a certain live picture as a target live picture, the live picture in the image library display page can respond to the selection operation of the user, and a selection mark (for example, a 'v') is selected in a selection circle of the selected live picture so as to identify the selected live picture as the target live picture. And then uploading the target live picture to a session page of a target session between the target sending user side and the target receiving user side so as to send the target live picture to the target receiving user side through the session page of the target session.
In some alternative embodiments, a plurality of classification components are provided on the image library presentation page, the classification components being configured to screen out each type of image from the image library presentation page. As shown in fig. 6, the classification component includes a video classification component, a picture classification component, a live classification component, and the like.
Accordingly, the method may further include: and responding to triggering operation for the live classification component, and screening all live pictures from the image library display page.
The user can filter the image content contained in the image library through the live classification component. Accordingly, the live classification component in the image library presentation page may respond to a user initiated trigger operation to screen all live pictures contained under the live classification from the image library presentation page.
Specifically, as shown in fig. 5, after entering the image library display page, all image contents are displayed in the image library display page, and when detecting that a user clicks a "live" component, the image contents displayed on the image library display page are filtered, all live pictures are filtered from the image library, and thumbnails of all live pictures are displayed in the image library display page.
In the embodiment, the screening of the live pictures is supported, so that the target live pictures can be selected from the image library rapidly, and the determining speed of the target live pictures is improved.
In some optional embodiments, the method may further include: and responding to the triggering operation for the live identification, and switching the transmission form of the target live picture based on the triggering operation.
Wherein when the live identification is displayed in the first form, the target live picture is transmitted in a static form; when the live identification is displayed in a second form different from the first form, the target live picture is transmitted in the live form.
The first form is an identification display form when the target live picture is sent in a static form, for example, the target live picture is displayed in white; the second form is an identification display form when the target live picture is transmitted in a live form, for example, a yellow display. The target transmitting user side determines whether the target live picture is transmitted in a static form or in a live form according to the display form by identifying the display form of the live identification in the target live picture.
In the above embodiment, the live identification is displayed in different forms, so that the transmission form of the target live picture can be determined according to different forms, and the live transmission and the static transmission of the target live picture can be simultaneously achieved.
In some optional embodiments, the method may further include: responding to the preview operation of the target live picture, entering a preview page of the target live picture, displaying a cover picture corresponding to the target live picture on the preview page, and playing a dynamic video corresponding to the target live picture.
After selecting the target live picture, the user can preview the selected target live picture so that the user can view the playing effect of the target live picture. Specifically, when a preview operation initiated by a user is detected, the display page is switched to the preview page, so that a corresponding target live picture is displayed on the preview page. In the preview process, a cover picture corresponding to the target live picture is displayed on the preview page, then the dynamic video corresponding to the target live picture is played, and after the playing of the dynamic video is completed, the cover picture corresponding to the target live picture is stopped and displayed.
In the embodiment, the target live pictures selected from the image library are supported to be previewed, so that the dynamic video preview and the cover picture preview of the target live pictures are realized.
In some optional embodiments, the method may further include: responding to the clicking operation aiming at the target live picture, generating a playing prompt when the clicking time of the clicking operation exceeds a second preset time, playing a dynamic video corresponding to the target live picture, and displaying a cover picture corresponding to the target live picture after the clicking operation is finished.
The click time is the duration of the click target live picture; the second preset duration is a preset duration for playing the dynamic video, for example, 1 second and 2 seconds. The play reminding is used for reminding the user of the dynamic video corresponding to the target live picture to be played, and the play reminding can be a vibration reminding or an audio reminding, and is not particularly limited herein. When the target sending user side detects that the user clicks the target live picture, the target sending user side obtains the clicking time length of the user clicking the target live picture, and compares the clicking time length with a second preset time length to determine whether the clicking time length reaches the second preset time length or not. When the second preset time length is reached, a corresponding play reminding is generated, the target live picture is displayed in the form of a dynamic video and a static cover picture, and the target live picture is automatically returned to the static cover picture for display after the clicking operation is finished.
For example, when a user presses a target live picture for a long time, a vibration effect is generated, and a dynamic video of the target live picture is played. And when the user loosens hands, finishing playing of the dynamic video, and recovering the cover picture of the target live picture.
In the above embodiment, when the click time length reaches the second preset time length, the generation of the play reminder is supported, the dynamic video is displayed while the play reminder is generated, and the cover picture is displayed after the click is finished, so that the display control for the target live picture is realized.
In some optional embodiments, the method may further include:
and e1, responding to editing triggering operation for the target live pictures, and entering an editing page of the target live pictures.
And e2, responding to the picture editing operation generated on the editing page, and obtaining the edited target live picture.
The edit triggering operation is an operation of editing for a target live picture. When the editing trigger operation initiated by the user is detected, the target sending user side can respond to the editing trigger operation of the user and switch from the display page of the target live picture to the editing page of the target live picture, so that the user can edit the target live picture through the editing page.
The editing page includes a plurality of editing items, such as beautification, filters, personalized characters, and the like. When the picture editing operation initiated by the user is detected, the target sending user side can respond to the picture editing operation of the user to correspondingly edit the target live picture, so that the edited target live picture is obtained.
In the embodiment, the display page of the image library is supported to be switched to the editing page, so that the flexible editing of the target live picture is realized.
Step S202, in response to the live transmission operation for the target live picture, generating a dynamic identification corresponding to the target live picture. The detailed description refers to the relevant descriptions of the corresponding steps in the above embodiments, and will not be repeated here.
Step S203, based on the target live picture and the dynamic identification, generating target information, and sending the target information to the target session, so that the target receiving user side in the target session displays the target live picture corresponding to the target information in a live form based on the dynamic identification carried by the target information.
Specifically, the step S203 may include:
step S2031, analyzing the target live picture, and extracting the dynamic video from the target live picture.
The target live picture consists of a static cover picture and a dynamic video, wherein the dynamic video is a prerecorded video generated when the target live picture is shot, and the cover picture is a picture corresponding to a cover frame. The target sending user side has a picture analysis function, and can analyze the target live picture according to a pre-deployed picture analysis mode to obtain a series of static image frames corresponding to the target live picture. And splicing all the static image frames according to preset time intervals and playing time sequences to obtain a dynamic video corresponding to the target live picture.
Specifically, the target sending user side may acquire a corresponding media resource object through a media resource class (e.g., acquire a corresponding PHAsset object through a PHAsset class), and acquire and manage a photo and a video resource of the target sending user side through the media resource object, including acquiring a thumbnail, an original image, a date, location information, and the like of the photo.
The attributes of the media asset object are then used to check whether the picture to be sent by the user is a live picture. If it is confirmed that the picture to be transmitted by the user is a live picture, related data of the live picture may be requested through a photo manager (e.g., PHImageManager under PHasset class). Thus, a moving video or the like contained in the live picture is extracted from the related data of the live picture.
In some alternative embodiments, after the target transmitting user side determines the target live picture to be transmitted, a live identifier is displayed in the target live picture (for example, the live identifier is displayed at the bottom of the target live picture), and when the live identifier is in a selected state, the target live picture is transmitted to the target receiving user side in a live form. When the live representation is in an unselected state, a corresponding binary static picture resource is extracted from the target live picture through a media resource object, and the static picture is sent to a target receiving user side in a static picture mode.
Step S2032, the dynamic video and the dynamic identifier are encapsulated, and the target information is generated.
The target sending user side and the target receiving user side are provided with a preset communication protocol, wherein the communication protocol comprises an information format and an information transmission rule. And packaging the dynamic video according to a communication protocol to generate video transmission information, and adding a dynamic identifier into the generated video transmission information to generate target information. The currently generated target information is characterized as the target live picture through dynamic identification, so that the transmission of the target live picture can be converted into video resource transmission.
When receiving the target information, the target receiving user side can identify dynamic identifications carried in the target information so as to determine whether the target information is displayed in a common video resource or in a live form according to a target live picture according to the dynamic identifications.
According to the method for sending the live pictures in the session, which is provided by the embodiment, the live pictures aiming at the target objects are shot by combining the prerecorded video in the preset time before the live shooting operation is triggered and the cover picture generated when the live shooting operation is triggered, so that the live pictures of any objects in the actual scene can be shot flexibly. Meanwhile, the target live picture to be transmitted is selected from the image library, and therefore flexible acquisition of the target live picture is achieved. The dynamic video corresponding to the target live picture is extracted to encapsulate the dynamic video and the dynamic identification into target information, so that the target live picture can be converted into video transmission, and the dynamic transmission of the target live picture is realized.
According to an embodiment of the present disclosure, there is provided an embodiment of a method of receiving live pictures in a conversation, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
In this embodiment, a receiving method of a live picture in a session is provided, which may be used on a target receiving user side, and fig. 7 is a flowchart of a sending method of a live picture in a session according to an embodiment of the disclosure, as shown in fig. 7, where the flowchart includes the following steps:
step S301, receiving target information from a session interface of a target session.
The target information is generated based on the target live picture on the side of a target sending user in the target session. The generation manner of the target information is referred to the corresponding related description of the above embodiment, and will not be repeated here.
The target sending user side and the target receiving user side are provided with corresponding communication protocols, and the target sending user side sends target information to the target receiving user side according to the communication protocols. Correspondingly, the target receiving user side can receive the target information sent by the target sending user side according to the communication protocol.
Step S302, analyzing the target information and determining whether the target information carries dynamic identification.
Dynamic identification is used to characterize whether the target information is a normal video or a target live picture. When receiving the target information, the target receiving user side analyzes the target information according to the communication protocol to acquire each field carried by the target information.
The contents of each field are then checked to determine if the target information carries a dynamic identification. When it is determined that the target information carries the dynamic identifier, step S303 is executed, otherwise, the target information is represented as a common video, and the target information is displayed according to the video form.
Step S303, when the dynamic identification is carried in the target information, displaying the target live picture corresponding to the target information in a live form.
The target receiving user side is provided with a video player for playing live pictures, and when the target information is determined to carry the dynamic identification, the target information is represented as the target live pictures. At this time, the target receiving user side can play the target live picture in a live form through the video player.
According to the receiving method of the live pictures in the session, the target receiving user side determines whether the information content carried by the target information is the target live picture or not by identifying the dynamic identification carried by the target information. When the information content carried by the target information is determined to be the target live picture, the target receiving user side can display the target live picture in a live form, so that the dynamic receiving and the dynamic viewing of the target live picture are realized.
In this embodiment, a receiving method of a live picture in a session is provided, which may be used on a target receiving user side, and fig. 8 is a flowchart of a receiving method of a live picture in a session according to an embodiment of the disclosure, as shown in fig. 8, where the flowchart includes the following steps:
step S401, receiving target information from a session interface of a target session, where the target information is generated based on a target live picture on a target transmitting user side in the target session. The detailed description refers to the related description of the corresponding method of the above embodiment, and will not be repeated here.
Step S402, analyzing the target information to determine whether the target information carries dynamic identification.
Specifically, the step S402 may include:
in step S4021, the target information is analyzed, and whether the target information is a video message is determined.
After receiving the target information, the target receiving user side analyzes the target information according to the communication protocol to determine the information type of the target information. Wherein the information type includes video type, picture type, audio type, etc.
Different information types have different type identifications. The target receiving user side analyzes the type identifier carried by the target information to determine whether the target information is a video message. And when the target information is determined to be the video message, executing a step S4022, otherwise, displaying the target information according to the information type.
In step S4022, when the target information is a video message, whether the target information carries a dynamic identifier corresponding to the target live picture is detected.
The target sending user side sends the target live pictures according to video resources. When the target information is determined to be the video message, the target receiving user side can analyze the video message according to a video analysis protocol to determine each field content carried in the video message, and then detect whether each field content carries a dynamic identifier.
Step S403, when the dynamic identification is carried in the target information, displaying the target live picture corresponding to the target information in a live form.
Specifically, the step S403 may include:
step S4031, when the dynamic identification is carried in the target information, displaying the target live picture in the form of a card on a session page of the target receiving user side and the target transmitting user side.
The cover map of the card is a cover picture of the target live picture, and a preset position of the card is displayed with a live identification.
The session page is a page where the target receiving user side and the target transmitting user side interact, and interaction information of the target receiving user side and the target transmitting user side is displayed in the session page. When the target receiving user receives the target information sent by the target sending user, if the target information is determined to be a target live picture, the target live picture is displayed in a conversation page in a card mode.
The preset position is a preset position for displaying the live mark. Specifically, when the conversation page displays a card, the target receiving user side takes a cover frame of the dynamic video corresponding to the target live image as a cover image of the card, and displays the live identification on the cover image of the card. As shown in fig. 9, when the target receiving user side determines that the received target information is the target live picture, the live mark is displayed in the upper left corner of the card cover diagram.
Step S4032, in response to clicking operation on the card, generating playing prompt information and playing the dynamic video corresponding to the target live picture.
The play prompt information is a prompt information for reminding the user of the impending play of the target live picture, and the play prompt information can be vibration or sound effect, and is not particularly limited herein. When the target receiving user side detects that the user clicks the card, the target receiving user side responds to clicking operation of the user to generate playing prompt information, and meanwhile, a video player corresponding to the target live picture is adopted to automatically play the dynamic video corresponding to the target live picture. For example, when the target receiving user side detects that the user clicks the card and plays the dynamic video corresponding to the target live picture, a vibration effect can be generated, and meanwhile, the corresponding video player is used for automatically playing the dynamic video corresponding to the target live picture.
According to the receiving method of the live pictures in the session, whether the target information is the video message is determined by analyzing the target information, and when the target information is determined to be the video message, whether the target information carries the dynamic identification is further detected, so that the video content carried by the target information can be determined to be the common video or the dynamic video of the target live pictures by combining the dynamic identification. The target live picture is displayed in the form of the card, so that a dynamic video corresponding to the target live picture can be automatically played when the card is clicked, and the dynamic viewing of the target live picture is realized.
The embodiment also provides a device for sending live pictures in a session, which is used for implementing the above embodiment and the preferred implementation, and the description is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a device for sending live pictures in a session, which is used for a target sending user side, as shown in fig. 10, where the device for sending live pictures in a session includes:
The obtaining module 501 is configured to obtain a target live picture to be sent in a session interface of a target session.
The identifier generating module 502 is configured to generate a dynamic identifier corresponding to the target live picture in response to a live transmission operation for the target live picture.
The information sending module 503 is configured to generate target information based on the target live picture and the dynamic identifier, and send the target information to the target session, so that a target receiving user side in the target session displays the target live picture corresponding to the target information in a live form based on the identifier information carried by the target information.
In some alternative embodiments, the obtaining module 501 may include:
and the display unit is used for responding to the starting operation of the shooting component in the session interface and displaying a shooting page, wherein the shooting page comprises a live shooting identifier and a target object to be shot.
And the shooting unit is used for responding to the live shooting operation aiming at the target object, acquiring the prerecorded video within a preset time before triggering the live shooting operation and acquiring the cover picture generated when triggering the live shooting operation.
And the live picture generation unit is used for generating a target live picture aiming at the target object based on the prerecorded video and the cover picture.
In some alternative embodiments, the apparatus may further include:
and the live start unit is used for responding to the start triggering operation for the live shooting identification when the live shooting identification is in the off state, and generating a target live picture for the target object.
In some alternative embodiments, the apparatus may further include:
and the switching control unit is used for responding to the switching operation of the live shooting identification and displaying the switching prompt information of the live shooting identification on the shooting page.
In some alternative embodiments, the apparatus may further include:
and the open-close state memory unit is used for acquiring the open-close state of the live shooting mark in the last shooting process.
And a target state determination unit configured to determine a target open/closed state of the live shooting flag during the current shooting based on the open/closed state.
In some alternative embodiments, the apparatus may further include:
the frequency detection unit is used for detecting the frequency of shooting page display.
And the guiding unit is used for displaying guiding information corresponding to the live shooting identification in the shooting page when the number of times does not exceed a preset threshold value.
In some alternative embodiments, the apparatus may further include:
And the editing unit is used for responding to the editing operation of the target object in the target live picture to obtain the target editing object.
And the live re-shooting unit is used for re-triggering shooting of the target live picture based on the target editing object.
In some alternative embodiments, the apparatus may further include:
the preview unit is used for displaying a cover picture corresponding to the target live picture when previewing the target live picture, and then playing the prerecorded video; or playing the prerecorded video first and then displaying the cover picture.
In some alternative embodiments, the apparatus may further include:
and the duration acquiring unit acquires the duration of triggering shooting operation.
And the recording unit is used for starting video recording aiming at the target object when the duration reaches the first preset duration.
In some alternative embodiments, the obtaining module 501 may further include:
and the access unit is used for responding to the access operation of the image library component in the session interface and entering an image library display page.
And the selection unit is used for responding to the selection operation of the live pictures, determining the target live pictures and uploading the target live pictures to a session interface of the target session.
In some alternative embodiments, the obtaining module 501 may further include:
and the screening unit is used for responding to the triggering operation of the live classification component and screening all live pictures from the image library display page.
In some alternative embodiments, the apparatus may further include:
and the transmission form determining unit is used for responding to the triggering operation aiming at the live identification and switching the transmission form of the target live picture based on the triggering operation.
In some alternative embodiments, the apparatus may further include:
and the live preview unit is used for responding to the preview operation of the target live picture, entering a preview page of the target live picture, displaying a cover picture corresponding to the target live picture on the preview page, and playing a dynamic video corresponding to the target live picture.
In some alternative embodiments, the apparatus may further include:
the playing control unit is used for responding to the clicking operation aiming at the target live picture, generating a playing prompt when the clicking time of the clicking operation exceeds the second preset time, playing the dynamic video corresponding to the target live picture, and displaying the cover picture corresponding to the target live picture after the clicking operation is finished.
In some alternative embodiments, the apparatus may further include:
and the switching unit is used for responding to the editing triggering operation for the target live pictures and entering an editing page of the target live pictures.
And the picture editing unit is used for responding to the picture editing operation generated on the editing page to obtain an edited target live picture.
In some alternative embodiments, the information sending module 503 may include:
and the video extraction unit is used for analyzing the target live picture and extracting the dynamic video from the target live picture.
And the packaging unit is used for packaging the dynamic video and the dynamic identifier and generating target information.
Further functional descriptions of the above modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The live picture transmission means in this embodiment are presented in the form of functional units, here referred to as ASIC circuits, processors and memories executing one or more software or fixed programs, and/or other devices that can provide the above described functionality.
According to the device for sending the live pictures in the session, when the target sending user side detects that the user sends the target live pictures, corresponding dynamic identifiers are generated for the target live pictures, so that the dynamic identifiers are added in the information for sending the target live pictures, and target information is generated, so that the target sending user side can send the target live pictures according to a live sending mode. Therefore, the dynamic identification is used for representing that the target live picture is a dynamic live picture, and the dynamic sending of the target live picture is realized.
The embodiment also provides a receiving device of live pictures in a session, which is used for implementing the foregoing embodiments and preferred embodiments, and the description is omitted herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a receiving device for a live picture in a session, which is used for a target receiving user side, as shown in fig. 11, where the receiving device for a live picture in a session includes:
the information receiving module 601 is configured to receive target information from a session interface of a target session, where the target information is generated based on a target live picture on a target sending user side in the target session.
The information parsing module 602 is configured to parse the target information and determine whether the target information carries a dynamic identifier.
And the live displaying module 603 is configured to display, when it is determined that the target information carries the dynamic identifier, a target live picture corresponding to the target information in a live form.
In some alternative embodiments, the information parsing module 602 may include:
And the video judging unit is used for analyzing the target information and judging whether the target information is a video message or not.
And the identification judging unit is used for detecting whether the target information carries the dynamic identification corresponding to the target live picture or not when the target information is the video message.
In some alternative embodiments, the live presentation module 603 may include:
and the live picture display unit is used for displaying the target live picture in the form of a card on a conversation page of the target receiving user side and the target transmitting user side when the dynamic identification is carried in the target information.
And the dynamic video playing unit is used for responding to clicking operation on the card, generating playing prompt information and playing the dynamic video corresponding to the target live picture.
Further functional descriptions of the above modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The live picture receiving means in this embodiment are presented in the form of functional units, here referred to as ASIC circuits, processors and memories executing one or more software or fixed programs, and/or other devices that can provide the above described functionality.
According to the receiving device for the live pictures in the session, the target receiving user side determines whether the information content carried by the target information is the target live picture or not by identifying the dynamic identifier carried by the target information. When the information content carried by the target information is determined to be the target live picture, the target receiving user side displays the target live picture according to the live form, so that the dynamic receiving and the dynamic viewing of the target live picture are realized.
The embodiment of the disclosure also provides a computer device, which is provided with the sending device of the live pictures in the session shown in fig. 10 or the receiving device of the live pictures in the session shown in fig. 11.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a computer device according to an alternative embodiment of the disclosure, as shown in fig. 12, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 12.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform the methods shown in implementing the above embodiments.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device further comprises input means 30 and output means 40. The processor 10, memory 20, input device 30, and output device 40 may be connected by a bus or other means, for example in fig. 12.
The input device 30 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointer stick, one or more mouse buttons, a trackball, a joystick, and the like. The output means 40 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., vibration motors), and the like. Such display devices include, but are not limited to, liquid crystal displays, light emitting diodes, displays and plasma displays. In some alternative implementations, the display device may be a touch screen.
The computer device also includes a communication interface for the computer device to communicate with other devices or communication networks.
The presently disclosed embodiments also provide a computer readable storage medium, and the methods described above according to the presently disclosed embodiments may be implemented in hardware, firmware, or as recordable storage medium, or as computer code downloaded over a network that is originally stored in a remote storage medium or a non-transitory machine-readable storage medium and is to be stored in a local storage medium, such that the methods described herein may be stored on such software processes on a storage medium using a general purpose computer, special purpose processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present disclosure have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the disclosure, and such modifications and variations are within the scope defined by the appended claims.

Claims (22)

1. A method for transmitting live pictures in a conversation, the method comprising:
acquiring a target live picture to be transmitted from a session interface of a target session;
generating a dynamic identifier corresponding to the target live picture in response to a live transmission operation for the target live picture;
and generating target information based on the target live picture and the dynamic identifier, and sending the target information to the target session, so that a target receiving user side in the target session displays the target live picture corresponding to the target information in a live form based on the dynamic identifier carried by the target information.
2. The method of claim 1, wherein the generating target information based on the target live picture and the dynamic identification comprises:
analyzing the target live picture and extracting a dynamic video from the target live picture;
And packaging the dynamic video and the dynamic identification to generate the target information.
3. The method according to claim 1, wherein the obtaining the target live picture to be transmitted in the session interface of the target session comprises:
responding to starting operation of a shooting component in the session interface, and displaying a shooting page, wherein the shooting page comprises a live shooting identification and a target object to be shot;
responding to a live shooting operation aiming at the target object, acquiring a prerecorded video within a preset time before triggering the live shooting operation, and triggering a cover picture generated during the live shooting operation;
a target live picture for the target object is generated based on the pre-recorded video and the cover page.
4. A method according to claim 3, further comprising:
and when the live shooting identifier is in a closed state, responding to an opening triggering operation for the live shooting identifier, and generating a target live picture for the target object.
5. The method as recited in claim 4, further comprising:
and responding to the opening and closing operation of the live shooting identification, and displaying the opening and closing prompt information of the live shooting identification on the shooting page.
6. The method as recited in claim 4, further comprising:
acquiring the open-close state of the live shooting mark in the last shooting process;
and determining the target open-close state of the live shooting mark in the current shooting process based on the open-close state.
7. The method according to any one of claims 3-6, further comprising:
detecting the times of entering the shooting page;
and when the number of times does not exceed a preset threshold, displaying guide information corresponding to the live shooting identification in the shooting page.
8. A method according to claim 3, comprising, after generating a target live picture for the target object:
responding to the editing operation aiming at the target object in the target live picture to obtain a target editing object;
based on the target editing object, live shooting is re-triggered.
9. A method according to claim 3, comprising, after generating a target live picture for the target object:
when previewing the target live picture, firstly displaying a cover picture corresponding to the target live picture, and then playing the prerecorded video; or playing the prerecorded video first, and then displaying the cover picture.
10. A method according to claim 3, further comprising:
acquiring the duration time for triggering the shooting operation;
and when the duration reaches a first preset duration, starting video recording aiming at the target object.
11. The method according to claim 1, wherein the obtaining the target live picture to be transmitted in the session interface of the target session comprises:
responding to an access operation for an image library component in the session interface, entering an image library display page, wherein the image library display page comprises a live picture, and a live identification is displayed on the live picture;
and responding to the selection operation for the live pictures, determining the target live pictures, and uploading the target live pictures to a session interface of the target session.
12. The method of claim 11, wherein the image library presentation page comprises a live classification component, the method further comprising:
and responding to the triggering operation for the live classifying component, and screening all live pictures from an image library display page.
13. The method according to claim 11 or 12, further comprising:
Responding to a triggering operation for the live identification, and switching the transmission form of the target live picture based on the triggering operation;
wherein the target live picture is sent in a static form when the live identification is displayed in a first form; the target live picture is transmitted in live form when the live identification is displayed in a second form different from the first form.
14. The method as recited in claim 11, further comprising:
responding to the preview operation of the target live picture, entering a preview page of the target live picture, displaying a cover picture corresponding to the target live picture on the preview page, and playing a dynamic video corresponding to the target live picture;
and/or the number of the groups of groups,
responding to the clicking operation aiming at the target live picture, generating a playing prompt when the clicking time of the clicking operation reaches a second preset time, playing a dynamic video corresponding to the target live picture, and displaying a cover picture corresponding to the target live picture after the clicking operation is finished.
15. The method as recited in claim 11, further comprising:
Responding to editing triggering operation aiming at the target live picture, and entering an editing page of the target live picture;
and responding to the picture editing operation generated on the editing page, and obtaining the edited target live picture.
16. A method of receiving live pictures in a conversation, the method comprising:
receiving target information from a session interface of a target session, wherein the target information is generated on the basis of a target live picture on a target transmitting user side in the target session;
analyzing the target information and determining whether the target information carries dynamic identification;
and when the dynamic identification is carried in the target information, displaying a target live picture corresponding to the target information in a live form.
17. The method of claim 16, wherein the parsing the target information to determine whether the target information carries a dynamic identifier includes:
analyzing the target information and judging whether the target information is a video message or not;
and when the target information is a video message, detecting whether the target information carries a dynamic identifier corresponding to the target live picture.
18. The method of claim 16, wherein displaying the target live picture corresponding to the target information in live form comprises:
displaying the target live picture in a card form on a conversation page of the target receiving user side and the target transmitting user side, wherein a cover picture of the card is a cover picture of the target live picture, and a live identification is displayed at a preset position of the card;
and responding to clicking operation for the card, generating playing prompt information, and playing the dynamic video corresponding to the target live picture.
19. A transmitting apparatus of live pictures in a session, the apparatus comprising:
the acquisition module is used for acquiring a target live picture to be transmitted in a session interface of a target session;
the identification generation module is used for responding to the live transmission operation aiming at the target live picture and generating a dynamic identification corresponding to the target live picture;
the information sending module is used for generating target information based on the target live picture and the dynamic identifier, and sending the target information to a target session, so that a target receiving user side in the target session displays the target live picture corresponding to the target information in a live form based on the dynamic identifier carried by the target information.
20. A receiving device for live pictures in a conversation, the device comprising:
the information receiving module is used for receiving target information from a session interface of a target session, wherein the target information is generated on the basis of a target live picture on a target sending user side in the target session;
the information analysis module is used for analyzing the target information and determining whether the target information carries dynamic identification or not;
and the live display module is used for displaying the target live picture corresponding to the target information in a live form when the dynamic identifier is carried in the target information.
21. A computer device, comprising:
a memory and a processor communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of sending live pictures in a session according to any one of claims 1 to 15 or to perform the method of receiving live pictures in a session according to any one of claims 16 to 18.
22. A computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of sending in-session live pictures according to any one of claims 1 to 15 or to perform the method of receiving in-session live pictures according to any one of claims 16 to 18.
CN202311785224.3A 2023-12-22 2023-12-22 Method, device and equipment for sending and receiving live pictures in session Pending CN117768430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311785224.3A CN117768430A (en) 2023-12-22 2023-12-22 Method, device and equipment for sending and receiving live pictures in session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311785224.3A CN117768430A (en) 2023-12-22 2023-12-22 Method, device and equipment for sending and receiving live pictures in session

Publications (1)

Publication Number Publication Date
CN117768430A true CN117768430A (en) 2024-03-26

Family

ID=90323373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311785224.3A Pending CN117768430A (en) 2023-12-22 2023-12-22 Method, device and equipment for sending and receiving live pictures in session

Country Status (1)

Country Link
CN (1) CN117768430A (en)

Similar Documents

Publication Publication Date Title
US20230230306A1 (en) Animated emoticon generation method, computer-readable storage medium, and computer device
US11317139B2 (en) Control method and apparatus
US20170285916A1 (en) Camera effects for photo story generation
CN110602544A (en) Video display method and device, electronic equipment and storage medium
CN111541936A (en) Video and image processing method and device, electronic equipment and storage medium
CN112118395B (en) Video processing method, terminal and computer readable storage medium
CN112492294B (en) Application program testing method, device, system, network camera and medium
CN105808231B (en) System and method for recording and playing script
CN111917768B (en) Virtual scene processing method and device and computer readable storage medium
CN110502117B (en) Screenshot method in electronic terminal and electronic terminal
AU2018432003B2 (en) Video processing method and device, and terminal and storage medium
CN111954022A (en) Video playing method and device, electronic equipment and readable storage medium
CN109862295B (en) GIF generation method, device, computer equipment and storage medium
CN117768430A (en) Method, device and equipment for sending and receiving live pictures in session
CN114143429A (en) Image shooting method, image shooting device, electronic equipment and computer readable storage medium
CN107277602B (en) Information acquisition method and electronic equipment
CN112188269A (en) Video playing method and device and video generating method and device
CN106874736A (en) Method for information display, information display device and terminal
CN112130738A (en) Screenshot processing method and device, electronic equipment and storage medium
CN106507183B (en) Method and device for acquiring video name
CN111491183A (en) Video processing method, device, equipment and storage medium
KR20160038375A (en) Contents creation apparatus and method for operating the contents creation apparatus
CN112860372B (en) Method and device for shooting image, electronic equipment and storage medium
KR101970292B1 (en) Method and apparatus for post sharing service
JP7091886B2 (en) Manual management equipment, manual management system, and control program

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