Resource display method and apparatus, and device, medium and program product

By deploying a lightweight reordering model on the client, adjusting the resource display order according to user behavior, the problem of users needing to browse a large number of resource selections is solved, and resource selection efficiency and experience are improved.

WO2024235126A1PCT designated stage expired Publication Date: 2024-11-21BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/092394
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-12
Filing Date
2024-05-10
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

When users select resources, they need to browse a large number of resources, resulting in reduced selection efficiency and user experience. The existing technology cannot adjust the display order of resources in real time to meet users' personalized needs.

Method used

By deploying a lightweight reordering model on the client, the sort of resources to be displayed is adjusted in real time according to the user's operation behavior, distinguishing between user operation resources and unoperated resources, using the cross-attention network and multi-task processing model to predict resource operation probability, and adjusting The order in which resources are displayed.

Benefits of technology

Real-time adjustment of resource display sequence is realized, users' resource selection efficiency and user experience are improved, and resource usage frequency and efficiency are increased.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024092394_21112024_PF_FP_ABST
    Figure CN2024092394_21112024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present disclosure are a resource display method and apparatus, and a device, a storage medium and a program product. The method comprises: displaying a list of resources to be selected, wherein the list of resources to be selected displays a plurality of resources to be selected; determining a first-type resource and a second-type resource on the basis of an operation of a user, wherein the first-type resource is a resource which is operated by the user in the displayed list of resources to be selected, and the second-type resource is a resource which is not operated by the user in the displayed list of resources to be selected; on the basis of the first-type resource and the second-type resource, determining sorting information of resources to be displayed; and on the basis of the sorting information of the resources to be displayed, displaying the resources to be displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Resource display method, device, equipment, medium and program product

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on May 12, 2023, with application number 202310540093.6 and invention name “Resource display method, device, equipment, medium and program product”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present disclosure relates to the field of computer technology, and in particular to a resource display method, apparatus, device, medium, and program product. Background Art

[0004] Client applications can provide users with a variety of resources for selection. These resources are typically delivered by the server to the client and presented to the user in a fixed order. Each time a user selects a resource, they must browse through the resources in this fixed order and make their selection. However, this often requires browsing through numerous resources before selecting the desired resource, which can be inconvenient for the user and reduce their resource selection efficiency and user experience.

[0005] Summary of the Invention

[0006] The present disclosure provides a resource display method, apparatus, device, storage medium, and program product to, to a certain extent, solve the technical problem of a fixed display order of resources provided to users.

[0007] In a first aspect, the present disclosure provides a resource display method, comprising:

[0008] Displaying a list of resources to be selected, wherein the list of resources to be selected displays a plurality of resources to be selected;

[0009] Determining first-category resources and second-category resources based on user operations, wherein the first-category resources are resources operated by the user in the displayed list of available resources, and the second-category resources are resources not operated by the user in the displayed list of available resources;

[0010] Determine sorting information of resources to be displayed based on the first category of resources and the second category of resources;

[0011] The resources to be displayed are displayed based on the sorting information of the resources to be displayed.

[0012] In a second aspect of the present disclosure, a resource display device is provided, comprising:

[0013] A display module, configured to display a list of resources to be selected, wherein the list of resources to be selected displays a plurality of resources to be selected;

[0014] A resource determination module, configured to determine, based on a user operation, a first category of resources and a second category of resources, wherein the first category of resources are resources in the displayed list of resources to be selected that are operated by the user, and the second category of resources are resources in the displayed list of resources that are not operated by the user;

[0015] A sorting module, configured to determine sorting information of resources to be displayed based on the first category of resources and the second category of resources;

[0016] The display module is further configured to display the resources to be displayed based on the sorting information of the resources to be displayed.

[0017] In a third aspect of the present disclosure, an electronic device is provided, characterized in that it includes one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the programs include instructions for executing the method according to the first aspect or the second aspect.

[0018] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium containing a computer program is provided. When the computer program is executed by one or more processors, the processors execute the method described in the first aspect or the second aspect.

[0019] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer program instructions, which, when executed on a computer, cause the computer to execute the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] FIG1 is a schematic diagram of a resource display architecture according to an embodiment of the present disclosure.

