Image processing method, device, electronic device and computer readable storage medium

By automatically matching video features and image features, the problem of time-consuming and low matching of merchants manually processing images is solved, and the click rate of multimedia resources and merchant competitiveness are improved.

CN112100437BActive Publication Date: 2024-11-26BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202010946870.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-10
Publication Date
2024-11-26
Estimated Expiration
2040-09-10

AI Technical Summary

Technical Problem

In the prior art, merchants need to manually process images to create multimedia resources, resulting in high time costs and low matching of video features with images, resulting in low click-through rates of multimedia resources.

Method used

By obtaining the object identity of the target object, determining its object characteristics, matching video features based on the object characteristics, synthesizing multimedia resources, and updating resources based on the feature combination of the target user to improve the matching degree.

Benefits of technology

It improves the click rate of multimedia resources and the competitiveness of target objects, saves time and cost of image processing, and improves efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112100437B_ABST
    Figure CN112100437B_ABST
Patent Text Reader

Abstract

The present application discloses an image processing method, device, electronic device and computer-readable storage medium, which belong to the field of Internet technology. The method includes: obtaining an object identification of a target object; obtaining object features of the target object according to the object identification of the target object, the object features including at least one of the resource type, resource image and resource value of the target object; determining video features matching the target object according to the object features of the target object; synthesizing multimedia resources corresponding to the target object based on the resource image of the target object and the video features matching the target object. The video features determined by the above method have a high degree of match with the resource image and a high degree of match with the target object, which can improve the click-through rate of the synthesized multimedia resources. Moreover, the method does not require manual processing of the resource image, which can save the time cost of image processing and improve the efficiency of image processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of Internet technology, and in particular to an image processing method, device, electronic device, and computer-readable storage medium. Background Art

[0002] With the rapid development of Internet technology, more and more businesses are no longer limited to the traditional offline business model, and the online business model based on the Internet is becoming more and more popular. The online business model requires businesses to invest in multimedia resources in their shops to improve their competitiveness.

[0003] In the related art, merchants take photos of the goods sold in the store, obtain multiple images of the goods, and manually import the multiple images into the video production software to obtain a multimedia resource. Merchants can also randomly select video features such as video style, filter, background music, etc. in the toolbar of the video production software, and adjust the multimedia resources based on the determined video features to obtain the target multimedia resource, and then release the target multimedia resource.

[0004] However, the above-mentioned image processing method is a manual process of processing images, which easily leads to a waste of time and low efficiency of image processing; and the video features are determined based on the subjective consciousness of the merchant, which leads to a low matching degree between the video features and the image, thereby resulting in a low click-through rate of multimedia resources. Summary of the invention

[0005] The embodiments of the present application provide an image processing method, device, electronic device, and computer-readable storage medium, which can be used to solve the problems in the related art. The technical solution is as follows:

[0006] On the one hand, an embodiment of the present application provides an image processing method, the method comprising:

[0007] Get the object ID of the target object;

[0008] Acquire object features of the target object according to the object identifier of the target object, wherein the object features include at least one of a resource type, a resource image, and a resource value of the target object;

[0009] Determining video features matching the target object according to the object features of the target object;

[0010] Based on the resource image of the target object and the video features matching the target object, a multimedia resource corresponding to the target object is synthesized.

[0011] In a possible implementation, after synthesizing the multimedia resource corresponding to the target object based on the resource image of the target object and the video feature matching the target object, the method further includes:

[0012] In response to receiving a resource acquisition request from a target user, acquiring a user feature combination of the target user;

[0013] Generating target additional information matching the target user according to a combination of user characteristics of the target user;

[0014] Based on the target additional information, updating the multimedia resources corresponding to the target object to obtain the updated multimedia resources;

[0015] The updated multimedia resource is sent to the target user.

[0016] In a possible implementation, generating target additional information matching the target user according to the user feature combination of the target user includes:

[0017] Generating initial additional information matching the target user according to a combination of user characteristics of the target user;

[0018] Based on the video features matching the target object and the video features of the initial additional information, the initial additional information is adjusted to obtain the target additional information.

[0019] In a possible implementation manner, the user feature combination of the target user includes at least one of user information of the target user and scenario information of the target user.

[0020] In a possible implementation, updating the multimedia resource corresponding to the target object based on the target additional information to obtain the updated multimedia resource includes:

[0021] Inserting the target additional information into the target position of the multimedia resource corresponding to the target object to obtain the updated multimedia resource;

[0022] Alternatively, the target additional information replaces the resources of the target time period in the multimedia resources corresponding to the target object to obtain updated multimedia resources.

[0023] In a possible implementation, synthesizing the multimedia resource corresponding to the target object based on the resource image of the target object and the video feature matching the target object includes:

[0024] Generating a video corresponding to the target object according to the resource image of the target object;

[0025] According to the video features matching the target object, the video corresponding to the target object is adjusted to obtain multimedia resources corresponding to the target object.

[0026] In a possible implementation manner, determining, according to the object feature of the target object, a video feature matching the target object includes:

[0027] Inputting the object features of the target object into a target video feature determination model, wherein the target video feature determination model is used to determine video features that match the target object;

[0028] Based on the output result of the target video feature determination model, a video feature matching the target object is determined.

[0029] In a possible implementation manner, before inputting the object features of the target object into the target video feature determination model, the method further includes:

[0030] Obtain multimedia resources of multiple reference objects and the number of hits of each reference object;

[0031] Based on the multimedia resources of the multiple reference objects, obtaining object features of the multiple reference objects and video features corresponding to each reference object;

[0032] Based on the object features of the multiple reference objects, the video features corresponding to the respective reference objects, and the number of clicks on the respective reference objects, an initial video feature determination model is trained to obtain a target video feature determination model.

[0033] On the other hand, an embodiment of the present application provides an image processing device, the device comprising:

[0034] A first acquisition module, used to acquire an object identifier of a target object;

