Image record generation method, device, electronic device and storage medium
By displaying anniversary cards and generating matching template information based on the anniversary trigger mechanism in the short video platform, the problem of poor guidance and complex image data generation is solved, and the user's enthusiasm and efficiency in image data generation are improved.
Patent Information
- Application Number
- CN202210684581.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-06-16
AI Technical Summary
When existing short video platforms guide users to upload image data, the guidance effect is poor and the image data generation process is complicated, resulting in low user enthusiasm and low generation efficiency.
Through a trigger mechanism based on anniversaries, anniversary cards are displayed and template information matching the target anniversaries is generated, simplifying the image data generation process and improving user enthusiasm and efficiency.
It realizes the rapid generation of personalized image data, improves the user guidance effect and the efficiency of image data generation, and enhances the enthusiasm of users.
Smart Images

Figure CN115103236B
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of Internet technology, and in particular to an image record generation method, device, electronic device, and storage medium. Background Art
[0002] At present, with the popularization of smart terminals and mobile networks, short video platforms have been recognized by many users for their rich content and outstanding social attributes. At the same time, most of the content on short video platforms is uploaded by individual users. Therefore, the number of users who participate in content uploading determines the richness of the content on short video platforms.
[0003] In the prior art, in order to increase users' enthusiasm for uploading content, short video platform operators will set corresponding guidance signs and guidance processes in short video applications to guide users to shoot and upload image records. However, the solutions in the prior art have problems such as poor guidance effect and complex image data generation process, making it difficult to effectively guide users to shoot image data. Summary of the invention
[0004] The embodiments of the present disclosure provide an image record generation method, device, electronic device and storage medium, which solve the problems of poor guidance effect and complicated image data generation process in the process of guiding users to perform application record shooting in the prior art.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for generating an image record, which is applied to a terminal device, and the method includes:
[0006] Detecting that a trigger time period is in progress, displaying at least one anniversary card on the first application interface, wherein the trigger time period is determined based on a target anniversary corresponding to a target user;
[0007] Triggering the anniversary card to display an image record generation page, the image record generation page is used to generate template information corresponding to the anniversary card, the template information is determined based on the target anniversary;
[0008] In response to a first user instruction for the image record generation page, target image data is generated, wherein the first user instruction is used to obtain source image data, and the target image data is generated based on the source image data and the template information.
[0009] In a second aspect, an embodiment of the present disclosure provides an image record generation method, which is applied to a server, and the method includes:
[0010] Acquire anniversary time information, where the anniversary time information represents a triggering time period of a target anniversary corresponding to the target user;
[0011] According to the anniversary time information, trigger information is sent to display an anniversary card on the first application interface within the trigger time period. After being triggered, the anniversary card is used to generate target image data corresponding to the target anniversary. The target image data is combined image data including source image data and template information corresponding to the target anniversary.
[0012] In a third aspect, an embodiment of the present disclosure provides an image record generation device, applied to a terminal device, including:
[0013] A display module, configured to detect that a trigger time period is in progress and display at least one anniversary card on the first application interface, wherein the trigger time period is determined based on a target anniversary corresponding to a target user;
[0014] A trigger module, used to trigger the anniversary card and display an image record generation page, wherein the image record generation page is used to generate template information corresponding to the anniversary card, and the template information is determined based on the target anniversary;
[0015] A generation module is used to generate target image data in response to a first user instruction for the image record generation page, wherein the first user instruction is used to obtain source image data, and the target image data is generated based on the source image data and the template information.
[0016] In a fourth aspect, an embodiment of the present disclosure provides an image record generation device, applied to a server, comprising:
[0017] An acquisition module, used to acquire anniversary time information, wherein the anniversary time information represents a triggering time period of a target anniversary corresponding to a target user;
[0018] The transceiver module is used to send trigger information according to the anniversary time information, so as to display an anniversary card on the first application interface within the trigger time period. After being triggered, the anniversary card is used to generate target image data corresponding to the target anniversary. The target image data is a combination of source image data and template information corresponding to the target anniversary.
[0019] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, including:
[0020] A processor, and a memory communicatively connected to the processor;
[0021] The memory stores computer-executable instructions;
[0022] The processor executes the computer-executable instructions stored in the memory to implement the image record generation method described in the first aspect and various possible designs of the first aspect; or, to implement the image record generation method described in the second aspect and various possible designs of the second aspect.
[0023] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the image record generation method described in the first aspect and various possible designs of the first aspect is implemented; or, the image record generation method described in the second aspect and various possible designs of the second aspect is implemented.
[0024] In the seventh aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the image record generation method as described in the first aspect and various possible designs of the first aspect; or, implements the image record generation method as described in the second aspect and various possible designs of the second aspect.
[0025] The image record generation method, device, electronic device and storage medium provided in this embodiment are
[0026] It is detected that it is in a trigger time period, and at least one anniversary card is displayed on the first application interface, wherein the trigger time period is determined based on the target anniversary corresponding to the target user; the anniversary card is triggered to display an image record generation page, and the image record generation page is used to generate template information corresponding to the anniversary card, and the template information is determined based on the target anniversary; in response to a first user instruction for the image record generation page, target image data is generated, wherein the first user instruction is used to obtain source image data, and the target image data is generated based on the source image data and the template information. By displaying the anniversary card based on the anniversary trigger mechanism, and by triggering the anniversary card, the target image data containing the template information matching the target anniversary is generated, thereby realizing the rapid generation of personalized target image data. This forms effective guidance for users on the terminal device side, simplifies the image data generation process, and effectively improves the efficiency of the terminal device in generating image data. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0028] Figure 1 An application scenario diagram of the image record generation method provided in an embodiment of the present disclosure;
[0029] Figure 2 A schematic diagram of the process of the image recording generation method provided in the embodiment of the present disclosure Figure 1 ;
[0030] Figure 3 A schematic diagram of a process of displaying a memorial card provided by an embodiment of the present disclosure;
[0031] Figure 4 A schematic diagram of a page for displaying image record generation provided by an embodiment of the present disclosure;
[0032] Figure 5 for Figure 2 A flowchart of specific implementation steps of step S103 in the illustrated embodiment;
[0033] Figure 6 A schematic diagram of generating target image data provided by an embodiment of the present disclosure;
[0034] Figure 7 A schematic diagram of signaling interaction of the image record generation method provided in an embodiment of the present disclosure;
[0035] Figure 8 A schematic diagram of a process in which a server sends a target message to a first terminal device provided in an embodiment of the present disclosure;
[0036] Fig. 9 A flowchart of a possible implementation of step S204;
[0037] Fig.10 is a step flow chart of another possible implementation of step S204;
[0038] Fig.11 A schematic diagram of displaying a memorial card in an information flow interface provided by an embodiment of the present disclosure;
[0039] Fig.12 A structural block diagram of an image recording and generating device provided in an embodiment of the present disclosure;
[0040] Fig.13 A structural block diagram of another image recording and generating device provided by an embodiment of the present disclosure;
[0041] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure;
[0042] Fig.15 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0044] The application scenarios of the embodiments of the present disclosure are explained below:
[0045] Figure 1 This is an application scenario diagram of the image record generation method provided in the embodiment of the present disclosure. The image record generation method provided in the embodiment of the present disclosure can be applied to the scenario of the short video platform. Specifically, Figure 1 As shown, the method provided by the embodiment of the present disclosure can be applied to a terminal device, wherein the terminal device is, for example, a smart phone, and a user operates the terminal device (shown as terminal device A in the figure) to shoot videos and photos, and produces image data by adding special effects, backgrounds, etc., and uploads the image data to a short video platform (server) through the short video software running in the terminal device. Thus, other users can view the image data through the terminal devices (shown as terminal device B, terminal device C, and terminal device D in the figure).
[0046] Figure 1 The application scenario diagram shown shows a conventional way of obtaining audio and video data resources on the short video platform, that is, user A uploads audio and video resources to enrich the resource library of the video platform, and user B, user C, and user D watch various resources by accessing the resource library of the short video platform. Therefore, the number of users participating in content upload and the amount of uploaded audio and video data determine the richness of the content in the short video platform. In the prior art, in order to increase the enthusiasm of users to upload content, the operator of the short video platform will set corresponding guidance signs and guidance processes in the short video application to guide users to shoot and upload video records. However, in the prior art, by setting simple guidance signs and guidance processes in the application, it is impossible to form the motivation of users to shoot and upload video records, so it is impossible to form effective guidance. At the same time, after the source image data is shot, it is also necessary to beautify and modify it, and add operations such as background maps and background music before generating image data for upload. Such complicated processing steps further increase the cost of users to produce and upload image data through terminal devices, and reduce user enthusiasm.
[0047] To solve the above problems, in this embodiment, anniversary cards are sent to users through a trigger mechanism based on anniversaries. On the one hand, users are more motivated to create image data for anniversaries, thus resulting in a better guidance effect. On the other hand, through the specific settings of the anniversary cards, the generation steps are simplified, allowing users to quickly and conveniently generate content-rich image data through terminal devices, further improving users' enthusiasm for generating and uploading image data, thereby solving the above problems.
[0048] refer to Figure 2 , Figure 2 A schematic diagram of the process of the image recording generation method provided in the embodiment of the present disclosure Figure 1 The method of this embodiment can be applied in a terminal device, such as a smart phone. The image record generation method includes:
[0049] Step S101: Detecting that a trigger time period is in progress, and displaying at least one anniversary card on a first application interface, wherein the trigger time period is determined based on a target anniversary corresponding to a target user.
[0050] Exemplarily, as the execution subject of this embodiment, an application (Application, APP) for realizing image data generation, i.e., a target application, is run in the terminal device. More specifically, the target application is, for example, a short video application, a social media application, etc. Among them, the target application has a first application interface. Exemplarily, taking the short video application as an example, the first application interface can be a home page, a video playback page, etc., which is not specifically limited here. After the client of the target application runs on the terminal device side, the client of the target application will display at least one anniversary card in the first application interface within a specific time period. Figure 3 A schematic diagram of a process of displaying a memorial card provided by an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the first application interface is the homepage of the target application. After the target program is run, the homepage is first loaded and displayed, and then an icon, namely the anniversary card, appears (displayed) in the center of the homepage of the target application. It should be noted that Figure 3 The style and position of the anniversary card shown in are only exemplary. The shape of the anniversary card can be various, such as rectangular, square, circular, etc., and the position of the anniversary card can be various, such as in the center, top, bottom, etc. of the first application interface, without specific limitation.
[0051] Further, exemplarily, the anniversary card is a triggerable component loaded on the first application interface, which is used to realize the functions of page jump and display after being triggered. The timing of displaying the anniversary card in the first application interface is within the trigger time period, wherein the trigger time period is determined by the server based on the target anniversary of the target user, and the trigger time is determined by the time of the trigger information sent by the server to the terminal device. Specifically, for example, the target anniversary is the birthday of user User_1, more specifically, for example, January 1, 1990. The corresponding trigger time period is the birthday of user User_1, that is, from 0:00 on January 1 to 0:00 on January 2 every year. Then, in the time interval from 0:00 on January 1 to 0:00 on January 2 every year, after the target application is running, based on the trigger information sent by the server to the terminal device, the terminal device displays the anniversary card in the first application interface. More specifically, the specific display timing of the anniversary card can be immediately displaying it in the first application interface after the target application displays the first application interface for the first time within the trigger time period, or the anniversary card can be displayed at other times when the target application displays the first application interface within the trigger time period. There is no specific restriction here.
[0052] Step S102: triggering the anniversary card and displaying the image record generation page, where the image record generation page is used to generate template information corresponding to the anniversary card.
[0053] Exemplarily, after the terminal device displays the anniversary card on the first application interface, it processes the anniversary card based on different triggering methods, so that the current activation interface jumps to the record generation module. Specifically, in one possible implementation, after the user clicks on the anniversary card through the touch screen of the terminal device, the display interface of the terminal device jumps from the current first application interface to the second application interface, and the image record generation page is displayed in the second application interface. Alternatively, after the user clicks on the component through the touch screen of the terminal device, the image record generation page is displayed on the first application interface. In another possible implementation, after a preset time, the anniversary card is automatically triggered (that is, if it is not cancelled within the preset time, it is automatically regarded as clicking the anniversary card), so that the display interface of the terminal device jumps from the current first application interface to the second application interface, and the image record generation page is displayed in the second application interface, or the image record generation page is displayed on the first application interface.
[0054] Furthermore, the image record generation page is introduced below. Exemplarily, the image record generation page is a page for generating template information related to the target anniversary. An operation component is provided in the image record generation page. By operating the operation component in the image record generation page, the corresponding processing method can be called to generate template information, or set the characteristics of the template information. Among them, the template information can be background information related to the background of the anniversary card, more specifically, for example, one or more of the background image, background special effects, background music, transition method, and camera direction that match the target anniversary. The template information can be displayed in the image record generation page in the form of a preview.
[0055] Figure 4 A schematic diagram of a display image record generation page provided in an embodiment of the present disclosure, such as Figure 4 As shown, the first application interface is a video playback interface. After the anniversary card appears in the first application interface, in response to the user's click operation, the anniversary card is triggered, and the current display interface of the terminal device jumps from the video playback interface to the image record generation page (the second application interface). At the same time, the image record generation page displays a background image and a background image, and the background music is set synchronously (not shown in the figure). At the same time, the image record generation page also includes an area for displaying source audio and video data (shown as the target video in the figure). Through the content displayed on the image record generation page, a preview of the target image data generated subsequently can be realized.
[0056] Step S103: generating target image data in response to a first user instruction for an image record generation page, wherein the first user instruction is used to obtain source image data, and the target image data is generated based on the source image data and template information.
[0057] Furthermore, after jumping to the image record generation page, the terminal device receives the first user instruction and obtains the source image data, wherein the source image data is, for example, a video or picture saved locally on the terminal device or in a cloud server (in this case, the first user instruction is equivalent to a file reading instruction), or a video or picture taken in real time by a camera (in this case, the first user instruction is equivalent to a camera shooting instruction). Afterwards, the source image data is combined with the template information of the image record generation page to obtain the combined image data with rich template information, i.e., the target image data.
[0058] In a possible implementation, the image record generation page is displayed on the second display interface, such as Figure 5 As shown, the specific implementation steps of step S103 include:
[0059] Step S1031: Generate a page based on the image record, and display template information corresponding to the target anniversary in the second display interface.
[0060] Step S1032: In response to the first user instruction, a target video or a target image is acquired, and the target video or the target image is displayed at a target position in the second display interface.
[0061] Step S1033: In response to the second user instruction, the template information displayed in the second display interface and the target picture or target video displayed in the second display interface are rendered into target image data.
[0062] Figure 6 A schematic diagram of generating target image data provided by an embodiment of the present disclosure, combined with Figure 6 The above process is described in detail. Figure 6 As shown, exemplarily, based on the triggering of the anniversary card, the terminal device displays the image record generation page located in the second display interface, wherein the image record generation page displays a preview of the background image and background special effects. At the same time, the image record generation page is provided with a "load" component for selecting the source image data, and a "generate" component for generating the source image data and the template information into the final combined image data. Afterwards, after clicking the load component, the terminal device displays the media library interface, and then selects a target video from the media library interface (the two instructions of clicking the load component and selecting the target video are jointly used as the first user instruction), and the target video is loaded into the target position in the second display interface. Afterwards, click the load component to render the target video and the background map and background image into combined image data, i.e., target image data. Optionally, the image record generation page also includes a "setting" component, and by triggering the setting component, the configuration parameters of the image record generation page can be modified, thereby realizing the replacement of template information such as background image, background special effects, and background music.
[0063] In this embodiment, by running the target application, and displaying the anniversary card in the first application interface within the trigger time period, wherein the trigger time period is determined based on the target anniversary corresponding to the target user; triggering the anniversary card, jumping to the image record generation page, the image record generation page is used to generate the template information corresponding to the target anniversary; in response to the first user instruction for the image record generation page, generating the target image data, wherein the first user instruction is used to obtain the source image data, and the target image data is the combined image data including the source image data and the template information. Through the trigger mechanism based on the anniversary, the anniversary card is displayed in the target application, and by triggering the anniversary card, the target image data including the template information matching the target anniversary is generated, thereby realizing the rapid generation of personalized target image data. Thus, effective guidance for the user is formed on the terminal device side, and the image data generation process is simplified, and the efficiency of the terminal device in generating image data is effectively improved.
[0064] Figure 7 A signaling interaction diagram of the image record generation method provided in the embodiment of the present disclosure, refer to Figure 7 In this embodiment, Figure 2 On the basis of the illustrated embodiment, in combination with the interaction process between the server and the terminal device (shown as the first terminal device in this embodiment), the embodiment is further refined, and the image record generation method includes:
[0065] Step S201: the server obtains anniversary time information and anniversary type information, the anniversary time information represents the triggering time period of the target anniversary corresponding to the target user, and the anniversary type information represents the target anniversary type of the target anniversary.
[0066] Step S202: The server determines a target message according to the anniversary type information, and the target message is used to display a target anniversary card corresponding to the target anniversary type.
[0067] For example, the server is Figure 2The server corresponding to the target application in the illustrated embodiment is the server of the target application. The server obtains the anniversary type information and the corresponding anniversary time information based on the user information filled in when the target user registers, such as the user's date of birth, marriage date, graduation date, etc. For example, for the target user User_1, the anniversary type represented by the anniversary type information includes, for example, any of the following: birthday anniversary, wedding anniversary, graduation anniversary. Accordingly, exemplarily, the anniversary time information corresponding to the birthday anniversary is January 1, the anniversary time information corresponding to the wedding anniversary is February 1, and the anniversary time information corresponding to the graduation anniversary is July 10. Further, the anniversary type information can be further refined for the anniversary type, for example, the first birthday anniversary, the tenth birthday anniversary, etc. Correspondingly, based on the reserved information, the server can obtain the corresponding anniversary time information, for example, January 1, 2017, January 1, 2027, etc. The specific implementation scheme is the prior art and will not be repeated here.
[0068] Exemplarily, the information flow in this embodiment is a feed flow. The feed flow combines several message sources that users actively subscribe to to form a content aggregator, helping users to continuously obtain the latest subscription source content. The message in the information flow in this embodiment refers to a piece of content in the feed flow. Among them, the message used to display the target anniversary card corresponding to the target anniversary type is the target message. After obtaining the anniversary type information, the server can obtain a corresponding target message based on the anniversary type information and the preset template.
[0069] Step S203: the first terminal device runs the target application and sends activity information to the corresponding server, where the activity information indicates that the target application is in a running state.
[0070] Step S204: The server sends a target message to the first terminal device within a triggering time period according to the received activity information and anniversary time information.
[0071] Step S205: After receiving the target message, the first terminal device displays a target anniversary card corresponding to the target anniversary type in the information flow interface based on the target message.
[0072] Exemplarily, after the first terminal device runs the target application, it will send an activity message to the server to inform the server that it is in an activated state. After that, the server will provide the information stream to the first terminal device. In a possible implementation, the server determines that it is currently in the trigger time period based on the anniversary time information, and after receiving the activity message, the server adds the target message to the information stream of the first terminal device. As the messages in the information stream of the first terminal device are continuously subscribed and pulled by the first terminal device, the target message is sent to the first terminal device, so that the first terminal device can display the anniversary card.
[0073] Figure 8 A schematic diagram of a process of a server sending a target message to a first terminal device provided in an embodiment of the present disclosure, such as Figure 8 As shown, T1 to T2 is a non-trigger time period, and T2 to T3 is a trigger time period, wherein when the first terminal device runs the target application in the time period from T1 to T2, the server provides the first terminal device with a normal feed stream (shown as Feed_1 in the figure). When the first terminal device runs the target application in the time period from T1 to T2, the server provides the first terminal device with a feed stream containing a target message (shown as Feed_2 in the figure), so that the first terminal device can obtain the target message in the process of swiping the feed stream.
[0074] For example, Fig. 9 is a flow chart of a possible implementation of step S204; Fig. 9 As shown, including:
[0075] Step S2041: Acquire the number of unread attention information of the first terminal device, where the attention information is high-priority recommended information output by the information flow recommendation algorithm of the server for the first terminal device.
[0076] Step S2042: Determine a preset round according to the number of unread attention messages of the first terminal device, and send a target message to the first terminal device after the preset round.
[0077] Exemplarily, the server generates recommendation information for the first terminal device through an information flow recommendation algorithm, and continuously sends the recommendation information to the first terminal device in the form of an information flow (Feed flow). In this process, taking the application scenario of a short video platform or a social media platform as an example, the information flow recommendation algorithm will prioritize the output of information that is predicted to be of interest to the user, such as dynamic information, breaking news, hot news, etc. posted by friends, that is, high-priority recommended information. After the information flow recommendation algorithm in the server has output such high-priority recommended information, it will recommend other information.
[0078] In the steps of this embodiment, the purpose of the first terminal device sending the target message is to guide the user to generate image data. In order not to affect the user's acquisition of high-attention information, the server first obtains the number of unread attention information of the first terminal device, and determines the preset rounds based on the number of unread attention information. The first terminal device will initiate a request to the server to obtain the feed stream in sequence in each round. Therefore, by sending the target message to the first terminal device after the preset round, it can be ensured that the user on the first terminal device side has read and viewed the (all or most) attention information he is concerned about, thereby avoiding the user on the first terminal device side having a low willingness to trigger the anniversary card due to the need to view the attention information, thereby increasing the user's willingness to produce target image data and improving the guidance effect.
[0079] For example, Fig.10 A flowchart of another possible implementation of step S204 includes:
[0080] Step S2043: Acquire operation history data of the first terminal device, where the operation history data represents the history records of the first terminal device running the target application.
[0081] Step S2044: Determine a target time period within the trigger time period based on the operation history data of the first terminal device.
[0082] Step S2045: Send a target message to the first terminal device within the target time period.
[0083] Exemplarily, the operation history data of the first terminal device represents the history record of the first terminal device running the target application. In a possible implementation, the operation history data is the start time and end time of the first terminal device using the target application in the historical date. The distribution of the operation time recorded in the operation history data can be used to determine the idle time of the first terminal device (i.e., the time when the target application is often used, more specifically, such as 20:00 to 22:00 every day) and the non-idle time (i.e., the time when the target application is not often used, more specifically, such as 0:00 to 8:00 every day). Furthermore, based on the idle time and non-idle time of the first terminal device, a target time period is determined within the trigger time period, such as 20:00 to 22:00 on the evening of August 1 (exemplarily, corresponding to the target user's wedding anniversary).
[0084] In the steps of this embodiment, the purpose of the first terminal device sending the target message is to guide the user to generate image data. In order to better improve the user's enthusiasm, a target time period is determined within the trigger time period by running historical data, and a target message is sent to the first terminal device within the target time period, so that the operating user on the first terminal device side can trigger the target anniversary card in his spare time, thereby further improving the user's enthusiasm for producing target image data.
[0085] Fig.11 A schematic diagram of displaying anniversary cards in an information flow interface provided by an embodiment of the present disclosure, combined with Fig.11 To further illustrate the above process, the first terminal device is, for example, a smart phone, and the target application running on the smart phone is a social media software that uses information flow technology. The target application continuously displays information to the user through the information flow interface, specifically, including videos, texts, pictures, etc. The user continuously refreshes the content in the information flow interface by operating the terminal device, for example, by "swiping up". After each refresh, a new message is obtained from the server and displayed in the information flow interface. After "swiping up" N times, the server sends the target message to the first terminal device, and then, in the information flow interface of the first terminal device, the anniversary card corresponding to the target message appears. Specifically, as shown in the figure, after each swipe up, a new message appears in the information flow interface. After "swiping up" three times, the target anniversary card corresponding to the target message appears in the information flow interface of the first terminal device. The "swipe up" operation is only one of the exemplary ways to trigger the refresh of the information flow, and the refresh polling N required to display the anniversary card can also be implemented in many ways. For example, N can be 0, that is, the anniversary card appears on the homepage of the target application, or it can be 2, 3, 4, etc., that is, the anniversary card appears after sliding several times. The specific N value can be obtained through the above Fig. 9 or Fig.10 The method shown is determined and will not be repeated here.
[0086] Step S206: The first terminal device triggers the target anniversary card and jumps to the image record generation page, where the image record generation page is used to generate target template information corresponding to the target anniversary type.
[0087] Step S207: the first terminal device modifies the configuration parameters of the image record generation page in response to the third user instruction, and generates a custom image record generation page, where the configuration parameters are used to set the features of the template information generated by the image record generation page.
[0088] Step S208: the first terminal device generates target image data in response to a first user instruction for generating a custom image record page.
[0089] Furthermore, in a possible implementation, after triggering the target anniversary card by a click operation or the like, the first terminal device will jump to the image record generation page to display and generate target template information corresponding to the target anniversary type, such as background images, background special effects, background music, etc. that match the target anniversary type, thereby achieving the purpose of automatically and quickly generating target image data that matches the target anniversary type and simplifying the image data production process.
[0090] In another possible implementation, the background image, background effects, background music, etc. included in the target template information can be adjusted based on user preferences. Specifically, based on a response to a third user instruction, the configuration parameters of the image record generation page are modified, such as replacing the background image, background effects, background music, etc. (i.e., the characteristics of the template information), thereby generating a custom image record generation page, so that the template information further generated by the custom image record generation page can be more diverse, and the target image data generated can meet the user's personalized needs.
[0091] Step S209: the first terminal device sends the target image data to the server.
[0092] Step S210: The server receives the target image data sent by the terminal device, and determines the target user corresponding to the target image data.
[0093] Step S211: the server sends the target image data to the second terminal device corresponding to the target user.
[0094] Step S212: The second terminal device displays the target image data.
[0095] Further, after the first terminal device generates the target image data, the target image data is uploaded to a server, specifically, for example, a social media platform. The target impact data is an image record of the target anniversary of the target user. More specifically, for example, the user corresponding to the first terminal device is User_1, and the target user is User_2. The target image data is an audio-visual record made by User_1 to celebrate the birthday anniversary and wedding anniversary of User_2. After User_1 creates the target image data based on the guidance of the steps provided in the above embodiment, it uploads the target image data to the server. After that, the server adds the target image data to the information flow of User_2. When User_2 runs the target application through the second terminal device (it should be noted that the target application run by the second terminal device can be the same as or different from the target application run when the first terminal device generates the target image data), in the process of refreshing the information flow, the target image data sent by the server will be received and displayed and played, thereby realizing a multi-terminal interactive social process based on the anniversary trigger mechanism, improving the user's enthusiasm and interactivity in making audio-visual data, and improving the user experience.
[0096] In this embodiment, the implementation method and technical effect of step S206 are consistent with those of step S102 in the above embodiment. For detailed discussion, please refer to the discussion of step S102, which will not be repeated here.
[0097] Corresponding to the steps performed by the terminal device in the image record generation method in the above embodiment, Fig.12 This is a structural block diagram of an image recording and generating device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Fig.12 , the image record generating device 3 comprises:
[0098] The display module 31 is used to run the target application and display the anniversary card on the first application interface within the trigger time period, wherein the trigger time period is determined based on the target anniversary corresponding to the target user;
[0099] A trigger module 32 is used to trigger the anniversary card and jump to the image record generation page, which is used to generate template information corresponding to the target anniversary;
[0100] The generating module 33 is used to generate target image data in response to a first user instruction for an image record generating page, wherein the first user instruction is used to obtain source image data, and the target image data is combined image data including source image data and template information.
[0101] In one embodiment of the present disclosure, the first application interface is an information flow interface, and the display module 31 is specifically used to: run the target application and send activity information to the corresponding server, the activity information indicating that the target application is in a running state; receive the target message sent by the server within the trigger time period; based on the target message, display the anniversary card in the information flow interface.
[0102] In one embodiment of the present disclosure, when the display module 31 receives the target message sent by the server within the trigger time period, it is specifically used to: receive the target message sent by the server within the trigger time period and after the information flow interface is refreshed for a preset number of times.
[0103] In one embodiment of the present disclosure, the preset round is determined based on the number of corresponding unread attention information of the terminal device, and the attention information is high-priority recommended information output by the information flow recommendation algorithm of the server for the terminal device.
[0104] In one embodiment of the present disclosure, when the display module 31 receives a target message sent by the server within a trigger time period, it is specifically used to: receive the target message sent by the server within a target time period of the trigger time period, wherein the target time period is determined based on the operation history data of the terminal device, and the operation history data represents the historical record of the terminal device running the target application.
[0105] In one embodiment of the present disclosure, when the display module 31 displays the anniversary card in the first application interface, it is specifically used to: display the target anniversary card corresponding to the target anniversary type in the first application interface, wherein the target anniversary type represents the type of the target anniversary.
[0106] In one embodiment of the present disclosure, the template information includes at least one of the following:
[0107] Background images, background effects, background music.
[0108] In one embodiment of the present disclosure, the source image data includes a video or a picture, and the image record generation page is displayed on the second display interface; the generation module 33 is specifically used to: display the template information corresponding to the target anniversary in the second display interface based on the image record generation page; in response to a first user instruction, obtain the target video or target picture, and display the target video or target picture at the target position in the second display interface; in response to a second user instruction, render the template information displayed in the second display interface, and the target picture or target video displayed in the second display interface as target image data.
[0109] In one embodiment of the present disclosure, before generating target image data in response to a first user instruction for an image record generation page, the generation module 33 is also used to: modify the configuration parameters of the image record generation page in response to a third user instruction, and the configuration parameters are used to set the characteristics of the template information generated by the image record generation page.
[0110] In one embodiment of the present disclosure, after generating the target image data, the generating module 33 is further used to: send the target image data to the server, so that the target image data is sent to the terminal device corresponding to the target user.
[0111] The display module 31, trigger module 32 and generation module 33 are connected in sequence. The image record generation device 3 provided in this embodiment can execute the technical solution executed by the terminal device in the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated in this embodiment.
[0112] Corresponding to the steps performed by the server in the image record generation method of the above embodiment, Fig.13 This is a structural block diagram of another image recording and generating device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Fig.13 , the image record generating device 4 comprises:
[0113] An acquisition module 41 is used to acquire anniversary time information, where the anniversary time information represents a triggering time period of a target anniversary corresponding to a target user;
[0114] The transceiver module 42 is used to send trigger information to at least one terminal device according to the anniversary time information, so that the terminal device displays an anniversary card on the first application interface within the trigger time period. After the anniversary card is triggered, it is used to generate target image data corresponding to the target anniversary. The target image data is a combination of image data including source image data and template information corresponding to the target anniversary.
[0115] In one embodiment of the present disclosure, the transceiver module 42 is further used to: receive target image data sent by a terminal device; and send the target image to the terminal device of a target user.
[0116] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure is shown in FIG. Fig.14 As shown, the electronic device 5 includes:
[0117] A processor 51, and a memory 52 communicatively connected to the processor 51;
[0118] The memory 52 stores computer executable instructions;
[0119] The processor 51 executes the computer execution instructions stored in the memory 52 to implement the following Figure 2-Figure 11 The image record generation method in the illustrated embodiment.
[0120] Optionally, the processor 51 and the memory 52 are connected via a bus 53 .
[0121] For related instructions, please refer to Figure 2-Figure 11 The relevant descriptions and effects corresponding to the steps in the corresponding embodiments can be understood, and no further elaboration is made here.
[0122] refer to Fig.15 , which shows a schematic diagram of the structure of an electronic device 900 suitable for implementing the embodiment of the present disclosure, and the electronic device 900 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.15 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0123] like Fig.15 As shown, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 to a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0124] Typically, the following devices may be connected to the I / O interface 905: input devices 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.15 The electronic device 900 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0125] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0126] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0127] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0128] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.
[0129] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0130] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0131] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0132] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0133] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0134] In a first aspect, according to one or more embodiments of the present disclosure, there is provided an image record generation method, which is applied to a terminal device and includes:
[0135] It is detected that it is in a trigger time period, and at least one anniversary card is displayed on the first application interface, wherein the trigger time period is determined based on the target anniversary corresponding to the target user; the anniversary card is triggered to display an image record generation page, and the image record generation page is used to generate template information corresponding to the anniversary card, and the template information is determined based on the target anniversary; in response to a first user instruction for the image record generation page, target image data is generated, wherein the first user instruction is used to obtain source image data, and the target image data is generated based on the source image data and the template information.
[0136] According to one or more embodiments of the present disclosure, the first application interface is an information flow interface, and the detecting that a trigger time period is in progress and displaying at least one anniversary card in the first application interface includes: determining that the trigger time period is in progress according to an activity information table; receiving a target message in response to determining that the trigger time period is in progress; and displaying the at least one anniversary card in the information flow interface based on the target message.
[0137] According to one or more embodiments of the present disclosure, the detecting that a trigger time period is in progress and displaying at least one anniversary card on the first application interface includes: displaying the at least one anniversary card within the trigger time period and after the information flow interface has been refreshed a preset number of times.
[0138] According to one or more embodiments of the present disclosure, the preset round is determined based on the number of unread attention information, and the attention information is high-priority recommended information.
[0139] According to one or more embodiments of the present disclosure, detecting that a trigger time period is in progress and displaying at least one anniversary card on a first application interface comprises: displaying the at least one anniversary card within a target time period of the trigger time period, wherein the target time period is determined based on operation history record data.
[0140] According to one or more embodiments of the present disclosure, displaying a memorial day card on the first application interface includes: displaying at least one memorial day card corresponding to the target memorial day type on the first application interface.
[0141] According to one or more embodiments of the present disclosure, the template information includes at least one of the following: background image, background special effects, background music, transition mode, and camera direction.
[0142] According to one or more embodiments of the present disclosure, the source image data includes a video or a picture, and the image record generation page is displayed on a second display interface; the target image data is generated in response to a first user instruction for the image record generation page, including: based on the image record generation page, displaying a template corresponding to the commemorative card in the second display interface; in response to the first user instruction, acquiring a target video or a target picture, and displaying the target video or the target picture at a target position in the second display interface; in response to a second user instruction, rendering the template information displayed in the second display interface, and the target picture or the target video displayed in the second display interface as the target image data.
[0143] According to one or more embodiments of the present disclosure, before generating target image data in response to a first user instruction for the image record generation page, it also includes: modifying configuration parameters of the image record generation page in response to a third user instruction, wherein the configuration parameters are used to set characteristics of the template information generated by the image record generation page.
[0144] According to one or more embodiments of the present disclosure, after generating the target image data, the method further includes: publishing the target image data.
[0145] In a second aspect, according to one or more embodiments of the present disclosure, there is provided an image record generation method, which is applied to a server and includes:
[0146] Obtain anniversary time information, the anniversary time information representing a trigger time period of a target anniversary corresponding to a target user; send trigger information based on the anniversary time information to display an anniversary card on a first application interface within the trigger time period, the anniversary card being used to generate target image data corresponding to the target anniversary after being triggered, the target image data being combined image data including source image data and template information corresponding to the target anniversary.
[0147] According to one or more embodiments of the present disclosure, the method further includes: receiving target image data for publishing.
[0148] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an image record generation device, applied to a terminal device, comprising:
[0149] A display module, configured to detect that a trigger time period is in progress and display at least one anniversary card on the first application interface, wherein the trigger time period is determined based on a target anniversary corresponding to a target user;
[0150] A trigger module, used to trigger the anniversary card and display an image record generation page, wherein the image record generation page is used to generate template information corresponding to the anniversary card, and the template information is determined based on the target anniversary;
[0151] A generation module is used to generate target image data in response to a first user instruction for the image record generation page, wherein the first user instruction is used to obtain source image data, and the target image data is generated based on the source image data and the template information.
[0152] According to one or more embodiments of the present disclosure, the first application interface is an information flow interface, and the display module is specifically used to: determine that it is in a trigger time period according to an activity information table; receive a target message in response to determining that it is in the trigger time period; and display the at least one anniversary card in the information flow interface based on the target message.
[0153] According to one or more embodiments of the present disclosure, when the display module detects that it is in a trigger time period and displays at least one anniversary card on the first application interface, it is specifically used to: display the at least one anniversary card within the trigger time period and after the information flow interface has been refreshed a preset number of times.
[0154] According to one or more embodiments of the present disclosure, the preset round is determined based on the number of unread attention information, and the attention information is high-priority recommended information.
[0155] According to one or more embodiments of the present disclosure, when the display module detects that it is in a trigger time period and displays at least one anniversary card on the first application interface, it is specifically used to: display the at least one anniversary card within a target time period of the trigger time period, wherein the target time period is determined based on operation history record data.
[0156] According to one or more embodiments of the present disclosure, when the display module displays the anniversary card on the first application interface, it is specifically used to: display at least one anniversary card corresponding to the target anniversary type on the first application interface.
[0157] According to one or more embodiments of the present disclosure, the template information includes at least one of the following:
[0158] Background images, background effects, background music, transition methods, and camera direction.
[0159] According to one or more embodiments of the present disclosure, the source image data includes a video or a picture, and the image record generation page is displayed on a second display interface; the generation module is specifically used to: display a template corresponding to the commemorative card in the second display interface based on the image record generation page; obtain a target video or a target picture in response to the first user instruction, and display the target video or the target picture at a target position in the second display interface; and render the template information displayed in the second display interface, and the target picture or the target video displayed in the second display interface as the target image data in response to the second user instruction.
[0160] According to one or more embodiments of the present disclosure, before generating target image data in response to a first user instruction for the image record generation page, the generation module is also used to: modify configuration parameters of the image record generation page in response to a third user instruction, wherein the configuration parameters are used to set characteristics of the template information generated by the image record generation page.
[0161] According to one or more embodiments of the present disclosure, after generating the target image data, the generating module is further used to: publish the target image data.
[0162] In a fourth aspect, according to one or more embodiments of the present disclosure, there is provided an image record generating device, comprising:
[0163] An acquisition module, used to acquire anniversary time information, wherein the anniversary time information represents a triggering time period of a target anniversary corresponding to a target user;
[0164] The transceiver module is used to send trigger information according to the anniversary time information, so as to display an anniversary card on the first application interface within the trigger time period. After being triggered, the anniversary card is used to generate target image data corresponding to the target anniversary. The target image data is a combination of source image data and template information corresponding to the target anniversary.
[0165] In one embodiment of the present disclosure, the transceiver module is further used to: receive target image data for publication.
[0166] In a fifth aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0167] The memory stores computer-executable instructions;
[0168] The processor executes the computer-executable instructions stored in the memory to implement the image record generation method described in the first aspect and various possible designs of the first aspect; or, to implement the image record generation method described in the second aspect and various possible designs of the second aspect.
[0169] In a sixth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the image record generation method described in the first aspect and various possible designs of the first aspect is implemented; or, the image record generation method described in the second aspect and various possible designs of the second aspect is implemented.
[0170] In the seventh aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the image record generation method as described in the first aspect and various possible designs of the first aspect; or, implements the image record generation method as described in the second aspect and various possible designs of the second aspect.
[0171] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0172] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0173] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for generating an image record, characterized in that: The method comprises: Detecting that a trigger time period is in progress, displaying at least one anniversary card on the first application interface, wherein the trigger time period is determined based on a target anniversary corresponding to a target user; Triggering the anniversary card to display an image record generation page, the image record generation page is used to generate template information corresponding to the anniversary card, the template information is determined based on the target anniversary; generating target image data in response to a first user instruction for the image record generation page, wherein the first user instruction is used to obtain source image data, and the target image data is generated based on the source image data and the template information; The source image data includes a video or a picture, and the image record generation page is displayed on the second display interface; and the generating of the target image data in response to the first user instruction for the image record generation page includes: Generating a page based on the image record, and displaying a template corresponding to the anniversary card in the second display interface; In response to the first user instruction, acquiring a target video or a target picture, and displaying the target video or the target picture at a target position in the second display interface; In response to a second user instruction, the template information displayed in the second display interface, and the target picture or the target video displayed in the second display interface, are rendered as the target image data.
2. The method according to claim 1, characterized in that The first application interface is an information flow interface, and the detecting that a trigger time period is in progress and displaying at least one anniversary card in the first application interface includes: According to the activity information table, determine that it is in the trigger time period; In response to determining that it is in a trigger time period, receiving a target message; Based on the target message, the at least one anniversary card is displayed in the information flow interface.
3. The method according to claim 2, characterized in that The detecting that a trigger time period is in progress and displaying at least one anniversary card on the first application interface includes: During the trigger time period, and after the information flow interface has been refreshed for a preset number of times, the at least one anniversary card is displayed.
4. The method according to claim 3, characterized in that The preset round is determined based on the number of unread attention information, and the attention information is high-priority recommended information.
5. The method according to claim 2, characterized in that: The detecting that a trigger time period is in progress and displaying at least one anniversary card on the first application interface includes: The at least one anniversary card is displayed within a target time period of the trigger time period, wherein the target time period is determined based on the operation history record data.
6. The method according to claim 1, characterized in that The displaying of at least one anniversary card on the first application interface includes: At least one anniversary card corresponding to the target anniversary type is displayed on the first application interface.
7. The method according to claim 1, characterized in that The template information includes at least one of the following: Background images, background effects, background music, transition methods, and camera direction.
8. The method according to any one of claims 1 to 7, characterized in that: Before generating target image data in response to a first user instruction for the image record generation page, the method further includes: In response to a third user instruction, a configuration parameter of the image record generation page is modified, wherein the configuration parameter is used to set a feature of the template information generated by the image record generation page.
9. The method according to any one of claims 1 to 7, characterized in that: After generating the target image data, the method further includes: The target image data is published.
10. An image recording and generating device, characterized in that: include: A display module, configured to detect that a trigger time period is in progress and display at least one anniversary card on the first application interface, wherein the trigger time period is determined based on a target anniversary corresponding to a target user; A trigger module, used to trigger the anniversary card and display an image record generation page, wherein the image record generation page is used to generate template information corresponding to the anniversary card, and the template information is determined based on the target anniversary; A generating module, configured to generate target image data in response to a first user instruction for the image record generating page, wherein the first user instruction is used to obtain source image data, and the target image data is generated based on the source image data and the template information; The source image data includes a video or a picture, and the image record generation page is displayed on the second display interface; the generation module is specifically used to: Based on the image record generation page, the template corresponding to the anniversary card is displayed in the second display interface; in response to the first user instruction, the target video or target image is obtained, and the target video or the target image is displayed at the target position in the second display interface; in response to the second user instruction, the template information displayed in the second display interface, and the target image or the target video displayed in the second display interface are rendered as the target image data.
11. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the image record generation method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the image record generation method according to any one of claims 1 to 9 is implemented.
13. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the image record generation method according to any one of claims 1 to 9 is implemented.
Citation Information
Cited By
Image record generation method and apparatus, and electronic device and storage medium
EP4543026A1