[0022] FIG2 is a schematic diagram of the hardware structure of an exemplary electronic device according to an embodiment of the present disclosure.

[0023] FIG3 is a schematic flowchart of a resource display method according to an embodiment of the present disclosure.

[0024] FIG4 is a schematic diagram of the resource display method according to an embodiment of the present disclosure.

[0025] FIG5 is a schematic diagram of a resource display device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0027] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should have the usual meanings understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative position relationships. When the absolute position of the described object changes, the relative position relationship may also change accordingly.

[0028] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0029] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0030] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0031] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0032] The present disclosure provides a resource display method, apparatus, device, medium, and program product that adjusts the display order of resources to be displayed based on user-operated resources and inactive resources in a list of selectable resources. This method achieves real-time adjustment of the resource display order, making the display order more consistent with the user's personalized needs, reducing browsing time, and improving resource selection efficiency and user experience.

[0033] FIG1 shows a schematic diagram of a resource display architecture according to an embodiment of the present disclosure. Referring to FIG1 , the resource display architecture 100 may include a server 110, a terminal 120, and a network 130 providing a communication link. The server 110 and the terminal 120 may be connected via a wired or wireless network 130. The server 110 may be an independent physical server, a server cluster or a distributed system consisting of multiple physical servers, or 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, security services, and CDN.

[0034] Terminal 120 can be implemented in hardware or software. For example, when implemented in hardware, terminal 120 can be any electronic device with a display screen that supports page display, including but not limited to smartphones, tablet computers, e-book readers, laptop computers, and desktop computers. When terminal 120 is implemented in software, it can be installed in the electronic devices listed above; it can be implemented as multiple software or software modules (such as software or software modules used to provide distributed services), or it can be implemented as a single software or software module, and no specific limitations are given here.

[0035] It should be noted that the resource display method provided in the embodiment of the present application can be executed by the terminal 120 or by the server 110. It should be understood that the number of terminals, networks, and servers in Figure 1 is only for illustration and is not intended to limit the same. Any number of terminals, networks, and servers can be used as required.

[0036] Figure 2 shows a schematic diagram of the hardware structure of an exemplary electronic device 200 provided by an embodiment of the present disclosure. As shown in Figure 2, electronic device 200 may include: a processor 202, a memory 204, a network module 206, a peripheral interface 208, and a bus 210. The processor 202, memory 204, network module 206, and peripheral interface 208 are communicatively connected to each other within electronic device 200 via bus 210.

[0037] Processor 202 may be a central processing unit (CPU), a resource display, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device (PLD), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), or one or more integrated circuits. Processor 202 may be configured to perform functions related to the techniques described herein. In some embodiments, processor 202 may also include multiple processors integrated into a single logical component. For example, as shown in FIG2 , processor 202 may include multiple processors 202a, 202b, and 202c.

[0038] The memory 204 can be configured to store data (e.g., instructions, computer codes, etc.). As shown in Figure 2, the data stored in the memory 204 can include program instructions (e.g., program instructions for implementing the resource display method of the embodiment of the present disclosure) and data to be processed (e.g., the memory can store configuration files of other modules, etc.). The processor 202 can also access the program instructions and data stored in the memory 204, and execute the program instructions to operate on the data to be processed. The memory 204 can include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 204 can include a random access memory (RAM), a read-only memory (ROM), an optical disc, a magnetic disk, a hard disk, a solid-state drive (SSD), a flash memory, a memory stick, etc.

[0039] The network module 206 can be configured to provide the electronic device 200 with communication with other external devices via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, near field communication (NFC)), a cellular network, the Internet, or a combination thereof. It will be appreciated that the type of network is not limited to the specific examples above. In some embodiments, the network module 306 can include any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, and the like.

[0040] The peripheral interface 208 can be configured to connect the electronic device 200 to one or more peripheral devices to implement information input and output. For example, the peripheral devices can include input devices such as a keyboard, a mouse, a touchpad, a touch screen, a microphone, and various sensors, and output devices such as a display, a speaker, a vibrator, and an indicator light.

[0041] The bus 210 can be configured to transmit information between the various components of the electronic device 200 (e.g., the processor 202, the memory 204, the network module 206, and the peripheral interface 208), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.