[0035] A second acquisition module, configured to acquire an object feature of the target object according to the object identifier of the target object, wherein the object feature includes at least one of a resource type, a resource image, and a resource value of the target object;

[0036] A determination module, configured to determine a video feature matching the target object according to the object feature of the target object;

[0037] A synthesis module is used to synthesize the multimedia resources corresponding to the target object based on the resource image of the target object and the video features matching the target object.

[0038] In a possible implementation, the second acquisition module is further configured to acquire a user feature combination of the target user in response to receiving a resource acquisition request from the target user;

[0039] The device also includes:

[0040] A generating module, used for generating target additional information matching the target user according to a combination of user characteristics of the target user;

[0041] An updating module, used for updating the multimedia resources corresponding to the target object according to the target additional information, to obtain the updated multimedia resources;

[0042] The sending module is used to send the updated multimedia resource to the target user.

[0043] In a possible implementation, the generation module is used to generate initial additional information matching the target user based on a combination of user features of the target user; and adjust the initial additional information based on the video features matching the target object and the video features of the initial additional information to obtain the target additional information.

[0044] In a possible implementation manner, the user feature combination of the target user includes at least one of user information of the target user and scenario information of the target user.

[0045] In one possible implementation, the update module is used to insert the target additional information into the target position of the multimedia resource corresponding to the target object to obtain the updated multimedia resource; or to replace the resource of the target time period in the multimedia resource corresponding to the target object with the target additional information to obtain the updated multimedia resource.

[0046] In a possible implementation, the synthesis module is used to generate a video corresponding to the target object based on a resource image of the target object; and adjust the video corresponding to the target object according to the video features matching the target object to obtain the multimedia resources corresponding to the target object.

[0047] In one possible implementation, the determination module is used to input the object features of the target object into a target video feature determination model, and the target video feature determination model is used to determine the video features that match the target object; based on the output results of the target video feature determination model, determine the video features that match the target object.

[0048] In a possible implementation, the second acquisition module is further configured to acquire multimedia resources of multiple reference objects and the number of clicks on each reference object; based on the multimedia resources of the multiple reference objects, obtain object features of the multiple reference objects and video features corresponding to each reference object;

[0049] The device also includes:

[0050] The training module is used to train the initial video feature determination model based on the object features of the multiple reference objects, the video features corresponding to the respective reference objects, and the click volume of the respective reference objects to obtain a target video feature determination model.

[0051] On the other hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement any of the above-mentioned image processing methods.

[0052] On the other hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to implement any of the above-mentioned image processing methods.

[0053] On the other hand, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor to implement any of the above-mentioned image processing methods.

[0054] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0055] The technical solution provided in the embodiment of the present application determines the video features according to the resource image of the target object, so that the determined video features have a high degree of match with the resource image, that is, the determined video features have a high degree of match with the target object, thereby improving the click-through rate of the subsequently synthesized multimedia resources and also improving the competitiveness of the target object. Moreover, the image processing method in the present application does not require manual processing of the resource image, which can save the time cost of image processing and improve the efficiency of image processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0057] Figure 1 It is a schematic diagram of an implementation environment of an image processing method provided in an embodiment of the present application;

[0058] Figure 2 is a flow chart of an image processing method provided by an embodiment of the present application;

[0059] Figure 3 is a schematic diagram of an updated multimedia resource provided in an embodiment of the present application;

[0060] Figure 4 is a schematic diagram of another updated multimedia resource provided in an embodiment of the present application;

[0061] Figure 5 is a flow chart of an image processing method provided by an embodiment of the present application;

[0062] Figure 6 is a flow chart of an image processing method provided by an embodiment of the present application;

[0063] Figure 7 is a structural schematic diagram of an image processing device provided in an embodiment of the present application;

[0064] Figure 8 It is a structural diagram of a server provided in an embodiment of the present application;

[0065] Fig. 9 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0067] Figure 1 is a schematic diagram of an implementation environment of an image processing method provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: a server 101 , a first electronic device 102 , and a second electronic device 103 .

[0068] The server 101 is a server or a server cluster composed of multiple servers. The server 101 may be at least one of a cloud computing platform and a virtualization center, which is not limited in the present embodiment. The server 101 is used to execute the image processing method provided in the present embodiment. Of course, the server 101 may also include other functional servers to provide more comprehensive and diversified services.

[0069] The first electronic device 102 and the second electronic device 103 are at least one of a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, and a laptop computer. The first electronic device 102 and the second electronic device 103 are both communicatively connected to the server 101 via a wired network or a wireless network. The first electronic device 102 is an electronic device on the target object side, such as an electronic device on the seller side; the first electronic device 102 is used to send an image processing request to the server 101. The second electronic device 103 is an electronic device on the target user side, such as an electronic device on the buyer side; the second electronic device 103 is used to receive multimedia resources corresponding to the target object sent by the server 101, and the second electronic device 103 is also used to display multimedia resources corresponding to the target object.

[0070] The first electronic device 102 and the second electronic device 103 may generally refer to one of a plurality of electronic devices. This embodiment is only illustrated by taking the first electronic device 102 and the second electronic device 103 as examples. Those skilled in the art may know that the number of the first electronic device 102 and the second electronic device 103 may be more or less. For example, the first electronic device 102 and the second electronic device 103 may be only one, or the first electronic device 102 and the second electronic device 103 may be dozens or hundreds, or more. This embodiment of the application does not limit the number and device type of the first electronic device and the second electronic device.

[0071] Based on the above implementation environment, the present application embodiment provides an image processing method. Figure 2 As an example, the flowchart of an image processing method provided in the embodiment of the present application is shown in FIG. Figure 1 The server 101 in the embodiment is executed. Figure 2 As shown, the method comprises the following steps:

[0072] In step 201, an object identifier of a target object is obtained.

