Method, apparatus, device, and product for visualizing display template packs
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2026-08-11
Smart Images

Figure CN122547749A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computers, and more specifically to methods, apparatus, devices, and products for visualizing template packages. Background Technology
[0002] A template refers to a single special effects preset file or preset scheme, designed for a specific special effects effect. A template package is a resource package that combines multiple related templates, containing a framework or pattern of specific special effects and related settings, capable of meeting users' diverse needs for special effects. Thanks to the rapid development of multimedia material publishing platforms, various template packages related to multimedia materials have flourished, including video special effects template packages, audio special effects template packages, image and text template packages, and shooting and editing template packages, among others. These template packages can be used to quickly create templates with similar special effects styles and functions. Summary of the Invention
[0003] In a first aspect of the embodiments of this disclosure, a method for visually displaying a template package is provided. The method includes receiving an identifier of the template package from a terminal device, wherein the template package includes a set of information for template components constituting the template package. The method includes sending a request to a server based on the identifier, wherein the request is configured to obtain first information about the template, the first information including at least one of effect information of effects associated with the template and slot information of slots in the template. Furthermore, the method includes sending template information to the terminal device in response to receiving the first template information from the server, the template information being used to instruct the terminal device to display the template package.
[0004] In a second aspect of the embodiments of this disclosure, an apparatus for visually displaying a template package is provided. The apparatus includes an identifier receiving module configured to receive a template identifier of the template package from a terminal device, wherein the template package includes a set of information for template components constituting the template package. The apparatus includes a request sending module configured to send a request to a server based on the identifier of the template package, the request being configured to obtain first information of the template, wherein the first information includes at least one of effect information of effects associated with the template and slot information in the template. Furthermore, the apparatus includes a template information sending module configured to send template information to the terminal device in response to receiving a first message from the server, the template information being used to instruct the terminal device to display the template package.
[0005] In a third aspect of the embodiments of this disclosure, an electronic device is provided. The electronic device includes a processor and a memory coupled to the processor, the memory having instructions stored therein, which, when executed by the processor, cause the electronic device to perform the method according to the first aspect.
[0006] In a fourth aspect of the embodiments of this disclosure, a computer program product is provided having stored thereon computer-executable instructions, wherein the computer-executable instructions are executed by a processor to implement the method of the first aspect.
[0007] In a fifth aspect of the embodiments of this disclosure, a method for displaying a visual template package is provided. The method includes obtaining an identifier of the template. The method includes sending a request to a first server, based on the template identifier, for obtaining template information of the template. Furthermore, the method includes displaying the template information of the template in response to the received template information.
[0008] In a sixth aspect of the embodiments of this disclosure, an apparatus for visually displaying a template package is provided. The apparatus includes an identifier acquisition module configured to acquire an identifier of the template. The apparatus also includes a request sending module configured to send a request to a first server for acquiring template information of the template based on the template identifier. Furthermore, the apparatus includes a template information display module configured to display template information of the template in response to receiving template information.
[0009] In a seventh aspect of the embodiments of this disclosure, an electronic device is provided. The electronic device includes a processor and a memory coupled to the processor, the memory having instructions stored therein, which, when executed by the processor, cause the electronic device to perform the method according to the fifth aspect.
[0010] In an eighth aspect of the embodiments of this disclosure, a computer program product is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the method of the fifth aspect.
[0011] The summary section is provided to present the chosen concepts in a simplified form, which will be further described in the detailed description below. The summary section is not intended to identify key or principal features of the claimed subject matter, nor is it intended to limit the scope of the claimed subject matter. Attached Figure Description
[0012] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0013] Figure 1 A schematic diagram of an example environment in which several embodiments of the present disclosure may be implemented is shown;
[0014] Figure 2 A flowchart is shown illustrating a method for visually displaying a template package according to some embodiments of the present disclosure;
[0015] Figure 3 A flowchart is shown illustrating a method for displaying a visual template package according to some embodiments of the present disclosure;
[0016] Figure 4 A schematic diagram of an example flow for visually displaying a template package is shown according to some embodiments of the present disclosure;
[0017] Figure 5A A schematic diagram illustrating effect summary dependency information according to some embodiments of this disclosure is shown;
[0018] Figure 5B A schematic diagram of slot information according to some embodiments of the present disclosure is shown;
[0019] Figure 5C A schematic diagram of a trajectory diagram according to some embodiments of the present disclosure is shown;
[0020] Figure 5D A schematic diagram illustrating a protocol for generating QR codes using a QR code tool according to some embodiments of the present disclosure is shown;
[0021] Figure 6 A schematic diagram of an example page of a visual display template package according to some embodiments of the present disclosure is shown;
[0022] Figure 7 A block diagram of an apparatus for visually displaying a template package is shown according to some embodiments of the present disclosure;
[0023] Figure 8 A block diagram of an apparatus for displaying a visual template package according to some embodiments of the present disclosure is shown; and
[0024] Figure 9 A block diagram of a device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0025] It is understood that all user-related data involved in this technical solution should be obtained and used only after authorization from the user. This means that if it is necessary to use a user's personal information in this technical solution, the user's explicit consent and authorization are required before obtaining this data; otherwise, no related data collection and use will be carried out. It should also be understood that when implementing this technical solution, relevant laws and regulations should be strictly followed in the process of data collection, use, and storage, and necessary technical measures should be taken to protect user data security and ensure the secure use of data.
[0026] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0027] For example, upon receiving a user's proactive request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0028] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0029] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0030] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0031] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects unless explicitly stated. Other explicit and implicit definitions may also be included below.
[0032] As mentioned above, a template package is a resource bundle that combines multiple related templates. It contains a framework or pattern of specific special effects and related settings, which can meet users' diverse needs for special effects. However, when a template package has a problem, it is necessary to quickly locate the problematic part within the template. In related technologies, staff can only download the corresponding template package from the relevant special effects service platform, and then manually disassemble and inspect the files to determine the root cause of the problem. This manual troubleshooting method is not only inefficient, but also further reduces the speed and accuracy of template package troubleshooting for non-professionals such as quality inspectors, as they find it difficult to understand the specific information in the files within the template package.
[0033] To address this, this disclosure proposes a method for visually displaying template packages, enabling users to view and read the template packages more easily, thus improving the user experience. A template package is a collection of information about template components that make up the package. First, an identifier representing the template package is received from the terminal device. Then, based on this identifier, a request to obtain first information is sent to the server (the first information includes at least one of special effects information associated with the template and slot information of the slots in the template). Finally, after receiving the first information from the server, template information is sent to the terminal device to instruct it to visually display the template package, allowing users to intuitively see the template-related content. For example, the visual template information can be presented to the user in the form of a webpage or through a template robot.
[0034] This method not only avoids the tedious process of manually downloading the template package from the effects service platform and then locating the files within it when the template package malfunctions, thus improving troubleshooting efficiency, but also allows users to easily understand the various information within the template package without requiring additional professional knowledge, thereby enhancing the user experience.
[0035] Figure 1 A schematic diagram of an example environment 100 in which various embodiments of this disclosure may be implemented is shown. As previously described, a template package includes a collection of information for template components that make up a template, which may include information about various template components such as effects, slots, template package identifiers, and types. When a template package malfunctions, the user needs to locate the location of the malfunction within the template package. However, since the template package contains a variety of information and is composed of professional language code, this makes it extremely inconvenient for the user to troubleshoot the template package.
[0036] To enable users to easily locate components within a template package, the information within the template package can be visualized, providing users with a comprehensive overview of the template package. For example... Figure 1As shown, user 110 can send the identifier (ID) of the template package they need to terminal device 120. Then, terminal device 120 can send the identifier to first server 130 to request template information. Once terminal device 120 receives the template information from first server 130, it can display a visual template package information to user 110. In some embodiments, the visual template page can be as follows: Figure 1 The display page 170 shown may include various information such as template title, template identifier, and special effects information, allowing users to easily view the complete information of the template. In some embodiments, the first server 130 may be a template robot, which can be configured as an intermediary between the terminal device 120 and the server 140.
[0037] refer to Figure 1 In this process, after receiving the identifier, the terminal device 120 can send the identifier obtained from the user 110 to the first server 130. After obtaining the identifier, the first server 130 can send a request to the server 140 to obtain the first information. After receiving the first information from the server 140, the first server 130 can send the template information to the terminal device 120, so that the user 110 can see the visual template interface as shown on the display page 170. In some embodiments, the first information includes special effect information associated with the template, such as the size, interface, and identifier of the special effect. The first information may also include information for filling the slots of media materials.
[0038] In some embodiments, server 140 may include an effects server 150 and a visualization server 160. The effects server 150 is a server specifically designed to provide data storage, management, and distribution services for template-related effects. The visualization server 160 is a server-side component in a data visualization system, which is mainly responsible for handling various backend tasks related to data visualization, such as visualization template management, to support the front-end user interface in effectively displaying visualization content.
[0039] like Figure 1As shown, after the first server 130 receives the template identifier, it can send a request to the special effects server 150 to obtain first information based on the template identifier. The special effects server 150 can then return the corresponding first information to the first server 130. To visualize the template package, the first server 130 can send the obtained first information to the visualization server 160, enabling the visualization server 160 to send template information to instruct the terminal device to visualize the template package. In this way, the user can be shown the visual details of the template package, facilitating viewing and reading and improving the user experience.
[0040] The following will combine Figures 2 to 9 The method according to embodiments of this disclosure is described in detail. For ease of understanding, the specific data mentioned in the following description are exemplary and not intended to limit the scope of this disclosure. It is understood that the embodiments described below may also include additional actions not shown and / or actions shown may be omitted, and the scope of this disclosure is not limited in this respect.
[0041] Figure 2 A flowchart of a method 200 for visualizing a template package according to some embodiments of the present disclosure is shown. Method 200 can be performed by an apparatus for visualizing a template package, which may be, for example, a standalone device or system. The apparatus can be implemented in software and / or hardware. The following describes an apparatus for visualizing a template package, for example... Figure 1 Taking the first server 130 as an example, the method 200 is illustrated schematically. Method 200 includes boxes 202, 204, and 206.
[0042] like Figure 2 As shown, in box 202, an identifier of a template package is received from the terminal device, wherein the template package includes a collection of information about template components used to compose the template. The template package is composed of a collection of information about the template components used to compose the template package. In some embodiments, the template package may include information about various components such as effects, slots, template package identifiers, and types. (See reference...) Figure 1 When the terminal device 120 receives the identifier, it can send the identifier it has obtained to the first server 130, that is, the first server 130 can receive the identifier from the terminal device 120.
[0043] In box 204, based on the template package identifier, a request is sent to the server. This request is configured to retrieve first information about the template, including at least one of the following: effect information of effects associated with the template and slot information of slots. (See reference) Figure 1Once the first server 130 obtains the identifier, it can send a request to the server 140 to obtain first information. In some embodiments, the first information includes effect information for each effect associated with the template, such as the size, interface, and identifier of the effect. The first information may also include information for filling the slots of media material.
[0044] In box 206, in response to receiving the first information from the server, template information is sent to the terminal device. This template information instructs the terminal device to display the template package. (See reference) Figure 1 Once the first server 130 receives the first information from the server 140, it can send template information to the terminal device 120 so that the terminal device can visually display the template package.
[0045] Figure 3 A flowchart of a method 300 for visualizing a template package according to some embodiments of the present disclosure is shown. Method 300 can be performed by an apparatus for visualizing a template package, which may be, for example, a standalone device or system. The apparatus can be implemented in software and / or hardware. The following describes an apparatus for visualizing a template package, for example... Figure 1 Taking the terminal device 120 shown as an example, the method 300 is illustrated schematically. Method 300 includes blocks 302, 304, and 306.
[0046] like Figure 3 As shown in box 302, the template identifier is retrieved. To enable users to easily locate components within the template package, the information within the template package can be visualized for the user. For example... Figure 1 As shown, user 110 can send the identifier of the template it needs to terminal device 120, and terminal device 120 can then obtain the identifier of the template.
[0047] At box 304, based on the template's identifier, a request is sent to the first server to retrieve template information for the template. (See reference) Figure 1 Once the terminal device 120 obtains the identifier of the template required by the user 110, the terminal device 120 can request the template information from the first server 130.
[0048] In box 306, in response to receiving template information, the template information is displayed. (See reference) Figure 1 Once the terminal device 120 receives the template information sent by the first server 130, the terminal device 120 can display the template information of the visualized template package to the user 110. In some embodiments, the visualized template page can be as follows: Figure 1The displayed page 170 can include various information such as template title, template identifier, and special effects information, allowing users to easily view the complete information of the template.
[0049] Combination Figure 2 and Figure 3 The method shown presents users with visual details of the template package, avoiding the tedious process of manually downloading the template package from the effects service platform and locating the files within it when the template package malfunctions, thus improving troubleshooting efficiency. Furthermore, it allows users to easily understand the various information within the template package without requiring additional professional knowledge, enhancing user experience by facilitating template package viewing and reading.
[0050] Figure 4 A schematic diagram of an example flow 400 for visually displaying a template package according to some embodiments of the present disclosure is shown. Reference Figure 4 , Figure 4 The system comprises four main entities: User 410, Template Robot 420, Special Effects Server 430, and Visualization Server 440. As mentioned earlier, the Special Effects Server is a server specifically designed to provide data storage, management, and distribution services for template-related special effects. The Visualization Server is a server-side component in a data visualization system, primarily responsible for handling various backend tasks related to data visualization, such as visualization template management, to ensure the front-end user interface can effectively display visualization content. Template Robot 420 can be… Figure 1 The first server 130 is shown as an example.
[0051] refer to Figure 4 User 410 can send a template ID to template robot 420 via 451 to obtain a visual template package corresponding to that template ID (referred to as ID). In this process, after template robot 420 obtains the template ID, it can first request template details from effects server 430 via 452. Once effects server 430 receives this request, it can return the template details to template robot 420 via 453. In some embodiments, Figure 1 The first piece of information shown includes the template details.
[0052] like Figure 4As shown, after the template robot receives the template details from the effects server 430, it can parse the template details at 454 to obtain various information about the template package. In some embodiments, the template details include at least one of the following: effects information associated with the template and slot information of the slots in the template. In some embodiments, the template details may include template ID, template type, template title, template cover, template preview video, template compressed package address, a summary of the various components of the template, template author information, dependent effects (summary) information, etc. Among them, the dependent effects (summary) information is a summary of the effects that the template package depends on, which roughly introduces which effects the template uses and the role of the effects, so that users understand the effects underlying the template's presentation.
[0053] In some embodiments, the effect information can be based on a specific protocol for resource management and interaction, which can be JSON-structured. This protocol is specifically designed for the effective management and utilization of effect resources, much like the various protocols in network communication (such as HTTP for web page transmission). The following will combine... Figure 5A Used to describe dependency effects information. Figure 5A A schematic diagram of effect summary dependency information 500A according to some embodiments of the present disclosure is shown. Figure 5A As shown, area 510 displays metadata such as the effect's identifier and panel, described in the summary information of the dependent effects. Template robot 420 can request information for each dependent effect from the effect server 430 via port 455 based on the parsed dependent effect details. It is understandable that... Figure 4 The special effects server 430 shown can integrate interfaces of multiple types of special effects platforms.
[0054] Referring to Figure 5, analyzing the information displayed in area 510 of Figure 5 yields information such as the special effects platform identifier and the interface for acquiring special effects, as shown in Table 1. Table 1 is as follows:
[0055] Table 1
[0056]
[0057]
[0058] refer to Figure 4 Subsequently, the template robot 420 can request the special effects server 430 to obtain the size information of each special effect through the interfaces of different special effects platforms, based on the different types of information displayed in area 510. The special effects server 430 can then return the relevant information of each special effect to the template robot 420 via 456.
[0059] In some embodiments, after the template robot 420 parses the template details obtained from the effects server 430, it can also obtain information about the slots. Then, at 457, the cloning relationship of the slots and the track hierarchy can be calculated. The cloning relationship of a slot refers to whether one slot is copied from another slot. Slots can form tracks. If multiple slots in a track are filled with video footage, then this track can be called a video track. Similarly, there are sticker tracks, filter tracks, and audio tracks, among others. The track hierarchy indicates the arrangement order between tracks, including the order of the slots.
[0060] In some embodiments, the template robot 420 can determine the copying relationship of a slot based on the field marking the cloning relationship in each slot. If the fields marking the cloning relationship are consistent in multiple slots, it can be determined that these slots are all copied from a certain slot. In some embodiments, when parsing template details, the template robot 420 can use a container to record the field marking the cloning relationship of each slot after parsing each slot, and then deduplicate these recorded data to obtain the number of non-duplicate slots. This number of slots refers to the number of materials that the user ultimately needs to fill in.
[0061] Combination Figure 5B , Figure 5B A schematic diagram of slot information 500B according to some embodiments of the present disclosure is shown. For example... Figure 5B As shown, area 520 displays the slot information obtained by parsing the template details. From area 520, we can see that the slot cloning relationship is recorded in the cloning relationship array, which is [1,2,2,2,3,3]. Therefore, after deduplication, we can see that there are 3 unique slots, meaning the user needs to fill in 3 materials. Combined with... Figure 5B Area 520 also displays other information about the slots, including the slot duration, slot width, height, and other marking information for the slots, which can be used when drawing a track diagram composed of slots.
[0062] In some embodiments, after the template robot 420 parses the template details obtained from the effects server 430, it can also obtain the hierarchical index information of each track. Using the hierarchical index of each track and the type of material filling the slots, a specific hierarchical track diagram can be drawn using 458. Simultaneously, each type of track segment, i.e., the slot, can be marked so that the type of media material filling each track segment can be easily distinguished visually. In some embodiments, different colors can be used to mark different types of track segments. Table 2 shows example marking colors for each type of track segment, as follows:
[0063] Table 2
[0064]
[0065]
[0066] In some embodiments, a timeline is also included at the top of the orbit diagram to describe the orbit's temporal information. For example... Figure 5C As shown, Figure 5C A schematic diagram of a track diagram 500C according to some embodiments of the present disclosure is shown. At the top of the track is a timestamp 530 for track 531. Multiple slots in track 531 are video / image clips to be filled by the user, marked with blank spaces. Track 532 contains audio clips that have already been filled with audio by the system, marked in orange. Multiple slots in area 533 are automatically filled with stickers by the system, and are therefore marked in yellow.
[0067] Back Figure 4 Once the template robot 420 has completed drawing the track map, it can upload the track map to the cloud visualization server 440 through the open interface of the visualization server 440 at 458, and can receive the image address of the track map returned by the visualization server 440 through 459.
[0068] In some embodiments, after the template robot 420 has parsed all the template details, it can use the template identifier to call a Python QR code tool to generate a QR code that supports open protocol QR codes for users to scan and make payments on their terminal devices. Combined with... Figure 5D , Figure 5D A schematic diagram of a illustrative protocol 500D for generating QR codes using a QR code tool according to some embodiments of the present disclosure is shown. Figure 5D As shown, by entering the template identifier in the `temple_id` field of region 540, a QR code that allows users to scan and make payments on their terminal devices can be generated. In some embodiments, similarly, after the QR code is generated, the QR code image can be uploaded to the visualization server 440 via 458, and the image address of the QR code returned from the visualization server can be received.
[0069] In some embodiments, after the template robot 420 receives the image address of the track diagram and the image address of the QR code, it can use the card building tool of the visualization server 440 to transmit the visualization template information to the visualization server 440 at 460 for card assembly, and send the cards to the user through the interface of the visualization server 440, so that the user can see the visualization template package.
[0070] This method allows users to view and read the template packages in a visual manner, making it easier for them to troubleshoot or upgrade the packages and improving overall efficiency and user experience.
[0071] Combination Figure 6 , Figure 6 A schematic diagram of an example page 600 of a visualization display template package according to some embodiments of the present disclosure is shown. For example... Figure 6 As shown, when a user enters a template identifier 620 in dialog box 610 on the terminal device, the template robot can return the visual template page 630 required by the user in dialog box 610. This process also involves the terminal device sending the template identifier 620 to the template robot to request visual template information. Once the terminal device receives the visual template information returned from the template robot, it can display the visual template page 630 to the user in real time in the dialog box of the terminal device's display page.
[0072] In some embodiments, such as Figure 6 The visualized template page 630 shown includes a template title in area 640. The template title helps users quickly understand the general content of numerous templates. In some embodiments, such as... Figure 6 The template page 630 and area 650 shown may include a template identifier, template type, cover preview control, and video template preview control. The template cover can visually showcase the template's style, theme, and other characteristics in the form of an image, helping users to initially understand the template's style. The template preview video can more vividly and comprehensively demonstrate the actual application effect of the template through video, such as the video template's visual presentation, transition effects, or the software interface template's operation and interaction, allowing users to more clearly understand its functional features.
[0073] In some embodiments, such as Figure 6 The template page 630 shown, area 660 may include special effects information and a template compressed package download control. The template compressed package address provides a way to obtain the specific template files. Users can use this address to download the compressed package containing the complete template content, and then decompress and use it locally. The special effects information displays, for example... Figure 5A Similar information as shown in area 510.
[0074] In some embodiments, such as Figure 6 The template page 630 shown may include a summary information set in area 670. In some embodiments, the summary information set may include information such as the length, width, and duration of the template's track slots, as well as the template's capability set, enabling users to have a preliminary understanding of the template package.
[0075] In some embodiments, such as Figure 6 The template page 630 shown includes slot information in area 680. In some embodiments, the slot information displayed in area 690 is consistent with... Figure 5B The same applies to area 520. Area 690 may include a QR code with an open protocol that supports users to scan and make payments on their terminal devices, allowing users to easily scan and view the code instantly.
[0076] In some embodiments, such as Figure 6 The template page 630 shown includes a control for querying complete information and a track diagram control in area 691. Users can view all visualized template information related to the template details by touching the control to query complete information. Users can view details such as... by touching the track diagram. Figure 5C The diagram shown is a track diagram with color markings.
[0077] This instant messaging method allows users to easily access visualized template information in real time, making it convenient for them to view and read the information within the template package. This further improves efficiency when troubleshooting or upgrading template packages, thus enhancing the user experience.
[0078] Figure 7 A block diagram of an apparatus 700 for visually displaying a template package according to some embodiments of the present disclosure is shown. Figure 7 As shown, the device 700 includes an identifier receiving module 702, configured to receive an identifier of a template package from a terminal device, wherein the template package includes a set of information for template components constituting the template package. The device 700 also includes a request sending module 704, configured to send a request to a server based on the identifier of the template package, wherein the request is configured to obtain first information about the template, the first information including at least one of effect information of effects associated with the template and slot information of slots. Furthermore, the device 700 includes a template information sending module 706, configured to send template information to the terminal device in response to receiving the first information from the server, the template information being used to instruct the terminal device to display the template package.
[0079] Figure 8 A block diagram of an apparatus 800 for displaying a visual template package according to some embodiments of the present disclosure is shown. Figure 8 As shown, device 800 includes an identifier acquisition module 802, configured to acquire the identifier of a template package. Device 800 also includes a request sending module 804, configured to send a request to a first server for acquiring template information based on the template identifier. Furthermore, device 800 includes a template information display module 806, configured to display template information of the template in response to receiving template information.
[0080] Figure 9 A block diagram of a device 900 capable of implementing various embodiments of the present disclosure is shown. (See diagram for example.) Figure 9 As shown, device 900 includes a central processing unit (CPU) and / or a graphics processing unit (GPU) 901, which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) 902 or loaded from storage unit 908 into random access memory (RAM) 903. The RAM 903 can also store various programs and data required for the operation of device 900. The CPU / GPU 901, ROM 902, and RAM 903 are interconnected via bus 904. Input / output (I / O) interface 905 is also connected to bus 904. Although not shown in... Figure 9 As shown, device 900 may also include a coprocessor.
[0081] Multiple components in device 900 are connected to I / O interface 905, including: input unit 906, such as keyboard, mouse, etc.; output unit 907, such as various types of monitors, speakers, etc.; storage unit 908, such as disk, optical disk, etc.; and communication unit 909, such as network card, modem, wireless transceiver, etc. Communication unit 909 allows device 900 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0082] The various methods or processes described above can be executed by CPU / GPU 901. For example, in some embodiments, the methods can be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 908. In some embodiments, part or all of the computer program can be loaded and / or installed on device 900 via ROM 902 and / or communication unit 909. When the computer program is loaded into RAM 903 and executed by CPU / GPU 901, one or more steps or actions in the methods or processes described above can be performed.
[0083] In some embodiments, the methods and processes described above can be implemented as a computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of this disclosure.
[0084] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example, but not limited to, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0085] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, a local area network (LAN), a wide area network (WAN), and / or a wireless network, to an external computer or external storage device. The network may include copper cables, fiber optic cables, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0086] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages and conventional procedural programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving 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). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.
[0087] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0088] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0089] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0090] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technical improvements to the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
[0091] The following are some example implementations of this disclosure.
[0092] Example 1. A method for visually displaying a template package, the method comprising:
[0093] The identifier of the template package is received from the terminal device, the template package including a set of information for the template components that make up the template package;
[0094] Based on the identifier of the template package, a request is sent to the server. This request is configured to obtain first information about the template, including at least one of the following: effect information associated with the template and slot information for slots within the template.
[0095] In response to receiving the first information from the server, template information is sent to the terminal device, the template information being used to instruct the terminal device to display the template package.
[0096] Example 2. According to the method described in Example 1, the server includes a special effects server and a visualization server, wherein sending a request to the server for obtaining first information based on the identifier of the template package includes:
[0097] Based on the identifier of the template package, a request to obtain the first information is sent to the special effects server.
[0098] Example 3. The method according to any one of Examples 1-2 further includes
[0099] Receive the first information obtained from the special effects server.
[0100] Example 4. The method according to any one of Examples 1-3 further includes:
[0101] The first information received from the special effects server is parsed to obtain the special effects identifier and at least one item in the special effects panel;
[0102] Based on the effect identifier, a request is sent to the effect server to obtain effect information for each effect associated with the template; and
[0103] Receive size information for each special effect corresponding to its identifier from the special effects server.
[0104] Example 5. The method according to any one of Examples 1-4 further includes:
[0105] Parse the first information received from the special effects server to obtain a clone identifier for each slot in the template package, the clone identifier indicating whether the slot was generated by copying; and
[0106] Based on the clone identifier, the number of slots is determined, whereby the number of slots indicates the amount of media material used to fill the slots.
[0107] Example 6. The method according to any one of Examples 1-5 further includes:
[0108] Parse the first information received from the effects server to determine the hierarchical index of each track in the template package, wherein the track consists of slots; and
[0109] Based on the hierarchical index, the order of each track is determined.
[0110] Example 7. The method according to any one of Examples 1-6 further includes:
[0111] Based on the effects information associated with the template, determine the type of each slot in each track, the type indicating the type of media material filling the slot; and
[0112] Each slot is labeled based on its type, so that different types of slots have different colors.
[0113] Example 8. The method according to any one of Examples 1-7 further includes:
[0114] Based on the sorting and each marked slot, a track diagram is generated.
[0115] Example 9. The method according to any one of Examples 1-8 further includes:
[0116] Based on the parsed first information, a QR code corresponding to the parsed first information is generated.
[0117] Example 10. The method according to any one of Examples 1-9 further includes:
[0118] Send the QR code and the track map to the visualization server;
[0119] The visualization server receives template information for generating the visualization based on the QR code and the track map.
[0120] Example 11. A method for displaying a visual template package, the method comprising:
[0121] Get the template identifier;
[0122] Based on the identifier of the template, a request to obtain template information of the template is sent to the first server; and
[0123] In response to receiving the template information, the template information packet of the template is displayed.
[0124] Example 12. The method according to Example 11 further includes:
[0125] Receive the template information from the first server.
[0126] Example 13. The method according to any one of Examples 11-12, wherein displaying the template information in response to receiving the template information includes:
[0127] Based on the template information, a visualization page of the template package is displayed. The visualization page includes at least one of the following: template title, template type, special effects components, slot information, track diagram, and QR code, which are corresponding to the template package.
[0128] Example 14. The method according to any one of Examples 11-13 further includes:
[0129] In response to detecting the identifier, the identifier is displayed in the chat interface; and
[0130] The visualization page of the template package corresponding to the identifier is displayed in the chat interface.
[0131] Example 15. An apparatus for visually displaying a template package, the apparatus comprising:
[0132] An identifier receiving module is configured to receive an identifier of the template package from a terminal device, the template package including a set of information for template components that make up the template package;
[0133] A request sending module is configured to send a request to a server based on the identifier of the template package. The request is configured to obtain first information about the template, the first information including at least one of special effects information associated with the template and slot information of slots in the template.
[0134] The template information sending module is configured to send template information to the terminal device in response to receiving the first information from the server, wherein the template information is used to instruct the terminal device to display the template package.
[0135] Example 16. According to the apparatus of Example 15, the server includes an effects server and a visualization server, wherein the request sending module includes:
[0136] The first sending module is configured to send a request to the special effects server for obtaining the first information based on the identifier of the template package.
[0137] Example 17. The apparatus according to any one of Examples 15-16 further includes
[0138] The first receiving module is configured to receive the first information obtained from the special effects server.
[0139] Example 18. The apparatus according to any one of Examples 15-17 further includes:
[0140] The first parsing module is configured to parse the first information received from the special effects server to obtain the special effects identifier and at least one item in the special effects panel.
[0141] The second sending module is configured to send a request to the effect server, based on the effect identifier, to obtain effect information for each effect associated with the template; and
[0142] The second receiving module is configured to receive size information of each effect corresponding to the effect identifier from the effect server.
[0143] Example 19. The apparatus according to any one of Examples 15-18 further includes:
[0144] The first parsing module is configured to parse the first information received from the special effects server to obtain a clone identifier for each slot in the template package, the clone identifier indicating whether the slot was generated by copying; and
[0145] The first determining module is configured to determine the number of slots based on the clone identifier, the number of slots indicating the amount of media material used to fill the slots.
[0146] Example 20. The apparatus according to any one of Examples 15-19 further includes:
[0147] The second parsing module is configured to parse the first information received from the effects server to determine the hierarchical index of each track in the template package, the tracks being composed of slots; and
[0148] Based on the hierarchical index, the order of each track is determined.
[0149] Example 21. The apparatus according to any one of Examples 15-20 further includes:
[0150] The second determining module is configured to determine the type of each slot in each track based on the effect information of the effects associated with the template, the type indicating the type of media material filling the slot; and
[0151] The tagging module is configured to tag each slot based on its type, so that different types of slots have different colors.
[0152] Example 22. The apparatus according to any one of Examples 16-21 further includes:
[0153] The first generation module is configured to generate a track map based on the sorting and each marked slot.
[0154] Example 23. The apparatus according to any one of Examples 15-22 further includes:
[0155] The second generation module is configured to generate a QR code corresponding to the parsed first information based on the parsed first information.
[0156] Example 24. The apparatus according to any one of Examples 15-23 further includes:
[0157] The third sending module is configured to send the QR code and the track map to the visualization server.
[0158] The template information is generated based on the QR code and the track map and received from the visualization server.
[0159] Example 25. An apparatus for displaying a visual template package, the apparatus comprising:
[0160] The identifier acquisition module is configured to acquire the identifier of the template;
[0161] The request sending module is configured to send a request to a first server, based on the identifier of the template, to obtain template information of the template; and
[0162] The template information display module is configured to display the template information of the template in response to receiving the template information.
[0163] Example 26. The apparatus according to any one of Examples 25 further includes:
[0164] The first receiving module is configured to receive the template information from the first server.
[0165] Example 27. The apparatus according to any one of Examples 25-26, wherein the template information display module comprises:
[0166] The first display module is configured to display a visualization page of the template package based on the template information. The visualization page includes at least one of the following: template title, template type, special effects components, slot information, track diagram, and QR code corresponding to the template package.
[0167] Example 28. The apparatus according to any one of Examples 25-27 further includes:
[0168] The second display module is configured to display the identifier in the chat interface in response to detecting the identifier; and
[0169] The third display module is configured to display the visualization page of the template package corresponding to the identifier in the chat interface.
[0170] Example 29. An electronic device comprising:
[0171] Processor; and
[0172] A memory coupled to the processor, the memory having instructions stored therein, which, when executed by the processor, cause the electronic device to perform actions, the actions including:
[0173] The identifier of the template package is received from the terminal device, the template package including a set of information for template components that make up the template;
[0174] Based on the identifier of the template package, a request is sent to the server. This request is configured to obtain first information about the template, including at least one of the following: effect information of effects associated with the template and slot information of slots within the template; and
[0175] In response to receiving the first information from the server, template information is sent to the terminal device, the template information being used to instruct the terminal device to display the template package.
[0176] Example 30. The electronic device according to Example 29, wherein the server includes a special effects server and a visualization server, wherein sending a request to the server for obtaining first information based on the template identifier includes:
[0177] Based on the identifier of the template package, a request to obtain the first information is sent to the special effects server.
[0178] Example 31. The electronic device according to any one of Examples 29-30 further includes
[0179] Receive the first information obtained from the special effects server.
[0180] Example 32. The electronic device according to any one of Examples 29-31 further includes:
[0181] The first information received from the special effects server is parsed to obtain the special effects identifier and at least one item in the special effects panel;
[0182] Based on the effect identifier, a request is sent to the effect server to obtain effect information for each effect associated with the template; and
[0183] Receive size information for each special effect corresponding to its identifier from the special effects server.
[0184] Example 33. The electronic device according to any one of Examples 29-32 further includes:
[0185] Parse the first information received from the special effects server to obtain a clone identifier for each slot in the template package, the clone identifier indicating whether the slot was generated by copying; and
[0186] Based on the clone identifier, the number of slots is determined, whereby the number of slots indicates the amount of media material used to fill the slots.
[0187] Example 34. The electronic device according to any one of Examples 29-33 further includes:
[0188] Parse the first information received from the effects server to determine the hierarchical index of each track in the template package, wherein the track consists of slots; and
[0189] Based on the hierarchical index, the order of each track is determined.
[0190] Example 35. The electronic device according to any one of Examples 29-34 further includes:
[0191] Based on the effects information associated with the template, determine the type of each slot in each track, the type indicating the type of media material filling the slot; and
[0192] Each slot is labeled based on its type, so that different types of slots have different colors.
[0193] Example 36. The electronic device according to any one of Examples 29-35 further includes:
[0194] Based on the sorting and each marked slot, a track diagram is generated.
[0195] Example 37. The electronic device according to any one of Examples 29-36 further includes:
[0196] Based on the parsed first information, a QR code corresponding to the parsed first information is generated.
[0197] Example 38. The electronic device according to any one of Examples 29-37 further includes:
[0198] Send the QR code and the track map to the visualization server;
[0199] The template information is generated by receiving the QR code and the track map from the visualization server.
[0200] Example 39. An electronic device comprising:
[0201] Processor; and
[0202] A memory coupled to the processor, the memory having instructions stored therein, which, when executed by the processor, cause the electronic device to perform actions, the actions including:
[0203] Get the template identifier;
[0204] Based on the identifier of the template, a request to obtain template information of the template is sent to the first server; and
[0205] In response to receiving the template information, the template information of the template is displayed.
[0206] Example 40. The method according to Example 39 further includes:
[0207] Receive the first information of the visualization from the first server.
[0208] Example 41. The method according to any one of Examples 39-40, wherein visually displaying the template package on a display page in response to receiving the template information includes:
[0209] Based on the visualized template information, a visualization page of the template package is displayed. The visualization page includes at least one of the following: template title, template type, special effects components, slot information, track diagram, and QR code, corresponding to the template package.
[0210] Example 42. The method according to any one of Examples 39-41 further includes:
[0211] In response to detecting the identifier, the identifier is displayed in the chat interface; and
[0212] The visualization page of the template package corresponding to the identifier is displayed in the chat interface.
[0213] Example 43. A computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions are executed by a processor to implement the method according to any one of Examples 1 to 14.
[0214] Example 44. A computer program product tangibly stored on a computer-readable medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of Examples 1 to 14.
[0215] Although this disclosure has been described using language specific to structural features and / or methodological logic, 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. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for visually displaying a template package, the method comprising: The identifier of the template package is received from the terminal device, the template package including a set of information for template components that make up the template; Based on the identifier of the template package, a request is sent to the server. The request is configured to obtain first information of the template. The first information includes at least one of the following: effect information of effects associated with the template and slot information of slots in the template. as well as In response to receiving the first information from the server, template information is sent to the terminal device, the template information being used to instruct the terminal device to display the template package.
2. The method according to claim 1, wherein the server includes a special effects server and a visualization server, wherein sending a request to the server based on the identifier of the template package includes: Based on the identifier of the template package, a request to obtain the first information of the template is sent to the special effects server.
3. The method according to claim 2, further comprising: Receive the first information obtained from the special effects server.
4. The method according to claim 3, further comprising: The first information received from the special effects server is parsed to obtain the special effects identifier and at least one item in the special effects panel; Based on the special effect identifier, a request is sent to the special effect server to obtain special effect information for each special effect associated with the template; as well as Receive size information for each special effect corresponding to its identifier from the special effects server.
5. The method according to claim 4, further comprising: The first information received from the special effects server is parsed to obtain the clone identifier of each slot in the template package, the clone identifier indicating whether the slot was generated by copying; as well as Based on the clone identifier, the number of slots is determined, whereby the number of slots indicates the amount of media material used to fill the slots.
6. The method according to claim 5, further comprising: The first information received from the special effects server is parsed to determine the hierarchical index of each track in the template package, wherein the track is composed of slots; as well as Based on the hierarchical index, the order of each track is determined.
7. The method according to claim 6, further comprising: Based on the effect information associated with the template, determine the type of each slot in each track, the type indicating the type of media material filling the slot; as well as Each slot is labeled based on its type, so that different types of slots have different colors.
8. The method according to claim 7, further comprising: Based on the sorting and each marked slot, a track diagram is generated.
9. The method according to claim 8, further comprising: Based on the parsed first information, a QR code corresponding to the parsed first information is generated.
10. The method of claim 9, further comprising: Send the QR code and the track map to the visualization server; The template information is generated by receiving the QR code and the track map from the visualization server.
11. A method for displaying a visual template package, the method comprising: Get the template identifier; Based on the identifier of the template, a request is sent to the first server to obtain template information of the template; as well as In response to receiving the template information, the template information of the template is displayed.
12. The method of claim 11, further comprising: Receive the template information from the first server.
13. The method of claim 12, wherein displaying the template information of the template in response to receiving the template information includes: Based on the template information, a visualization page of the template package is displayed. The visualization page includes at least one of the following: template title, template type, special effects components, slot information, track diagram, and QR code, which are corresponding to the template package.
14. The method of claim 13, further comprising: In response to the detection of the identifier, the identifier is displayed in the chat interface; as well as The visualization page of the template package corresponding to the identifier is displayed in the chat interface.
15. An apparatus for visually displaying a template package, the apparatus comprising: An identifier receiving module is configured to receive an identifier of the template package from a terminal device, the template package including a set of information for template components that make up the template package; The request sending module is configured to send a request to the server based on the identifier of the template package. The request is configured to obtain first information of the template. The first information includes at least one of special effect information associated with the template and slot information of slots in the template. as well as The template information sending module is configured to send template information to the terminal device in response to receiving the first information from the server, wherein the template information is used to instruct the terminal device to display the template package.
16. An apparatus for visually displaying a template package, the apparatus comprising: The identifier acquisition module is configured to acquire the identifier of the template; The request sending module is configured to send a request to the first server to obtain template information of the template based on the identifier of the template; as well as The template information display module is configured to display the template information of the template in response to receiving the template information.
17. An electronic device comprising: processor; as well as A memory coupled to the processor, the memory having instructions stored therein, which, when executed by the processor, cause the electronic device to perform the method according to any one of claims 1 to 14.
18. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions are executed by a processor to implement the method according to any one of claims 1 to 14.