Data processing method and device, electronic equipment and storage medium

By aggregating auxiliary creative images in the Internet community according to the theme and filtering them through switching methods, the problem of waste time and high display costs for users when looking for images is solved, and efficient screening and low-cost display are achieved.

CN119987637APending Publication Date: 2025-05-13XIAOHONGSHU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311504817.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the Internet community, users need to spend a lot of time when looking for auxiliary creation images, and the screening efficiency is low. At the same time, displaying these images also requires a lot of display costs.

Method used

By aggregating auxiliary creative images according to the theme and filtering them through switching, you only need to display a small number of controls corresponding to different themes to complete the display of all auxiliary creative images.

Benefits of technology

Improves the screening efficiency of users when looking for auxiliary creation images and reduces display costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987637A_ABST
    Figure CN119987637A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, electronic equipment and a storage medium, and the method comprises the steps that a first interface is displayed, the first interface comprises a drawing area and n function controls, and the drawing area is used for receiving drawing information of a user and displaying a drawing image corresponding to the drawing information; in response to a selection operation of a user for a first target function control, displaying a first picture as a background of the drawing area in the drawing area, the first picture being any one picture in the auxiliary creation picture group corresponding to the first target function control, and the first target function control being any one function control in the n function controls; a first switching operation of the user is responded, a second picture is displayed in the drawing area to serve as the background of the drawing area, and the second picture is any one of the auxiliary creation picture groups corresponding to the first target function control after the first picture is removed; and in response to a content generation operation of the user, generating to-be-published content based on the background and the drawing image displayed in the drawing area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device, electronic equipment and storage medium. Background Art

[0002] With the development of Internet technology, Internet communities have gradually emerged and become an indispensable part of people's lives. People can communicate, discuss, publish and share content in Internet communities, etc. When users engage in online social networking, they usually add pictures to the text they publish. In order to improve the fun of user social networking and the accuracy of the pictures, currently, images that meet the user's ideas are usually generated by receiving the user's graffiti. Among them, when users graffiti, some auxiliary creation images are usually provided as the creation background to assist users in graffiti creation.

[0003] However, as the gameplay develops, more and more auxiliary creation images are available to assist users in graffiti creation, which results in users spending a lot of time searching for an auxiliary creation image and low screening efficiency. At the same time, in order to display these large numbers of auxiliary creation images, a lot of display costs are also consumed. Summary of the invention

[0004] In order to solve the above-mentioned problems existing in the prior art, the embodiments of the present application provide a data processing method, device, electronic device and storage medium, which can aggregate auxiliary creation images according to themes and then filter them by switching, and then only need to display a small number of controls corresponding to different themes to complete the display of all auxiliary creation images, thereby reducing display costs on the basis of improving screening efficiency.

[0005] In a first aspect, an embodiment of the present application provides a data processing method, the method comprising:

[0006] Displaying a first interface, wherein the first interface includes a drawing area and n functional controls, wherein the drawing area is used to receive drawing information from a user and display a drawing image corresponding to the drawing information;

[0007] In response to the user's selection operation on the first target function control, a first picture is displayed in the drawing area as the background of the drawing area, wherein the first picture is any picture in the auxiliary creation picture group corresponding to the first target function control, and the first target function control is any function control among the n function controls;

[0008] In response to the user's first switching operation, a second picture is displayed in the drawing area as the background of the drawing area, wherein the second picture is any one of the pictures remaining after removing the first picture from the auxiliary creation picture group corresponding to the first target function control;

[0009] In response to the user's content generation operation, the content to be published is generated based on the background and the painting image displayed in the painting area.

[0010] In a possible implementation, after the first picture is displayed in the drawing area as the background of the drawing area in response to the user's selection operation on the first target function control, the method further includes:

[0011] Based on the information of the auxiliary creation picture group, a switching icon is displayed in the first interface, and the switching icon is used to trigger a first switching operation, and the first switching operation indicates to replace the picture in the selected auxiliary creation picture group.

[0012] In a possible implementation, the n function controls are arranged sequentially in the first interface, and the arrangement order of the n function controls is determined by the user portrait and / or historical behavior of the user.

[0013] In a possible implementation, determining the arrangement order of the n functional controls in the first interface according to the user profile and historical behavior of the user includes:

[0014] Determine the first coefficient of each of the n auxiliary creation graph groups according to the user portrait, wherein the n auxiliary creation graph groups correspond one-to-one to the n function controls, and the first coefficient is used to identify the group corresponding to the user portrait and the degree of preference for the auxiliary creation graph group corresponding to the first coefficient;

[0015] The first coefficient of each auxiliary creation graph group is modified according to the historical behavior to obtain the second coefficient of each auxiliary creation graph group;

[0016] The arrangement order of the n functional controls in the first interface is determined according to the second coefficient of the auxiliary creation diagram group.

[0017] In a possible implementation, determining the first coefficient of each of the n auxiliary creation graph groups according to the user portrait includes:

[0018] Matching the user portrait in the historical behavior database to obtain multiple target behavior data, wherein the correlation coefficient between the executor portrait corresponding to each target behavior data and the user portrait is greater than a threshold;

[0019] Count the number of occurrences of each auxiliary creation graph group in multiple target behavior data to obtain n first occurrence values;