[0073] In the exemplary embodiment of the present application, an application for image processing is installed and run in the server, and the application is any application that can generate a video based on an image, and the embodiment of the present application does not limit the application. For example, the application is AVS Video Editor.

[0074] In a possible implementation, the server receives an image processing request sent by the first electronic device, the image processing request carries the object identification of the target object, and the server parses the image processing request to obtain the object identification of the target object carried in the image processing request, that is, the server obtains the object identification of the target object. The object identification is the business license number of the target object, or the number of the business license of the target object, or the object name of the target object, or other identification used to uniquely indicate the target object. The embodiment of the present application does not limit the object identification of the target object.

[0075] In a possible implementation, the target object is an object with image processing requirements. For example, for some recommendation applications, some recommendation information can be displayed on the recommendation page, and the target object can be a store or product to be recommended displayed on the recommendation page. For example, the target object is a target store, and the object identifier of the target object is the business license number of the target object.

[0076] In step 202, object features of the target object are acquired according to the object identifier of the target object.

[0077] The object feature of the target object includes at least one of the resource type, resource image and resource value of the target object. The resource type is the product type of the product sold by the target object, the resource image is the product image of the product sold by the target object, and the resource value is the average price of the product sold by the target object.

[0078] In a possible implementation, the storage space of the server stores object features of multiple objects, including the target object. To facilitate subsequent acquisition of the object features of the target object, the object features of each object are stored together with the object identifier of each object.

[0079] After the server receives the image processing request and parses the image processing request to obtain the object identification of the target object, the server extracts the object features of the target object in the storage space based on the object identification of the target object, that is, the server obtains the object features of the target object.

[0080] Exemplarily, after receiving the image processing request, the server parses the image processing request and obtains an object identifier of 002 . Therefore, the server extracts the object features of the object with the object identifier of 002 .

[0081] For example, based on the object identifier of the target object, the object features of the target object obtained by the server are: the resource type is crayfish, the resource image is a picture of crayfish, and the resource value is 50 yuan.

[0082] For another example, based on the object identifier of the target object, the object features of the target object obtained by the server are: the resource type is braised chicken, the resource image is a picture of braised chicken, and the resource value is 15 yuan.

[0083] In step 203, based on the object features of the target object, video features matching the target object are determined.

[0084] The video features include at least one of a video template, a video filter, an arrangement order of images in the video, a transition effect of the video, and background music of the video.

[0085] In a possible implementation, before determining the video features matching the target object based on the object features of the target object, it is necessary to first obtain a target video feature determination model. The process of obtaining the target video feature determination model includes the following steps 1 to 3.

[0086] Step 1: Obtain multimedia resources of multiple reference objects and the number of clicks of each reference object.

[0087] In a possible implementation, a server stores multimedia resources of multiple reference objects and the number of clicks on each reference object. The multimedia resources of the multiple reference objects are multimedia resources manually created by users, and the server obtains the multimedia resources of the multiple reference objects and the number of clicks on each reference object. The number of clicks includes information such as the number of times the multimedia resource is clicked, the number of transactions generated by clicking the multimedia resource, and so on.

[0088] It should be noted that the number of multimedia resources of the reference object obtained by the server is an arbitrary value, and the embodiment of the present application does not limit this.

[0089] Step 2: Based on the multimedia resources of multiple reference objects, obtain the object features of each reference object and the video features corresponding to each reference object.

[0090] In a possible implementation, based on the acquired multimedia resources of multiple reference objects, the multimedia resources are parsed to obtain the object features of the reference objects included in the multimedia resources. That is, the multimedia resources of the reference objects are parsed to obtain the resource type, resource image and resource value of the reference objects.

[0091] In a possible implementation, after parsing the multimedia resource, the server can obtain a resource image in the multimedia resource, and the server performs type recognition on the resource image to obtain the resource type of the resource included in the resource image. The resource image may contain text information, and the text information may be the resource value. When there is text information in the resource image, the server performs text recognition on the resource image to obtain the text information in the resource image, and obtains the resource value of the resource included in the reference object based on the text information.

[0092] In one possible implementation, a server stores a plurality of candidate video templates, a plurality of candidate video filters, a plurality of candidate arrangement orders, a plurality of candidate transition effects, and a plurality of candidate background music. The server determines the degree of matching between the video template and a plurality of candidate video templates based on the video template in the multimedia resource of the reference object, and determines the candidate video template with the highest matching degree as the video template used by the multimedia resource of the reference object. Based on the above steps, the video filter, arrangement order, transition effect, and background music used by the multimedia resource of the reference object are determined in turn, so that the video features corresponding to the multimedia resource of the reference object can be determined.

[0093] Step 3: Based on the object features of multiple reference objects, the video features corresponding to each reference object, and the number of clicks on each reference object, the initial video feature determination model is trained to obtain a target video feature determination model.

[0094] In a possible implementation, based on the object features of the multiple reference objects, the video features corresponding to each reference object, and the number of clicks on each reference object, the initial video feature determination model is trained to obtain a target video feature determination model. The target video feature determination model stores the correspondence between the object features and the video features that match the object features. The training process is to determine the video feature with the highest number of clicks from the video features corresponding to each reference object according to the object features of the reference object and the number of clicks on the reference object as the video feature that matches the object feature, that is, the video feature that matches the reference object.

[0095] The initial video feature determination model is any type of model, which is not limited in the present embodiment. For example, the initial video feature determination model is a DIN (Deep Interest Network) model.

[0096] In a possible implementation, after the target feature determination model is acquired, the process of determining the video features matching the target object according to the object features of the target object is as follows:

[0097] The object features of the target object are input into the target video feature determination model, and the target video feature determination model is used to determine the video features matching the target object according to the object features of the target object. Based on the output result of the target video feature determination model, the video features matching the target object are determined.

[0098] For example, the object features of the target object are: the resource type is crayfish, the resource image is a picture of crayfish, and the resource value is 50 yuan. The object features of the target object are input into the target video feature determination model, and the video features matching the target object are obtained as follows: the video template is a quality enhancement template, the video filter is a delicious soft filter, the order of images in the video is sorted by image color vividness, the transition effect of the video is zooming and advancing, and the background music of the video is passionate music.