[0042] It should be noted that although the architecture of the electronic device 200 shown above only includes the processor 202, the memory 204, the network module 206, the peripheral interface 208, and the bus 210, in a specific implementation, the architecture of the electronic device 200 may also include other components necessary for normal operation. In addition, those skilled in the art will understand that the architecture of the electronic device 200 may also include only the components necessary to implement the embodiments of the present disclosure, and does not necessarily include all the components shown in the figure.

[0043] Users typically create images using client applications, such as taking photos. To enrich their creations, applications can provide users with a selection of special effects resources (e.g., props). When a user clicks the special effects list button, the server either globally distributes the props in a fixed order or distributes them in batches, paged by a fixed number of props to be viewed. However, both of these scenarios suffer from limitations such as the inability to adjust the order of props globally or within pages, and slow server performance. This forces users to browse through numerous resources before selecting the desired one, which is inconvenient and reduces the efficiency and user experience of resource selection. Therefore, how to adjust the display order of resources in real time has become a pressing technical issue.

[0044] In view of this, embodiments of the present disclosure provide a resource display method, apparatus, device, storage medium, and program product. The display order of resources to be displayed is adjusted based on the user's operated and unoperated resources in a list of selectable resources. This allows for real-time adjustment of the resource display order, making it more tailored to the user's personalized needs, reducing browsing time, and improving resource selection efficiency and user experience.

[0045] Specifically, when displaying special effects props in image capture, a lightweight real-time reordering model can be deployed on the client. This model, independent of server-side feature delivery, adjusts the server-delivered fixed prop order based on real-time user behavior, such as test shots, recordings, favorites, and postings. This model can better capture user behavior changes, enabling more comprehensive and intelligent recommendations for preferred special effects props, improving user experience and increasing prop usage frequency and efficiency, as well as start-up rates and submission rates.

[0046] Referring to Figure 3, Figure 3 shows a schematic flow chart of a resource display method according to an embodiment of the present disclosure. The resource display method according to an embodiment of the present disclosure can be deployed on the client based on a lightweight reordering model to adjust the resource ordering already issued by the server. In Figure 3, resource display method 300 can further include the following steps.

[0047] In step S310 , a list of resources to be selected is displayed, wherein the list of resources to be selected displays a plurality of resources to be selected.

[0048] Among them, resources can refer to data provided to users, and can include image resources (such as special effects props in image creation), text resources, audio resources, etc. Resources can also have resource attributes, such as data size, data type (such as image, text or audio); resource attributes can also include operation information of the user on the resource, such as trial shooting time, recording time, whether to collect, whether to save a draft, etc. The list of resources to be selected can display multiple resources to be selected for the user to operate. In some embodiments, the list of resources to be selected can be displayed by sliding in the display interface. At this time, the resources to be displayed may be resources that are not displayed. For example, the server can select resources a1-a n (n is a positive integer) are sent to the client in a fixed order, and the client can display resources a1-a in the display interface i (i is a positive integer, and i<n), then the list of resources to be selected includes resources a1-a i , the resources to be displayed include a i+1 -a n In some embodiments, the list of resources to be selected can be displayed in pages in the display interface. In this case, the resources to be displayed can be the next page of resources. For example, the server can select resources b1-b m (m is a positive integer) are sent to the client in a fixed order. The client can display the pages in a fixed paging order in the display interface, showing the first page of resources b1-b j (j is a positive integer, and j<m), then the list of resources to be selected includes resources b1-b j , the resources to be displayed include resource b on page 2 j+1 -b 2j , and so on.

[0049] In step S320, based on the user's operation, first-category resources and second-category resources are determined, wherein the first-category resources are user-operated resources in the displayed list of resources to be selected, and the second-category resources are user-unoperated resources in the displayed list of resources to be selected.

[0050] Among them, the first category of resources may include displayed resources that have been operated by the user, and the second category of resources may include displayed resources that have not been operated by the user. It can be seen that the first category of resources and the second category of resources determined based on the user's operation can reflect the user's preference for resources, that is, the user prefers the first category of resources to the second category of resources. Therefore, the probability of the resources to be displayed being operated by the user can be predicted by the correlation between the first category of resources and the second category of resources and the resources to be displayed, so as to adjust the order of the resources to be displayed, and display the resources to be displayed that the user prefers more at the front, so that the user can find the preferred resources more quickly, reduce the user's browsing time, and improve the user's resource selection efficiency and usage experience.

