This application claims priority to Chinese Patent Application No. 202210684581.X, filed on Jun. 16, 2022 and entitled “METHOD AND APPARATUS FOR GENERATING IMAGERY RECORD, ELECTRONIC DEVICE, AND STORAGE MEDIUM”, which is hereby incorporated by reference in its entirety.
The embodiments of the present disclosure relate to the field of Internet technologies, and in particular, to a method and an apparatus for generating an imagery record, an electronic device, and a storage medium.
At present, with popularization of smart terminals and mobile networks, short video platforms have been recognized by many users for their rich content and prominent social attributes. At the same time, most of the content on a short video platform is uploaded by individual users. Therefore, the number of users who participate in uploading content determines richness of the content on the short video platform.
In the prior art, in order to improve enthusiasm of users to upload content, the operator of the short video platform will set up a corresponding guidance sign and a guidance procedure in a short video application to guide users to capture and upload an imagery record. However, solutions in the prior art have problems, such as poor guidance effect and complicated imagery data generating processes, and it is difficult to effectively guide users to capture imagery data.
Embodiments of the present disclosure provide a method and an apparatus for generating an imagery record, an electronic device, and a storage medium, to solve the problems, such as poor guidance effect and complicated imagery data generating processes, during guiding a user to perform recording and capturing using an application in the prior art.
In a first aspect, an embodiment of the present disclosure provides a method for generating an imagery record, applied to a terminal device, and the method includes:
In a second aspect, an embodiment of the present disclosure provides a method for generating an imagery record, applied to a server, and the method includes:
In a third aspect, an embodiment of the present disclosure provides an apparatus for generating an imagery record, applied to a terminal device, including:
In a fourth aspect, an embodiment of the present disclosure provides an apparatus for generating an imagery record, applied to a server, including:
In a fifth aspect, an embodiment of the present disclosure provides an electronic device, including:
In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium where the computer-readable storage medium has a computer-executable instruction stored therein, and when a processor executes the computer-executable instruction, the method for generating an imagery record according to the above first aspect and any possible designs of the first aspect, or, the method for generating an imagery record according to the above second aspect and any possible designs of the second aspect is implemented.
In a seventh aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, and when the computer program is executed by a processor, the method for generating an imagery record according to the above first aspect and any possible designs of the first aspect, or, the method for generating an imagery record according to the above second aspect and any possible designs of the second aspect is implemented.
According to the method and the apparatus for generating an imagery record, the electronic device, and the storage medium,
In order to describe the technical solutions in the embodiments of the present disclosure or prior art more clearly, the following will briefly introduce drawings that need to be used in the description of the embodiments or prior art. Obviously, the drawings described below are some embodiments of the present disclosure, and for those of skilled in the art, other drawings can be obtained based on these drawings without paying creative efforts.
In order to make the purpose, technical solutions and advantages of embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described as follows clearly and completely in conjunction with accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are a part rather than all of the embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments acquired by those skilled in the art without creative efforts shall fall into the protection scope of the present disclosure.
The application scenarios of the embodiments of the present disclosure are explained below:
The application scenario diagram shown in
In order to solve the above problem, in the embodiment, an anniversary card is sent to a user through an anniversary-based triggering mechanism. On the one hand, the user is more motivated to create imagery data for the anniversary, so the guidance effect becomes better. On the other hand, through the specific setting of the anniversary card, the generating step is simplified, so that the user can quickly and conveniently generate imagery data which has rich content through the terminal device, and the enthusiasm of the user to generate and upload imagery data can be further improved, thereby solving the above problems.
Referred to
Step S101: detect being within a triggering period, and display at least one anniversary card on a first application interface, where the triggering period is determined based on a target anniversary corresponding to a target user.
Illustratively, as an execution subject of the embodiment, a terminal device has an application (APP) for implementation of image data generation, i.e., a target application, running therein. More specifically, the target application is, for example, a short video application, a social media application, etc. The target application has a first application interface. Illustratively, taking a short video application as an example, the first application interface may be a home page, a video playback page, etc., which is not specifically limited here. After a client of the target application runs on terminal device side, the client of the target application will display at least one anniversary card on the first application interface in a specific period.
Further, illustratively, the anniversary card is a triggerable component loaded on the first application interface, and the anniversary card, after being triggered, is used to implement functions of page jumping and displaying. The timing when the anniversary card is displayed on the first application interface is within the triggering period, where the triggering period is determined by a server based on the target anniversary of the target user, and the triggering time is determined based on the time when the server sends triggering information to the terminal device. Specifically, for example, the target anniversary is the birthday of user User_1, and more specifically, for example, the target anniversary is Jan. 1, 1990. The corresponding triggering period is the birthday of the user User_1, that is, from 0:00 on January 1st to 0:00 on January 2nd every year. In the time interval from 0:00 on January 1st to 0:00 on January 2nd every year, after the target application runs, based on the triggering information sent by the server to the terminal device, the terminal device displays the anniversary card on the first application interface. More specifically, the specific display timing of the anniversary card may be that the anniversary card is displayed on the first application interface immediately after the target application displays the first application interface for the first time in the triggering period; or the anniversary card is displayed at other moment when the target application displays the first application interface in the triggering period, which is not specifically limited here.
Step S102: trigger the anniversary card to display an image record generating page, where the imagery record generating page is used to generate template information corresponding to the anniversary card.
Illustratively, after displaying the anniversary card on the first application interface, the terminal device processes the anniversary card based on different triggering methods, so that a record generating module is jumped to from a current activated interface. Specifically, in a possible implementation, after the user clicks the anniversary card through a touch screen of the terminal device, the display interface of the terminal device jumps from the current first application interface to a second application interface, and an imagery record generating page is displayed on the second application interface. Alternatively, after the user clicks on the component through the touch screen of the terminal device, the imagery record generating page is displayed above the first application interface. In another possible implementation, after a preset time, the anniversary card is automatically triggered (that is, not being canceled within a preset time is automatically regarded as the anniversary card being clicked), so that the display interface of the terminal device jumps from the current first application interface to the second application interface, and the imagery record generating page is displayed on the second application interface, or the imagery record generating page is displayed above the first application interface.
Further, the imagery record generating page will be introduced below. Illustratively, the imagery record generating page is a page which is used to generate template information related to the target anniversary, and the imagery record generating page is provided with an operation component. A corresponding processing method can be called by operation on the operation component on the imagery record generating page, to generate template information, or set a characteristic of the template information. The template information may be background information indicating a background of the anniversary card, and more specifically, the template information may be, for example, one or more of a background image, a background special effect, background music, a transition mode, or a camera movement direction. The template information may be displayed in the imagery record generating page in a form of preview.
Step S103: in response to a first user instruction for the imagery record generating page, generate target imagery data, where the first user instruction is used to acquire source imagery data, and the target imagery data is generated based on the source imagery data and the template information.
Further, after jumping to the imagery record generating page, the terminal device receives a first user instruction and obtains source imagery data, where the source imagery data is, for example, a video or a picture saved in the terminal device locally or save in a cloud server (in this case, the first user instruction is equivalent to a file reading instruction), or a video or a picture captured by a camera in real time (in this case, the first user instruction is equivalent to a camera capturing instruction). After that, the source imagery data is combined with the template information of the imagery record generating page, and then the combined imagery data with rich template information, i.e., the target imagery data, can be obtained.
In a possible implementation, the imagery record generating page is displayed on a second application interface. As shown in
Step S1031: based on the imagery record generating page, display template information corresponding to the target anniversary on the second application interface.
Step S1032: in response to the first user instruction, acquire a target video or a target picture, and display the target video or the target picture at a target position on the second application interface.
Step S1033: in response to a second user instruction, render the template information displayed on the second application interface and the target picture or the target video displayed on the second application interface into the target imagery data.
In the embodiment, the target application runs, and the anniversary card is displayed on the first application interface within the triggering period, where the triggering period is determined based on the target anniversary corresponding to the target user; the anniversary card is triggered, and the imagery record generating page is jumped to, where the imagery record generating page is used to generate template information corresponding to the target anniversary; in response to the first user instruction for the imagery record generating page, the target imagery data is generated, where the first user instruction is used to acquire the source imagery data, and the target imagery data is the combined imagery data including the source imagery data and the template information. The anniversary card is displayed in the target application through an anniversary-based triggering mechanism, and the target imagery data including template information matching with the target anniversary is generated by triggering the anniversary card, thereby realizing the rapid generation of personalized target imagery data. As a result, effective guidance for the user is formed on the terminal device side, the generating process of imagery data is simplified, and the efficiency of the terminal device in generating imagery data is effectively improved.
Step S201: a server acquires anniversary time information and anniversary type information, where the anniversary time information indicates a triggering period of a target anniversary corresponding to a target user, and the anniversary type information indicates a target anniversary type of the target anniversary.
Step S202: the server determines a target message according to the anniversary type information, where the target message is used to display a target anniversary card corresponding to the target anniversary type.
Illustratively, the server is the server corresponding to the target application in the embodiment shown in
Illustratively, an information stream in the embodiment is a Feed stream. The Feed stream combines several information sources to which a user actively subscribes, to form a content aggregator, to help the user to continuously acquire the latest content of the subscribed sources. In the embodiment, a message in the information stream refers to a piece of content in the Feed stream, where a 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 may obtain a corresponding target message based on the anniversary type information and a preset template.
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.
Step S204: the server sends the target message to the first terminal device within the triggering period according to the received activity information and the anniversary time information.
Step S205: after receiving the target message, the first terminal device displays the target anniversary card corresponding to the target anniversary type on the information stream interface based on the target message.
Illustratively, after the first terminal device runs the target application, it will send activity information to the server to inform the server that it is in an active state, and thereafter, the server will provide the first terminal device with an information stream. In a possible implementation, the server determines according to the anniversary time information that it is currently within the triggering period, and after receiving the activity information, the server adds the target message to the information stream for the information stream of the first terminal device. As 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 side can display the target anniversary card.
Illustratively,
step S2041: acquire an amount of information of concern which has not been read by the first terminal device, where the information of concern is high-priority recommendation information output by an information stream recommendation algorithm of the server for the first terminal device;
step S2042: determine a preset number of rounds according to the amount of information of concern which has not been read by the first terminal device, and send a target message to the first terminal device after the preset number of rounds.
Illustratively, the server generates recommendation information for the first terminal device by means of an information stream recommendation algorithm, and continuously sends the recommendation information to the first terminal device in the form of an information stream (Feed stream). In this process, taking the application scenario of a short video platform or a social media platform as an example, the information stream recommendation algorithm will give priority to outputting information that the user is predicted to be interested in, such as activity information posted by friends, breaking news, news about hot topics, etc., that is, high-priority recommendation information, and the information stream recommendation algorithm in the server recommends other information after such high-priority recommendation information has been output.
In the steps of the embodiment, the purpose of sending the target message by the first terminal device is to guide the user to generate imagery data, and in order to avoid affecting the user's acquisition of information of high concern, the server first acquires the amount of information of concern which has not been read by the first terminal device, and determines the preset number of rounds based on the amount of information of concern that has not been read, and the first terminal device initiates a request to the server in each round to acquire a feed stream in turn. Therefore, by sending the target message to the first terminal device after the preset number of rounds, it can be ensured that the user on the first terminal device side has read and watched (all or most of) the information the user is concerned with. Thus, it is avoided that the user on the first terminal device side has low willingness to trigger the anniversary card due to the need to watch the information of concern, thereby improving the user's willingness to create target imagery data and improving the guidance effect.
Illustratively,
Illustratively, the running history data of the first terminal device indicates the history record of the first terminal device running the target application. In a possible implementation, the running history data includes start time and end time of using the target application by the first terminal device on historical dates. Based on a distribution of the running time recorded by the running history data, idle time of the first terminal device (that is, the time when the target application is frequently used, more specifically, for example, from 20:00 to 22:00 every day) and non-idle time (that is, the time when the target application is not used frequently, more specifically, for example, from 0:00 to 8:00 every day) may be determined. Further, based on the idle time and the non-idle time of the first terminal device, a target period is determined within the triggering period, for example, from 20:00 to 22:00 pm on August 1st (illustratively, corresponding to the target user's wedding anniversary).
In the steps of the embodiment, the purpose of sending the target message by the first terminal device is to guide the user to generate imagery data, and in order to better improve the enthusiasm of the user, a target period is determined within the triggering period according to the running history data, and the target message is sent to the first terminal device within the target period, so that the operating user on the first terminal device side can trigger the target anniversary card in idle time, thereby further improving the user's enthusiasm for creating target imagery data.
Step S206: the first terminal device triggers the target anniversary card, and jumps to an imagery record generating page, where the imagery record generating page is used to generate target template information corresponding to the target anniversary type.
Step S207: in response to a third user instruction, the first terminal device modifies a configuration parameter of the imagery record generating page to generate a customized imagery record generating page, where the configuration parameter is used to set a characteristic of the template information generated by the imagery record generating page.
Step S208: in response to a first user instruction for the customized imagery record generating page, the first terminal device generates target imagery data.
Further, in a possible implementation, after the target anniversary card is triggered through a click operation, the first terminal device will jump to the imagery record generating page to display and generate the target template information corresponding to the target anniversary type, such as a background image, a background special effect, or background music, that match with the target anniversary type, thereby achieving the purpose of automatically and quickly generating target imagery data matching with the target anniversary type, and simplifying the process of creating imagery data.
In another possible implementation, the background image, the background special effect, the background music, etc., included in the target template information may all be adjusted based on user preference. Specifically, configuration parameters of the imagery record generating page are modified based on the response to the third user instruction, for example, changing the background image, the background special effect, the background music, etc., (that is, the characteristics of the template information), thereby generating a customized imagery record generating page, so that the template information further generated by the customized imagery record generating page can be more rich and diverse, and the generated target imagery data can meet the personalized needs of the user.
Step S209: the first terminal device sends the target imagery data to the server.
Step S210: the server receives the target imagery data sent by the terminal device, and determines the target user corresponding to the target imagery data.
Step S211: the server sends the target imagery data to a second terminal device corresponding to the target user.
Step S212: the second terminal device displays the target imagery data.
Further, after the first terminal device generates the target imagery data, the target imagery data is uploaded to the server, specifically, such as a social media platform. The target imagery data is an imagery record for 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 imagery data is an imagery and audio record created by User_1 for celebrating the birthday or wedding anniversary of User_2. User_1 creates the target imagery data based on the guidance of the steps provided in the above-mentioned embodiments, and then, uploads the target imagery data to the server. After that, the server adds the target imagery data to the information stream of User_2. When User_2 runs the target application through a second terminal device (it should be noted that the target application running on the second terminal device may be the same as or different from the target application running when the first terminal device generates the target imagery data), the target imagery data sent by the server will be received and be displayed and played during the refresh of the information stream, thereby realizing a social process of multi-terminal interaction which is based on the anniversary triggering mechanism, improving the enthusiasm and interactivity of the user in creating imagery and audio data, and improving use experience of the user.
In the embodiment, the implementation and technical effect of step S206 are consistent with those of step S102 in the above-mentioned embodiment, and for the detailed discussion, reference can be made to the discussion of step S102, which will not be repeated here.
Corresponding to the steps performed by the terminal device in the method for generating an imagery record according to the above embodiments,
In an embodiment of the present disclosure, the first application interface is an information stream interface, and the displaying module 31 is specifically configured to: run the target application and send activity information to a corresponding server, where the activity information indicates that the target application is in a running state; receive a target message sent by the server within the triggering period; and display the anniversary card on the information stream interface based on the target message.
In an embodiment of the present disclosure, when receiving the target message sent by the server within the triggering period, the displaying module 31 is specifically configured to: receive, within the triggering period and after the information stream interface is refreshed for a preset number of rounds, the target message sent by the server.
In an embodiment of the present disclosure, the preset number of rounds is determined based on an amount of information of concern, which has not been read, corresponding to the terminal device, and the information of concern is high-priority recommendation information output by an information stream recommendation algorithm of the server for the terminal device.
In an embodiment of the present disclosure, when receiving the target message sent by the server within the triggering period, the displaying module 31 is specifically configured to: receive the target message sent by the server within a target period of the triggering period, where the target period is determined based on running history data of the terminal device, and the running history data indicates a history record of the terminal device running the target application.
In an embodiment of the present disclosure, when displaying the anniversary card on the first application interface, the displaying module 31 is specifically configured to: display a target anniversary card corresponding to a target anniversary type on the first application interface, where the target anniversary type indicates a type of the target anniversary.
In an embodiment of the present disclosure, the template information includes at least one of the following:
In an embodiment of the present disclosure, the source imagery data includes a video or a picture, and the imagery record generating page is displayed on a second application interface, and the generating module 33 is specifically configured to: display the template information corresponding to the target anniversary on the second application interface based on the imagery record generating page; in response to the first user instruction, acquire a target video or a target picture, and display the target video or the target picture at a target position on the second application interface; and in response to a second user instruction, render the template information displayed on the second application interface and the target picture or the target video displayed on the second application interface into the target imagery data.
In an embodiment of the present disclosure, before generating, in response to the first user instruction for the imagery record generating page, the target imagery data, the generating module 33 is further configured to: in response to a third user instruction, modify a configuration parameter of the imagery record generating page, where the configuration parameter is used to set a characteristic of template information generated by the imagery record generating page.
In an embodiment of the present disclosure, after generating the target imagery data, the generating module 33 is further configured to: send the target imagery data to the server, so that the target imagery data is sent to a terminal device corresponding to the target user.
The displaying module 31, the triggering module 32 and the generating module 33 are connected in sequence. The apparatus for generating an imagery record 3 provided in the embodiments can implement the technical solutions executed by the terminal device in the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, which will not be repeated here in this embodiment.
Corresponding to the steps performed by the server in the method for generating an imagery record according to the above embodiments,
In an embodiment of the present disclosure, the transceiving module 42 is further configured to: receive the target imagery data sent by the terminal device; and send the target imagery data to a terminal device of the target user.
Optionally, the processor 51 and the memory 52 may be connected through a bus 53.
The relevant description can be understood by referring to the relevant descriptions and effects corresponding to the steps in the embodiments corresponding to
Referred to
As shown in
Generally, the following devices may be connected to the I/O interface 905: an input apparatus 906, including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output apparatus 907, including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage apparatus 908, including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication apparatus 909 may allow the electronic apparatus 900 to perform wireless or wired communication with other devices to exchange data. Although
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may 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 may be downloaded and installed from a network through the communication apparatus 909, or installed from the storage apparatus 908, or installed from the ROM 902. When the computer program is executed by the processing apparatus 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
It should be noted that the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. The computer-readable storage medium may be, for example, but not limited to, an electrical, a magnetic, an optical, an electromagnetic, an infrared, or a semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium 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 thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium that includes or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal may take many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer readable signal medium may also be any computer readable medium other than the computer readable storage medium, and the computer readable signal medium may send, propagate, or transmit the program used by or in combination with the instruction execution system, apparatus, or device. The program code included on the computer-readable medium may be transmitted by any suitable medium, including but not limited to: a wire, an optical cable, RF (Radio Frequency), etc., or any suitable combination thereof.
The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
The above computer-readable medium carries one or more programs, and when the foregoing one or more programs are executed by the electronic device, the electronic device is caused to execute the method shown in the foregoing embodiment.
The computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof. The above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also include conventional procedural programming language—such as “C” language or similar programming language. The program code may be executed entirely on a user computer, partly on a user computer, executed as an independent software package, partly executed on a user computer and partly executed on a remote computer, or entirely executed on a remote computer or server. In the case where a remote computer is involved, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, through an Internet connection by using an Internet service provider).
The flowcharts and block diagrams in the accompanying drawings illustrate possible implementation architecture, functions, and operations of the system, method, and computer program product according to the embodiments of the present disclosure. In this point, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, the program segment, or the part of code contains one or more executable instructions for implementing a designated logical function. It should also be noted that, in some alternative implementations, the functions marked in the blocks may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another may actually be executed substantially in parallel, or sometimes may be executed in a reverse order, which depends on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
The units involved in the embodiments described in the present disclosure may be implemented in software or hardware. A name of a unit does not constitute a limitation on the unit itself in some cases.
The functions described herein above 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 can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
In the context of the present disclosure, a machine-readable medium may be a tangible medium, which may contain or store a program for use by or in combination with an instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, a magnetic, an optical, an electromagnetic, an infrared, or a semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of the machine-readable storage medium may include 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 thereof.
In a first aspect, according to one or more embodiments of the present disclosure, a method for generating an imagery record is provided, which is applied to a terminal device and includes:
According to one or more embodiments of the present disclosure, the first application interface is an information stream interface, and the detecting being within the triggering period and displaying at least one anniversary card on the first application interface includes: detecting being within the triggering period according to an activity information table; in response to determining being within the triggering period, receiving the target message; and displaying the at least one anniversary card on the information stream interface based on the target message.
According to one or more embodiments of the present disclosure, the detecting being within the triggering period and displaying at least one anniversary card on the first application interface includes: displaying the at least one anniversary card within the triggering period and after the information stream interface is refreshed for a preset number of rounds.
According to one or more embodiments of the present disclosure, the preset number of rounds is determined based on an amount of information of concern which has not been read, and the information of concern is high-priority recommendation information.
According to one or more embodiments of the present disclosure, the detecting being within a triggering period and displaying at least one anniversary card on the first application interface includes: displaying the at least one anniversary card within a target period of the triggering period, where the target period is determined based on running history data.
According to one or more embodiments of the present disclosure, the displaying the anniversary card on the first application interface includes: displaying at least one anniversary card corresponding to a target anniversary type on the first application interface.
According to one or more embodiments of the present disclosure, the template information includes at least one of the following: a background image, a background special effect, background music, a transition method, or a camera movement direction.
According to one or more embodiments of the present disclosure, the source imagery data includes a video or a picture, and the imagery record generating page is displayed on a second application interface; the generating, in response to the first user instruction for the imagery record generating page, the target imagery data includes: displaying a template corresponding to the anniversary card on the second application interface based on the imagery record generating page; 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 on the second application interface; and in response to a second user instruction, rendering the template information displayed on the second application interface and the target picture or the target video displayed on the second application interface into the target imagery data.
According to one or more embodiments of the present disclosure, before generating, in response to the first user instruction for the imagery record generating page, the target imagery data, the method further includes: in response to a third user instruction, modifying a configuration parameter of the imagery record generating page, where the configuration parameter is used to set a characteristic of template information generated by the imagery record generating page.
According to one or more embodiments of the present disclosure, after generating the target imagery data, the method further includes: releasing the target imagery data.
In a second aspect, according to one or more embodiments of the present disclosure, a method for generating an imagery record is provided, which is applied to a server and includes:
According to one or more embodiments of the present disclosure, the method further includes: receiving the target imagery data to release.
In a third aspect, according to one or more embodiments of the present disclosure, an apparatus for generating an imagery record is provided, which is applied to a terminal device and includes:
According to one or more embodiments of the present disclosure, the first application interface is an information stream interface, and the displaying module is specifically configured to: detect being within the triggering period according to an activity information table; in response to determining being within the triggering period, receive the target message; and display the at least one anniversary card on the information stream interface based on the target message.
According to one or more embodiments of the present disclosure, when detecting being within a triggering period and displaying at least one anniversary card on the first application interface, the displaying module is specifically configured to: display the at least one anniversary card within the triggering period and after the information stream interface is refreshed for a preset number of rounds.
According to one or more embodiments of the present disclosure, the preset number of rounds is determined based on an amount of information of concern which has not been read, and the information of concern is high-priority recommendation information.
According to one or more embodiments of the present disclosure, when detecting being within a triggering period and displaying at least one anniversary card on the first application interface, the displaying module is specifically configured to: display the at least one anniversary card within a target period of the triggering period, where the target period is determined based on running history data.
According to one or more embodiments of the present disclosure, when displaying the anniversary card on the first application interface, the displaying module is specifically configured to: display at least one anniversary card corresponding to a target anniversary type on the first application interface.
According to one or more embodiments of the present disclosure, the template information includes at least one of the following:
According to one or more embodiments of the present disclosure, the source imagery data includes a video or a picture, and the imagery record generating page is displayed on a second application interface; the generating module is specifically configured to: display, based on the imagery record generating page, a template corresponding to the anniversary card on the second application interface; in response to the first user instruction, acquire a target video or a target picture, and display the target video or the target picture at a target position on the second application interface; in response to a second user instruction, render the template information displayed on the second application interface and the target picture or the target video displayed on the second application interface into the target imagery data.
According to one or more embodiments of the present disclosure, before generating, in response to the first user instruction for the imagery record generating page, the target imagery data, the generating module is further configured to: in response to a third user instruction, modify a configuration parameter of the imagery record generating page, where the configuration parameter is used to set a characteristic of template information generated by the imagery record generating page.
According to one or more embodiments of the present disclosure, after generating the target imagery data, the generating module is further configured to: release the target imagery data.
In a fourth aspect, according to one or more embodiments of the present disclosure, an apparatus for generating an imagery record is provided, including:
In an embodiment of the present disclosure, the transceiving module is further configured to: receive the target imagery data to release.
In a fifth aspect, according to one or more embodiments of the present disclosure, an electronic device is provided, including: a processor, and a memory communicatively connected to the processor; where
In a sixth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, where the computer-readable storage medium has a computer-executable instruction stored thereon, and when a processor executes the computer-executable instruction, the method for generating an imagery record according to the above first aspect and any possible designs of the first aspect, or, the method for generating an imagery record according to the above second aspect and any possible designs of the second aspect is implemented.
In a seventh aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, where when the computer program is executed by a processor, the method for generating an imagery record according to the above first aspect and any possible designs of the first aspect, or, the method for generating an imagery record according to the above second aspect and any possible designs of the second aspect is implemented.
The above description is only preferred embodiments of the present disclosure and an explanation of the applied technical principles. 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 the specific combinations of the above technical features, and should also cover other technical solutions formed by the above technical features or equivalent features without departing from the above disclosed concept. For example, the above-mentioned features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form a technical solution.
In addition, although operations are described in a specific order, this should not be understood as requiring these operations to be performed in the specific order or in a sequential order shown. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, they should not be interpreted as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. On the contrary, various features described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable subcombination.
Although the subject matter has been described in language specific to a structural feature and/or a logical action of the method, 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 only example forms for implementing the claims.
Number | Date | Country | Kind |
---|---|---|---|
202210684581.X | Jun 2022 | CN | national |