[0099] For another example, the object features of the target object are: the resource type is braised chicken, the resource image is a picture of braised chicken, and the resource value is 15 yuan. The object features of the target object are input into the target video feature determination model, and the video features matching the target object are obtained as follows: the video template is a discount enhancement template, the video filter is a contrast enhancement filter, the order of the images in the video is sorted according to the price of the products in the image, the transition effect of the video is gradual in and out, and the background music of the video is steady and cheerful music.

[0100] In step 204, multimedia resources corresponding to the target object are synthesized based on the resource image of the target object and the video features matching the target object.

[0101] In a possible implementation, the process of synthesizing the multimedia resource corresponding to the target object based on the resource image of the target object and the video features matching the target object includes the following steps 2041 to 2042.

[0102] Step 2041: Generate a video corresponding to the target object according to the resource image of the target object.

[0103] In a possible implementation, multiple resource images of the target object are imported into the image processing application, and the server automatically generates a video according to the multiple resource images of the target object, and the video is a video corresponding to the target object.

[0104] Step 2042: According to the video features matching the target object, the video corresponding to the target object is adjusted to obtain multimedia resources corresponding to the target object.

[0105] In a possible implementation, based on the video features matching the target object, the video features in the video corresponding to the target object are determined, and based on the video features, the video corresponding to the target object is adjusted to obtain the multimedia resources corresponding to the target object. That is, in the toolbar of the image processing application, the video template of the video corresponding to the target object is adjusted to the video template matching the target object, the video filter of the video corresponding to the target object is adjusted to the video filter matching the target object, and so on, so that the multimedia resources corresponding to the target object can be generated.

[0106] In a possible implementation, after synthesizing the multimedia resource corresponding to the target object based on the resource image of the target object and the video features matching the target object, the server can also receive a resource acquisition request sent by the target user's electronic device, thereby sending the multimedia resource of the target object to the target user's electronic device, so that the target user's electronic device can display the multimedia resource of the target object. The process includes the following steps 1 to 4.

[0107] Step 1: In response to receiving a resource acquisition request from a target user, a user feature combination of the target user is acquired.

[0108] In a possible implementation, the user feature combination of the target user includes at least one of user information of the target user and scene information of the target user. In response to receiving a resource acquisition request from the target user, obtaining the user feature combination of the target user includes the following process: in response to receiving the resource acquisition request from the target user, obtaining at least one of user information and scene information of the target user; determining the user feature combination of the target user according to at least one of user information and scene information of the target user.

[0109] Among them, the target user's resource acquisition request carries the target user's user identifier, which is the target user's mobile phone number, or the target user's name, or the target user's identity information, or other identifiers that can uniquely identify the target user, which is not limited in the embodiments of the present application. The target user's user information includes at least one of the target user's gender, constellation, age, and geographic location data; the target user's scene information includes at least one of time period, weather, and festival. Of course, the target user's user information and scene information may also include other information, and the above-mentioned information is only for illustration, which is not limited in the embodiments of the present application.

[0110] In a possible implementation, the server stores user information of the user. After receiving a resource acquisition request from a target user, the server parses the resource acquisition request, obtains a user identifier carried in the resource acquisition request, and obtains user information of the target user based on the user identifier.

[0111] After the server receives the resource acquisition request from the target user, the scene information of the target user is obtained by calling the clock module to determine the time period where the target user is located, calling the weather module to determine the weather conditions where the target user is located, and calling the calendar module to determine the festival corresponding to the resource acquisition request, so that the server can obtain the scene information of the target user.

[0112] Example 1: Based on the user ID of target user 1, the user information of target user 1 is obtained as follows: the gender of target user 1 is male, the zodiac sign is Aries, the age is 25 years old, and the geographical location data is Chengdu Hi-Tech Zone XXXX. The scene information of target user 1 is obtained as follows: the time period is lunch time, the weather is sunny, and there is no holiday.

[0113] Example 2: Based on the user ID of target user 2, the user information of target user 2 is obtained as follows: the gender of target user 2 is female, the zodiac sign is Cancer, the age is 19 years old, and the geographical location data is XXXX, Futian District, Shenzhen. The scene information of target user 2 is obtained as follows: the time period is the midnight snack time period, the weather is light rain, and there is no festival.

[0114] In a possible implementation, according to at least one of the user information of the target user and the scene information of the target user, based on the creative optimization model, a target number of information is selected from at least one of the user information and the scene information, and the target number of information is used as the user feature combination of the target user. Alternatively, a target number of information is randomly determined from at least one of the user information of the target user and the scene information of the target user as the user feature combination of the target user.

[0115] The value of the target number is set based on experience or adjusted according to different resource types, and the embodiment of the present application does not limit the value of the target number. For example, the value of the target number is 3 or 5.

[0116] It should be noted that the user feature combination may include only the user information of the target user, or only the scenario information of the target user, or may include both the user information and the scenario information of the target user. The embodiment of the present application does not limit the composition method of the user feature combination of the target user.

[0117] Exemplarily, based on at least one of the user information and scenario information of target user 1 in the above example 1, the determined user feature combination of target user 1 includes the zodiac sign, geographic location data, and time period of target user 1. Based on at least one of the user information and scenario information of target user 2 in the above example 2, the determined user feature combination of target user 2 includes the gender, geographic location data, and weather of target user 2.

[0118] Step 2: Generate target additional information matching the target user based on the user feature combination of the target user.

[0119] In a possible implementation, initial additional information matching the target user is generated based on a combination of user features of the target user. The initial additional information is any one of text information, picture information, and video information generated based on a combination of user features of the target user. The initial additional information is consistent with the type of multimedia resource corresponding to the target object, or the initial additional information is content of a different type from the multimedia resource corresponding to the target object. The embodiment of the present application does not limit the type of the initial additional information. Based on the video features matching the target object and the video features of the initial additional information, the initial additional information is adjusted to obtain the target additional information. The adjustment process of the initial additional information is as follows:

[0120] The video features of the initial additional information are determined. In response to the video features of the initial additional information being consistent with the video features that match the target object, the initial additional information does not need to be adjusted, and the initial additional information is determined as the target additional information. In response to the video features of the initial additional information being inconsistent with the video features that match the target object, the video features of the initial additional information are adjusted to be the video features that match the target object, and the target additional information is obtained.

[0121] Exemplarily, the initial additional information is video information, and the video features of the initial additional information are: the video template is a preferential enhancement template, the video filter is a contrast enhancement filter, the transition effect is zooming and advancing, the arrangement order of images in the video is sorted by the image color vividness, and the background music is smooth and cheerful music. The video features that match the target object are: the video template is a quality enhancement template, the video filter is a delicious and soft filter, the arrangement order of images in the video is sorted by the image color vividness, the video transition effect is zooming and advancing, and the background music of the video is passionate and hot music. Since the video features of the initial additional information are inconsistent with the video features that match the target object, the initial additional information is adjusted to obtain the target additional information. The features of the target additional information are consistent with the video features that match the target object.

[0122] For example, based on the user feature combination of target user one, the target additional information of target user one is obtained as: "Do you know what Aries in the High-tech Zone like to eat for lunch?", and based on the user feature combination of target user two, the target additional information of target user two is obtained as: "On rainy days, young ladies love to eat this snack in Futian District.".

[0123] Step 3: Based on the target additional information, update the multimedia resources corresponding to the target object to obtain the updated multimedia resources.

[0124] In a possible implementation, based on the target additional information, there are two ways to update the multimedia resources corresponding to the target object to obtain the updated multimedia resources.

[0125] Method 1: insert the target additional information into the target position of the multimedia resource corresponding to the target object to obtain the updated multimedia resource.

[0126] The target position is the start position, end position, or any position in between of the multimedia video corresponding to the target object. The embodiment of the present application does not limit the target position.

[0127] In a possible implementation, when the target additional information is a 5-second video and the multimedia resource corresponding to the target object is a 20-second video, the target additional information is inserted into the beginning position of the multimedia resource corresponding to the target object to obtain the updated multimedia resource. Figure 3 FIG. 1 is a schematic diagram of an updated multimedia resource provided by an embodiment of the present application. Figure 3 In the example, the target additional information is inserted into the starting position of the multimedia resource corresponding to the target object to obtain the updated multimedia resource, and the duration of the updated multimedia resource becomes 25 seconds.

[0128] Method 2: Replace the target additional information with the resources of the target time period in the multimedia resources corresponding to the target object to obtain the updated multimedia resources.

[0129] The resources of the target time period may be resources of any time period, and the duration of the target time period may also be a duration.

[0130] In a possible implementation, when the target additional information is a 5-second video and the multimedia video corresponding to the target object is a 20-second video, the target additional information replaces the 10th to 15th second resources in the multimedia resources corresponding to the target object to obtain the updated multimedia resources. Figure 4 FIG. 1 is a schematic diagram of another updated multimedia resource provided by an embodiment of the present application. Figure 4 In the example, the target additional information replaces the resources from the 10th to the 15th seconds of the multimedia resource of the target object to obtain the updated multimedia resource, and the duration of the updated multimedia resource is still 20 seconds.

[0131] It should be noted that any of the above methods can be selected to update the multimedia resources corresponding to the target object to obtain the updated multimedia resources, which is not limited in this embodiment of the present application.

[0132] It should also be noted that the above description only takes the target additional information as a video as an example. When the target additional information is text information or image information, the update process of the multimedia resources corresponding to the target object is the same as the update process when the target additional information is a video, and will not be repeated here.

[0133] Step 4: Send the updated multimedia resources to the target user.

[0134] In a possible implementation, the server sends the updated multimedia resource to the target user's electronic device based on the path of the resource acquisition request, and the target user's electronic device displays the updated multimedia resource.

[0135] It should be noted that the above-mentioned image processing process of the target object can also be executed by an electronic device. The embodiment of the present application only takes the execution subject of the image processing process of the target object as a server as an example for explanation, and is not used to limit the present application. When the execution subject of the image processing process of the target object is an electronic device, the image processing process is consistent with the image processing process of the server, and will not be repeated here.

[0136] The above method determines the video features according to the resource image of the target object, so that the determined video features have a high degree of match with the resource image, that is, the determined video features have a high degree of match with the target object, thereby improving the click-through rate of the subsequently synthesized multimedia resources and also improving the competitiveness of the target object. Moreover, the image processing method in the present application does not require manual processing of the resource image, which can save the time cost of image processing and improve the efficiency of image processing.

[0137] Figure 5 The flowchart of an image processing method provided by an embodiment of the present application is shown. The method can be Figure 1 The interaction process between the server 101, the first electronic device 102 and the second electronic device 103 shown in FIG. Figure 5 As shown, the method comprises the following steps:

[0138] In step 501, a first electronic device obtains an image processing request of a target object, where the image processing request carries an object identifier of the target object.

[0139] In an exemplary embodiment of the present application, the first electronic device is a seller-side electronic device, that is, a merchant-side electronic device. The target object is the seller's store, or a product sold in the seller's store. An application for image processing is installed and running in the first electronic device. The application can be any type of application, and the embodiment of the present application does not limit this. When the merchant clicks the image processing button in the application, an image processing request is generated, and the image processing request carries the object identifier of the target object.

[0140] In step 502, the first electronic device sends an image processing request of the target object to the server.

[0141] In a possible implementation, after generating an image processing request for the target object, the first electronic device directly sends the image processing request to the server, and the server processes the image of the target object.