[0051] In some embodiments, determining the first category of resources and the second category of resources based on the user's operation includes:

[0052] Determining the operation object of the operation as the first type of resource, the operation comprising at least one of the following: collecting, recording, trial shooting, or publishing;

[0053] The resources in the displayed list of available resources that have not been operated by the user are determined to be the second type of resources.

[0054] Specifically, resources that a user has clicked, saved, recorded, tried, or published can be identified as first-category resources. For example, during the image creation process, when a user is browsing a list of special effects props, they can choose not to click on a special effects prop, or click on it and then try to shoot, record, save, or publish it. In this case, the props that the user has tried to shoot, recorded, saved, or published can be identified as first-category resources. Furthermore, all displayed props other than the first resource can be identified as second resources, or displayed props that have not been clicked can be identified as second resources.

[0055] Furthermore, in some embodiments, determining the first category of resources and the second category of resources based on the user's operation includes:

[0056] The operation object of the operation that meets the first preset condition is determined as the first type of resource, where the first preset condition includes at least one of the following: the operation number of the operation reaches a first preset number or the operation duration of the operation reaches a first preset duration.

[0057] Among them, resources that have been operated a first preset number of times can be determined as first-category resources. For example, if the first preset condition includes clicking a prop twice, then displayed props that have been clicked twice by the user can be determined as first-category resources. Resources that have been operated for a first preset duration can also be determined as first-category resources. For example, if the first preset condition includes a test shot duration of 5 seconds or longer, then props that have been tested by the user for 5 seconds or longer can be determined as first-category resources.

[0058] In some embodiments, the number of first resources is a first preset number. Furthermore, in some embodiments, the number of second resources is a second preset number. Since the first resource is a resource that has been operated by the user, it can be used as a positive sample, and the second resource that has not been operated can be used as a negative sample, thereby achieving a prediction of the operation to be performed on the resource to be displayed. That is, the first preset number of first-category resources can be used as positive samples, and the second preset number of second-category resources can be used as negative samples. For example, 2 or 2 clicks on props can be used as positive samples, and 3 users who have browsed but not clicked on props can be used as negative samples.

[0059] In some embodiments, before determining the first category of resources and the second category of resources based on the user's operation, the method further includes:

[0060] Determining whether the user's operation satisfies a second preset condition; wherein the second preset condition includes: the operation is a specified operation and at least one of the following: the number of operations of the operation reaches a second preset number, the total number of operation objects reaches a third preset number, or the operation duration of the operation reaches a second preset duration;

[0061] In response to the operation satisfying the second preset condition, a first type of resource and a second type of resource are determined based on the user's operation.

[0062] Among them, the specified operation may include at least one of clicking, collecting, recording, trial shooting or publishing. In order to ensure the stability of resource display and avoid the waste of computing resources caused by frequent calculations, a second preset condition can be set to trigger the implementation of adjusting the display order of the resources to be displayed. For example, the second preset condition may include that the user clicks on the prop twice in a row, and the trial shooting time after the two clicks is greater than or equal to 5 seconds. When the second preset condition is met, the resource display method based on the embodiment of the present disclosure can be used to reorder the resources to be displayed, so that the reordered resources to be displayed are more in line with the user's personalized needs, helping users to use the desired resources quickly and efficiently, thereby improving the efficiency of resource use.

[0063] In step S330, the sorting information of the resources to be displayed is determined based on the first category of resources and the second category of resources.

[0064] Specifically, a reordering model can be used to perform step S330. Referring to Figure 4, Figure 4 shows a schematic diagram of a resource display method according to an embodiment of the present disclosure. The reordering model may include a cross-attention network 401a-401b, a multi-tasking (Multi-gate Mixture-of-Expert) network 402 and a prediction network 403a-403c. It should be understood that the number of prediction networks can be set corresponding to the number of preset operations, which can be 2 or more respectively, and there is no restriction here. Among them, a regularization method (such as dropout) can be used to solve the polarization phenomenon of the reordering model, and the reordering model can use an early stopping method during training to reduce overfitting. The reordering model can be locally adjusted, converted into a preset format, and then the model is converted through the corresponding platform, and finally the model is deployed on the client through a preset link.