[0020] According to the n first occurrence values, the first coefficient of each auxiliary creation graph group is determined.

[0021] In a possible implementation, the correlation coefficient between the executor portrait and the user portrait corresponding to each target behavior data can be expressed by formula ①:

[0022]

[0023] Among them, p represents the correlation coefficient, A represents the feature vector of the executor portrait corresponding to each target behavior data, |A| represents the modulus of the feature vector A, ai represents the i-th element in the feature vector A, B represents the feature vector of the user portrait, |B| represents the modulus of the feature vector B, and bi represents the i-th element in the feature vector B.

[0024] In a possible implementation manner, correcting the first coefficient of each auxiliary creation graph group according to historical behaviors to obtain the second coefficient of each auxiliary creation graph group includes:

[0025] Counting the occurrence times of each auxiliary creation graph group in historical behaviors to obtain n second occurrence values;

[0026] Adding each second occurrence value to the corresponding first occurrence value to obtain n third occurrence values;

[0027] Determining the second coefficient of each auxiliary creation graph group according to the n third occurrence values.

[0028] In a possible implementation manner, the auxiliary creation graph group includes at least one auxiliary creation picture arranged in sequence, and the arrangement order of the at least one auxiliary creation picture is determined by the user portrait and / or historical behaviors of the user;

[0029] The second picture is determined based on the order of the first picture in the auxiliary creation graph group.

[0030] In a possible implementation manner, when the selection operation of the user for the first target function control is a first selection, the first image is a specific picture in the corresponding auxiliary creation graph group;

[0031] When the selection operation of the user for the first target function control is a re-selection, the first image is the picture displayed in the drawing area when the user last selected the first target function control.

[0032] In a second aspect, an embodiment of the present application provides a data processing device, including:

[0033] An interface display module, configured to display a first interface, where the first interface includes a drawing area and n function controls, and the drawing area is configured to receive drawing information of the user and display a drawing image corresponding to the drawing information;

[0034] A switching display module is used to respond to a user's selection operation on a first target function control, display a first picture in a drawing area as a background of the drawing area, wherein the first picture is any picture in an auxiliary creation picture group corresponding to the first target function control, and the first target function control is any function control among n function controls; respond to a first switching operation by the user, display a second picture in a drawing area as a background of the drawing area, wherein the second picture is any picture remaining in the auxiliary creation picture group corresponding to the first target function control after removing the first picture;

[0035] The generation module is used to respond to the user's content generation operation and generate content to be published based on the background and painting image displayed in the painting area.

[0036] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device performs the method of the first aspect.

[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the method of the first aspect.

[0038] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is computer-operable to cause the computer to execute the method of the first aspect.

[0039] The implementation of the present application has the following beneficial effects:

[0040] In the embodiment of the present application, by displaying in the first interface a drawing information for receiving the user, and displaying a drawing image drawing area corresponding to the drawing information, and n function controls corresponding to n auxiliary creation picture groups, the auxiliary creation pictures with the same theme are aggregated into an auxiliary creation picture group, corresponding to a function control in the interface, and the auxiliary creation pictures of the theme are displayed through the function control. Then, in response to the user's selection operation for the first target function control, the first picture is displayed in the drawing area as the background of the drawing area, wherein the first picture is any one of the auxiliary creation picture groups corresponding to the first target function control, and the first target function control is any one of the n function controls. That is, when the user selects a function control, a first image is selected from the auxiliary creation picture group corresponding to the function control as the background of the drawing area and displayed in the drawing area. Then, in response to the user's first switching operation, the second picture is displayed in the drawing area as the background of the drawing area, wherein the second picture is any one of the remaining pictures in the auxiliary creation picture group corresponding to the first target function control after removing the first picture. That is, the user can switch the display of the pictures in the auxiliary creation picture group corresponding to the first target function control through the first switching operation, so as to browse the entire auxiliary creation picture group. Finally, in response to the user's content generation operation, the content to be published is generated based on the background and painting images displayed in the painting area. Thus, by aggregating the auxiliary creation pictures of the same theme into an auxiliary creation picture group, and then only using one function control in conjunction with switching to display all the auxiliary creation pictures under the theme, the display cost is greatly reduced. At the same time, compared to the original method of displaying all the auxiliary creation pictures and searching among all the pictures, the present application first determines the theme of the required picture, and then searches in the theme by switching, which also improves the screening efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0042] Figure 1 A schematic diagram of the hardware structure of a data processing device provided in an embodiment of the present application;

[0043] Figure 2 A flowchart of a data processing method provided for an embodiment of the present application;

[0044] Figure 3 A schematic diagram of a first interface provided in an embodiment of the present application;

[0045] Figure 4 Schematic diagram of various auxiliary creation pictures provided in the implementation mode of this application;

[0046] Figure 5 A schematic diagram of an image in a corresponding auxiliary creation image group that can be displayed in a function control provided in an embodiment of the present application;

[0047] Figure 6 A schematic diagram of a selection operation for a first target function control provided in an embodiment of the present application;

[0048] Figure 7 A schematic diagram of a display switching icon provided in an embodiment of the present application;

[0049] Figure 8 A schematic diagram of a display prompt control provided in an embodiment of the present application;

[0050] Fig. 9 A schematic diagram of a selection operation for a switching icon provided in an embodiment of the present application;

[0051] Fig.10 A schematic diagram of drawing in a drawing area provided for an embodiment of the present application;

[0052] Fig.11 A schematic diagram of switching auxiliary creation pictures provided in an embodiment of the present application;

[0053] Fig.12 A schematic diagram of a second interface provided in an embodiment of the present application;

[0054] Fig.13 A schematic diagram of a first interface including a challenge display area provided in an embodiment of the present application;

[0055] Fig.14 A block diagram of the functional modules of a data processing device provided in an embodiment of the present application;

[0056] Fig.15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0059] Reference to "embodiment" herein means that a particular feature, result, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0060] See also Figure 1 , Figure 1 The hardware structure diagram of a data processing device provided in the embodiment of the present application is as follows: The data processing device 100 includes at least one processor 101 , a communication line 102 , a memory 103 and at least one communication interface 104 .

