Methods, apparatus, devices, and products for switching objects and generating object packs
Patent Information
- Application Number
- CN202510449433.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2026-10-20
Smart Images

Figure HDA0005354435840000011 
Figure HDA0005354435840000021 
Figure HDA0005354435840000031
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computers, and more specifically to methods, apparatus, devices, and products for switching objects, generating, and processing object packages. Background Technology
[0002] With the explosive growth of video social platforms, these platforms are constantly upgrading their creative tool ecosystems, developing diverse object libraries through technological innovation to provide users with full-chain support from basic enhancement to creative expression. These objects include, but are not limited to, stickers, AR (augmented reality) magic, text, transition effects, and many other categories. Through algorithmic recommendations and template-based design, platforms have lowered the barrier to professional creation, allowing users to quickly generate cinematic-quality videos through drag-and-drop operations. Summary of the Invention
[0003] In a first aspect of the embodiments of this disclosure, a method for switching objects is provided. The method includes, in response to detecting a first interaction between a user and a panel, acquiring an object package corresponding to the first interaction, the object package indicating a collection of object resources for editing media material, the object package including multiple objects, and the panel for displaying the objects in the object package. The method includes rendering and displaying a first object in the object package. The method also includes, in response to detecting a second interaction between a user and the first object, rendering and displaying a second object in the object package.
[0004] In a second aspect of the embodiments of this disclosure, an apparatus for switching objects is provided. The apparatus includes an acquisition module configured to acquire an object package corresponding to the first interaction operation in response to detecting a first interaction operation between a user and a panel. The object package indicates a collection of object resources for editing media material, and the object package includes multiple objects. The panel is used to display the objects in the object package. The apparatus includes a rendering module configured to render and display the first object in the object package. The apparatus includes a switching module configured to render and display a second object in the object package in response to detecting a second interaction operation between a user and the first object.
[0005] In a third aspect of the embodiments of this disclosure, an electronic device is provided. The electronic device includes one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method of the first aspect.
[0006] In a fourth aspect of the embodiments of this disclosure, a computer program product is provided. The computer program product is tangibly stored on a non-transitory computer-readable medium and includes machine-executable instructions that, when executed, cause a machine to implement the method of the first aspect.
[0007] In a fifth aspect of embodiments of this disclosure, a method for generating an object package is provided. The method includes generating an object package based on a plurality of objects, the object package indicating a collection of object resources for editing media material, the object package being capable of switching from rendering one object to rendering another object in response to user interaction. The method includes sending the object package to a server.
[0008] In a sixth aspect of embodiments of this disclosure, an apparatus for generating an object package is provided. The apparatus includes a generation module configured to generate an object package based on a plurality of objects, the object package indicating a collection of object resources for editing media material, the object package being capable of switching from rendering one object to rendering another object in response to user interaction. The apparatus includes a sending module configured to send the object package to a server.
[0009] In a seventh aspect of the embodiments of this disclosure, an electronic device is provided. The electronic device includes one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method of the fifth aspect.
[0010] In an eighth aspect of the embodiments of this disclosure, a computer program product is provided. The computer program product is tangibly stored on a non-transitory computer-readable medium and includes machine-executable instructions that, when executed, cause a machine to implement the method of the fifth aspect.
[0011] In a ninth aspect of embodiments of this disclosure, a method for processing an object package is provided. The method includes receiving an object package sent from a production end, the object package indicating a collection of object resources for editing media material, the object package including multiple objects, and the object package being capable of switching from rendering one object to rendering another object in response to user interaction. The method includes generating second information based on the object package and the first information, in response to detecting a request sent from a client, the request being for obtaining the first information. The method also includes sending the first information to the client, the first information including the second information.
[0012] In a tenth aspect of embodiments of this disclosure, an apparatus for processing object packets is provided. The apparatus includes a receiving module configured to receive an object packet sent from a production end, the object packet indicating a collection of object resources for editing media material, the object packet including multiple objects, and the object packet capable of switching from rendering one object to rendering another object in response to user interaction. The apparatus includes a generating module configured to generate second information based on a first message, the request being for obtaining the first information, based on the object packet, in response to detecting a request sent from a client. The apparatus includes a sending module configured to send the first information to the client, the first information including the second information.
[0013] In an eleventh aspect of the embodiments of this disclosure, an electronic device is provided. The electronic device includes one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method of the ninth aspect.
[0014] In a twelfth aspect of the embodiments of this disclosure, a computer program product is provided. The computer program product is tangibly stored on a non-transitory computer-readable medium and includes machine-executable instructions that, when executed, cause a machine to implement the method of the ninth aspect.
[0015] 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
[0016] 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:
[0017] Figure 1 A schematic diagram of an example environment in which several embodiments of the present disclosure may be implemented is shown;
[0018] Figure 2A-2C A flowchart is shown illustrating a method for switching objects, generating and processing object packages according to some embodiments of the present disclosure;
[0019] Figure 3 A schematic diagram of an example flow for switching objects, generating and processing object packages according to some embodiments of the present disclosure is shown;
[0020] Figure 4 A schematic diagram of an example process for generating sticker packs according to some embodiments of the present disclosure is shown;
[0021] Figure 5 A schematic diagram illustrating an example process for switching stickers according to some embodiments of the present disclosure is shown;
[0022] Figures 6A-6B A schematic diagram illustrating example effects of switching stickers according to some embodiments of the present disclosure is shown;
[0023] Figures 7A-7C Block diagrams of apparatus for switching objects, generating and processing object packages according to some embodiments of the present disclosure are shown; and
[0024] Figure 8 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, various platforms have developed diverse object libraries through technological innovation to allow users to express their creativity. Users can freely select an object from multiple objects of the same type (e.g., theme, function, or style) for application according to their needs. For ease of explanation and distinction, in the embodiments of this disclosure, material elements that users can apply to the editing of media materials (such as audio and video) are referred to as objects.
[0033] In related technologies, when a user switches between objects of the same type (i.e., from one object to another of the same type), they need to reselect the object to open the object panel (hereinafter referred to as the panel). All multiple objects of the same type will be listed and displayed in the object panel, occupying most of the panel's space and reducing the efficiency of object display. At the same time, this interactive method of forcibly reselecting and opening the object panel interrupts the user's continuous creative process and affects the user experience.
[0034] To address this, this disclosure proposes a method for switching objects, generating, and processing object packages, allowing users to directly switch between objects of the same type through simple interactions. In the solution provided by this disclosure, when user interaction with the panel is detected, an object package corresponding to that interaction is obtained. The object package is a collection of object resources used for editing media materials, containing multiple objects that can be displayed on the panel. This object package is generated from the production end and sent to the server, where it is processed. Then, the first object in the object package can be rendered and displayed, and after detecting user interaction with the first object, the second object in the object package can be rendered and displayed.
[0035] This method allows users to quickly switch between objects in the object panel, ensuring convenient and continuous operation and thus improving the user experience. At the same time, this method, which avoids listing all objects at once, prevents the object panel from occupying space, allowing it to display information on other different types of objects and improving information display efficiency.
[0036] Figure 1 A schematic diagram of an example environment 100 in which various embodiments of this disclosure may be implemented is shown. For example... Figure 1 As shown, the example environment 100 includes a display interface 102, which is the interface displayed to the client. The display interface 102 shows an editing interface using audio and video editing as an example. On the right side of this editing interface is an editing toolbar 104, which centrally displays core functions related to video editing, such as cropping, filters, effects, text, and stickers. Users can interact with the corresponding controls to use these functions. Some functions in the editing toolbar 104 can also be accessed through secondary menu expansion.
[0037] refer to Figure 1 The control circled in area 106 can be a panel control. When a user clicks on the control circled in area 106, the specific panel (not shown in the figure) can be expanded. The object panel refers to the interface area where users can access and select objects in the application. The object panel can display objects from object packages. In some embodiments, the panel can display multiple different types of object packages. An object package is a collection of object resources used for media editing (such as adding special effects stickers). Furthermore, each different type of object package can be displayed in the panel as a thumbnail of a specific object within the object package. The first object can be this specific object; when the first object is this specific object, it can be displayed in the panel as a thumbnail of that first object.
[0038] When a user interacts with an object package consisting of objects of the same type in the panel, i.e., when the first interaction is performed, the object package can be obtained and the first object in the object package selected by the user can be rendered and displayed on the display interface 102, as shown in area 108. For example, when a user interacts with a thumbnail representing an object package in the object panel, the object package corresponding to that thumbnail can be obtained.
[0039] Simultaneously, the first object in the object package is rendered. In other words, the object displayed in area 108 can be the first object. Furthermore, to provide users with a more flexible and convenient operating experience, while also saving space in the object panel, multiple objects of the same type can be displayed together. Aggregated display means that instead of listing and displaying all objects of the same type in the object panel, other objects in the same type of object package can be aggregated and displayed through touch interaction.
[0040] Therefore, after displaying the first object, a prompt control can also be displayed to guide the user to quickly switch to the next object in the object package by operating the prompt control. For example, the user can also switch to display a second object (not shown in the figure) in the object package by clicking the prompt control "Click to Switch" shown in area 110. That is, when the user clicks the prompt control "Click to Switch" shown in area 110, i.e., when the second interactive operation is performed, the second object can be switched to be displayed for the user on the display interface 102.
[0041] This method allows users to quickly switch between objects in the panel, ensuring the convenience and continuity of user operations, thereby improving the user experience.
[0042] In some embodiments, object packages are generated on the production side. An object package is a collection of object resources used for editing media materials. Once an object package containing multiple objects has been generated on the production side, it can be sent to the server for processing. The object package generated on the production side can switch from rendering one object to rendering another based on user interaction (e.g., through interaction with the controls shown in area 110).
[0043] In some embodiments, the server may receive an object package containing multiple objects sent from the production end. The object package is a collection of object resources used for editing media materials. This object package can switch between rendering one object and another based on user interaction (e.g., interaction with the control shown in area 110). When a user request for the object package is detected, the processed object package can be sent from the server to the client. In some embodiments, when a user clicks on the control circled in area 106, a request for the user to retrieve the object package can be sent to the server.
[0044] In some embodiments, after receiving a request from a user client to obtain first information about the panel (such as object panel information), the server can generate second information, such as object summary information, based on the request, and include this object summary information in the object panel information, sending it to the client together. The first information, such as the object panel information, refers to the various relevant data and content presented on the sticker panel. The second information, such as the object summary information, is a brief summary and extraction of key information about the object's content; the second information may include the object's download address.
[0045] This approach, which integrates object generation on the production side, processing on the server side, and rendering and switching on the client side, provides a universal solution. It not only improves the efficiency of object generation and utilization and enriches the user's editing and creative ecosystem, but also allows users to switch between objects of the same type directly through simple interaction, ensuring the continuity of user editing and enhancing the user experience for all parties involved.
[0046] In the embodiments of this disclosure, the client can be any device capable of sending and receiving information, such as a mobile phone, tablet computer, laptop computer, PDA, smart TV, personal digital assistant (PDA), smart printer, smart home appliance, vehicle terminal, wearable device (smartwatch, smart bracelet, smart glasses, etc.), virtual reality (VR) device, augmented reality (AR) device, etc., and this application embodiment does not limit it.
[0047] In the embodiments of this disclosure, the server can be a computing system, a single server, a distributed server, etc. The server can be a server that receives and provides object packages. It can be used to receive object packages generated by the production end, process the object packages, and send the object packages to the client when the client requests to obtain the object packages.
[0048] Interactive operations refer to the exchange of information between a user and a computer system or application through input and output devices. For example, users can use input devices such as touch screens / keyboards and mice to perform operations on UI elements (such as controls and thumbnails) to trigger responses and change the state of the interface.
[0049] It should be understood that the architecture and functionality in example environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure. Embodiments of this disclosure can also be applied to other environments with different structures and / or functionalities.
[0050] The following text will refer to Figures 2 to 3. Figure 8The 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.
[0051] Figure 2A A flowchart of a method 200A for switching pairs according to some embodiments of the present disclosure is shown. Method 200A can be executed by a means for switching pairs, which may be, for example, a standalone device or system. This means can be implemented in software and / or hardware. The method 200A will now be illustrated schematically using the means for switching pairs as an example. Method 200A includes blocks 202, 204, and 206.
[0052] like Figure 2A As shown, in box 202, in response to detecting a first interaction between the user and the panel, an object package corresponding to the first interaction is obtained. The object package indicates a collection of object resources used for editing media materials. The object package includes multiple objects, and the panel is used to display the objects in the object package. (Reference) Figure 1 When the user interacts with the controls circled in area 106, a specific panel (not shown in the figure) can be expanded. The panel can display multiple object packages of different types; an object package is a collection of object resources used for editing media materials (such as adding special effects stickers). When user interaction with the panel is detected, for example, when the user interacts with an object package consisting of objects of the same type in the object panel, that object package can be retrieved.
[0053] In box 204, render and display the first object in the object bundle. (See reference) Figure 1 When user interaction with the object panel is detected, the object package can be obtained and rendered and displayed on the display interface 102, showing the first object in the object package, as shown in area 108.
[0054] In box 206, in response to detecting a second interaction between the user and the first object, the second object in the object bundle is rendered and displayed. To provide users with a more flexible and convenient operating experience, while simultaneously saving space in the object panel, other objects in the same type of object bundle can be aggregated and displayed using touch interaction. (See reference) Figure 1 In other words, users can also switch the display of the second object (not shown in the figure) in the object package by clicking the prompt control "Click to Switch" shown in area 110. That is, when the prompt control "Click to Switch" shown in area 110 is detected, the second object can be rendered and displayed for the user on the display interface 102.
[0055] This method allows users to quickly switch between objects in the object panel, ensuring the convenience and continuity of user operations, thereby improving the user experience.
[0056] Figure 2B A flowchart of a method 200B for generating an object package according to some embodiments of the present disclosure is shown. Method 200B can be performed by an apparatus for generating an object package, which may be, for example, a standalone device or system. The apparatus can be implemented in software and / or hardware. The method 200B will now be illustrated schematically using an apparatus for generating an object package as an example. Method 200B includes blocks 212 and 214.
[0057] like Figure 2B As shown in box 212, an object package is generated based on multiple objects. The object package indicates a collection of object resources used for editing media assets. The object package can switch from rendering one object to rendering another in response to user interaction. In some embodiments, the object package is generated on the production side. An object package is a collection of object resources used for editing media assets (such as adding effects stickers). The object package generated on the production side can switch from rendering one object to rendering another based on user interaction (e.g., through interaction with the controls shown in area 110).
[0058] In box 214, the object package is sent to the server. Once the object package, which contains multiple objects, has been generated on the production side, it can be sent to the server for processing.
[0059] Figure 2C A flowchart of a method 200C for processing an object package according to some embodiments of the present disclosure is shown. Method 200C can be executed by an apparatus for processing object packages, which may be, for example, a standalone device or system. The apparatus can be implemented in software and / or hardware. The method 200C will now be illustrated schematically using an apparatus for processing object packages as an example. Method 200C includes blocks 222, 224, and 226.
[0060] like Figure 2C As shown, in box 222, an object package sent from the production end is received. The object package indicates a collection of object resources used for editing media assets. The object package includes multiple objects and can switch from rendering one object to rendering another in response to user interaction. In some embodiments, the server may receive an object package sent from the production end. This object package is a collection of object resources used for editing media assets (such as adding effects stickers) and includes multiple objects. This object package can switch from rendering one object to rendering another based on user interaction (e.g., through interaction with the controls shown in area 110).
[0061] In box 224, in response to the detection of a request sent from the client, second information is generated based on the object packet, the request is used to retrieve the first information, and the second information is cached based on the first information.
[0062] In some embodiments, after receiving a request from a user to obtain first information (such as object panel information) for the panel, the server can generate second information, such as object summary information, according to the request and include the object summary information in the object panel information.
[0063] In box 226, first information is sent to the client, the first information including second information. In some embodiments, the second information may be included in the first information and sent to the client together.
[0064] Combining methods 200A, 200B, and 200C, this approach, which integrates object generation on the production side, processing on the server side, and rendering and switching on the client side, provides a universal solution. This method not only improves the efficiency of object generation and utilization and enriches the user's editing and creative ecosystem, but also allows users to directly switch between objects of the same type through simple interactions, ensuring the continuity of user editing and enhancing the user experience for all parties involved.
[0065] As mentioned earlier, method 200A can be executed on the client, method 200B on the production side, and method 200C on the server. Combining the production, server, and client sides provides a universal solution for generating object packages, processing object packages, and switching objects. For example, Figure 3 A schematic diagram of an example flow 300 for switching objects, generating and processing object packages according to some embodiments of the present disclosure is shown. In example flow 300, the object producer 310 can be the producer described above, the platform server 320 can be the server described above, and the client 340 is the client described above.
[0066] refer to Figure 3 The object producer 310 can send the generated object package to the platform server 320, so that users can download the object package from the platform server through interaction with the client 340, thereby consuming the object package. Consumption refers to the process by which system components or users use, process, and present digital resources (such as data, objects, services, etc.). Consuming an object package means performing operations such as using, processing, and presenting these object packages.
[0067] The following description follows the order of producing object packages, processing object packages, and switching objects. For example, we will use stickers as objects and sticker packages as object packages, particularly stickers in audio / video materials. When a user needs to consume a sticker, the client can download the corresponding sticker from the platform server and cache it in a draft, so that the sticker can be rendered onto the screen according to the user's selection. This will be described below. Figures 4-6B During the process, the object and the sticker can refer to each other.
[0068] Figure 4 A schematic diagram of an example process 400 for generating a sticker pack according to some embodiments of the present disclosure is shown. Reference Figure 4 In step 312, the operation of obtaining multiple sets of stickers of the same type is performed. These multiple sets of stickers of the same type can be produced by sticker designers on the production side. "Same type" can refer to stickers with similar functions, consistent themes, and identical styles.
[0069] In step 314, the operation of generating multiple sets of standard effect sticker packs is performed. This means that multiple sets of standard effect packs are produced based on the multiple sets of stickers already created. While stickers themselves have a certain expressiveness when displayed statically, their expressiveness is significantly enhanced when combined with effects.
[0070] Next, at step 316, the operation of packaging and generating an aggregated sticker package is performed. In some embodiments, this means packaging these multiple sets of regular effect sticker packages into an aggregated sticker package. The aggregated sticker package includes multiple effect sticker packages, which is equivalent to an object package including multiple sub-object packages. In some embodiments, if step 314 is omitted, i.e., it goes directly to step 316, then the generated aggregated sticker package can directly include multiple stickers of the same type, which is equivalent to an object package including multiple objects. Next, at step 318, the operation of uploading to the platform server is performed, i.e., the aggregated sticker package is uploaded to the platform server, so that the platform server can receive and store the aggregated sticker package for later use by users.
[0071] In this way, the sticker packs generated on the production side are uploaded to the platform server. Subsequently, users can smoothly consume the sticker packs stored on the platform server through interactive operations on the client side. For example, a user can switch between using stickers from a sticker pack. For instance, Figure 5 A schematic diagram of an example process 500 for switching stickers according to some embodiments of the present disclosure is shown. Example process 500 involves a platform server 320 and a client 340. (As...) Figure 5 As shown, users can download object packages from platform server 320 through interactive operations with client 340 (e.g., user behavior 330), thereby consuming the object package, such as switching between different stickers in the sticker package.
[0072] The foregoing Figure 4The description refers to sending the sticker pack to the platform server 320. Figure 5 After the platform server receives the aggregated sticker package at step 320, it can perform a business parameter injection operation at step 322, which injects business parameters into the aggregated sticker package. Business parameters refer to various data information related to the platform's business. Subsequently, at step 324, a storage operation is performed, which stores these sticker packages containing business parameters on the platform server.
[0073] like Figure 5 As shown, when a user clicks on sticker panel 332, i.e., a third interaction is detected, client 340 can then execute the operation of requesting sticker panel information (i.e., the first information) at 341. That is, client 340 can send a request to platform server 320 to obtain object panel information. Combined with... Figure 1 The third operation can be the interaction between the user and the control enclosed in area 106.
[0074] refer to Figure 5 When the platform server 320 receives the request, it can generate sticker summary information, i.e., the second information, based on the object package involved in the request, in step 326. The sticker summary information includes the download addresses of multiple stickers (or sub-sticker packages) in the sticker package. Simultaneously, the object panel information also includes this sticker summary information, and both are sent to the client 340 together. In some embodiments, a shuffling operation is performed in step 328. That is, the stickers in the sticker summary information are further shuffled and sorted to determine the order of each sticker (or sub-sticker package).
[0075] Once client 340 receives the object panel information, it can cache the sticker summary information in step 342. In step 343, it can also retrieve the first-screen sticker image, which is the object displayed when the user interacts with the sticker panel. (Reference) Figure 1 The control circled in area 106 can be a control of the object panel. When a user clicks on the control circled in area 106, the specific object panel (not shown in the figure) can be expanded. In some embodiments, the object panel can display multiple object packages of different types. Furthermore, each object package of different types can be displayed in the object panel as a thumbnail of a specific object within that package. That is, the thumbnail of a specific object can be a sticker image on the home screen. When the first object is that specific object, the thumbnail of the first object can be displayed in the object panel.
[0076] Continue to refer to Figure 5When a user selects the aggregated sticker 334, i.e., the first interaction between the user and the object panel is detected, the operation of downloading the aggregated sticker package 344 can be performed at 344. In other words, when a user clicks on the thumbnail of an object package in the object panel, that object package can be obtained. In some embodiments, the sticker package can be downloaded based on the download address of each sticker (sub-sticker package) included in the sticker summary information.
[0077] Next, at 345, the operation of exporting the sticker pack to the draft is performed. The draft is used to store the various entity resources included in the sticker pack, so that the stickers on the screen can be rendered later using the draft.
[0078] In some embodiments, the physical resources of the sticker pack are imported into the draft, and it is also necessary to... Figure 1 The display interface 102 shown renders and displays a first sticker for the user, as shown in area 108. In some embodiments, the first object may be the first sticker. Therefore, determining the first sticker means determining the first object.
[0079] In some embodiments, if the sticker pack contains multiple stickers of the same type, the sticker summary information may include the sticker index of each sticker. Then, in step 346, the operation of determining the first sticker based on the index can be performed, so that the sticker with sticker index 0 (the sticker with sticker index 0 by default is the first sticker) is rendered on the screen.
[0080] In some embodiments, if the sticker pack contains multiple sub-sticker packs of the same type, then at step 361, the sticker pack can be parsed and disassembled. That is, the sticker pack containing multiple sub-sticker packs needs to be parsed to generate multiple ordinary sub-sticker packs. These parsed and disassembled sub-sticker packs are then exported to the draft. Subsequently, at step 362, the operation of determining the first sticker in order can be performed. That is, in the sticker summary information, the sticker in the sub-sticker pack that appears first after sorting can be selected as the first sticker.
[0081] After determining the primary sticker, you can perform the sticker rendering operation at step 347. This will render the determined primary sticker (such as the first object) onto the screen. (See reference) Figure 1 The first sticker is like Figure 1 The area shown is 108.
[0082] Continue to refer to Figure 5Upon detecting a user's click on the aggregate sticker 336, i.e., detecting a second interaction, the system can switch to rendering another sticker (such as a second object) in the sticker pack. The previously rendered object on the screen can be either the first object or other objects in the sticker pack besides the first object. In some embodiments, interaction parameters corresponding to the user's second interaction can be determined based on these parameters, and then the sticker to be rendered, i.e., the second object, can be determined based on these interaction parameters.
[0083] Therefore, upon detecting the second interaction, i.e., detecting a user click on the aggregate sticker 336, the operation of obtaining user click parameters (interaction parameters) can be performed at 348. In some embodiments, when a user interacts with the sticker panel by clicking, the user's click parameters can be determined by a counter, and the sticker to be switched and displayed in the sticker pack, i.e., the second object, can be determined based on the click parameters.
[0084] In some embodiments, if the sticker pack contains multiple stickers of the same type, i.e., the sticker summary information may include a sticker index for each sticker, then the sticker to be switched and displayed can be determined based on the correspondence between the user's click parameters and the index. For example, if the user clicks... Figure 1 If the prompt control "Click to switch" shown in area 110 is clicked once, the count is 1. Since the sticker index of the first sticker is 0, the sticker with sticker index 1 is the sticker to be rendered.
[0085] In some embodiments, if the sticker pack contains multiple sub-sticker packs of the same type, the sticker to be switched and displayed can be determined based on the correspondence between the user's click parameters and the order of the multiple sub-sticker packs in the sticker pack.
[0086] After determining the sticker to be rendered, you can perform the operation of replacing the sticker entity resource in 363. This means replacing the sticker currently being rendered and displayed on the screen (e.g., the first sticker, or the first object) with the entity resource corresponding to the sticker to be rendered, which is cached in the draft. For example, if the first object was previously displayed on the screen and the second object is to be rendered, then the second object can be used to replace the first object.
[0087] After determining the sticker to be rendered, you can delete the previous sticker and add a new one at step 349. That is, you can delete the entity resource of the sticker currently being rendered and displayed on the screen (e.g., the first sticker, or the first object), and add the corresponding entity resource cached in the draft for the sticker to be rendered. For example, if the first object was previously displayed on the screen and the second object is to be rendered, you can delete the first object and add the second object as the object to be rendered.
[0088] After updating the sticker resources, at step 350, the operation of synchronizing user setting parameters can be performed. In some embodiments, user setting parameters can be determined based on the user's fourth interaction operation. For example, after the user adjusts the size and position of the sticker previously rendered on the screen, setting parameters such as size parameters and position parameters can be obtained.
[0089] In step 351, before re-rendering the sticker, the size, position, and other settings need to be synchronized to the sticker to be rendered. Then, the re-rendering operation can be performed.
[0090] This method allows users to quickly switch between stickers in the sticker panel, ensuring convenient and continuous operation and thus improving the user experience. At the same time, this method, which avoids listing all stickers at once, saves space on the sticker panel, allowing it to display information on other types of stickers and improving information display efficiency.
[0091] Furthermore, this method, which integrates sticker generation on the production side, processing on the server side, and rendering and switching on the client side, provides a universal solution. This method not only improves the efficiency of sticker generation and utilization and enriches the user's editing and creative ecosystem, but also allows users to switch between stickers of the same type directly through simple interaction, ensuring the continuity of user editing and enhancing the user experience for all parties involved.
[0092] Figures 6A-6B Schematic diagrams illustrating example effects 600A-600B of switching stickers according to some embodiments of the present disclosure are shown. Figure 6A The sticker 606 shown on the display interface 602 can be the first sticker, the first object, or a sticker that has already been switched. When the user clicks the "Click to Switch" prompt displayed in area 604, the following can be displayed: Figure 6B The sticker 608 shown in the display interface 602 can be either a first object or a second object. Furthermore, the prompt control can also be as follows: Figure 6B The "swipe to switch stickers" feature is shown. This method allows users to quickly switch stickers in the sticker panel, ensuring ease and continuity of operation and thus improving the user experience.
[0093] Figure 7A A block diagram of an apparatus 700A for switching objects according to some embodiments of the present disclosure is shown. Figure 7AAs shown, device 700A includes an acquisition module 702 configured to acquire an object package corresponding to the first interaction operation detected by a user interacting with an object panel. The object package indicates a collection of object resources used for editing media materials, and includes multiple objects. The panel is used to display the objects in the object package. Device 700A also includes a rendering module 704 configured to render and display the first object in the object package. Furthermore, device 700A includes a switching module 706 configured to render and display a second object in the object package in response to a second interaction operation detected by a user interacting with the first object.
[0094] Figure 7B A block diagram of an apparatus 700B for generating object packages according to some embodiments of the present disclosure is shown. Figure 7B As shown, device 700B includes a generation module 712 configured to generate an object package based on multiple objects. The object package indicates a collection of object resources used for editing media materials. The object package can switch from rendering one object to rendering another object in response to user interaction. Device 700B also includes a sending module 714 configured to send the object package to a server.
[0095] Figure 7C A block diagram of an apparatus 700C for processing object packages according to some embodiments of the present disclosure is shown. Figure 7C As shown, device 700C includes a receiving module 722 configured to receive an object packet sent from a production end. The object packet indicates a collection of object resources for editing media materials. The object packet includes multiple objects and is capable of switching from rendering one object to rendering another in response to user interaction. Device 700C also includes a generating module 724 configured to generate second information based on first information based on the object packet in response to detecting a request sent from a client. The request is for retrieving the first information, and the second information is cached based on the first information. Furthermore, device 700C includes a sending module 726 configured to send the first information to the client, the first information including the second information.
[0096] Figure 8 A block diagram of a device 800 capable of implementing various embodiments of the present disclosure is shown. (See diagram for example.) Figure 8As shown, device 800 includes a central processing unit (CPU) and / or a graphics processing unit (GPU) 801, which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) 802 or loaded from storage unit 808 into random access memory (RAM) 803. The RAM 803 can also store various programs and data required for the operation of device 800. The CPU / GPU 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804. Although not shown in... Figure 8 As shown, device 800 may also include a coprocessor.
[0097] Multiple components in device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of monitors, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0098] The various methods or processes described above can be executed by CPU / GPU 801. 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 808. In some embodiments, part or all of the computer program can be loaded and / or installed on device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by CPU / GPU 801, one or more steps or actions in the methods or processes described above can be performed.
[0099] 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.
[0100] 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.
[0101] 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.
[0102] 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.
[0103] 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.
[0104] 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.
[0105] 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.
[0106] 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.
[0107] The following are some example implementations of this disclosure.
[0108] Example 1. A method for switching objects, including:
[0109] In response to detecting a first interaction operation between the user and the panel, an object package corresponding to the first interaction operation is obtained. The object package indicates a collection of object resources for editing media materials. The object package includes multiple objects. The panel is used to display the objects in the object package.
[0110] Render and display the first object in the object package; and
[0111] In response to detecting a second interaction between the user and the first object, the second object in the object package is rendered and displayed.
[0112] Example 2. The method according to 1 further includes:
[0113] In response to detecting a third interaction between the user and the panel, a request is sent to the server, the request being for obtaining first information, the first information indicating information describing the panel; and
[0114] Based on the first information received from the server, second information is cached, the second information including the download address of each object in the object package; and
[0115] Based on the second information, the first screen object of the panel is determined, which is the object displayed in response to the user performing a third interactive operation with the panel.
[0116] Example 3. The method according to any one of Examples 1-2, wherein in response to detecting a first interaction operation between the user and the object panel, obtaining the object package corresponding to the first interaction operation includes:
[0117] In response to detecting the first interaction operation, the object package is downloaded based on the download addresses of the plurality of objects; and
[0118] The object package is exported to a draft, which is used to store multiple different objects that are rendered onto the screen.
[0119] Example 4. The method according to any one of Examples 1-3, wherein rendering the first object in the object package includes:
[0120] Based on the second information, the first object is determined, and the first object indicates an object that can be displayed upon detecting the third interactive operation; and
[0121] Based on the object package in the exported draft, render and display the first object.
[0122] Example 5. According to any one of Examples 1-4, the second information includes an object index for each object, wherein determining the first object based on the second information includes:
[0123] The first object is determined based on the object index.
[0124] Example 6. According to any one of Examples 1-5, the object package includes multiple sub-object packages, and exporting the object package to a draft includes:
[0125] By parsing the object package, the plurality of sub-object packages are obtained; and
[0126] Export the multiple sub-object packages to the draft.
[0127] Example 7. According to the method of any one of Examples 1-6, the plurality of sub-object packages in the second information are arranged in sequence, wherein determining the first object based on the second information includes:
[0128] Based on the arrangement order of the multiple sub-object packages, the first object is determined, and the first object corresponds to the first-ranked sub-object package in the object package.
[0129] Example 8. The method according to any one of Examples 1-7, wherein rendering and displaying the second object in the object package in response to detecting a second interaction between the user and the first object comprises:
[0130] Based on the second interactive operation, determine the interactive parameters corresponding to the second interactive operation;
[0131] Based on the interaction parameters, the second object is determined; and
[0132] Render and display the second object.
[0133] Example 9. The method according to any one of Examples 1-8, wherein determining the interaction parameters corresponding to the second interaction operation based on the second interaction operation includes:
[0134] In response to detecting the second interaction operation, the interaction parameters are determined by a counter, and the interaction parameters are used to determine the second object.
[0135] Example 10. The method according to any one of Examples 1-9, wherein determining the second object based on the interaction parameters includes:
[0136] Based on the interaction parameters, the second object is determined from the second information, and the second object indicates the object to be rendered.
[0137] Example 11. According to the method described in any of Example 10, the second information includes an object index for each object, wherein determining the second object in the second information based on the interaction parameters includes:
[0138] The object to be rendered is determined based on the interaction parameters and the index of each object.
[0139] Example 12. According to the method described in any of Example 10, the object package includes multiple sub-object packages, the multiple sub-object packages in the second information are arranged in sequence, wherein determining the second object in the second information based on the interaction parameters includes:
[0140] Based on the interaction parameters and the order of each sub-object package, the object to be rendered is determined within the object package.
[0141] Example 13. The method according to any one of Examples 1-12 further includes:
[0142] Use the second object to replace the first object, so that the second object becomes the object to be rendered; or
[0143] Delete the first object; and
[0144] Update the second object to the object to be rendered.
[0145] Example 14. The method according to any one of Examples 1-13, wherein rendering and displaying the second object includes:
[0146] On the object to be rendered, user adjustment parameters are synchronously set, the adjustment parameters being determined based on a fourth interaction operation, which instructs the user to adjust at least one of the size and position of the first object; and
[0147] Based on the object package in the exported draft, render and display the object to be rendered.
[0148] Example 15. The method according to any one of Examples 1-15, wherein the object is a sticker in audio-visual media material.
[0149] Example 16. A method for generating an object package, comprising:
[0150] Based on multiple objects, an object package is generated, the object package indicating a collection of object resources for editing media materials, the object package being able to switch from rendering one object to rendering another in response to user interaction; and
[0151] Send the object package to the server.
[0152] Example 17. According to the method described in Example 16, the object package includes multiple sub-object packages, wherein generating the object package based on multiple objects includes:
[0153] Based on the multiple objects, generate multiple sub-object packages corresponding to the multiple objects; and
[0154] An object package is generated based on the multiple sub-object packages.
[0155] Example 18. The method according to any one of Examples 1-17, wherein the object is a sticker in audio-visual media material.
[0156] Example 19. A method for processing object packages, comprising:
[0157] Receive an object package sent from the production end, the object package indicating a collection of object resources for editing media materials, the object package including multiple objects, the object package being able to switch from rendering one object to rendering another object in response to user interaction;
[0158] In response to detecting a request sent from a client, based on the object packet, second information based on first information is generated, the request being used to retrieve the first information, and the second information being cached based on the first information; and
[0159] The first information is sent to the client, and the first information includes the second information.
[0160] Example 20. The method according to Example 19 further includes:
[0161] The generated second information is mixed and arranged to obtain the mixed and arranged second information.
[0162] Example 21. The method according to any one of Examples 19-20, wherein the object is a sticker in audio-visual media material.
[0163] Example 22. An apparatus for switching objects, comprising:
[0164] The acquisition module is configured to acquire an object package corresponding to the first interaction operation in response to detecting a first interaction operation between the user and the panel. The object package indicates a collection of object resources for editing media materials. The object package includes multiple objects. The panel is used to display the objects in the object package.
[0165] The rendering module is configured to render and display the first object in the object package; and
[0166] The switching module is configured to render and display a second object in the object package in response to detecting a second interaction between the user and the first object.
[0167] Example 23. The apparatus according to any one of Examples 22 further includes:
[0168] A first sending module is configured to send a request to a server in response to detecting a third interaction between a user and the panel, the request being used to obtain first information, the first information indicating information describing the panel; and
[0169] A caching module is configured to cache second information based on the first information received from the server, the second information including the download address of each object in the object package; and
[0170] The first determining module is configured to determine the first screen object of the panel based on the second information, the first screen object being the object displayed in response to the third interactive operation between the user and the panel.
[0171] Example 24. The apparatus according to any one of Examples 22-23, wherein the acquiring module comprises:
[0172] The download module is configured to download the object package based on the download addresses of the plurality of objects in response to detecting the first interactive operation; and
[0173] The export module is configured to export the object package to a draft, which is used to store multiple different objects to be rendered onto the screen.
[0174] Example 25. The apparatus according to any one of Examples 22-24, wherein the rendering module comprises:
[0175] The second determining module is configured to determine the first object based on the second information, wherein the first object indicates an object that can be displayed upon detecting the second interaction operation; and
[0176] The first rendering module is configured to render and display the first object based on the object package in the exported draft.
[0177] Example 26. The apparatus according to any one of Examples 22-25, wherein the second information includes an object index for each object, wherein the second determining module comprises:
[0178] The third determining module is configured to determine the first object based on the object index.
[0179] Example 27. The apparatus according to any one of Examples 22-26, wherein the object package includes a plurality of sub-object packages, and the export module includes:
[0180] The parsing module is configured to obtain the plurality of sub-object packages by parsing the object package; and
[0181] The first export module is configured to export the plurality of sub-object packages to the draft.
[0182] Example 28. The apparatus according to any one of Examples 22-27, wherein the plurality of sub-object packages in the second information are arranged sequentially, wherein the second determining module includes:
[0183] The fourth determining module is configured to determine the first object based on the arrangement order of the plurality of sub-object packages, wherein the first object corresponds to the first-ranked sub-object package in the object package.
[0184] Example 29. The apparatus according to any one of Examples 22-28, wherein the switching module comprises:
[0185] The fifth determining module is configured to determine the interaction parameters corresponding to the second interaction operation based on the second interaction operation;
[0186] The sixth determining module is configured to determine the second object based on the interaction parameters; and
[0187] The second rendering module is configured to render and display the second object.
[0188] Example 30. The apparatus according to any one of Examples 22-29, wherein the fifth determining module comprises:
[0189] The seventh determining module is configured to determine the interaction parameters by means of a counter in response to detecting the second interaction operation, the interaction parameters being used to determine the second object.
[0190] Example 31. The apparatus according to any one of Examples 22-30, wherein the sixth determining module comprises:
[0191] The eighth determining module is configured to determine the second object, which is the object to be rendered, based on the interaction parameters in the second information.
[0192] Example 32. The apparatus according to any one of Examples 22-31, wherein the second information includes an object index for each object, wherein the eighth determining module comprises:
[0193] The ninth determining module is configured to determine the object to be rendered based on the interaction parameters and the index of each object.
[0194] Example 33. The apparatus according to any one of Examples 22-32, wherein the object package includes a plurality of sub-object packages, the plurality of sub-object packages in the second information are arranged sequentially, wherein the eighth determining module includes:
[0195] The tenth determining module is configured to determine the object to be rendered within the object package based on the interaction parameters and the arrangement order of each sub-object package.
[0196] Example 34. The apparatus according to any one of Examples 22-33 further includes:
[0197] The replacement module is configured to replace the first object with the second object, so that the second object becomes the object to be rendered; or
[0198] The delete module is configured to delete the first object; and
[0199] The update module is configured to update the second object to the object to be rendered.
[0200] Example 35. The apparatus according to any one of Examples 22-34, wherein the second rendering module comprises:
[0201] A settings module is configured to synchronously set user adjustment parameters on the object to be rendered, the adjustment parameters being determined based on a fourth interaction operation that instructs the user to adjust at least one of the size and position of the first object; and
[0202] The third rendering module is configured to render and display the object to be rendered based on the object package in the exported draft.
[0203] Example 36. The apparatus according to any one of Examples 22-35, wherein the object is a sticker in audio-visual media material.
[0204] Example 37. An apparatus for generating object packages, comprising:
[0205] A generation module is configured to generate an object package based on multiple objects, the object package indicating a collection of object resources for editing media materials, the object package being able to switch from rendering one object to rendering another in response to user interaction; and
[0206] The sending module is configured to send the object packet to the server.
[0207] Example 38. The apparatus according to Example 37, wherein the object package includes a plurality of sub-object packages, wherein the generation module includes:
[0208] The first generation module is configured to generate multiple sub-object packages corresponding to the multiple objects based on the multiple objects; and
[0209] The second generation module is configured to generate an object package based on the multiple sub-object packages.
[0210] Example 39. The apparatus according to any one of Examples 37-38, wherein the object is a sticker in audio-visual media material.
[0211] Example 40. An apparatus for processing object packages, comprising:
[0212] The receiving module is configured to receive an object package sent from the production end, the object package indicating a collection of object resources for editing media materials, the object package including multiple objects, and the object package being able to switch from rendering one object to rendering another object in response to user interaction;
[0213] A generation module is configured to, in response to detecting a request sent from a client, generate second information based on first information, based on the object packet, wherein the request is for retrieving the first information, and the second information is cached based on the first information; and
[0214] The sending module is configured to send the first information to the client, the first information including the second information.
[0215] Example 41. The apparatus according to any one of Examples 40 further includes:
[0216] The mixing module is configured to mix and arrange the generated second information to obtain the mixed and arranged second information.
[0217] Example 42. The apparatus according to any one of Examples 40-41, wherein the object is a sticker in audio-visual media material.
[0218] Example 43. An electronic device comprising:
[0219] Processor; and
[0220] 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:
[0221] In response to detecting a first interaction operation between the user and the panel, an object package corresponding to the first interaction operation is obtained. The object package indicates a collection of object resources for editing media materials. The object package includes multiple objects. The panel is used to display the objects in the object package.
[0222] Render and display the first object in the object package; and
[0223] In response to detecting an interaction between the user and the second object, the second object in the object package is rendered and displayed.
[0224] 44. The electronic device according to Example 43 further includes:
[0225] In response to detecting a third interaction between the user and the panel, a request is sent to the server, the request being for obtaining first information, the first information indicating information describing the panel; and
[0226] Based on the first information received from the server, second information is cached, the second information including the download address of each object in the object package; and
[0227] Based on the second information, the first screen object of the object panel is determined, and the first screen object is the object that can be displayed in response to the user performing a first interactive operation with the object panel.
[0228] 45. The electronic device according to any one of Examples 43-44, wherein in response to detecting a first interaction operation between a user and a panel, acquiring an object packet corresponding to the first interaction operation includes:
[0229] In response to detecting the first interaction operation, the object package is downloaded based on the download addresses of the plurality of objects; and
[0230] The object package is exported to a draft, which is used to store multiple different objects that are rendered onto the screen.
[0231] 46. The electronic device according to any one of Examples 43-45, wherein rendering the first object in the object package includes:
[0232] Based on the second information, the first object is determined, and the first object indicates an object that can be displayed upon detecting the second interaction operation; and
[0233] Based on the object package in the exported draft, render and display the first object.
[0234] 47. The electronic device according to any one of Examples 43-46, wherein the second information includes an object index for each object, wherein determining the first object based on the second information includes:
[0235] The first object is determined based on the object index.
[0236] 48. An electronic device according to any one of Examples 43-47, wherein the object package includes a plurality of sub-object packages, and exporting the object package to a draft includes:
[0237] By parsing the object package, the plurality of sub-object packages are obtained; and
[0238] Export the multiple sub-object packages to the draft.
[0239] 49. The electronic device according to any one of Examples 43-48, wherein the plurality of sub-object packages in the second information are arranged in sequence, wherein determining the first object based on the second information includes:
[0240] Based on the arrangement order of the multiple sub-object packages, the first object is determined, and the first object corresponds to the first-ranked sub-object package in the object package.
[0241] 50. The electronic device according to any one of Examples 43-49, wherein rendering and displaying the second object in the object package in response to detecting a second interaction operation between a user and the first object comprises:
[0242] Based on the second interactive operation, determine the interactive parameters corresponding to the second interactive operation;
[0243] Based on the interaction parameters, the second object is determined; and
[0244] Render and display the second object.
[0245] 51. The electronic device according to any one of Examples 43-50, wherein determining the interaction parameters corresponding to the second interaction operation based on the second interaction operation includes:
[0246] In response to detecting the second interaction operation, the interaction parameters are determined by a counter, and the interaction parameters are used to determine the second object.
[0247] 52. The electronic device according to any one of Examples 43-51, wherein determining the second object based on the interaction parameters includes:
[0248] Based on the interaction parameters, the second object is determined from the second information, and the second object is the object to be rendered.
[0249] 53. The electronic device according to any one of Examples 43-52, wherein the second information includes an object index for each object, wherein determining the second object in the second information based on the interaction parameters includes:
[0250] The object to be rendered is determined based on the interaction parameters and the index of each object.
[0251] 54. The electronic device according to any one of Examples 43-53, wherein the object package includes a plurality of sub-object packages, the plurality of sub-object packages in the second information are arranged sequentially, wherein determining the second object in the second information based on the interaction parameters includes:
[0252] Based on the interaction parameters and the order of each sub-object package, the object to be rendered is determined within the object package.
[0253] 55. The electronic device according to any one of Examples 43-54 further includes:
[0254] Use the second object to replace the first object, so that the second object becomes the object to be rendered; or
[0255] Delete the first object; and
[0256] Update the second object to the object to be rendered.
[0257] 56. The electronic device according to any one of Examples 43-55, wherein rendering and displaying the second object comprises:
[0258] On the object to be rendered, user adjustment parameters are synchronously set, the adjustment parameters being determined based on a fourth interaction operation, which instructs the user to adjust at least one of the size and position of the first object; and
[0259] Based on the object package in the exported draft, render and display the object to be rendered.
[0260] 57. The electronic device according to any one of Examples 43-56, wherein the object is a sticker in audio-visual media material.
[0261] Example 58. An electronic device comprising:
[0262] Processor; and
[0263] 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:
[0264] Based on multiple objects, an object package is generated, the object package indicating a collection of object resources for editing media materials, the object package being able to switch from rendering one object to rendering another in response to user interaction; and
[0265] Send the object package to the server.
[0266] 59. The electronic device according to Example 58, wherein the object package includes multiple sub-object packages, wherein generating the object package based on multiple objects includes:
[0267] Based on the multiple objects, generate multiple sub-object packages corresponding to the multiple objects; and
[0268] An object package is generated based on the multiple sub-object packages.
[0269] 60. The electronic device according to any one of Examples 58-59, wherein the object is a sticker in audio-visual media material.
[0270] Example 61. An electronic device comprising:
[0271] Processor; and
[0272] 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:
[0273] Receive an object package sent from the production end, the object package indicating a collection of object resources for editing media materials, the object package including multiple objects, the object package being able to switch from rendering one object to rendering another object in response to user interaction;
[0274] In response to detecting a request sent from a client, based on the object packet, second information based on first information is generated, the request being used to retrieve the first information, and the second information being cached based on the first information; and
[0275] The first information is sent to the client, and the first information includes the second information.
[0276] 62. The electronic device according to Example 61 further includes:
[0277] The generated second information is mixed and arranged to obtain the mixed and arranged second information.
[0278] 63. The electronic device according to any one of Examples 61-62, wherein the object is a sticker in audio-visual media material.
[0279] Example 64. 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 21.
[0280] Example 65. 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 21.
[0281] 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 switching objects, comprising: In response to detecting a first interaction operation between the user and the panel, an object package corresponding to the first interaction operation is obtained. The object package indicates a collection of object resources for editing media materials. The object package includes multiple objects. The panel is used to display the objects in the object package. Render and display the first object in the object package; as well as In response to detecting a second interaction between the user and the first object, the second object in the object package is rendered and displayed.
2. The method according to claim 1, further comprising: In response to detecting a third interaction between the user and the panel, a request is sent to the server, the request being used to obtain first information, the first information indicating information describing the panel; as well as Based on the first information received from the server, second information is cached, the second information including the download address of each object in the object package; as well as Based on the second information, the first screen object of the panel is determined, which is the object displayed in response to the user performing the third interactive operation with the panel.
3. The method according to claim 2, wherein in response to detecting a first interaction operation between the user and the panel, obtaining the object package corresponding to the first interaction operation includes: In response to detecting the first interactive operation, the object package is downloaded based on the download addresses of the plurality of objects; as well as The object package is exported to a draft, which is used to store multiple different objects that are rendered onto the screen.
4. The method of claim 3, wherein rendering the first object in the object package comprises: Based on the second information, the first object is determined, and the first object indicates the object that can be displayed upon detecting the third interactive operation; as well as Based on the object package in the exported draft, render and display the first object.
5. The method of claim 4, wherein the second information includes an object index for each object, wherein determining the first object based on the second information includes: The first object is determined based on the object index.
6. The method according to claim 5, wherein the object package includes multiple sub-object packages, and exporting the object package to the draft includes: The plurality of sub-object packages are obtained by parsing the object package; as well as Export the multiple sub-object packages to the draft.
7. The method according to claim 6, wherein the plurality of sub-object packages in the second information are arranged in sequence, wherein determining the first object based on the second information includes: Based on the arrangement order of the multiple sub-object packages, the first object is determined, and the first object corresponds to the first-ranked sub-object package in the object package.
8. The method of claim 1, wherein rendering and displaying the second object in the object package in response to detecting a second interaction between the user and the first object comprises: Based on the second interactive operation, determine the interactive parameters corresponding to the second interactive operation; The second object is determined based on the interaction parameters; as well as Render and display the second object.
9. The method according to claim 8, wherein determining the interaction parameters corresponding to the second interaction operation based on the second interaction operation includes: In response to detecting the second interaction operation, the interaction parameters are determined by a counter, and the interaction parameters are used to determine the second object.
10. The method of claim 9, wherein determining the second object based on the interaction parameters comprises: Based on the interaction parameters, the second object is determined in the second information, and the second object indicates the object to be rendered.
11. The method of claim 10, wherein the second information includes an object index for each object, wherein determining the second object in the second information based on the interaction parameters includes: The object to be rendered is determined based on the interaction parameters and the index of each object.
12. The method according to claim 10, wherein the object package includes a plurality of sub-object packages, the plurality of sub-object packages in the second information are arranged in sequence, wherein determining the second object in the second information based on the interaction parameters includes: Based on the interaction parameters and the order of each sub-object package, the object to be rendered is determined within the object package.
13. The method according to any one of claims 11 or 12, further comprising: Use the second object to replace the first object, so that the second object becomes the object to be rendered; or Delete the first object; as well as Update the second object to the object to be rendered.
14. The method of any one of claims 13, wherein rendering and displaying the second object comprises: On the object to be rendered, user adjustment parameters are set synchronously. The adjustment parameters are determined based on a fourth interaction operation, which instructs the user to adjust at least one of the size and position of the first object. as well as Based on the object package in the exported draft, render and display the object to be rendered.
15. The method according to claim 14, wherein the object is a sticker in audio-visual media material.
16. A method for generating an object package, comprising: Based on multiple objects, an object package is generated, the object package indicating a collection of object resources for editing media materials, the object package being able to switch from rendering one object to rendering another in response to user interaction; and Send the object packet to the server.
17. The method of claim 16, wherein the object package includes multiple sub-object packages, wherein generating the object package based on multiple objects includes: Based on the multiple objects, generate multiple sub-object packages corresponding to the multiple objects; as well as An object package is generated based on the multiple sub-object packages.
18. The method according to claim 17, wherein the object is a sticker in audio-visual media material.
19. A method for processing object packages, comprising: Receive an object package sent from the production end, the object package indicating a collection of object resources for editing media materials, the object package including multiple objects, the object package being able to switch from rendering one object to rendering another object in response to user interaction; In response to detecting a request sent from a client, second information based on first information is generated based on the object packet, the request being used to obtain the first information, and the second information being cached based on the first information; as well as The first information is sent to the client, and the first information includes the second information.
20. The method of claim 19, further comprising: The generated second information is mixed and arranged to obtain the mixed and arranged second information.
21. The method according to claim 20, wherein the object is a sticker in audio-visual media material.
22. An apparatus for switching objects, comprising: The acquisition module is configured to acquire an object package corresponding to the first interaction operation in response to detecting a first interaction operation between the user and the panel. The object package indicates a collection of object resources for editing media materials. The object package includes multiple objects. The panel is used to display the objects in the object package. The rendering module is configured to render and display the first object in the object package; as well as The switching module is configured to render and display a second object in the object package in response to detecting a second interaction between the user and the first object.
23. An apparatus for generating an object package, comprising: The generation module is configured to generate an object package based on multiple objects, the object package indicating a collection of object resources for editing media materials, the object package being able to switch from rendering one object to rendering another object in response to user interaction; as well as The sending module is configured to send the object packet to the server.
24. An apparatus for processing object packages, comprising: The receiving module is configured to receive an object package sent from the production end, the object package indicating a collection of object resources for editing media materials, the object package including multiple objects, and the object package being able to switch from rendering one object to rendering another object in response to user interaction; The generation module is configured to, in response to detecting a request sent from a client, generate second information based on first information, based on the object package, wherein the request is for obtaining the first information, and the second information is cached based on the first information; as well as The sending module is configured to send the first information to the client, the first information including the second information.
25. 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 21.
26. 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 21.