[0065] In some embodiments, determining sorting information of resources to be displayed based on the first category of resources and the second category of resources includes:

[0066] Based on the first category of resources and the second category of resources, determining correlation characteristics between the to-be-displayed resources and the first category of resources and the second category of resources;

[0067] Determining an operation probability of performing a preset operation on the resource to be displayed based on the correlation feature;

[0068] The sorting information of the resources to be displayed is determined based on the operation probability.

[0069] Preset operations may include test shooting, recording, and publishing. Correlation features can be used to characterize the correlation between the resources to be displayed and the first and second category resources. As shown in FIG4 , cross-attention networks 401a-401b can be used to perform cross-attention calculations on the first, second, and to-be-displayed resources, respectively, to obtain corresponding correlation features. Feature extraction is then performed based on the correlation features and the multi-task processing network 402 to obtain target prediction features corresponding to each predicted operation. The target prediction features for each predicted operation are different because different features are prioritized when performing probability predictions for different predicted operations. To improve the accuracy of the predicted probabilities, the target prediction features input for predicting different preset operations will also be different. Then, for different predicted operations, the corresponding prediction networks 403a-403c and corresponding target prediction features are used to predict the operation probabilities, obtaining the operation probabilities corresponding to different preset operations for the resources to be displayed.

[0070] In some embodiments, determining, based on the first category of resources and the second category of resources, a correlation feature of the resource to be displayed with the first category of resources and the second category of resources includes:

[0071] Based on the first category of resources and the to-be-displayed resources, determining a first correlation feature having a positive weight between the to-be-displayed resources and the first category of resources;

[0072] Based on the second-category resources and the to-be-displayed resources, determining a second correlation feature including an inverse weight between the to-be-displayed resources and the second-category resources;

[0073] The correlation feature is obtained by fusing the first correlation feature and the second correlation feature.

[0074] Among them, the first correlation feature can represent the correlation between the resource to be displayed and the first category of resources. Since the first category of resources are user-operated resources and can reflect the user's resource preference, the first correlation feature can represent the positive weight. The second correlation feature can represent the correlation between the resource to be displayed and the second category of resources. Since the first category of resources are user-operated resources and reflect that the user has no preference for the second category of resources, the second correlation feature can represent the reverse weight. Splicing the first correlation feature with the second correlation feature can obtain the correlation features corresponding to the resource to be displayed and the first category of resources and the second category of resources. Then the correlation features can correspondingly reflect both the positive weight of the resource to be displayed and the first category of resources, as well as the reverse weight of the resource to be displayed and the second category of resources, which is conducive to improving the accuracy of predicting the operation probability of the resource to be displayed.

[0075] Specifically, as shown in Figure 4, a set of input data can be obtained based on the first category of resources, the second category of resources and the resources to be displayed, and the input data can be input into the reordering model. Among them, the first category of resources can be used as positive samples, for example, the props operated by the user can be represented in the form of a sequence as a user real-time click sequence (User Real-time Click Sequence). The second category of resources can be used as negative samples, for example, the props not operated by the user can be represented in the form of a sequence as an exposed not clicked sequence (Exposed Not Clicked Sequence). The input data also includes resources to be displayed, such as target props (Target Tool). It should be understood that the number of the first category of resources and the second category of resources of the input data can be set as needed, and the two can be the same or different without limitation. For example, the input data can include 6 data, namely 2 positive samples, 1 resource to be displayed, and 3 negative samples. The cross-attention network 401a can perform cross-attention calculation on the first category of resources and the resources to be displayed to obtain a first correlation feature, and the cross-attention network 401b can perform cross-attention calculation on the second category of resources and the resources to be displayed to obtain a second correlation feature. The first correlation feature and the second correlation feature are concatenated to obtain a correlation feature, which is used as an input of the multi-task processing network 402 .

[0076] In some embodiments, determining the operation probability of performing a plurality of preset operations on the resource to be displayed based on the correlation feature includes:

[0077] Obtaining a target prediction feature of the preset operation based on the correlation feature and feature information corresponding to the preset operation;

[0078] The operation probability is obtained based on the target prediction feature.

[0079] Feature information may refer to information obtained by processing correlation features to obtain input features corresponding to different preset operations. Different preset operations may correspond to different feature information. For example, feature information may include feature weights. As shown in Figure 4, the multi-task processing network 402 may include multiple feature extraction networks and multiple weighting networks. The multiple feature extraction networks extract features from the correlation features to obtain multiple initial prediction features. The weighting networks output feature weights corresponding to the multiple initial prediction features. The initial prediction features and the corresponding feature weights are weighted or weighted averaged to obtain a target prediction feature. The operation probability of the preset operation is then calculated based on the target prediction feature and the corresponding prediction network. Specifically, the multiple feature extraction networks may utilize multiple independent tower models to extract features from the correlation features to obtain multiple different initial prediction features. Simultaneously, multiple weighting networks may be trained to output feature weights for the initial prediction features. The prediction networks may be independent multi-layer perceptron (MLP) networks, each of which is used to predict the operation probability of a preset operation. For example, the multiple prediction networks may respectively predict the probability of a preview shot, recording, and release of a resource to be displayed.

[0080] For each prediction network input feature, the feature weights output by the weight network are different. For example, for the prediction network 403a corresponding to the first preset operation, its corresponding weight network can output multiple initial prediction features F = F1-F K (K is a positive integer) feature weight q=[q1,……,q K ], then its corresponding target prediction feature is F*q or F*q / K; for the prediction network 403b corresponding to the second preset operation, its corresponding weight network can output multiple initial prediction features F'=F'1-F' K (K is a positive integer) feature weight q'=[q'1,……,q' K ], then the corresponding target prediction feature is F'*q' or F'*q' / K.

[0081] It should be understood that the above-mentioned feature extraction network and weight network can be trained based on a neural network and corresponding training data, which will not be described in detail here.

[0082] In some embodiments, before determining the correlation characteristics of the resources to be displayed with the first category of resources and the second category of resources based on the first category of resources and the second category of resources, it also includes: performing data preprocessing on the first category of resources, the second category of resources and the resources to be displayed.

[0083] Among them, in data preprocessing, continuous data (such as test shooting time, recording time) can be processed in a standardized form, for example, the continuous data can be normalized. Category data (such as whether it is collected, whether a draft is stored) is processed in an independent coding manner. For example, code A can indicate that the resource is collected, and code B can indicate that the resource is not collected; code C can indicate that a draft is stored for the resource, and code D can indicate that a draft is not stored for the resource. It should be understood that the above data preprocessing is only an example and is not intended to limit the resources for data preprocessing and its preprocessing method. More resources can also be preprocessed, and there is no limitation here.

[0084] In some embodiments, determining the sorting information of the resources to be displayed based on the operation probability includes:

[0085] Obtaining ranking scores of the resources to be displayed based on the operation probabilities and preset weights corresponding to the plurality of preset operations;

[0086] The ranking information is determined based on the ranking score; wherein, the higher the ranking score, the closer the display position corresponding to the ranking information is to the front.

[0087] The sorting information may include the display position, and may also include the position information of the forward or backward movement. For example, for the resources D1-D3 to be displayed, the current sorting order is D1, D2, D3. According to the resource display method of the embodiment of the present disclosure, the obtained sorting scores are S1, S2, S3 (S2>S3>S1), respectively. Then, the sorting information of the resources D1-D3 to be displayed may be D2, D3, D1, or the resource D1 to be displayed may be shifted back 2 places, the resource D2 to be displayed may be shifted forward 1 place, and the resource D3 to be displayed may be shifted forward 1 place. It should be understood that the above sorting information is only an example and is not intended to limit the sorting information and the number of resources to be displayed.

[0088] Specifically, the preset operations may include a first preset operation O1 and a second preset operation O2. The first preset operation O1 may correspond to a first preset weight Q1, and the second preset operation O2 may correspond to a second preset weight Q2. Based on the first and second types of resources, the probability of the to-be-displayed resource performing the first preset operation O1 may be determined to be P1, and the probability of the to-be-displayed resource performing the second preset operation O2 may be determined to be P2. Then, the ranking score S = P1*Q1+P2*Q2. It should be understood that the above preset operations are merely examples and are not intended to limit the number and types of preset operations. The number and types of preset operations may also include more, and are not limited here.