[0061] In this embodiment, the processor 101 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0062] The communication link 102 may include a path to transmit information between the above components.

[0063] The communication interface 104 may be any transceiver-like device (eg, antenna, etc.) for communicating with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc.

[0064] The memory 103 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0065] In this embodiment, the memory 103 can exist independently and be connected to the processor 101 via the communication line 102. The memory 103 can also be integrated with the processor 101. The memory 103 provided in the embodiment of the present application can generally be non-volatile. Among them, the memory 103 is used to store computer-executable instructions for executing the scheme of the present application, and the execution is controlled by the processor 101. The processor 101 is used to execute the computer-executable instructions stored in the memory 103, so as to implement the method provided in the following embodiment of the present application.

[0066] In an optional implementation, the computer-executable instructions may also be referred to as application code, which is not specifically limited in this application.

[0067] In an optional embodiment, the processor 101 may include one or more CPUs, such as Figure 1 CPU0 and CPU1 in.

[0068] In an optional embodiment, the data processing device 100 may include multiple processors, such as Figure 1 1 and 107. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0069] In an optional embodiment, if the data processing device 100 is a server, for example, it can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. Then the data processing device 100 may also include an output device 105 and an input device 106. The output device 105 communicates with the processor 101 and can display information in a variety of ways. For example, the output device 105 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 106 communicates with the processor 101 and can receive user input in a variety of ways. For example, the input device 106 can be a mouse, a keyboard, a touch screen device, or a sensor device.

[0070] The above-mentioned data processing device 100 may be a general-purpose device or a special-purpose device. The embodiment of the present application does not limit the type of the data processing device 100.

[0071] A data processing method disclosed in this application will be described below.

[0072] See also Figure 2 , Figure 2 A flow chart of a data processing method provided in the embodiment of the present application. The data processing method comprises the following steps:

[0073] 201: Display the first interface.

[0074] In this embodiment, the first interface may include a drawing area 301 and n function controls 302. The drawing area 301 is used to receive the user's drawing information and then display the drawing image corresponding to the drawing information. For example, when the drawing information is a graffiti track, the drawing area 301 can display the graffiti image corresponding to the graffiti track to the user. At the same time, the n function controls 302 are arranged in a certain order. For example, Figure 3 As shown, Figure 3 A schematic diagram of a first interface is shown, wherein a drawing area 301 is located above n function controls 302, and the n function controls 302 are arranged in sequence from left to right.

[0075] In this embodiment, the arrangement order of the n functional controls 302 in the first interface is determined by the user portrait and / or historical behavior of the user. Specifically, each functional control 302 corresponds to an auxiliary creation picture group, and the auxiliary creation picture group contains a series of auxiliary creation pictures belonging to the same theme. These auxiliary creation pictures can be used as backgrounds to assist the user in painting creation. Exemplarily, as Figure 4 shown, Figure 4 shows some auxiliary creation pictures and their themes. It can be seen that most of the auxiliary creation pictures are similar in theme. Therefore, when creating the auxiliary creation pictures, a [Play Classification ID] can be configured for each picture, and then the auxiliary creation pictures with the same ID can be aggregated together to form an auxiliary creation picture group under the theme corresponding to the ID. In an alternative embodiment, the type or theme of the auxiliary creation pictures can also be identified by means of AI, models, etc., and then the auxiliary creation pictures of the same type or theme can be classified into a group to form an auxiliary creation picture group corresponding to the type or theme.

[0076] In this embodiment, the degree of preference of the user for each auxiliary creation picture group can be determined by the user portrait and / or historical behavior of the user, and then each auxiliary creation picture group can be sorted to determine the sorting of the corresponding n functional controls 302. Exemplarily, first, a first coefficient of each auxiliary creation picture group in the n auxiliary creation picture groups can be determined according to the user portrait, where the first coefficient is used to identify the degree of preference of the group corresponding to the user portrait for the auxiliary creation picture group. Specifically, multiple target behavior data can be obtained by matching the user portrait in the historical behavior database, where the correlation coefficient between the executor portrait corresponding to each target behavior data and the user portrait is greater than the threshold.

[0077] In this embodiment, the correlation coefficient between the executor portrait corresponding to each target behavior data and the user portrait is used to represent the similarity degree between two users, and can be specifically represented by formula ②:

[0078]

[0079] where p represents the correlation coefficient, A represents the feature vector of the executor portrait corresponding to each target behavior data, 丨A丨 represents the modulus of the feature vector A, ai represents the i-th element in the feature vector A, B represents the feature vector of the user portrait, 丨B丨 represents the modulus of the feature vector B, and bi represents the i-th element in the feature vector B.