[0142] In step 503, the server receives an image processing request sent by the first electronic device, and acquires object features of the target object based on the image processing request.

[0143] In a possible implementation, the process of the server acquiring the object features of the target object based on the image processing request refers to the process in the above steps 201 and 202, which will not be repeated here.

[0144] In step 504, the server determines a video feature that matches the target object based on the object feature of the target object.

[0145] In a possible implementation, the process in which the server determines the video features matching the target object according to the object features of the target object is consistent with the process in the above step 203 and will not be described in detail herein.

[0146] In step 505, the server synthesizes multimedia resources corresponding to the target object based on the resource image of the target object and the video features matching the target object.

[0147] In a possible implementation, the process of the server synthesizing the multimedia resource corresponding to the target object based on the resource image of the target object and the video features matching the target object is consistent with the process in the above step 204 and will not be repeated here.

[0148] In step 506, the second electronic device sends a resource acquisition request to the server, and the resource acquisition request carries the user identification of the target user.

[0149] In a possible implementation, the second electronic device is a buyer-side electronic device, and an application for purchasing products is installed and run in the second electronic device, and the target object sells the product in the application. When the target user opens the application, multiple objects are displayed on the display interface of the second electronic device, and the target user can slide to view the objects on the interface. When the target user stays on the target object for more than the target time, the second electronic device generates a resource acquisition request based on the target object.

[0150] Alternatively, the target user selects a target object on the display interface, and the second electronic device generates a resource acquisition request for the target object in response to a click operation of the target user.

[0151] The resource acquisition request carries the user identification of the target user. After the second electronic device obtains the resource acquisition request, it sends the resource acquisition request to the server.

[0152] It should be noted that the length of the above-mentioned target time is set based on experience, or adjusted according to the resource types in different objects, and the embodiments of the present application do not limit this.

[0153] In step 507, the server receives the resource acquisition request sent by the second electronic device, and acquires the user feature combination of the target user based on the resource acquisition request.

[0154] In a possible implementation, after receiving the resource acquisition request sent by the second electronic device, the server parses the resource acquisition request to obtain the user identifier of the target user carried in the resource acquisition request. The process of the server obtaining the user feature combination of the target user based on the user identifier of the target user is consistent with the process in the above step 204, which is not repeated here.

[0155] In step 508, the server generates target additional information matching the target user based on the user feature combination of the target user.

[0156] In a possible implementation, the process in which the server generates target additional information matching the target user based on the user feature combination of the target user is consistent with the process in the above step 204 and will not be described in detail here.

[0157] In step 509, the server updates the multimedia resources corresponding to the target object based on the target additional information to obtain the updated multimedia resources.

[0158] In a possible implementation, the server updates the multimedia resources corresponding to the target object based on the target additional information. The process of obtaining the updated multimedia resources is consistent with the process of updating the multimedia resources corresponding to the target object in step 204 above, which will not be repeated here.

[0159] In step 510, the server sends the updated multimedia resource to the second electronic device.

[0160] In a possible implementation, after obtaining the updated multimedia resource, the server directly sends the updated multimedia resource to the second electronic device according to the path corresponding to the resource acquisition request, and the second electronic device displays the updated multimedia resource.

[0161] In step 511, the second electronic device receives the updated multimedia resource sent by the server, and displays the updated multimedia resource.

[0162] In a possible implementation, after receiving the updated multimedia resource sent by the server, the second electronic device displays the updated multimedia resource on a display interface of the second electronic device, so that the target user can view the updated multimedia resource of the target object.

[0163] The above method determines the video features according to the resource image of the target object, so that the determined video features have a high degree of match with the resource image, that is, the determined video features have a high degree of match with the target object, thereby improving the click-through rate of the subsequently synthesized multimedia resources and also improving the competitiveness of the target object. Moreover, the image processing method in the present application does not require manual processing of the resource image, which can save the time cost of image processing and improve the efficiency of image processing.

[0164] Moreover, when displaying the multimedia resources of the target object to the target user, the above method takes into account the user information and scene information of the target user, combines the user information and scene information of the target user with the multimedia resources of the target object, and obtains updated multimedia resources. The updated multimedia resources are not only multimedia resources that match the target object, but also multimedia resources that match the target user, so that the target user has a higher matching degree with the updated multimedia resources, thereby improving the target user's click rate on the target object.

[0165] Figure 6 FIG. 1 is a flowchart of an image processing method provided by an embodiment of the present application. Figure 6It includes two modules, one is an offline video module and the other is a dynamic creative module. The offline video module is used to obtain the object features of the target object according to the object identification of the target object; determine the model based on the object features of the target object and the target video features, and determine the video features matching the target object; synthesize the multimedia resources corresponding to the target object according to the resource image of the target object and the video features matching the target object, that is, the offline video of the target object. The dynamic creative module is used to obtain the user information and scene information of the target user according to the resource acquisition request of the target user, obtain the user feature combination of the target user according to the user information and scene information of the target user and the dynamic creative module, and determine the initial additional information of the target user according to the user feature combination; adjust the initial additional information based on the video features matching the target object and the video features of the initial additional information to obtain the target additional information, that is, to obtain the dynamic creativity corresponding to the target user. The target additional information (dynamic creativity) is integrated into the multimedia resources corresponding to the target object to obtain the updated multimedia resources. The synthesis method of the multimedia resources of the target object is consistent with the synthesis method in the above step 204. The process of updating the multimedia resources of the target object according to the user feature combination of the target user is consistent with the updating process in the above step 204, and will not be described in detail here.

[0166] Figure 7 FIG. 1 is a schematic diagram of the structure of an image processing device provided in an embodiment of the present application. Figure 7 As shown, the device comprises:

[0167] The first acquisition module 701 is used to acquire the object identifier of the target object;

[0168] A second acquisition module 702, configured to acquire an object feature of the target object according to the object identifier of the target object, wherein the object feature includes at least one of a resource type, a resource image, and a resource value of the target object;