[0089] In some embodiments, the preset operations may further include a third preset operation corresponding to a third preset weight Q3. Further, in some embodiments, the sorting score S = P1*Q1+P2*Q2+P3*Q3, where P3 may be the probability of the resource to be displayed performing the third preset operation O3. For example, multiple preset operations may include trial shooting, recording, and publishing, and the corresponding preset weights are 0.7, 0.2, and 0.1, respectively. Then, the sorting score S = P_trial shooting*0.7+P_recording*0.2+P_publishing*0.1, where P_trial shooting, P_recording, and P_publishing are the predicted probabilities of trial shooting, recording, and publishing for the resource to be displayed based on the first and second categories of resources, respectively.

[0090] In step S340, the resources to be displayed are displayed based on the sorting information of the resources to be displayed.

[0091] In some embodiments, the resources to be displayed can be displayed by sliding in the display interface. n (n is a positive integer) are sent to the client in a fixed order, and the client can display resources a1-a in the display interface i (i is a positive integer, and i<n) In the prior art, when the user continues to slide, the resources to be displayed will be displayed according to a i+1 -a n In the embodiment of the present disclosure, resources a1-a are displayed in the current interface. i At this time, based on the user's display of resources a1-a i The operation has been treated as display resource a i+1 -a n If the resources are reordered, when the user continues to slide, the resources to be displayed will be shown to the user in the new order.

[0092] In some embodiments, the list of resources to be selected can be displayed in pages in the display interface. Specifically, the server can list resources b1-b m (m is a positive integer) are sent to the client in a fixed order. The client can display the pages in a fixed paging order in the display interface, showing the first page of resources b1-b j (j is a positive integer, and j<m), the resource b on page 2 in the prior art j+1 -b 2j , Page 3 Resource b j+1 -b 2j When the user displays the next page, i.e. page 2, resource b is displayed in the inherent order. j+1 -b 2j In the embodiment of the present disclosure, based on the user's response to the displayed resource b j+1 -b 2jThe operation has been performed on the resource b to be displayed on page 2. j+1 -b 2j Rearrange the order, and when the user displays the next page, that is, page 2, resource b will be displayed in the new order. j+1 -b 2j Similarly, in the embodiment of the present disclosure, the resources to be displayed on the next page (eg, page 3 or other pages) may be reordered based on the user's operation on the resources displayed on page 2, and so on.

[0093] It can be seen that the resource display method according to the embodiment of the present disclosure can recommend preferred resources to users based on changes in user behavior, improve user experience, and increase the frequency and efficiency of resource usage.

[0094] It should be noted that the method of the embodiments of the present disclosure can be performed by a single device, such as a computer or server. The method of the embodiments of the present disclosure can also be applied in a distributed scenario, where multiple devices cooperate to perform the method. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiments of the present disclosure, and the multiple devices will interact with each other to complete the method.

[0095] It should be noted that the above description is limited to some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0096] Based on the same technical concept, corresponding to any of the above embodiments and methods, the present disclosure further provides a resource display device, as shown in FIG5 , which includes:

[0097] A display module, configured to display a list of resources to be selected, wherein the list of resources to be selected displays a plurality of resources to be selected;

[0098] A resource determination module, configured to determine, based on a user operation, a first category of resources and a second category of resources, wherein the first category of resources are resources in the displayed list of resources to be selected that are operated by the user, and the second category of resources are resources in the displayed list of resources that are not operated by the user;

[0099] A sorting module, configured to determine sorting information of resources to be displayed based on the first category of resources and the second category of resources;

[0100] The display module is further configured to display the resources to be displayed based on the sorting information of the resources to be displayed.

[0101] For the convenience of description, the above devices are described as being functionally divided into various modules. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0102] The apparatus of the above embodiment is used to implement the corresponding resource display method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0103] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the resource display method described in any of the above embodiments.