[0080] Thus, by calculating the correlation coefficient, other users similar to the current user in the platform are screened out, and their historical behavior data is obtained as the target behavior data.

[0081] In this embodiment, the target behavior data may include the user's publishing data and consumption data on the platform, thereby counting the number of occurrences of each auxiliary creation picture group in multiple target behavior data to obtain n first occurrence values. The first occurrence value can indicate the total number of times each auxiliary creation picture group is used and browsed among users of this type, and then reflect the degree of preference of this type of users for each auxiliary creation picture group. Then, the first coefficient of each auxiliary creation picture group can be determined based on the n first occurrence values. For example, the n first occurrence values ​​can be normalized, and then the normalized result can be used as the first coefficient of the corresponding auxiliary creation picture group.

[0082] In this embodiment, the first coefficient determined according to the user portrait can reflect the preferences of the type of people corresponding to the user portrait, but everyone has their own unique aesthetics and preferences. In this regard, in this embodiment, the first coefficient of each auxiliary creation picture group can be corrected according to historical behavior to obtain the second coefficient of each auxiliary creation picture group, and then obtain information reflecting the user's preferences. Specifically, the number of occurrences of each auxiliary creation picture group in the historical behavior can be counted to obtain n second occurrence values. Then add each second occurrence value to each corresponding first occurrence value to obtain n third occurrence values, and finally determine the second coefficient of each auxiliary creation picture group based on the n third occurrence values. Similarly, the n third occurrence values ​​can be normalized, and then the normalized result is used as the second coefficient of the corresponding auxiliary creation picture group.

[0083] Finally, the arrangement order of the n function controls in the first interface is determined according to the second coefficient of the auxiliary creation diagram group. For example, the n function controls 302 can be sorted in descending order according to the second coefficient, and the n function controls 302 are displayed in the first interface in this order.

[0084] In an optional implementation, the arrangement order of the n function controls 302 can also be determined in combination with the platform's streaming information, the popularity of each auxiliary creation picture group in the platform, and other information. Exemplarily, the auxiliary creation picture group corresponding to the main theme of the current platform can be placed at the front, and then the first coefficient and / or second coefficient of the remaining auxiliary creation picture groups are determined by user portraits and / or historical behaviors according to the above scheme, and the weight of the corresponding popularity is obtained by the popularity of each auxiliary creation picture group in the platform. Then, according to the weight, the first coefficient and / or the second coefficient are corrected, and finally the remaining auxiliary creation picture groups are sorted according to the corrected coefficients to obtain the final sequence.

[0085] In an optional embodiment, if Figure 5 As shown, each function control 302 can display an image in the corresponding auxiliary creation picture group for distinction, wherein the displayed image can be any one of the auxiliary creation picture group.

[0086] 202: In response to a user's selection operation on a first target function control, display a first picture in the drawing area as a background of the drawing area.

[0087] In this embodiment, the first image is any image in the auxiliary creation image group corresponding to the first target function control, and the first target function control is any function control among the n function controls. Specifically, the auxiliary creation image group contains at least one auxiliary creation image arranged in sequence, and the arrangement order of the at least one auxiliary creation image is determined by the user's user portrait and / or historical behavior. The specific determination method is similar to the determination method of the arrangement order of the n function controls 302 in step 301, and will not be repeated here.

[0088] In this embodiment, when the user's selection operation for the first target function control is the first selection, the first image is a specific picture in the corresponding auxiliary creation picture group. The specific picture can be the first-ranked picture in the auxiliary creation picture group, or the most popular picture in the auxiliary creation picture group, or the picture recommended by the current platform in the auxiliary creation picture group. When the user's selection operation for the first target function control is a second selection, the first image is the picture displayed in the drawing area when the user last selected the first target function control.

[0089] Based on this, using the above Figure 5 An example of the first interface shown is as follows: Figure 6 As shown, each function control 302 may display the first ranked picture in the corresponding auxiliary creation picture group, the most popular picture, or the picture recommended by the current platform. Therefore, when the user selects the first target function control 302a, the picture displayed in the first target function control 302a may be used as the first picture and displayed as the background in the drawing area.

[0090] In an optional real-time mode, a switching icon can also be displayed in the first interface based on the information of the auxiliary creation picture group. The switching icon is used to trigger a first switching operation, and the first switching operation indicates to replace the picture in the selected auxiliary creation picture group. Specifically, when the auxiliary creation picture group contains more than one picture, the switching icon can be displayed to indicate that there are multiple auxiliary creation pictures under the theme and they can be switched. If the auxiliary creation picture group contains only one picture, the switching icon may not be displayed.

[0091] In this embodiment, the switching icon can be located at any position in the first interface. Figure 7 As shown, Figure 7 A display method of a switching icon is provided. Specifically, the switching icon can be displayed floating on the function control of the corresponding auxiliary creation group. Figure 8As shown, if the user enters the interface for the first time, a prompt control can be displayed near the first target function control 302a after the switch icon is displayed. The prompt control is used to display information describing the function of the switch icon to inform the user of the function of the switch icon.

[0092] 203: In response to the first switching operation of the user, display the second picture in the drawing area as the background of the drawing area.

