Information processing method and device, electronic equipment and storage medium
By detecting and updating the resource attributes of special effects items, the problem of server pressure and poor interactivity caused by repeated user trials was solved, achieving more efficient resource utilization and user interaction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2026-04-10
AI Technical Summary
When generating special effects short videos or images, users repeatedly try out special effects props, which puts a lot of pressure on the server-side processing, wastes resources, and results in poor user interaction.
By detecting the resource attributes of the target object, the system responds to user operations only when preset conditions are met, and updates the resource attributes after processing, thereby limiting the frequency of user requests and encouraging users to publish processing results.
This alleviated the processing pressure on the server side, increased user submissions and interactivity, and optimized the user experience.
Smart Images

Figure CN119729061B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present disclosure relate to the technical field of computer, and particularly, to an information processing method and device, an electronic device, and a storage medium. BACKGROUND
[0002] With the development of mobile Internet, the progress of network technology, and the popularity of smart terminals, a terminal device is used to shoot a corresponding special effect short video or special effect image.
[0003] When generating a special effect short video or special effect image, there may be a problem of repeated trial before shooting a special effect, that is, an operation of uploading an image or shooting an image is triggered multiple times, and the image is processed to generate a corresponding special effect image.
[0004] At this time, the server may receive multiple processing requests, and a new processing request may be triggered again before a corresponding special effect image is generated, causing waste of server resources. Further, repeated trial before shooting may cause a situation that a user only tries and does not submit, thereby causing poor interactivity. SUMMARY
[0005] Embodiments of the present disclosure provide an information processing method and device, an electronic device, and a storage medium, which can dynamically update a resource attribute corresponding to a target object, and then determine whether to perform a special effect on the target object in combination with the resource attribute, thereby relieving the technical effect of server processing pressure.
[0006] In a first aspect, embodiments of the present disclosure provide an information processing method, which includes:
[0007] obtaining a resource attribute of the target object when detecting an operation of triggering the target object;
[0008] updating the resource attribute of the target object in response to a first triggering operation of a user for using the target object when detecting that the resource attribute meets a preset condition; and
[0009] processing a target subject based on the target object, and displaying a processing result on a display interface.
[0010] In a second aspect, embodiments of the present disclosure also provide a page display device, which includes:
[0011] a resource attribute obtaining module configured to obtain a resource attribute of the target object when detecting an operation of triggering the target object;
[0012] a resource attribute updating module configured to update the resource attribute of the target object in response to a first triggering operation of a user for using the target object when detecting that the resource attribute meets a preset condition; and
[0013] The results display module is used to process the target subject based on the target object and display the processing results on the display interface.
[0014] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:
[0015] One or more processors;
[0016] Storage device for storing one or more programs.
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the information processing method provided in the embodiments of this disclosure.
[0018] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the information processing method provided in embodiments of this disclosure.
[0019] The technical solution provided in this disclosure, upon detecting an operation that triggers the target object, can first retrieve the resource attributes of the target object. Then, when the resource attributes meet preset conditions, it can respond to the user's first trigger operation regarding the use of the target object, processing the target subject based on the target object and displaying the processing result on the display interface. Simultaneously, it can update the resource attributes of the target object. This solves the problems in the prior art where, during the shooting of special effects videos or images, repeated use of special effects objects leads to high server processing pressure, and users only try out the effects without submitting them, resulting in poor interactive effects. It achieves the constraint of the frequency of user requests to the server based on resource attributes, thereby alleviating the server's processing pressure. Furthermore, it can incentivize users to publish the processed special effects images based on resource attributes, allowing other terminal users to use the effect of the target object, thus improving interactivity. Attached Figure Description
[0020] 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. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0021] Figure 1 This is a schematic flowchart of an information processing method provided in an embodiment of the present disclosure;
[0022] Figure 2 This is a schematic flowchart of an information processing method provided in an embodiment of the present disclosure;
[0023] Figure 3 A flowchart of an information processing method provided by an embodiment of the present disclosure is shown in FIG. 2;
[0024] Figure 4 A flowchart of an information processing method provided by an embodiment of the present disclosure is shown in FIG. 2;
[0025] Figure 5 A structural diagram of an information processing apparatus provided by an embodiment of the present disclosure is shown in FIG. 3;
[0026] Figure 6 A structural diagram of an electronic device provided by an embodiment of the present disclosure is shown in FIG. 4. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described in more detail by referring to the drawings. Although certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, but rather the embodiments are provided so as to more completely and thoroughly understand the present disclosure. It is understood that the drawings and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the scope of the present disclosure.
[0028] It should be understood that each step recited in the method embodiments of the present disclosure can be executed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] The term “comprising” and variations thereof as used herein are used inclusively, i.e., “comprising but not limited to.” The term “based on” is “based at least in part on.” The term “one embodiment” means “at least one embodiment.” The term “another embodiment” means “at least one additional embodiment.” The term “some embodiments” means “at least some embodiments.” Related definitions of other terms will be given in the description below.
[0030] It should be noted that the terms “first”, “second”, and the like used in the present disclosure are merely used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the terms “one”, “multiple” used in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that “one or more” should be understood unless otherwise explicitly stated in the context.
[0032] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are merely used for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0033] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type, use range, use scenario, etc. of the personal information involved in the present disclosure should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.
[0034] For example, in response to receiving the active request of the user, prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will require obtaining and using the personal information of the user. Thus, the user can voluntarily choose whether to provide the personal information to the software or hardware such as the electronic device, application program, server or storage medium, etc. that performs the operation of the technical solutions of the present disclosure according to the prompt information.
[0035] As an optional but non-limiting implementation manner, in response to receiving the active request of the user, the manner of sending the prompt information to the user may, for example, be a pop-up window manner, and the prompt information may be presented in the form of text in the pop-up window. In addition, the pop-up window may also carry selection controls for the user to select "agree" or "disagree" to provide the personal information to the electronic device.
[0036] It can be understood that the above notification and user authorization process is only illustrative and does not limit the implementation manner of the present disclosure, and other manners that meet the relevant laws and regulations can also be applied to the implementation manner of the present disclosure.
[0037] It can be understood that the data involved in the present technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the relevant laws and regulations and related provisions.
[0038] Before introducing the embodiments of the present disclosure, the application scenario can be exemplarily described. In the short video shooting, special effect video shooting and special effect image generation scenarios, the user can trigger the corresponding special effect props to generate special effect videos or special effect images under the special effect props, or only try the corresponding special effect props each time to preview the special effect images under different special effects. That is, before shooting special effect videos or special effect images, the user will repeatedly trigger the corresponding special effect props, which causes the server to have a very large pressure of processing requests and is easy to produce some redundant requests. For example, before the special effect image corresponding to a special effect prop is generated, a new special effect request is received, and the server will process the special effect request received again, causing waste of server resources. Further, the trial can be repeated before starting to shoot and record, which makes it difficult to produce a contribution of the recorded video.
[0039] It also needs to be explained that for a certain special effect prop, the optional, AI special effect, for different user attributes, the generated special effect image style is different, and the user attributes can include gender, age and other information, wherein the gender, age and other information can be automatically identified based on existing analysis software, and the accuracy of the identification is not within the protection scope of the embodiment. Based on the identification result, different style special effect images can be generated. Based on this, the user can repeatedly upload or shoot images to generate different style special effect images. Therefore, the scheme provided by the embodiment of the disclosure can not only reduce the processing pressure of the server, but also improve the contribution rate of the user.
[0040] Figure 1 A flowchart of an information processing method provided by the embodiment of the disclosure is provided. The embodiment of the disclosure is applicable to any scenario that needs to update resource attributes. The method can be executed by an information processing device, which can be implemented in the form of software and / or hardware. Optionally, the device can be implemented by an electronic device, which can be a mobile terminal such as a mobile phone, a smart watch, a tablet computer, a personal digital assistant, a personal computer (PC) or a server.
[0041] As shown in Figure 1 , the method comprises:
[0042] S110, when detecting an operation of triggering a target object, acquiring a resource attribute of the target object.
[0043] The target object can be any triggerable special effect object. Optionally, the special effect object can be any special effect prop used in a short video shooting scene. The special effect prop can be a resource usage package, which can correspond to text, stickers, or a resource that is subject to overall special effect processing, or an image generation model that generates a corresponding special effect image. The image generation model can generate special effect images of different styles. The resource attribute can be the current available frequency of the target object. The operation on the target object can be a key click operation on the target object, a mouse click operation on the target object, or a touch operation on the target object under a touch screen condition.
[0044] Specifically, when a user triggers an application, a main interface of the application can be displayed on a display interface. A plurality of special effect props can be displayed in a certain area of the main interface. The displayed plurality of special effect props can be used as triggerable objects. The user can click any one of the plurality of triggerable objects as a target object. The server can call the resource attribute corresponding to the target object.
[0045] It can be understood that after detecting the click target object, the resource attribute corresponding to the target object, i.e. the current available number of times of the target object, can be called.
[0046] In the embodiment, before obtaining the resource attribute of the target object, the resource attribute matched with the target object can be determined. Optionally, if the target object is triggered for the first time, the resource attribute is configured for the target object; if the target object is not triggered for the first time, the resource attribute corresponding to the target object is called; wherein the resource attribute is determined based on the historical operation associated with the target object.
[0047] Generally, for an application, the number of objects to be triggered includes multiple objects, and not every object to be triggered will be triggered. Therefore, after detecting the trigger target object, the resource attribute of the target object can be determined according to the trigger attribute corresponding to the target object.
[0048] The trigger attribute includes a first trigger attribute or a non-first trigger attribute.
[0049] Specifically, if it is a first trigger attribute, it means that the target object has not been used, and the corresponding resource attribute can be configured for it. It should be noted that the first configuration of the resource attribute is mainly to configure the preset attribute. If it is a non-first trigger target object, it means that the target object has been used, i.e. the server has stored the resource attribute corresponding to the target object. At this time, the resource attribute corresponding to the target object can be called, and the resource attribute is an updated resource attribute based on the use of the target object.
[0050] For example, the resource attribute corresponds to the available frequency of the target object. If the target object is triggered for the first time, the resource attribute configured for the target object is the preset resource attribute. Optionally, the available frequency corresponding to the preset resource attribute is 3 times, and the specific available frequency can be set according to actual needs. If it is not the first use, the resource attribute corresponding to the target object stored in the server is obtained. At this time, the resource attribute corresponding to the target object stored in the server is determined based on the historical operation of the user on the target object. The associated historical operation can include the operation of performing special effect processing based on the target object, or the operation of publishing the content after special effect processing.
[0051] For example, referring to Figure 2 Before starting shooting, when detecting the operation of triggering the target object, the server can be requested to store the resource attribute corresponding to the target object. At the same time, it can be judged whether it is used for the first time, if yes, the resource attribute can be configured for it, and the resource attribute is the available frequency, which can be assigned to the target object with 3 available times, if not, the stored resource attribute can be obtained, and the resource attribute at this time is determined based on the historical operation of the user.
[0052] S120, in response to a first trigger operation of the user for using the target object, when it is detected that the resource attribute meets the preset condition, and updating the resource attribute of the target object.
[0053] The preset condition is a condition for determining whether to respond to the first trigger operation. The first trigger operation can be understood as a trigger operation of using the target object on the target object.
[0054] It can be understood that when it is detected that the resource attribute meets the preset condition, the first trigger operation of the user for using the target object can be responded to, and an event corresponding to the trigger operation can be executed. When the event corresponding to the first trigger operation is executed, the server can update the resource attribute of the target object. The advantage of such setting is that the problem of the server responding to the request infinitely many times is solved, and further, since the resource attribute is updated, the user corresponding to the client can be effectively reminded.
[0055] For example, continuing to refer to Figure 2 If the resource attribute (current trial times) meets the preset condition (greater than 0 times), the first trigger operation of the user for using the target object can be responded to.
[0056] In this embodiment, the first trigger operation includes an operation of uploading a to-be-processed image including the target subject, or the first trigger operation is an operation of shooting a to-be-processed image including the target subject, and updating the resource attribute of the target object includes updating the resource attribute of the target object according to a preset adjustment attribute.
[0057] The preset adjustment attribute can be an attribute of updating a step length on the basis of the obtained resource attribute. For example, the preset adjustment attribute is 1, that is, the update step length is 1, and when it is detected that the first trigger operation is executed, the original resource attribute can be reduced according to the preset adjustment attribute to obtain an updated resource attribute, and the updated resource attribute is stored to the server.
[0058] For example, continuing to refer to Figure 2 After responding to the first trigger operation of the user for using the target object, the resource attribute of the target object can be updated according to the preset adjustment attribute, which can be a preset number of times subtracted from the resource attribute. At this time, the preset adjustment attribute can be the preset number of times.
[0059] S130, processing the target subject based on the target object, and displaying the processing result on the display interface.
[0060] It should be noted that when the resource attribute meets the preset condition and the first trigger operation is detected, it means that the target object can process the target subject, at this time, the target object can process the target subject, and the processing result is displayed on the real interface.
[0061] The target subject can be an image to be processed, or an object in the image to be processed that needs to be processed. Optionally, the object can be a user, an animal or plant, or a pre-set object, etc. The display interface can be understood as an interface presented by the terminal device, i.e. a display interface for displaying the processing result.
[0062] On the basis of the above technical solution, if the resource attribute does not meet the preset condition or the updated resource attribute does not meet the preset condition, the method can be: displaying the resource attribute and the guide information corresponding to the resource attribute in the target area of the display interface, so that the user updates the resource attribute after performing an operation corresponding to the guide information, so that the resource attribute meets the preset condition.
[0063] The guide information can be information guiding the user to perform a corresponding operation to update the resource attribute. Optionally, the guide information can be a text description that the current number of trials reaches the upper limit and needs to be published or contributed to continue the trial. The target area can be any area in the display interface, as long as the corresponding guide information can be displayed.
[0064] It can be understood that if the resource attribute does not meet the preset condition or the updated resource attribute does not meet the preset condition, the resource attribute and the corresponding guide information can be displayed on the display interface. On the one hand, it can remind the user that the current resource attribute has been used up, and on the other hand, it can remind the user to perform a corresponding operation to obtain more resource attributes.
[0065] In this embodiment, when the resource attribute reaches a preset attribute threshold, a second interface is displayed on the display interface to update the resource attribute based on a trigger operation on a target control on the second display interface. The second interface includes the target control, and the target control is a value control for obtaining the resource attribute.
[0066] The preset attribute threshold can be a pre-set minimum limit value. Optionally, the preset attribute threshold can be 0. The second interface can be a new interface popped up or a pop-up window interface. The target control can be a control for entering value payment.
[0067] In actual application, there can be a problem that the user does not perform even if the guidance information is displayed on the display interface, at this time, there can be a case that the resource attribute reaches the preset attribute threshold. When the user tries the target object again, a second interface can be displayed on the display interface, and the target control is displayed in the second interface. When the target control is triggered, the payment interface or the task interface can be jumped to obtain the resource attribute corresponding to the target object.
[0068] The technical solution provided by the embodiments of the present disclosure can first call the resource attribute of the target object when detecting the operation of triggering the target object, and then respond to the first trigger operation of the user for using the target object to process the target subject based on the target object and display the processing result on the display interface when detecting that the resource attribute meets the preset condition, and update the resource attribute of the target object, which solves the problem in the prior art that when shooting special effect videos or special effect images, the service server processing pressure is large due to repeated trial of special effect objects, and the user only tries without submitting, thereby causing poor interactive effect, and realizes that the frequency of the user initiating a request to the service server is constrained based on the resource attribute, thereby relieving the processing pressure of the service server, and further, the user can be stimulated to publish the special effect image obtained by processing based on the resource attribute, so that other terminal users can use the effect of the target object, thereby improving the interactivity.
[0069] Figure 3 For the information processing method flowchart provided by the embodiments of the present disclosure, on the basis of the foregoing embodiments, the target object can include at least one special effect prop, and correspondingly, the target subject is processed based on the target object and displayed in the display interface, and the specific processing manner can be referred to the detailed description of the embodiments, wherein the same or corresponding technical terms as the above embodiments are not described herein.
[0070] As shown in Figure 3 , the method comprises:
[0071] S210, when detecting the operation of triggering the target object, acquiring the resource attribute of the target object.
[0072] S220, when detecting that the resource attribute meets the preset condition, responding to the first trigger operation of the user for using the target object, and updating the resource attribute of the target object.
[0073] S230, based on the special effect prop corresponding to the target object, processing the target subject to obtain the special effect image corresponding to the image to be processed.
[0074] It can be understood that at least one to-be-triggered object can be displayed in a certain area of the display interface, and at this time, the displayed is mainly a thumbnail corresponding to the to-be-triggered object. The to-be-triggered object corresponds to a certain special effect prop, that is, when the special effect prop is triggered, the special effect processing can be performed on it. Different to-be-triggered objects correspond to different special effect props. The target subject can be a to-be-processed image collected or uploaded, or a pre-set object of a certain type in the to-be-processed image. Optionally, the target subject can be a user, an animal, a plant, or a landscape painting. The to-be-processed image can be an uploaded image or an image captured after triggering the target object. The target subject can be processed based on a special effect resource package corresponding to the target object to obtain a special effect image.
[0075] S240, displaying the special effect image on the display interface.
[0076] Specifically, the special effect image processed by the special effect processing can be displayed on the display interface.
[0077] The technical scheme provided by the embodiments of the present disclosure can first call the resource attribute of the target object when detecting the operation of triggering the target object, and then respond to the first triggering operation of the user for using the target object to process the target subject based on the target object and display the processing result on the display interface when detecting that the resource attribute meets the preset condition. At the same time, the resource attribute of the target object can be updated, which solves the problem that in the prior art, when shooting a special effect video or a special effect image, the service server processing pressure is large due to repeated trial of special effect objects, and the user only tries without submitting, thereby causing poor interaction effect. The frequency of the user initiating a request to the service server is constrained based on the resource attribute, thereby relieving the processing pressure of the service server. Further, the user can be stimulated to publish the special effect image processed to make other terminal users use the effect of the target object, thereby improving the interactivity.
[0078] Figure 4 For the information processing method flowchart provided by the embodiments of the present disclosure, on the basis of the foregoing embodiments, after displaying the processing result on the display interface, it further includes: if the second operation is detected, updating the resource attribute of the target object based on the second operation. The specific implementation can be referred to the detailed description of the embodiments, and the same or corresponding technical terms as the above embodiments are not described here.
[0079] As Figure 4 shown, the method includes:
[0080] S310, when detecting the operation of triggering the target object, acquiring the resource attribute of the target object.
[0081] S320, in response to a first trigger operation of the user for using the target object, when it is detected that the resource attribute meets the preset condition, and updating the resource attribute of the target object.
[0082] S330, processing a target subject based on the target object, and displaying a processing result on a display interface.
[0083] S340, when a second operation is triggered on the display interface, determining a resource update attribute corresponding to the second operation.
[0084] The second operation corresponds to an operation of publishing or submitting a processing result. Optionally, a publishing control is triggered, and a special effect video or a special effect image is uploaded to a server to be distributed to other terminal devices for display. The resource update attribute mainly corresponds to the second operation. The first trigger operation corresponds to a preset resource attribute, and the second operation corresponds to a resource update attribute. The resource update attribute can include a preset update attribute value. Optionally, the preset update attribute value is an attribute value superimposed on the basis of an existing resource attribute.
[0085] For example, continuing to refer to Figure 2 The second operation includes an operation of recording, publishing or submitting. In response to the second operation, the resource update attribute can be obtained at the beginning of effect display. Optionally, the resource update attribute is 3, and the resource update attribute can be superimposed on the basis of the target object resource attribute. After submission or publication, the server can update the resource attribute.
[0086] S350, updating the resource attribute of the target object according to the resource update attribute.
[0087] Specifically, after the resource update attribute is determined, the resource update attribute can be superimposed on the basis of the resource attribute of the target object to obtain an updated resource attribute.
[0088] The technical scheme provided by the embodiments of the present disclosure can first invoke the resource attribute of the target object when detecting the operation of triggering the target object, and then can respond to the first trigger operation of the user for using the target object to process the target subject based on the target object and display the processing result on the display interface when detecting that the resource attribute meets the preset condition, and the resource attribute of the target object can be updated, thereby solving the problem that in the prior art, when shooting special effect videos or special effect images, the service server is under great pressure due to repeated trial of special effect objects, and the user only tries without submitting, thereby causing poor interaction effect, the frequency of the user initiating a request to the service server is restricted based on the resource attribute, thereby relieving the processing pressure of the service server, and further, the user can be stimulated to publish the special effect image obtained by processing based on the resource attribute, so that other terminal users can use the effect of the target object, thereby improving the interactivity.
[0089] Figure 5 The information processing device structure schematic diagram provided by the embodiments of the present disclosure is integrated in a service server, as shown in Figure 5 The device includes a resource attribute acquisition module 410, a resource attribute update module 420, and a result display module 430. Among them,
[0090] The resource attribute acquisition module 410 is configured to acquire the resource attribute of the target object when detecting the operation of triggering the target object; the resource attribute update module 420 is configured to update the resource attribute of the target object in response to the first trigger operation of the user for using the target object when detecting that the resource attribute meets the preset condition; and the result display module 430 is configured to process the target subject based on the target object and display the processing result on the display interface.
[0091] On the basis of the above technical scheme, the resource attribute acquisition module includes the following before acquiring the resource attribute of the target object:
[0092] The first resource attribute acquisition unit is configured to configure the resource attribute for the target object if the target object is triggered for the first time; the second resource attribute acquisition unit is configured to invoke the resource attribute corresponding to the target object if the target object is triggered for the second time; and the resource attribute is determined based on the historical operation associated with the target object.
[0093] On the basis of the above technical scheme, the first trigger operation includes the operation of uploading the image to be processed including the target subject, or the first trigger operation is the operation of shooting the image to be processed including the target subject, and the resource attribute update module is further configured to update the resource attribute of the target object according to the preset adjustment attribute.
[0094] On the basis of the technical solutions above, the target object comprises at least one special effect prop, and the result display module comprises:
[0095] a special effect image processing unit, configured to perform special effect processing on the target subject based on the special effect prop corresponding to the target object, to obtain a special effect image corresponding to the image to be processed; and a display unit, configured to display the special effect image on the display interface.
[0096] On the basis of the technical solutions above, the device further comprises:
[0097] a resource update attribute determination module, configured to determine a resource update attribute corresponding to a second operation when detecting that the second operation is triggered on the display interface; and a resource attribute update module, configured to update the resource attribute of the target object according to the resource update attribute.
[0098] On the basis of the technical solutions above, when the resource attribute does not satisfy a preset condition or the updated resource attribute does not satisfy the preset condition, the device comprises a display module, configured to display the resource attribute and guide information corresponding to the resource attribute on a target region of the display interface, so that the user updates the resource attribute after performing an operation corresponding to the guide information, to make the resource attribute satisfy the preset condition.
[0099] On the basis of the technical solutions above, the device further comprises an update module, configured to display a second interface on the display interface when the resource attribute reaches a preset attribute threshold, to update the resource attribute based on a triggering operation on a target control on the second display interface; wherein the second interface comprises the target control, and the target control is a value control used to obtain the resource attribute.
[0100] The technical solutions provided by the embodiments of the present disclosure can first call the resource attribute of the target object when detecting an operation of triggering the target object, and then, when detecting that the resource attribute satisfies a preset condition, can respond to a first triggering operation of the user on the target object, to process the target subject based on the target object and display the processing result on the display interface, and at the same time, can update the resource attribute of the target object, thereby solving the problem in the prior art that when shooting a special effect video or a special effect image, the service end processing pressure is large due to repeated trial of special effect objects, and the user only tries without submitting, thereby causing poor interactive effect, and realizing the constraint on the frequency of the user initiating a request to the service end based on the resource attribute, thereby relieving the processing pressure of the service end, and further, the user can be stimulated to publish the special effect image obtained by processing in combination with the resource attribute, so that other terminal users can use the effect of the target object, thereby improving the interactivity.
[0101] The information processing apparatus provided in this disclosure can execute the information processing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the method.
[0102] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.
[0103] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Reference is made below. Figure 6 It illustrates an electronic device suitable for implementing embodiments of the present disclosure (e.g., Figure 6 The diagram below shows the structure of the terminal device or server 500. The terminal device in this embodiment may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and vehicle terminals (e.g., vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0104] like Figure 6 As shown, electronic device 500 may include a processing unit (e.g., central processing unit, graphics processor, etc.) 501, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 502 or a program loaded from storage device 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via bus 504. An edit / output (I / O) interface 505 is also connected to bus 504.
[0105] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6The electronic device 500 is illustrated with various means, but it is understood that not all of the illustrated means need be present in every embodiment. A greater or lesser number of means can be implemented.
[0106] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for executing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
[0107] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0108] The electronic device provided by the embodiments of the present disclosure and the information processing method provided by the above-mentioned embodiments belong to the same inventive concept, and the technical details not described in detail in the present embodiment can be referred to the above-mentioned embodiments, and the present embodiment has the same beneficial effects as the above-mentioned embodiments.
[0109] The embodiments of the present disclosure provide a computer storage medium, which stores a computer program, and the program is executed by a processor to implement the information processing method provided by the above-mentioned embodiments.
[0110] The embodiments of the present disclosure provide a computer program product, which includes a computer program, and the program is executed by a processor to implement the information processing method provided by the above-mentioned embodiments.
[0111] It should be noted that the computer-readable medium described above can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in baseband or propagated as a carrier wave in a propagated data signal, in which the computer-readable program code is contained. Such a propagated data signal can take many forms, including but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium that can send, propagate or transfer the program for use by or in connection with the instruction execution system, apparatus or device. The program code contained in the computer-readable medium can be transmitted by any suitable medium, including but not limited to, wire, cable, RF (radio frequency), etc., or any suitable combination of the above.
[0112] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.
[0113] The computer-readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device, and not be assembled into the electronic device.
[0114] The computer readable medium described above carries one or more programs, when the one or more programs are executed by the electronic device, cause the electronic device to: play a target video in a preset page; and display a set of object identifiers associated with the target video in the preset page, wherein the set of object identifiers includes object identifiers corresponding to a plurality of explanation objects associated with the target video, the set of object identifiers includes a first object identifier displayed in a first display manner and a second object identifier displayed in a second display manner, the first object identifier is used to trigger a preset interaction event of the corresponding explanation object, and the first object identifier includes an object identifier corresponding to a first target explanation object, and a display state of the first target explanation object satisfies a preset condition.
[0115] Computer program code for carrying out operations of the present disclosure can be written in any of one or more programming languages or combinations of languages including object or visual programming languages such as Java, Smalltalk, C++ or conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0116] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a procedure, or a part of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that noted in the figures. For example, two blocks noted in succession can in fact be executed substantially concurrently or in the opposite order, depending on the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations of blocks in the block diagrams and / or flow diagrams, can be implemented by dedicated hardware-based systems that carry out specified functions or operations, or combinations of dedicated hardware and computer instructions.
[0117] The units described in the embodiments of the present disclosure can be implemented by software or by hardware. In some cases, the name of a module does not limit the module itself. For example, a video playing module can also be described as a module that plays a target video in a preset page.
[0118] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, example types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Application-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0119] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0120] According to one or more embodiments of the present disclosure, an information processing method is provided, comprising:
[0121] When detecting an operation triggering a target object, obtaining a resource attribute of the target object;
[0122] When detecting that the resource attribute meets a preset condition, updating the resource attribute of the target object in response to a first triggering operation of the target object by a user; and
[0123] Processing a target subject based on the target object, and displaying a processing result on a display interface.
[0124] According to one or more embodiments of the present disclosure, before the obtaining of the resource attribute of the target object, the method further comprises:
[0125] If the target object is triggered for the first time, configuring a resource attribute for the target object;
[0126] If the target object is not triggered for the first time, a resource attribute corresponding to the target object is invoked, wherein the resource attribute is determined based on a historical operation associated with the target object.
[0127] According to one or more embodiments of the present disclosure, the first trigger operation includes an operation of uploading a to-be-processed image including a target subject, or the first trigger operation is an operation of taking a to-be-processed image including a target subject, updating a resource attribute of the target object, including:
[0128] The resource attribute of the target object is updated according to a preset adjustment attribute.
[0129] According to one or more embodiments of the present disclosure, the target object includes at least one special effect prop, the target object processes the target subject based on the target object, and a processing result is displayed on a display interface, including:
[0130] The target subject is processed based on a special effect prop corresponding to the target object to obtain a special effect image corresponding to the to-be-processed image;
[0131] The special effect image is displayed on the display interface.
[0132] According to one or more embodiments of the present disclosure, further comprising:
[0133] When a second operation is detected on the display interface, a resource update attribute corresponding to the second operation is determined;
[0134] The resource attribute of the target object is updated according to the resource update attribute.
[0135] According to one or more embodiments of the present disclosure, when the resource attribute does not satisfy a preset condition, or the updated resource attribute does not satisfy a preset condition, further comprising:
[0136] The resource attribute and guide information corresponding to the resource attribute are displayed on a target area of the display interface, so that the user updates the resource attribute after performing an operation corresponding to the guide information, so that the resource attribute satisfies the preset condition.
[0137] According to one or more embodiments of the present disclosure, further comprising:
[0138] When the resource attribute reaches a preset attribute threshold, a second interface is displayed on the display interface to update the resource attribute based on a trigger operation on a target control on the second display interface;
[0139] The second interface includes the target control, and the target control is a value control for obtaining the resource attribute.
[0140] According to one or more embodiments of the present disclosure, a page display device is provided, comprising:
[0141] a resource attribute obtaining module, configured to obtain a resource attribute of a target object when detecting an operation of triggering the target object;
[0142] a resource attribute updating module, configured to update the resource attribute of the target object in response to a first triggering operation of using the target object when detecting that the resource attribute meets a preset condition; and
[0143] a result display module, configured to process a target subject based on the target object, and display a processing result on an interface.
[0144] According to one or more embodiments of the present disclosure, an electronic device is provided, comprising:
[0145] one or more processors;
[0146] a storage device, configured to store one or more programs,
[0147] when the one or more programs are executed by the one or more processors, the one or more processors implement an information processing method provided by an embodiment of the present disclosure.
[0148] According to one or more embodiments of the present disclosure, a storage medium containing computer executable instructions is provided, which, when executed by a computer processor, is used to execute an information processing method provided by an embodiment of the present disclosure.
[0149] The above description is merely preferred embodiments of the present disclosure and a description of the principles of the technology applied. It should be understood by those skilled in the art that the disclosed scope of the present disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by any combinations of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with each other to form a technical solution with similar functions disclosed in the present disclosure (but not limited to).
[0150] Moreover, while operations are depicted in a particular order, this should not be understood as requiring such an order nor infringing on the scope of the disclosure. Certain of the operations described in the discussion are combinable into a single operation, and certain operations can be separated into several operations. In some embodiments, the operations described in the discussion can be performed in an order different than presented in the discussion. In some embodiments, the operations described in the discussion can be performed concurrently. Also, while several specific implementation details are discussed in the discussion, these should not be interpreted as limiting the scope of the disclosure. Rather, certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.
[0151] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. An information processing method, characterized in that, include: When an operation that triggers the target object is detected, the resource attributes of the target object are obtained; When the resource attribute is detected to meet the preset conditions, in response to the user's first trigger operation for using the target object, the resource attribute of the target object is updated; as well as, The target entity is processed based on the target object, and the processing results are displayed on the display interface; When the resource attribute does not meet the preset conditions, or the updated resource attribute does not meet the preset conditions, the method further includes: The resource attributes and corresponding guidance information are displayed in the target area of the display interface, so that after the user performs the operation corresponding to the guidance information, the resource attributes are updated so that the resource attributes meet the preset conditions.
2. The method according to claim 1, characterized in that, Before obtaining the resource attributes of the target object, the method further includes: If this is the first time the target object is triggered, then configure resource attributes for the target object; If the target object is not being triggered for the first time, the resource attributes corresponding to the target object are retrieved; wherein, the resource attributes are determined based on the historical operations associated with the target object.
3. The method according to claim 1, characterized in that, The first triggering operation includes uploading an image to be processed containing the target subject, or the first triggering operation includes capturing an image to be processed containing the target subject, and updating the resource attributes of the target object, including: Update the resource attributes of the target object according to the preset adjustment attributes.
4. The method according to claim 1, characterized in that, The target object includes at least one special effects prop. The process of processing the target subject based on the target object and displaying the processing result on the display interface includes: Based on the special effects props corresponding to the target object, special effects processing is applied to the target subject to obtain a special effects image corresponding to the image to be processed; The special effects image is displayed on the display interface.
5. The method according to claim 1, characterized in that, Also includes: When a second operation is detected to be triggered on the display interface, the resource update attribute corresponding to the second operation is determined; Update the resource attributes of the target object according to the resource update attributes.
6. The method according to claim 1, characterized in that, Also includes: When the resource attribute reaches a preset attribute threshold, a second interface is displayed on the display interface to update the resource attribute based on the trigger operation of the target control on the second interface. The second interface includes the target control, which is a value control used to obtain the resource attributes.
7. An information processing device, characterized in that, include: The resource attribute acquisition module is used to acquire the resource attributes of the target object when an operation that triggers the target object is detected. A resource attribute update module is configured to, upon detecting that the resource attribute meets preset conditions, respond to a user's first trigger operation regarding the use of the target object and update the resource attribute of the target object; and, The results display module is used to process the target subject based on the target object and display the processing results on the display interface; When the resource attribute does not meet the preset conditions, or the updated resource attribute does not meet the preset conditions, the device includes: a display module, used to display the resource attribute and corresponding guidance information in a target area of the display interface, so that after the user performs an operation corresponding to the guidance information, the resource attribute is updated so that the resource attribute meets the preset conditions.
8. An electronic device, characterized in that, The electronic device includes: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the information processing method as described in any one of claims 1-6.
9. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the information processing method as described in any one of claims 1-6.
Citation Information
Patent Citations
Target object display method and device and electronic equipment
CN111311339A
Object processing method and device
CN113887767A
Image processing method and device, equipment and storage medium
CN114510169A
Image-based commodity searching method and electronic equipment
CN116756168A