[0104] The computer-readable media of this embodiment include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0105] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the resource display method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0106] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Within the scope of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.

[0107] In addition, to simplify the description and discussion, and so as not to obscure the embodiments of the present disclosure, known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, devices may be shown in the form of block diagrams to avoid obscuring the embodiments of the present disclosure, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure are to be implemented (i.e., these details should be fully within the purview of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it will be apparent to those skilled in the art that the embodiments of the present disclosure may be implemented without these specific details or with variations in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0108] Although the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those skilled in the art based on the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0109] The embodiments of the present disclosure are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. A resource display method, comprising: Display a list of resources to be selected, wherein the list of resources to be selected displays a plurality of resources to be selected; Based on the user's operation, determine the first category of resources and the second category of resources, wherein the first category of resources are resources operated by the user in the displayed list of resources to be selected, and the second category of resources are resources not operated by the user in the displayed list of resources to be selected; Determine sorting information of resources to be displayed based on the first category of resources and the second category of resources; The resources to be displayed are displayed based on the sorting information of the resources to be displayed.

2. The method according to claim 1, wherein The determining of the first category of resources and the second category of resources based on the user's operation includes: Determine the operation object of the operation as the first type of resource, and the operation includes at least one of the following: collection, recording, trial shooting or publishing; The resources in the displayed list of available resources that have not been operated by the user are determined to be the second category of resources.

3. The method according to claim 2, wherein: Determining the operation object of the operation as the first type of resource includes: The operation object of the operation that meets the first preset condition is determined as the first type of resource, and the first preset condition includes at least one of the following: the operation number of the operation reaches a first preset number of times or the operation duration of the operation reaches a first preset duration.

4. The method according to claim 1, wherein Based on the first category resources and the second category resources, the sorting information of the resources to be displayed is determined, including: Based on the first category of resources and the second category of resources, determining correlation characteristics between the to-be-displayed resources and the first category of resources and the second category of resources; Determining an operation probability of performing a preset operation on the resource to be displayed based on the correlation feature; The sorting information of the resources to be displayed is determined based on the operation probability.

5. The method according to claim 4, wherein: Determining, based on the first category of resources and the second category of resources, correlation characteristics of the resources to be displayed with the first category of resources and the second category of resources, includes: Based on the first type of resources and the resources to be displayed, determining a characterization of the resources to be displayed and the The first correlation feature of positive weights between the first type of resources; Based on the second-category resources and the to-be-displayed resources, determining a second correlation feature characterizing an inverse weight between the to-be-displayed resources and the second-category resources; The correlation feature is obtained by fusing the first correlation feature and the second correlation feature.

6. The method according to claim 4, wherein: Determining the operation probability of performing a preset operation on the resource to be displayed based on the correlation feature includes: Based on the correlation feature and the feature information corresponding to the preset operation, obtaining a target prediction feature of the preset operation; The operation probability is obtained based on the target prediction feature.

7. The method according to claim 4, wherein: Determining the sorting information of the resources to be displayed based on the operation probability includes: Based on the operation probabilities and preset weights corresponding to the plurality of preset operations, obtaining ranking scores of the resources to be displayed; The ranking information is determined based on the ranking score; wherein, the higher the ranking score is, the closer the display position corresponding to the ranking information is.

8. A resource display device, comprising: A display module, used to display a list of resources to be selected, wherein the list of resources to be selected displays a plurality of resources to be selected; A resource determination module, configured to determine a first category of resources and a second category of resources based on a user operation, wherein the first category of resources are resources operated by the user in the displayed list of resources to be selected, and the second category of resources are resources not operated by the user in the displayed list of resources to be selected; A sorting module, used to determine sorting information of resources to be displayed based on the first category of resources and the second category of resources; The display module is further configured to display the resources to be displayed based on the sorting information of the resources to be displayed.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the program. 10 . A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to claim 1 .

11. A computer program product, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Display method and device of resource entrances on mobile device and mobile device

    CN105867734A

  • Information recommendation method and device

    CN114764468A

  • Resource recommendation method and device, electronic equipment and storage medium

    CN115905690A

  • Resource display method and device, equipment, medium and program product

    CN116627561A

  • Shaping a relevance profile for engagement

    US10747400B1