[0093] In this embodiment, the first switching operation can be triggered by selecting the switching icon in step 202, and the second picture is any one of the remaining pictures in the auxiliary creation picture group corresponding to the first target function control after removing the first picture. Exemplarily, the second picture is determined based on the order of the first picture in the auxiliary creation picture group. For example, the second picture can be a picture behind the first picture. When the first picture is the last picture in the auxiliary creation picture group, the second picture is the first picture in the auxiliary creation picture group, thereby performing a cyclic switching of pictures.

[0094] In an optional implementation, the second image can also be determined from the corresponding auxiliary creation image group according to the user portrait and / or behavior. Specifically, the coefficient of each image in the remaining images can be calculated. The calculation method of the coefficient is similar to the calculation method of the coefficient of each auxiliary creation image group in step 201, which will not be repeated here, and then the image with the highest coefficient is determined as the second image.

[0095] In an optional implementation, the image displayed in the first target function control may also be transformed along with the transformation of the image in the drawing area. Figure 7 The example shown is Fig. 9 As shown, by clicking the switch icon, the picture in the auxiliary creation picture group corresponding to the first target function control 302a can be switched, and the first picture in the drawing area 301 can be replaced by the second picture. At the same time, the second picture is also synchronously displayed in the first target function control 302a.

[0096] In this embodiment, after the user selects the auxiliary creation picture, the user can perform touch operation on the display screen of the terminal, or use a keyboard, mouse, digital drawing board and other devices to doodle in the drawing area 301. Specifically, Fig.10 As shown, in response to the user's touch screen track in the drawing area 301, a track image corresponding to the touch screen track can be displayed on the first background image displayed in the drawing area to record the user's graffiti creation, making it convenient for the user to directly observe his or her own graffiti.

[0097] At this time, if the user is not satisfied with the current auxiliary creation picture, the user can switch the auxiliary creation picture by touching other function controls or switching icons. At this time, since there is graffiti in the drawing area 301, the system will issue a prompt to the user, and explain that the current graffiti will be cleared after the switch, and switch the auxiliary creation picture after the user confirms. Specifically, if Fig.11 As shown, in response to the user's touch operation on the second target function control 302b, a prompt pop-up window is displayed. The second target function control is any function control after the first target function control is removed from the n function controls. The prompt pop-up window includes an information display area, a confirmation function control, and a cancel function control. The information display area is used to display prompt information for clearing the drawing content, for example: "Switching the gameplay will clear all edited content, do you want to continue?" When the user clicks the confirmation function control, in response to the user's touch operation on the confirmation function control, the track image in the drawing area is cleared, and the first picture corresponding to the second target function control is displayed in the drawing area, and the display of the switch icon in the first target function control is canceled, and the switch icon is displayed in the second target function control.

[0098] 204: In response to the user's content generation operation, generate content to be published based on the background and the painting image displayed in the painting area.

[0099] In this embodiment, after the user completes the graffiti, he can jump to the second interface to generate content through the content generation operation. Fig.12 As shown, the second interface may include an image preview area 1201 and multiple style options 1202, wherein the image preview area 1201 is located above the multiple style options 1202 and is used to display the background and painting images displayed in the painting area 301. The user can select any one of the multiple style options 1202 to render the background and painting images in the image preview area 1201 into images of corresponding styles, and publish them as content to be published later.

[0100] In an optional implementation, it is also possible not to select a style, and directly generate an image based on the background and painting image in the image preview area 1201, and subsequently publish it as the content to be published.

[0101] In an optional embodiment, if Fig.13As shown, in the first interface, there may also be a challenge display area 303 between the drawing area 301 and the n function controls 302, which is used to display the challenge information corresponding to the background image in the drawing area 301. After selecting to join the challenge in this area, when publishing information, the system will automatically add the tag of the challenge to the published information. When other users browse the published information and are interested in the content published therein, they can enter the first interface by clicking on the tag. At this time, the drawing area 301 in the first interface will automatically display the auxiliary creation picture of the challenge corresponding to the tag as the background, so that users can quickly participate in the corresponding challenge.

[0102] In summary, in the data processing method provided by the present invention, by displaying in the first interface a drawing information for receiving the user, and displaying a drawing image drawing area corresponding to the drawing information, and n function controls corresponding to n auxiliary creation drawing groups, the auxiliary creation pictures with the same theme are aggregated into an auxiliary creation drawing group, corresponding to a function control in the interface, and the auxiliary creation pictures of the theme are displayed through the function control. Then, in response to the user's selection operation for the first target function control, the first picture is displayed in the drawing area as the background of the drawing area, wherein the first picture is any one of the auxiliary creation drawing groups corresponding to the first target function control, and the first target function control is any one of the n function controls. That is, when the user selects a function control, a first image is selected from the auxiliary creation drawing group corresponding to the function control as the background of the drawing area and displayed in the drawing area. Then, in response to the user's first switching operation, the second picture is displayed in the drawing area as the background of the drawing area, wherein the second picture is any one of the remaining pictures in the auxiliary creation drawing group corresponding to the first target function control after removing the first picture. That is, the user can switch the display of the pictures in the auxiliary creation picture group corresponding to the first target function control through the first switching operation, so as to browse the entire auxiliary creation picture group. Finally, in response to the user's content generation operation, the content to be published is generated based on the background and painting images displayed in the painting area. Thus, by aggregating the auxiliary creation pictures of the same theme into an auxiliary creation picture group, and then only using one function control in conjunction with switching to display all the auxiliary creation pictures under the theme, the display cost is greatly reduced. At the same time, compared to the original method of displaying all the auxiliary creation pictures and searching among all the pictures, the present application first determines the theme of the required picture, and then searches in the theme by switching, which also improves the screening efficiency.