[0169] A determination module 703 is used to determine a video feature that matches the target object according to the object feature of the target object;

[0170] The synthesis module 704 is used to synthesize the multimedia resources corresponding to the target object based on the resource image of the target object and the video features matching the target object.

[0171] In a possible implementation, the second acquisition module 702 is further configured to, in response to receiving a resource acquisition request from a target user, acquire user information of the target user and scenario information of the target user;

[0172] The device also includes:

[0173] A generating module, used for generating target additional information matching the target user according to a combination of user characteristics of the target user;

[0174] An updating module, used for updating the multimedia resources corresponding to the target object according to the target additional information, to obtain the updated multimedia resources;

[0175] The sending module is used to send the updated multimedia resource to the target user.

[0176] In a possible implementation, the generation module is used to generate initial additional information matching the target user based on a combination of user features of the target user; based on the video features matching the target object and the video features of the initial additional information, the initial additional information is adjusted to obtain the target additional information.

[0177] In a possible implementation manner, the user feature combination of the target user includes at least one of user information of the target user and scenario information of the target user.

[0178] In one possible implementation, the update module is used to insert the target additional information into the target position of the multimedia resource corresponding to the target object to obtain the updated multimedia resource; or, to replace the resources of the target time period in the multimedia resource corresponding to the target object with the target additional information to obtain the updated multimedia resource.

[0179] In a possible implementation, the synthesis module 704 is used to generate a video corresponding to the target object based on the resource image of the target object; and adjust the video corresponding to the target object according to the video features matching the target object to obtain the multimedia resources corresponding to the target object.

[0180] In one possible implementation, the determination module 703 is used to input the object features of the target object into a target video feature determination model, and the target video feature determination model is used to determine the video features that match the target object; based on the output result of the target video feature determination model, determine the video features that match the target object.

[0181] In a possible implementation, the second acquisition module 702 is further configured to acquire multimedia resources of multiple reference objects and the number of clicks on each reference object; based on the multimedia resources of the multiple reference objects, obtain object features of the multiple reference objects and video features corresponding to each reference object;

[0182] The device also includes:

[0183] The training module is used to train the initial video feature determination model based on the object features of the multiple reference objects, the video features corresponding to each reference object and the click volume of each reference object to obtain a target video feature determination model.

[0184] The above device determines the video features according to the resource image of the target object, so that the determined video features have a high degree of match with the resource image, that is, the determined video features have a high degree of match with the target object, thereby improving the click-through rate of the subsequently synthesized multimedia resources and also improving the competitiveness of the target object. Moreover, the image processing method in the present application does not require manual processing of the resource image, which can save the time cost of image processing and improve the efficiency of image processing.

[0185] It should be noted that: when the image processing device provided in the above embodiment performs image processing, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the image processing device is divided into different functional modules to complete all or part of the functions described above. In addition, the image processing device provided in the above embodiment and the image processing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0186] Figure 8 The structure diagram of a server provided by an embodiment of the present application is shown. The server 800 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 801 and one or more memories 802, wherein at least one instruction is stored in the one or more memories 802, and the at least one instruction is loaded and executed by the one or more processors 801 to implement the image processing method provided by the above method embodiment. Of course, the server 800 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server 800 may also include other components for implementing device functions, which will not be repeated here.

[0187] Fig. 9900 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 900 may be: a smart phone, a tablet computer, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, a laptop computer or a desktop computer. The electronic device 900 may also be referred to as a user device, a portable electronic device, a laptop electronic device, a desktop electronic device, or other names.

[0188] Typically, the electronic device 900 includes: one or more processors 901 and one or more memories 902 .

[0189] The processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0190] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 902 is used to store at least one instruction, which is used to be executed by the processor 901 to implement the image processing method provided in the method embodiment of the present application.

[0191] In some embodiments, the electronic device 900 may further optionally include: a peripheral device interface 903 and at least one peripheral device. The processor 901, the memory 902 and the peripheral device interface 903 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 903 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 904, a display screen 905, a camera assembly 906, an audio circuit 907, a positioning assembly 908 and a power supply 909.

[0192] The peripheral device interface 903 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, the memory 902, and the peripheral device interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902, and the peripheral device interface 903 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0193] The radio frequency circuit 904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 904 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 904 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 904 can communicate with other electronic devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 904 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0194] The display screen 905 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 905 is a touch display screen, the display screen 905 also has the ability to collect touch signals on the surface or above the surface of the display screen 905. The touch signal can be input to the processor 901 as a control signal for processing. At this time, the display screen 905 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 905 can be one, and the front panel of the electronic device 900 is set; in other embodiments, the display screen 905 can be at least two, which are respectively set on different surfaces of the electronic device 900 or are folded; in some embodiments, the display screen 905 can be a flexible display screen, which is set on the curved surface or folded surface of the electronic device 900. Even, the display screen 905 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 905 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).

[0195] The camera assembly 906 is used to capture images or videos. Optionally, the camera assembly 906 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the electronic device, and the rear camera is arranged on the back of the electronic device. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 906 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0196] The audio circuit 907 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 901 for processing, or input them into the radio frequency circuit 904 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the electronic device 900. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 901 or the radio frequency circuit 904 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 907 may also include a headphone jack.

[0197] Positioning component 908 is used to locate the current geographic location of electronic device 900 to implement navigation or LBS (Location Based Service). Positioning component 908 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.

[0198] The power supply 909 is used to power various components in the electronic device 900. The power supply 909 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 909 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0199] In some embodiments, the electronic device 900 further includes one or more sensors 910 , including but not limited to: an acceleration sensor 911 , a gyroscope sensor 912 , a pressure sensor 911 , a fingerprint sensor 914 , an optical sensor 915 , and a proximity sensor 916 .

[0200] The acceleration sensor 911 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the electronic device 900. For example, the acceleration sensor 911 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 901 can control the display screen 905 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 911. The acceleration sensor 911 can also be used for collecting game or user motion data.