[0103] See also Fig.14 , Fig.14 This is a block diagram of the functional modules of a data processing device provided in the embodiment of the present application. Fig.14 As shown, the data processing device 1400 includes:

[0104] The interface display module 1401 is used to display a first interface, wherein the first interface includes a drawing area and n functional controls, wherein the drawing area is used to receive drawing information from a user and display a drawing image corresponding to the drawing information;

[0105] The switching display module 1402 is used to respond to the user's selection operation on the first target function control, display the first picture in the drawing area as the background of the drawing area, wherein the first picture is any picture in the auxiliary creation picture group corresponding to the first target function control, and the first target function control is any function control among the n function controls; respond to the user's first switching operation, display the second picture in the drawing area as the background of the drawing area, wherein the second picture is any picture of the remaining pictures in the auxiliary creation picture group corresponding to the first target function control after removing the first picture;

[0106] The generating module 1403 is used to respond to the content generating operation of the user and generate the content to be published based on the background and the painting image displayed in the painting area.

[0107] In an embodiment of the present invention, in response to the user's selection operation on the first target function control, after displaying the first picture in the drawing area as the background of the drawing area, the switching display module 1402 is further used to:

[0108] Based on the information of the auxiliary creation picture group, a switching icon is displayed in the first interface, and the switching icon is used to trigger a first switching operation, and the first switching operation indicates to replace the picture in the selected auxiliary creation picture group.

[0109] In an embodiment of the present invention, n functional controls are arranged sequentially in the first interface, and the arrangement order of the n functional controls is determined by the user's user portrait and / or historical behavior.

[0110] In an embodiment of the present invention, in determining the arrangement order of n functional controls in the first interface according to the user portrait and historical behavior of the user, the interface display module 1401 is specifically used to:

[0111] Determine the first coefficient of each of the n auxiliary creation graph groups according to the user portrait, wherein the n auxiliary creation graph groups correspond one-to-one to the n function controls, and the first coefficient is used to identify the group corresponding to the user portrait and the degree of preference for the auxiliary creation graph group corresponding to the first coefficient;

[0112] The first coefficient of each auxiliary creation graph group is modified according to the historical behavior to obtain the second coefficient of each auxiliary creation graph group;

[0113] The arrangement order of the n functional controls in the first interface is determined according to the second coefficient of the auxiliary creation diagram group.

[0114] In an embodiment of the present invention, in terms of determining the first coefficient of each auxiliary creation picture group among the n auxiliary creation picture groups according to the user profile, the interface display module 1401 is specifically configured to:

[0115] Match in the historical behavior database according to the user profile to obtain a plurality of target behavior data, wherein the correlation coefficient between the executor profile corresponding to each target behavior data and the user profile is greater than a threshold;

[0116] Count the number of occurrences of each auxiliary creation picture group in the plurality of target behavior data to obtain n first occurrence values;

[0117] Determine the first coefficient of each auxiliary creation picture group according to the n first occurrence values.

[0118] In an embodiment of the present invention, the correlation coefficient between the executor profile corresponding to each target behavior data and the user profile can be represented by formula ③:

[0119]

[0120] Wherein, p represents the correlation coefficient, A represents the feature vector of the executor profile corresponding to each target behavior data, |A| represents the modulus of the feature vector A, ai represents the i-th element in the feature vector A, B represents the feature vector of the user profile, |B| represents the modulus of the feature vector B, and bi represents the i-th element in the feature vector B.

[0121] In an embodiment of the present invention, in terms of correcting the first coefficient of each auxiliary creation picture group according to historical behavior to obtain the second coefficient of each auxiliary creation picture group, the interface display module 1401 is specifically configured to:

[0122] Count the number of occurrences of each auxiliary creation picture group in the historical behavior to obtain n second occurrence values;

[0123] Add each second occurrence value to the corresponding first occurrence value to obtain n third occurrence values;

[0124] Determine the second coefficient of each auxiliary creation picture group according to the n third occurrence values.

[0125] In an embodiment of the present invention, the auxiliary creation picture group includes at least one auxiliary creation picture arranged in order, and the arrangement order of the at least one auxiliary creation picture is determined by the user profile and / or historical behavior of the user;

[0126] The second picture is determined based on the order of the first picture in the auxiliary creation picture group.

[0127] In an embodiment of the present invention, when the user's selection operation for the first target function control is the first selection, the first image is a specific image in the corresponding auxiliary creation image group;

[0128] When the user's selection operation for the first target function control is a re-selection, the first image is the picture displayed in the drawing area when the user last selected the first target function control.

[0129] See also Fig.15 , Fig.15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.15 As shown, the electronic device 1500 includes a transceiver 1501, a processor 1502, and a memory 1503. They are connected via a bus 1504. The memory 1503 is used to store computer programs and data, and can transmit the data stored in the memory 1503 to the processor 1502.

[0130] The processor 1502 is used to read the computer program in the memory 1503 and perform the following operations:

[0131] Displaying a first interface, wherein the first interface includes a drawing area and n functional controls, wherein the drawing area is used to receive drawing information from a user and display a drawing image corresponding to the drawing information;

[0132] In response to the user's selection operation on the first target function control, a first picture is displayed in the drawing area as the background of the drawing area, wherein the first picture is any picture in the auxiliary creation picture group corresponding to the first target function control, and the first target function control is any function control among the n function controls;

[0133] In response to the user's first switching operation, a second picture is displayed in the drawing area as the background of the drawing area, wherein the second picture is any one of the pictures remaining after removing the first picture from the auxiliary creation picture group corresponding to the first target function control;

[0134] In response to the user's content generation operation, the content to be published is generated based on the background and the painting image displayed in the painting area.

[0135] In an embodiment of the present invention, in response to the user's selection operation on the first target function control, after displaying the first picture in the drawing area as the background of the drawing area, the processor 1502 is specifically configured to perform the following operations:

[0136] Based on the information of the auxiliary creation picture group, a switching icon is displayed in the first interface, and the switching icon is used to trigger a first switching operation, and the first switching operation indicates to replace the picture in the selected auxiliary creation picture group.

[0137] In an embodiment of the present invention, n function controls are arranged in sequence in the first interface, and the arrangement order of the n function controls is determined by the user portrait and / or historical behavior of the user.

[0138] In an embodiment of the present invention, in terms of determining the arrangement order of n function controls in the first interface according to the user portrait and historical behavior of the user, the processor 1502 is specifically configured to perform the following operations:

[0139] Determine a first coefficient for each of the n auxiliary creation groups according to the user portrait, where the n auxiliary creation groups correspond one-to-one with the n function controls, and the first coefficient is used to identify the degree of preference of the group corresponding to the user portrait for the auxiliary creation group corresponding to the first coefficient;

[0140] Correct the first coefficient of each auxiliary creation group according to the historical behavior to obtain a second coefficient for each auxiliary creation group;

[0141] Determine the arrangement order of the n function controls in the first interface according to the second coefficient of the auxiliary creation group.

[0142] In an embodiment of the present invention, in terms of determining a first coefficient for each of the n auxiliary creation groups according to the user portrait, the processor 1502 is specifically configured to perform the following operations:

[0143] Match according to the user portrait in the historical behavior database to obtain a plurality of target behavior data, where the correlation coefficient between the executor portrait corresponding to each target behavior data and the user portrait is greater than a threshold;

[0144] Count the number of occurrences of each auxiliary creation group in the plurality of target behavior data to obtain n first occurrence values;

[0145] Determine the first coefficient of each auxiliary creation group according to the n first occurrence values.

[0146] In an embodiment of the present invention, the correlation coefficient between the executor portrait corresponding to each target behavior data and the user portrait can be represented by formula ④:

[0147]

[0148] Where p represents the correlation coefficient, A represents the feature vector of the executor portrait corresponding to each target behavior data, 丨A丨 represents the modulus of the feature vector A, ai represents the i-th element in the feature vector A, B represents the feature vector of the user portrait, 丨B丨 represents the modulus of the feature vector B, and bi represents the i-th element in the feature vector B.

[0149] In an embodiment of the present invention, in terms of modifying the first coefficient of each auxiliary creation graph group according to the historical behavior to obtain the second coefficient of each auxiliary creation graph group, the processor 1502 is specifically configured to perform the following operations:

[0150] Count the number of occurrences of each auxiliary creation graph group in the historical behavior to obtain n second occurrence values;

[0151] Add each second occurrence value to each corresponding first occurrence value to obtain n third occurrence values;

[0152] The second coefficient of each auxiliary creation graph group is determined according to the n third occurrence values.

[0153] In an embodiment of the present invention, the auxiliary creation picture group includes at least one auxiliary creation picture arranged in sequence, and the arrangement order of the at least one auxiliary creation picture is determined by the user portrait and / or historical behavior of the user;

[0154] The second picture is determined based on the order of the first picture in the auxiliary creation picture group.

[0155] In an embodiment of the present invention, when the user's selection operation for the first target function control is the first selection, the first image is a specific image in the corresponding auxiliary creation image group;

[0156] When the user's selection operation for the first target function control is a re-selection, the first image is the picture displayed in the drawing area when the user last selected the first target function control.

[0157] It should be understood that the data processing device in the present application may include a smart phone (such as an Android phone, an iOS phone, a Windows Phone phone, etc.), a tablet computer, a PDA, a laptop computer, a mobile Internet device MID (Mobile Internet Devices, MID for short), a robot or a wearable device, etc. The above data processing device is only an example, not an exhaustive list, including but not limited to the above data processing device. In practical applications, the above data processing device may also include: a smart vehicle terminal, a computer device, etc.

[0158] Through the description of the above implementation modes, those skilled in the art can clearly understand that the present invention can be implemented by combining software with a hardware platform. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various implementation modes of the present invention or some parts of the implementation modes.

[0159] Therefore, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement some or all of the steps of any data processing method described in the above method implementation. For example, the storage medium may include a hard disk, a floppy disk, an optical disk, a tape, a disk, a USB flash drive, a flash memory, etc.