[0201] The gyro sensor 912 can detect the body direction and rotation angle of the electronic device 900, and the gyro sensor 912 can cooperate with the acceleration sensor 911 to collect the user's 3D actions on the electronic device 900. The processor 901 can implement the following functions based on the data collected by the gyro sensor 912: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0202] The pressure sensor 911 can be set on the side frame of the electronic device 900 and / or the lower layer of the display screen 905. When the pressure sensor 911 is set on the side frame of the electronic device 900, it can detect the user's holding signal of the electronic device 900, and the processor 901 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 911. When the pressure sensor 911 is set on the lower layer of the display screen 905, the processor 901 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 905. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0203] The fingerprint sensor 914 is used to collect the user's fingerprint, and the processor 901 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 914, or the fingerprint sensor 914 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 901 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 914 can be set on the front, back, or side of the electronic device 900. When a physical button or a manufacturer logo is set on the electronic device 900, the fingerprint sensor 914 can be integrated with the physical button or the manufacturer logo.

[0204] The optical sensor 915 is used to collect the ambient light intensity. In one embodiment, the processor 901 can control the display brightness of the display screen 905 according to the ambient light intensity collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the display screen 905 is increased; when the ambient light intensity is low, the display brightness of the display screen 905 is reduced. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera component 906 according to the ambient light intensity collected by the optical sensor 915.

[0205] The proximity sensor 916, also called a distance sensor, is usually disposed on the front panel of the electronic device 900. The proximity sensor 916 is used to collect the distance between the user and the front of the electronic device 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front of the electronic device 900 is gradually decreasing, the processor 901 controls the display screen 905 to switch from the screen-on state to the screen-off state; when the proximity sensor 916 detects that the distance between the user and the front of the electronic device 900 is gradually increasing, the processor 901 controls the display screen 905 to switch from the screen-off state to the screen-on state.

[0206] Those skilled in the art will understand that Fig. 9 The structure shown in the figure does not constitute a limitation on the electronic device 900, and may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0207] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement any of the above-mentioned image processing methods.

[0208] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0209] In an exemplary embodiment, a computer program or a computer program product is further provided. The computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to implement any of the above-mentioned image processing methods.

[0210] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0211] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0212] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. An image processing method, characterized in that: The method comprises: The first electronic device obtains an image processing request of the target object, where the image processing request carries an object identifier of the target object; Parsing the image processing request to obtain an object identifier of the target object, and obtaining object features of the target object according to the object identifier of the target object, wherein the object features include at least one of a resource type, a resource image, and a resource value of the target object; Determining, according to the object feature of the target object, a video feature matching the target object, the video feature comprising at least one of a video template, a video filter, an arrangement order of images in the video, a transition effect of the video, and background music of the video; synthesizing a multimedia resource corresponding to the target object based on the resource image of the target object and the video feature matching the target object, and displaying the multimedia resource corresponding to the target object on the first electronic device; Wherein, after synthesizing the multimedia resources corresponding to the target object based on the resource image of the target object and the video features matching the target object, the method further includes: In response to receiving a resource acquisition request from a target user, acquiring a user feature combination of the target user, wherein the user feature combination of the target user includes user information of the target user and scenario information of the target user; According to the user feature combination of the target user, target additional information matching the target user is generated, that is, a dynamic creative corresponding to the target user is obtained; Based on the target additional information, updating the multimedia resources corresponding to the target object to obtain the updated multimedia resources; The updated multimedia resource is sent to the target user.

2. The method according to claim 1, characterized in that The generating target additional information matching the target user according to the user feature combination of the target user includes: generating initial additional information matching the target user according to a combination of user characteristics of the target user, wherein the initial additional information is consistent with a type of multimedia resource corresponding to the target object; Based on the video features matching the target object and the video features of the initial additional information, the initial additional information is adjusted to obtain the target additional information.

3. The method according to claim 1, characterized in that The updating of the multimedia resource corresponding to the target object based on the target additional information to obtain the updated multimedia resource includes: Inserting the target additional information into the target position of the multimedia resource corresponding to the target object to obtain the updated multimedia resource, including inserting the target additional information into the starting position of the multimedia resource corresponding to the target object to obtain the updated multimedia resource; Alternatively, the target additional information replaces the resources of the target time period in the multimedia resources corresponding to the target object to obtain updated multimedia resources.

4. The method according to claim 1, characterized in that The synthesizing the multimedia resource corresponding to the target object based on the resource image of the target object and the video feature matching the target object includes: Generating a video corresponding to the target object according to the resource image of the target object; According to the video features matching the target object, the video corresponding to the target object is adjusted to obtain multimedia resources corresponding to the target object.

5. The method according to claim 1, characterized in that The step of determining, based on the object feature of the target object, a video feature that matches the target object comprises: Inputting the object features of the target object into a target video feature determination model, wherein the target video feature determination model is used to determine video features that match the target object; Based on the output result of the target video feature determination model, a video feature matching the target object is determined.

6. The method according to claim 5, characterized in that Before inputting the object features of the target object into the target video feature determination model, the method further includes: Obtain multimedia resources of multiple reference objects and the number of hits of each reference object; Based on the multimedia resources of the multiple reference objects, obtaining object features of the multiple reference objects and video features corresponding to each reference object; Based on the object features of the multiple reference objects, the video features corresponding to the respective reference objects, and the number of clicks on the respective reference objects, an initial video feature determination model is trained to obtain a target video feature determination model.

7. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the image processing method according to any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the image processing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Bullet screen content sending method and client

    CN107277643A

  • Video data processing method and device, computer device and storage medium

    CN110111136A

  • Content item generation method, content item generation device and electronic equipment

    CN111127177A

  • Image processing method and device, electronic equipment and computer readable storage medium

    CN111539795A

  • Image generation method and device based on artificial intelligence, equipment and storage medium

    CN111626218A