[0160] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any data processing method recorded in the above method embodiment.

[0161] It should be noted that, for the sake of simplicity, the aforementioned method implementations are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by the present application.

[0162] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0163] In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device implementation described above is only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0164] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0165] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.

[0166] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0167] A person skilled in the art may understand that all or part of the steps in the various methods of the above-mentioned embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0168] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data processing method, characterized in that: The method comprises: Displaying a first interface, wherein the first interface includes a drawing area and n functional controls, wherein the drawing area is used to receive drawing information of the user and display a drawing image corresponding to the drawing information; In response to the user's selection operation on the first target function control, displaying a first picture in the drawing area as the background of the drawing area, wherein the first picture is any picture in the auxiliary creation picture group corresponding to the first target function control, and the first target function control is any function control among the n function controls; In response to the first switching operation of the user, displaying a second picture in the drawing area as the background of the drawing area, wherein the second picture is any one of the pictures remaining after removing the first picture from the auxiliary creation picture group corresponding to the first target function control; In response to the content generation operation of the user, content to be published is generated based on the background and the painting image displayed in the painting area.

2. The method according to claim 1, characterized in that After the first picture is displayed in the drawing area as the background of the drawing area in response to the user's selection operation on the first target function control, the method further includes: Based on the information of the auxiliary creation picture group, a switching icon is displayed in the first interface, and the switching icon is used to trigger the first switching operation, and the first switching operation indicates to replace the picture in the selected auxiliary creation picture group.

3. The method according to claim 1 or 2, characterized in that: The n function controls are arranged sequentially in the first interface, and the arrangement order of the n function controls is determined by the user portrait and / or historical behavior of the user.

4. The method according to claim 3, characterized in that Determining the arrangement order of the n function controls in the first interface according to the user portrait and historical behavior of the user includes: Determine a first coefficient of each of the n auxiliary creation graph groups according to the user portrait, wherein the n auxiliary creation graph groups correspond one-to-one to the n functional controls, and the first coefficient is used to identify the degree of preference of the group corresponding to the user portrait for the auxiliary creation graph group corresponding to the first coefficient; Modifying the first coefficient of each auxiliary creation graph group according to the historical behavior to obtain the second coefficient of each auxiliary creation graph group; The arrangement order of the n functional controls in the first interface is determined according to the second coefficient of the auxiliary creation diagram group.

5. The method according to claim 4, characterized in that The determining a first coefficient of each of the n auxiliary creation graph groups according to the user portrait includes: Matching the user portrait in a historical behavior database to obtain a plurality of target behavior data, wherein a correlation coefficient between the executor portrait corresponding to each target behavior data and the user portrait is greater than a threshold; Counting the number of occurrences of each auxiliary creation graph group in the plurality of target behavior data to obtain n first occurrence values; According to the n first occurrence values, a first coefficient of each auxiliary creation graph group is determined.

6. The method according to claim 5, characterized in that The correlation coefficient between the executor portrait corresponding to each target behavior data and the user portrait satisfies the following formula: Wherein, p represents the correlation coefficient, A represents the eigenvector of the executor portrait corresponding to each target behavior data, |A| represents the norm of the eigenvector A, ai represents the i-th element in the eigenvector A, B represents the eigenvector of the user portrait, |B| represents the norm of the eigenvector B, and bi represents the i-th element in the eigenvector B.

7. The method according to claim 5, characterized in that The method of correcting the first coefficient of each auxiliary creation picture group according to the historical behavior to obtain the second coefficient of each auxiliary creation picture group includes: Counting the number of occurrences of each auxiliary creation picture group in the historical behavior to obtain n second occurrence values; Adding each second occurrence value to the corresponding first occurrence value to obtain n third occurrence values; Determining the second coefficient of each auxiliary creation picture group according to the n third occurrence values.

8. The method according to claim 1 or 2, wherein The auxiliary creation picture group includes at least one auxiliary creation picture arranged in order, and the arrangement order of the at least one auxiliary creation picture is determined by the user portrait and / or historical behavior of the user; The second picture is determined based on the order of the first picture in the auxiliary creation picture group.

9. The method according to claim 8, wherein When the selection operation of the user for the first target function control is a first selection, the first image is a specific picture in the corresponding auxiliary creation picture group; When the selection operation of the user for the first target function control is a re-selection, the first image is the picture displayed in the painting area when the user last selected the first target function control.

10. A data processing device, characterized in that: The device includes: An interface display module, configured to display a first interface, wherein the first interface includes a painting area and n function controls, and the painting area is configured to receive the drawing information of the user and display a painting image corresponding to the drawing information; A switching display module, configured to respond to the selection operation of the user for the first target function control, and display a first picture as the background of the painting area in the painting area, wherein the first picture is any picture in the auxiliary creation picture group corresponding to the first target function control, and the first target function control is any one of the n function controls; respond to the first switching operation of the user, and display a second picture as the background of the painting area in the painting area, wherein the second picture is any picture in the remaining pictures in the auxiliary creation picture group corresponding to the first target function control after removing the first picture; A generation module, configured to respond to the content generation operation of the user, and generate content to be published based on the background and painting image displayed in the painting area.

11. An electronic device, characterized in that: It includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the processor, and the one or more programs include instructions for performing the steps in the method according to any one of claims 1-9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 9.