Information display method and device, electronic equipment, medium and program product
By creating a virtual fitting room and optimizing resource allocation, the problem that users cannot view the clothing wearing effect in real time in online shopping is solved, and the interactive experience and resource usage efficiency of the trial-on process are improved.
Patent Information
- Application Number
- CN202411109905.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-26
AI Technical Summary
In current online shopping, users cannot see the effect of wearing clothes on themselves in real time, and there is insufficient interactive experience during the try-on process.
By creating a virtual fitting room for users, sending a virtual fitting room to the terminal device, displaying the effect of the user's trial-on product and interaction information with other users, and determining the trial-on priority based on the user's waiting time, level and network delay time. Optimize resource allocation to improve interactive experience.
It realizes that users can view the trial-on effect in the virtual fitting room and interact with friends in real time, improves the shopping experience, and optimizes resource usage efficiency and user experience.
Smart Images

Figure CN119027213A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an information display method, device, electronic equipment, medium and program product. Background Art
[0002] The current online shopping market is booming, and online shopping has become an important shopping method for modern consumers. In the existing online shopping process, users can often only see the effect pictures of the models trying on the clothes, but cannot see the actual effect of the clothes on themselves.
[0003] With the rapid development of artificial intelligence technology, computer vision technology, especially image generation technology, can help users experience the actual wearing effect of clothes online, so that users can see the fitting effect without having to try on the clothes in person. However, how to improve the user's interactive experience during the fitting process is a technical problem that needs to be solved. Summary of the invention
[0004] The embodiments of the present invention provide an information display method, device, electronic device, medium and program product to solve the technical problem of how to improve the interactive experience of users in the process of trying on clothes.
[0005] In a first aspect, an embodiment of the present invention provides an information display method, which is applied to a server, comprising:
[0006] Creating a virtual fitting room for the first terminal;
[0007] The virtual fitting room is sent to the first terminal; wherein the first terminal is used to display the virtual fitting room, and the virtual fitting room is used to display the fitting effect of the first user trying on the target fitting product and the interaction information between other users and the first user.
[0008] Optionally, the information display method further includes:
[0009] When receiving the sharing request sent by the first terminal, sending link information corresponding to the virtual fitting room to at least one second terminal;
[0010] The sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
[0011] Optionally, the information display method further includes:
[0012] The number of accesses and / or the access time of the link information corresponding to the virtual fitting room are set.
[0013] Optionally, the information display method further includes:
[0014] In the case of receiving fitting requests sent by at least two of the first terminals, determining the user fitting priority corresponding to each of the first terminals according to at least one factor of user waiting time, user level and network delay time;
[0015] Resources are allocated to the at least two first terminals according to the user's trying-on priority.
[0016] Optionally, the above information display method further includes:
[0017] Model training is performed based on historical behavior feature data of multiple users and corresponding time feature data to obtain a resource demand prediction model;
[0018] Predicting the resource demand when the first terminal initiates a try-on request at the first moment by using the resource demand prediction model;
[0019] Determine the user trial priority corresponding to the first terminal according to at least one factor of user waiting time, user level and network delay time;
[0020] According to the resource demand and the user's try-on priority, required resources are reserved for the first terminal at the first moment.
[0021] Optionally, determining the user trial priority corresponding to each first terminal according to at least one factor of user waiting time, user level and network delay time includes:
[0022] Normalizing the user waiting time, the user grade, and the network delay time to obtain a normalized waiting time, a normalized user grade, and a normalized network delay time;
[0023] Performing a weighted summation on the normalized waiting time, the normalized user level and the normalized network delay time to obtain the user's trying-on priority;
[0024] Among them, the normalized waiting time corresponds to a first weight value, the normalized user level corresponds to a second weight value, and the normalized network delay time corresponds to a third weight value; the sum of the first weight value, the second weight value and the third weight value is 1.
[0025] Optionally, the normalizing the user waiting time, the user grade, and the network delay time to obtain a normalized waiting time, a normalized user grade, and a normalized network delay time includes:
[0026] Normalizing the user waiting time according to the maximum waiting time of the user in the historical time window to obtain a normalized waiting time;
[0027] According to the user level range, the user level is normalized to obtain a normalized user level;
[0028] According to the preset maximum network delay time, the network delay time is normalized to obtain a normalized network delay time.
[0029] In a second aspect, an embodiment of the present invention further provides an information display method, applied to a first terminal, comprising:
[0030] Receiving a first input from a first user; wherein the first input is used to select a target try-on product;
[0031] Receive the virtual fitting room sent by the server;
[0032] The virtual fitting room is displayed; wherein the virtual fitting room displays the first user's trying-on effect of the target product and interaction information between other users and the first user.
[0033] Optionally, the method further comprises:
[0034] When a first input to the virtual fitting room is received, a sharing request is sent to the server, wherein the sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
[0035] Optionally, the page of the virtual fitting room includes an interactive information editing area; the method further includes:
[0036] receiving a second input to the interactive information editing area, where the second input is used by the first user to edit and send interactive information;
[0037] In response to the second input, the interactive information is displayed in the virtual fitting room.
[0038] In a third aspect, an embodiment of the present invention further provides an online fitting device, which is applied to a server and includes:
[0039] A first processing module, used to create a virtual fitting room for the first terminal;
[0040] The first sending module is used to send the virtual fitting room to the first terminal; wherein the first terminal is used to display the virtual fitting room, and the virtual fitting room is used to display the fitting effect of the first user trying on the target fitting product and the interaction information between other users and the first user.
[0041] In a fourth aspect, an embodiment of the present invention further provides an online fitting device, which is applied to a first terminal and includes:
[0042] A first receiving module is used to receive a first input from a first user; wherein the first input is used to select a target product to be tried on;
[0043] The second receiving module is used to receive the virtual fitting room sent by the server;
[0044] The display module is used to display the virtual fitting room; wherein the virtual fitting room displays the fitting effect of the first user trying on the target fitting product and the interaction information between other users and the first user.
[0045] In the fifth aspect, an embodiment of the present invention further provides an electronic device, comprising: a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the information display method described in the first aspect or the second aspect above.
[0046] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the information display method described in the first aspect or the second aspect are implemented.
[0047] In a seventh aspect, an embodiment of the present invention further provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps in the information display method described in the first aspect or the second aspect above.
[0048] In the above scheme, a virtual fitting room is created for the first terminal; the virtual fitting room is sent to the first terminal, so that the first terminal displays the virtual fitting room, and displays the first user's fitting effect of the target fitting product and the interaction information between other users and the first user in the virtual fitting room. In this way, by opening an independent virtual fitting room for the first user, the first user can watch his or her fitting effect through the virtual fitting room, and interact with other users in real time in the virtual fitting room, so as to collect friends' evaluation and reference information on the fitting effect in the first place, so that users can experience the fun of shopping with multiple friends, and improve the user's interactive experience during the fitting process. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0050] Figure 1is one of the flow charts of the information display method provided by an embodiment of the present invention;
[0051] Figure 2 This is the second flowchart of the information display method provided by the embodiment of the present invention;
[0052] Figure 3 is a schematic diagram of a virtual fitting room provided by an embodiment of the present invention;
[0053] Figure 4 is one of the structural diagrams of the information display device provided by the embodiment of the present invention;
[0054] Figure 5 This is the second structural diagram of the information display device provided by the embodiment of the present invention;
[0055] Figure 6 This is one of the hardware structure diagrams of the electronic device provided by the embodiment of the present invention;
[0056] Figure 7 This is the second schematic diagram of the hardware structure of the electronic device provided by the embodiment of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] See also Figure 1 , Figure 1 is a flow chart of an information display method provided by an embodiment of the present invention, such as Figure 1 As shown, the following steps are included:
[0059] Step 101: Create a virtual fitting room for a first terminal.
[0060] The virtual fitting room is an independent virtual private fitting room dynamically created for the first user on the first terminal side.
[0061] Optionally, the virtual fitting room refers to an online fitting function implemented based on computer graphics technology. For example, the virtual fitting room can be a fitting function embedded in an e-commerce application. In specific implementation, the virtual fitting room can be implemented in the form of a mini-program or web page, or can be deployed as a dedicated application or plug-in.
[0062] Exemplarily, the virtual fitting room in this step can be specifically a virtual fitting room page. After the user terminal displays the virtual fitting room page, the user can enter the virtual fitting room; wherein, the virtual fitting room page can be used to display at least one of the following information: user fitting effect pictures, interaction information between the user and other users, try-on product information, sharing controls, fitting scene background pictures, user information (such as nickname, avatar), etc.
[0063] As an optional embodiment, while browsing products using an e-commerce application installed in a first terminal, the first user clicks on a try-on function control on the detail description page of the target product to be tried on, thereby triggering the first terminal to send a try-on request to a server; after receiving the try-on request, the server creates an independent virtual fitting room for the first user based on the product information carried in the try-on request and the user information of the first user, wherein the virtual fitting room is used to display a try-on effect picture of the first user's virtual image wearing the target product and interaction information between the first user and other users.
[0064] Each virtual fitting room has a unique identifier, and the database stores configuration information of the virtual fitting room corresponding to each identifier. Optionally, the configuration information of the virtual fitting room includes but is not limited to: product information, model configuration of the virtual image, user's body measurement data, background and lighting configuration of the fitting room, page configuration, etc.
[0065] Step 102: sending the virtual fitting room to the first terminal; wherein the first terminal is used to display the virtual fitting room, and the virtual fitting room is used to display the fitting effect of the first user trying on the target fitting product and the interaction information between other users and the first user.
[0066] The target try-on products include but are not limited to: clothing, shoes and hats, jewelry, headwear, etc.
[0067] For example, Figure 3 What is shown is a page rendering of a virtual fitting room, which displays a fitting rendering of the user's virtual image, interaction information b between the user and other users, product information c, and sharing control d; the user can intuitively feel the fitting effect of the product based on the fitting rendering, the user can participate in the fitting evaluation interaction based on the interactive information, the first user and other users can learn more details of the target fitting product based on the product information, and the first user can share his virtual fitting room with other users based on the sharing control d, so that other users can enter the first user's virtual fitting room.
[0068] In the above embodiment, by opening an independent virtual fitting room for the first user, the first user can watch his or her own trying-on effects through the virtual fitting room and interact with other users in real time in the virtual fitting room, so as to collect friends' evaluations and reference information on the trying-on effects at the first time, allowing the user to experience the fun of shopping with multiple friends, thereby improving the shopping experience.
[0069] In some optional embodiments, the above method further includes:
[0070] When receiving the sharing request sent by the first terminal, sending link information corresponding to the virtual fitting room to at least one second terminal;
[0071] The sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
[0072] For example, Figure 3 In the embodiment, a sharing control d is displayed in the virtual fitting room, and when the first user clicks the sharing control d, a sharing request is triggered to be sent to the server; wherein the analysis request carries identity information of at least one second user; the server sends link information corresponding to the virtual fitting room to the second terminal corresponding to the second user according to the sharing request; wherein the second terminal receives and displays the link information, and upon receiving an input operation corresponding to the link information from the second user, displays the page information corresponding to the virtual fitting room.
[0073] Accordingly, if Figure 3 In the virtual fitting room page, the interactive information editing area e is also included. The interactive information editing area e is used to receive input operations from the second user on the second terminal side. The input operations are used by the second user to edit and send interactive information; and the interactive information sent by the second user is displayed in the virtual fitting room.
[0074] The interactive information may include comments or suggestions on the fitting effects, or any chat information.
[0075] In the above embodiment, the first user can invite other users to enter the virtual fitting room by sharing the link information of the virtual fitting room, so that other users can participate in the trying-on process together, and other users can provide real-time evaluation and suggestions to the first user, thereby helping the user to make more accurate shopping decisions. Moreover, only users who have received the shared link information can enter the virtual fitting room, which can ensure privacy while allowing users to experience the fun of collaborative shopping with multiple people.
[0076] In some optional embodiments, the above method further includes:
[0077] The number of accesses and / or the access time of the link information corresponding to the virtual fitting room are set.
[0078] Among them, the number of accesses is used to limit the link information to automatically become invalid when the number of times it is accessed reaches the limit. This ensures that the link information can only be accessed by the user who shared it for the first time. Link information forwarded multiple times cannot access the virtual fitting room to ensure the privacy of the virtual fitting room.
[0079] Among them, the access time is used to limit the link information accessed by other users to be valid only within the validity period. Once the link information expires, other users will not be able to access the virtual fitting room even if the link information is forwarded again.
[0080] In specific implementation, after creating a virtual fitting room, the server generates link information corresponding to the virtual fitting room and sets access permission information for the link information; wherein, the link information is associated with the identification information and access permission information of the virtual fitting room, and the access permission information includes the number of visits and / or the access time. When the first user shares the virtual fitting room with other users through the first terminal, the link information of the virtual fitting room is forwarded to the second terminal corresponding to the second user through the server; when the second user clicks and inputs the link information, the second terminal triggers to send a viewing request to the server, and views the access permission information and user authentication information (such as user registration information) of the link information carried in the request; the server verifies the access permission information and user authentication information; after the verification is passed, the server sends the virtual fitting room to the second terminal; the second terminal displays the virtual fitting room, so that the second user on the second terminal side can access the virtual fitting room, and the second user can participate in the first user's fitting process through the virtual fitting room.
[0081] In the above embodiment, the privacy of the virtual fitting room can be improved by setting the access times and / or access time of the link information.
[0082] Furthermore, in order to avoid potential network performance issues that may arise from starting a virtual fitting room for each user, such as network resource bottlenecks that may occur in scenarios where multiple people are trying on clothes online, affecting the stability and availability of the service, the present application also provides the following embodiments for online fitting scenarios.
[0083] In some optional embodiments, the above method further includes:
[0084] In the case of receiving fitting requests sent by at least two of the first terminals, determining the user fitting priority corresponding to each of the first terminals according to at least one factor of user waiting time, user level and network delay time;
[0085] Resources are allocated to the at least two first terminals according to the user's trying-on priority.
[0086] For example, suppose the resource requirements of user A, user B, and user C are: R ′ (A) = 30, R ′ (B) = 50, R ′ (C) = 20. The user's priority for trying on clothes is: P(U C )>P(U B )>P(U A ), P(U A ) is the user trying-on priority of user A, P(U B ) is the user trying-on priority of user B, P(U C ) is the user trial priority of user C; according to the user trial priority, determine which user to prepare resources for first. For example, if user C has the highest level, resources should be allocated to user C first, followed by user B and user A. In this way, resources can be allocated to users according to their priorities, ensuring that high-priority users get resources first, and also helping to optimize resource utilization efficiency so that the most important or most active users can receive timely services.
[0087] It should be noted that user waiting time refers to the time interval from when the user initiates a try-on request to when the system starts processing or completes preliminary processing to start resource allocation. In other words, user waiting time is the time that a try-on request waits in the queue for a response from the system. User waiting time is related to factors such as the availability of system resources, the length of the queue currently processing requests, and the system processing capacity.
[0088] For example, suppose that the virtual try-on system of the live broadcast platform is running during peak hours. At this time, a large number of users in the system initiate try-on requests at the same time, but the server's processing capacity is limited and cannot respond to all try-on requests immediately. Among them, user A initiates a virtual try-on request at 10:00:00. At this time, the system is processing requests from other users, and user A's request enters the waiting queue; the system starts processing user A's request at 10:00:15. This means that user A's try-on request waited in the queue for 15 seconds before being received by the system and started to be processed. In this example, the user waiting time for user A is 15 seconds. The user waiting time reflects the length of time that user A's try-on request waits in the system to be processed, and is an important factor in determining the user's try-on priority.
[0089] It should be pointed out that the basis for dividing user levels may include, but is not limited to, factors such as user online time and activity, shopping history, interaction and participation in the live broadcast room. For example, user levels can be divided into ordinary users, silver members, gold members and diamond members, and user levels can be divided from 1 to 10. When considering the user's try-on priority, user levels are taken into consideration. When resources are limited, high-level users may enjoy priority access or faster service response speeds. This not only reflects respect for high-value users, but also helps to optimize resource utilization efficiency and ensure that the most important or most active users receive timely services.
[0090] It should be pointed out that network delay time can be obtained through network performance testing tools or application programming interfaces (APIs), and network delay time can reflect the time required for a data packet to be sent from the client to the server and then returned to the client. In network applications, especially in scenarios with high real-time requirements (such as live broadcasts, online games, etc.), network delay time is one of the important factors affecting user experience.
[0091] Exemplarily, the method for obtaining the network delay time includes:
[0092] Ping command: This is the most basic way to detect network delay. It estimates network delay by sending ICMP echo requests to the server and measuring the round-trip time. ICMP is the Internet Control Message Protocol, which is a component of the TCP / IP protocol suite. It allows hosts or routers to report errors and abnormal conditions.
[0093] Traceroute tool: It can display the path that a data packet takes to reach the destination host, as well as the latency of each hop, which helps identify network bottlenecks.
[0094] Third-party APIs or Software Development Kits (SDKs): Many cloud service providers (such as AWS, Google Cloud, Azure) provide APIs or SDKs to measure client-to-server network latency.
[0095] It should be noted that network latency has at least the following effects on calculating user trial priority:
[0096] 1. Optimize user experience: Users can receive server responses faster under low latency conditions, which is particularly important in real-time interactive scenarios. For example, in live virtual try-ons, low latency means that users can quickly see the try-on effect without having to wait for a long time, thus providing a smoother interactive experience.
[0097] 2. Efficient resource allocation: When network resources are limited, giving priority to user requests with better network conditions can make more efficient use of server resources. This is because low-latency connections can often complete data exchange more quickly, reduce resource usage time, and enable the server to process the next request more quickly.
[0098] 3. Ensure fairness: During network congestion or peak hours, priority settings that take network latency into account can help balance user experience in different geographic locations or network conditions, and avoid unfair treatment for users in remote locations or with poor network conditions.
[0099] For example, suppose that at a certain moment, three users in the live broadcast room initiated virtual try-on requests almost at the same time: User A is located in area 1 with a network delay of 150ms; User B is located in area 2 with a network delay of 100ms; User C is located in area 3 with a network delay of 300ms. In order to optimize resource allocation, the platform can use network delay time as part of the user try-on priority calculation. For example, giving a higher priority to users with lower network delay time, in this case, user B will first get server resources to process its virtual try-on request, followed by user A, and finally user C.
[0100] In this way, on the one hand, user B and user A can see the effect of virtual try-on more quickly and enjoy a smoother interactive experience due to the lower network latency. Even if user C has a higher network latency, user C can also get a good try-on experience because the system has taken this into account. On the other hand, user requests with lower network latency are usually processed faster, which means that the server can release resources faster and process the next try-on request, thereby improving the service efficiency of the entire system. In addition, by incorporating network latency into the calculation of user try-on priority, the platform can treat all users more fairly and avoid differences in user experience due to differences in geographical location or network conditions.
[0101] In the above embodiment, when fitting requests sent by at least two first terminals are received, the user fitting priority corresponding to each first terminal is determined according to at least one factor among user waiting time, user level and network delay time; and resources are allocated to the at least two first terminals according to the user fitting priority. In this way, resource utilization efficiency can be optimized, and at the same time, sorting and processing are performed according to user fitting priorities, so that fitting requests of high-priority users are completed first, and then fitting requests of users with lower priority and currently in resource waiting state are gradually processed.
[0102] In some optional embodiments, the above method further includes:
[0103] Model training is performed based on historical behavior feature data of multiple users and corresponding time feature data to obtain a resource demand prediction model;
[0104] Predicting the resource demand when the first terminal initiates a try-on request at the first moment by using the resource demand prediction model;
[0105] Determine the user trial priority corresponding to the first terminal according to at least one factor of user waiting time, user level and network delay time;
[0106] According to the resource demand and the user's try-on priority, required resources are reserved for the first terminal at the first moment.
[0107] In specific implementation, the formula can be used: A(U i ) = argmin j (C j -R ′ (U i )), allocates a server to the first terminal; wherein A(U i ) indicates that it is assigned to user U i Server ID, C j is the current remaining resources of server j, R ′ (U i ) is user U i The argmin function estimates the amount of resources required and returns the value of the independent variable that minimizes the objective function.
[0108] For example, suppose the resource requirements of user A, user B, and user C are: R ′ (A) = 30, R ′ (B) = 50, R ′ (C) = 20. The user's priority for trying on clothes is: P(U C )>P(U B )>P(U A ); then, according to the resource demand and the user's try-on priority, reserving required resources for user A, user B, and user C at the first moment may include:
[0109] Assume that there are three servers, and their real-time remaining resources are: the remaining resource amount of server 1 is C1=25, the remaining resource amount of server 2 is C2=40, and the remaining resource amount of server 3 is C3=50. When users A, B, and C initiate try-on requests at the same time, the server is matched to user C first according to the user's try-on priority. Since server 1 has the smallest difference in resource demand with user C, server 1 is first allocated to user C; server 3 is secondly allocated to user B, and finally server 2 is allocated to user A.
[0110] It should be pointed out that if the actual server resources are insufficient to meet the concurrent usage needs of all users, the system will sort and process them according to the user's priority, first ensuring that the try-on requests of high-priority users are completed, and then gradually process the try-on requests with lower priority and currently in resource waiting status.
[0111] It should be pointed out that the resource demand prediction model is a general prediction model trained by using a large number of users' historical behavior feature data sets and corresponding time feature data sets. In this way, the model can capture the resource demand patterns of different users in different situations, thus having a higher generalization ability.
[0112] Exemplarily, the input layer of the resource demand prediction model is used to receive user characteristics (such as gender, age, nationality, purchase records, trial records, online behavior, interaction records, etc.) and time characteristics (such as time of day, whether it is a weekday or a weekend, etc.); the output layer of the resource demand prediction model is used to predict resource demand.
[0113] The training data for the model includes:
[0114] User characteristic data, such as gender, age, nationality, purchase history, trial history, online behavior, interaction history, etc.);
[0115] Temporal characteristic data, such as time of day, whether it is a weekday or weekend, etc.
[0116] Tag data refers to the actual amount of resources consumed when initiating a try-on request.
[0117] In specific implementation, during the model training process, the model will learn to predict the estimated resource requirements when initiating a try-on request. After the model training is completed, the input data of the prediction phase is the same as the input data of the training phase, that is, the input user feature data and the corresponding time feature data; by analyzing the input data, the model will output the estimated resource requirements when initiating a try-on request.
[0118] In the above embodiment, in the service cluster, server resources can be efficiently utilized according to user try-on priority and resource demand through user try-on priority queue and dynamic resource allocation strategy, thereby avoiding the potential network performance bottleneck problem in the scenario of large user base and multiple people trying on clothes online in real time.
[0119] In some optional embodiments, determining the user trial priority corresponding to each first terminal according to at least one factor of user waiting time, user level and network delay time includes:
[0120] Normalizing the user waiting time, the user grade, and the network delay time to obtain a normalized waiting time, a normalized user grade, and a normalized network delay time;
[0121] Performing a weighted summation on the normalized waiting time, the normalized user level and the normalized network delay time to obtain the user's trying-on priority;
[0122] Among them, the normalized waiting time corresponds to a first weight value, the normalized user level corresponds to a second weight value, and the normalized network delay time corresponds to a third weight value; the sum of the first weight value, the second weight value and the third weight value is 1.
[0123] For example, according to the formula: P(U i )=w1*T ′ wait (U i )+w2*L ′ level (U i )+w3*D ’ net (U i ); where w1, w2, w3 are preset weight coefficients, and w1+w2+w3=1, T ′ wait (U i ) is user U i The normalized waiting time, L ′ level (U i ) is user U i The normalized user level, D ’ net (U i ) is user U i The normalized network delay time, P(U i ) is user U i The corresponding user try-on priority.
[0124] In some optional embodiments, the normalizing the user waiting time, the user grade, and the network delay time to obtain the normalized waiting time, the normalized user grade, and the normalized network delay time includes:
[0125] Normalizing the user waiting time according to the maximum waiting time of the user in the historical time window to obtain a normalized waiting time;
[0126] According to the user level range, the user level is normalized to obtain a normalized user level;
[0127] According to the preset maximum network delay time, the network delay time is normalized to obtain a normalized network delay time.
[0128] For example, user U i The normalized waiting time T ′ wait (U i )=T wait (U i ) / T max , T wait (U i ) is the user waiting time of user U1, T max It is the maximum waiting time of users in the historical time window.
[0129] For example, a user level ranges from 1 to 10 (VIP1 to VIP10), with the highest level being 10. i The normalized user level L ′ level (U i )=(L level (U i )-L min ) / (L max -L min ), where L max =10,L min =1,L level (U i ) is the user level of user U1.
[0130] For example, user U i The normalized network delay time D ’ net (U i )=D net (U i ) / D max ; Among them, D net (U i ) is user U i The corresponding network delay time, D max The preset maximum network delay time.
[0131] For example, suppose user U i The waiting time T wait (U i )=30s, the maximum waiting time of all users in the historical time window is T max =60s; User U i The user level is VIP8, then the user level L level (U i )=8;User U iThe network delay time is D net (U i )=50ms, the preset maximum network delay time is set to D max =100ms, then: normalized waiting time Normalized User Level Normalized network delay time Furthermore, if we set weights w1 = 0.4, w2 = 0.4, w3 = 0.2, then: User U i The corresponding user try-on priority P(U i )=0.4*0.5+0.4*0.7778+0.2*0.5=0.61112.
[0132] It should be noted that the above user U i Refers to the i-th user who initiates a try-on request, where i is a positive integer.
[0133] The maximum user waiting time refers to the longest waiting time among all user try-on requests within a specific historical time window. The historical time window here can be set to any length, usually a time period selected to reflect the recent operating status of the system, such as the last hour, day, or week.
[0134] It should be noted that since the actual waiting time of users may vary greatly, directly using the original waiting time for weighted calculation may not accurately reflect the relative urgency of users' try-on requests. By finding and using the maximum waiting time of users in the historical time window as the denominator, the waiting time of all users can be converted to the same scale, that is, between 0 and 1, so that the waiting time factor can be fairly evaluated in the priority calculation, ensuring that the user waiting time factor can be fairly compared between different users.
[0135] In some optional embodiments, the above method further includes:
[0136] Using generative artificial intelligence (AIGC) technology, a virtual image is pre-generated for the user based on the user's registration information and historical shopping preferences.
[0137] In this way, on the one hand, it can reduce the pressure faced by the server when processing a large number of concurrent requests to generate virtual images. Through pre-calculation, the instantaneous peak usage of CPU, GPU and memory resources can be significantly reduced, thereby avoiding the risk of slow system response or service interruption due to insufficient resources; on the other hand, in this way, the user's virtual image can be loaded and displayed quickly, thereby improving the response speed and smoothness of the overall system, ensuring that every user can enjoy a high-quality immersive experience.
[0138] In specific implementation, the generation of user virtual images mainly relies on deep learning technology and 3D modeling technology. Specifically, the user's virtual image can be generated based on the algorithm of Generative Adversarial Networks (GAN). Among them, GAN consists of two parts: Generator and Discriminator. The task of the generator is to learn the distribution of real data and generate fake data that is as close to the real data as possible; while the task of the discriminator is to determine whether the input data is real or generated.
[0139] During the training process, the registration information provided by the user (such as gender, age, nationality, race and other biometric attributes) as well as the recipient information, address information and historical data of clothing purchases (including but not limited to clothing styles, color preferences, sizes, etc.) in past consumption records can be used as conditional input information. The generator generates a corresponding virtual image for the user based on these conditional input information, and the discriminator is used to determine whether the generated virtual image conforms to the characteristic distribution of the real person. Through continuous iterative training, the generator can gradually learn how to generate realistic virtual images based on conditional information.
[0140] See also Figure 2 , Figure 2 The embodiment of the present invention further provides an information display method, which is applied to a first terminal, such as Figure 2 As shown, the following steps are included:
[0141] Step 201: Receive a first input from a first user; wherein the first input is used to select a target product to be tried on.
[0142] For example, a first user browses products using an e-commerce application installed in a first terminal, and selects a target product to try on through a first input.
[0143] Among them, the first input includes but is not limited to: at least one of: click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the first input can be one of the above inputs, or it can be a combination of two or more of them.
[0144] Step 202: Receive the virtual fitting room sent by the server.
[0145] Optionally, the virtual fitting room refers to an online fitting function implemented based on computer graphics technology. For example, the virtual fitting room can be a fitting function embedded in an e-commerce application. In specific implementation, the virtual fitting room can be implemented in the form of a mini-program or web page, or can be deployed as a dedicated application or plug-in.
[0146] Exemplarily, the virtual fitting room in this step can be specifically a virtual fitting room page. The user terminal displays the virtual fitting room page, and the user can enter the virtual fitting room; wherein, the virtual fitting room page can be used to display at least one of the following information: user fitting effect pictures, interaction information between the user and other users, try-on product information, sharing controls, fitting scene background pictures, user information (such as nickname, avatar), etc.
[0147] Step 203: displaying the virtual fitting room; wherein the virtual fitting room displays the first user's trying-on effect of the target product and interaction information between other users and the first user.
[0148] It should be noted that the above steps 201 and 202 are not limited in order.
[0149] For example, when a first user is browsing products using an e-commerce application installed in a first terminal, the first user selects a target product to be tried on through a first input; on the details description page of the target product to be tried on, the try-on function control is clicked, triggering the first terminal to send a try-on request to the server; after receiving the try-on request, the server creates an independent virtual fitting room for the first user based on the product information carried in the try-on request and the user information of the first user, and sends the virtual fitting room to the first terminal, where the virtual fitting room is used to display a try-on effect picture of the first user's virtual image wearing the target product and interaction information between the first user and other users; the first terminal receives the virtual fitting room sent by the server, and displays the virtual fitting room so that the second user can enter the virtual fitting room.
[0150] For example, a first user sends a try-on request to a server based on an e-commerce application, and the try-on request carries the user information of the first user; after receiving the try-on request, the server creates an independent virtual fitting room for the first user according to the user information of the first user carried in the try-on request, and sends the virtual fitting room to the first terminal. At this time, the virtual character in the virtual fitting room can wear default clothes or clothes tried on last time; after the user selects the target try-on product from the product list in the virtual fitting room, the virtual fitting room displays the try-on effect of the virtual character wearing the target try-on product, as well as other interactive information with the first user regarding the try-on effect.
[0151] In some optional embodiments, the above method further includes:
[0152] When a first input to the virtual fitting room is received, a sharing request is sent to the server, wherein the sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
[0153] Accordingly, if Figure 3 In the virtual fitting room page, the interactive information editing area e is also included. The interactive information editing area e is used to receive input operations from the second user on the second terminal side. The input operations are used for the user to edit and send interactive information; and the interactive information sent by the second user is displayed in the virtual fitting room.
[0154] In the above embodiment, the first user can invite other users to enter the virtual fitting room by sharing the link information of the virtual fitting room, so that other users can participate in the trying-on process together, and other users can provide real-time evaluation and suggestions to the first user, thereby helping users make more accurate shopping decisions.
[0155] In some optional embodiments, the page of the virtual fitting room includes an interactive information editing area; the method further includes:
[0156] receiving a second input to the interactive information editing area, where the second input is used by the first user to edit and send interactive information;
[0157] In response to the second input, the interactive information is displayed in the virtual fitting room.
[0158] like Figure 3 In the virtual fitting room page, the interactive information editing area e is also included. The interactive information editing area e is used to receive input operations performed by the first user on the first terminal side on the interactive information editing area e. The input operations are used by the user to edit and send interactive information; and the interactive information sent by the first user is displayed in the virtual fitting room.
[0159] The interactive information may include comments or suggestions on the fitting effects, or any chat information.
[0160] In the above embodiments, the user can interact with other users in the virtual fitting room.
[0161] like Figure 4 As shown, the embodiment of the present invention further provides an information display device. Specifically, the information display device 400 includes:
[0162] A first processing module 401 is used to create a virtual fitting room for a first terminal;
[0163] The first sending module 402 is used to send the virtual fitting room to the first terminal; wherein the first terminal is used to display the virtual fitting room, and the virtual fitting room is used to display the fitting effect of the first user trying on the target fitting product and the interaction information between other users and the first user.
[0164] Optionally, the above device 400 further includes:
[0165] A second sending module, configured to send link information corresponding to the virtual fitting room to at least one second terminal upon receiving a sharing request sent by the first terminal;
[0166] The sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
[0167] Optionally, the above device 400 further includes:
[0168] The second processing module is used to set the access times and / or access time of the link information corresponding to the virtual fitting room.
[0169] Optionally, the above device 400 further includes:
[0170] A third processing module is used to determine the user trying-on priority corresponding to each of the first terminals according to at least one factor of user waiting time, user level and network delay time when the trying-on requests sent by at least two of the first terminals are received;
[0171] The fourth processing module is used to allocate resources to the at least two first terminals according to the user's try-on priority.
[0172] Optionally, the above device 400 further includes:
[0173] A fifth processing module, used for performing model training according to the historical behavior feature data of multiple users and the corresponding time feature data to obtain a resource demand prediction model;
[0174] A sixth processing module, configured to predict, by using the resource demand prediction model, the resource demand when the first terminal initiates a try-on request at the first moment;
[0175] A seventh processing module, configured to determine a user trial priority corresponding to the first terminal according to at least one of a user waiting time, a user level and a network delay time;
[0176] An eighth processing module is used to reserve required resources for the first terminal at the first moment according to the resource demand and the user's trial priority.
[0177] Optionally, the seventh processing module includes:
[0178] A first processing unit, configured to normalize the user waiting time, the user grade, and the network delay time to obtain a normalized waiting time, a normalized user grade, and a normalized network delay time;
[0179] A second processing unit is used to perform weighted summation on the normalized waiting time, the normalized user level and the normalized network delay time to obtain the user's trying-on priority;
[0180] Among them, the normalized waiting time corresponds to a first weight value, the normalized user level corresponds to a second weight value, and the normalized network delay time corresponds to a third weight value; the sum of the first weight value, the second weight value and the third weight value is 1.
[0181] Optionally, the first processing unit is specifically configured to:
[0182] Normalizing the user waiting time according to the maximum waiting time of the user in the historical time window to obtain a normalized waiting time;
[0183] According to the user level range, the user level is normalized to obtain a normalized user level;
[0184] According to the preset maximum network delay time, the network delay time is normalized to obtain a normalized network delay time.
[0185] The device 400 provided in the embodiment of the present invention can execute the above method embodiment, and its implementation principle and technical effects are similar, which will not be described in detail in this embodiment.
[0186] like Figure 5 As shown, the embodiment of the present invention further provides an information display device. Specifically, the information display device 500 includes:
[0187] The first receiving module 501 is used to receive a first input from a first user; wherein the first input is used to select a target product to be tried on;
[0188] The second receiving module 502 is used to receive the virtual fitting room sent by the server;
[0189] The display module 503 is used to display the virtual fitting room; wherein the virtual fitting room displays the fitting effect of the first user trying on the target fitting product and the interaction information between other users and the first user.
[0190] Optionally, the apparatus 500 further includes:
[0191] The third sending module is used to send a sharing request to the server when receiving a first input to the virtual fitting room, wherein the sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
[0192] Optionally, the page of the virtual fitting room includes an interactive information editing area; the device 500 further includes:
[0193] A user input module, used for receiving a second input to the interactive information editing area, wherein the second input is used by the first user to edit and send interactive information;
[0194] A response module is used to display the user interaction information in the virtual fitting room in response to the second input.
[0195] like Figure 6 As shown, in order to better achieve the above purpose, Figure 6 As shown, an embodiment of the present invention further provides an electronic device, including:
[0196] A processor 600; and a memory 620 connected to the processor 600 via a bus interface, wherein the memory 620 is used to store programs and data used by the processor 600 when performing operations, and the processor 600 calls and executes the programs and data stored in the memory 620.
[0197] The transceiver 610 is connected to the bus interface and is used to receive and send data under the control of the processor 600; the processor 600 is used to read the program in the memory 620 to implement the following steps:
[0198] Creating a virtual fitting room for the first terminal;
[0199] The virtual fitting room is sent to the first terminal; wherein the first terminal is used to display the virtual fitting room, and the virtual fitting room is used to display the fitting effect of the first user trying on the target fitting product and the interaction information between other users and the first user.
[0200] Among them, Figure 6In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 600 and memory represented by memory 620. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 610 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 when performing operations.
[0201] Optionally, the processor 600 is further configured to read a program in the memory 620 to implement the following steps:
[0202] When receiving the sharing request sent by the first terminal, sending link information corresponding to the virtual fitting room to at least one second terminal;
[0203] The sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
[0204] Optionally, the processor 600 is further configured to read a program in the memory 620 to implement the following steps:
[0205] The number of accesses and / or the access time of the link information corresponding to the virtual fitting room are set.
[0206] Optionally, the processor 600 is further configured to read a program in the memory 620 to implement the following steps:
[0207] In the case of receiving fitting requests sent by at least two of the first terminals, determining the user fitting priority corresponding to each of the first terminals according to at least one factor of user waiting time, user level and network delay time;
[0208] Resources are allocated to the at least two first terminals according to the user's trying-on priority.
[0209] Optionally, the processor 600 is further configured to read a program in the memory 620 to implement the following steps:
[0210] Model training is performed based on historical behavior feature data of multiple users and corresponding time feature data to obtain a resource demand prediction model;
[0211] Predicting the resource demand when the first terminal initiates a try-on request at the first moment by using the resource demand prediction model;
[0212] Determine the user trial priority corresponding to the first terminal according to at least one factor of user waiting time, user level and network delay time;
[0213] According to the resource demand and the user's try-on priority, required resources are reserved for the first terminal at the first moment.
[0214] Optionally, the processor 600 is specifically configured to read a program in the memory 620 to implement the following steps:
[0215] Normalizing the user waiting time, the user grade, and the network delay time to obtain a normalized waiting time, a normalized user grade, and a normalized network delay time;
[0216] Performing a weighted summation on the normalized waiting time, the normalized user level and the normalized network delay time to obtain the user's trying-on priority;
[0217] Among them, the normalized waiting time corresponds to a first weight value, the normalized user level corresponds to a second weight value, and the normalized network delay time corresponds to a third weight value; the sum of the first weight value, the second weight value and the third weight value is 1.
[0218] Optionally, the processor 600 is specifically configured to read a program in the memory 620 to implement the following steps:
[0219] Normalizing the user waiting time according to the maximum waiting time of the user in the historical time window to obtain a normalized waiting time;
[0220] According to the user level range, the user level is normalized to obtain a normalized user level;
[0221] According to the preset maximum network delay time, the network delay time is normalized to obtain a normalized network delay time.
[0222] The electronic device provided in the embodiment of the present invention can execute the above-mentioned method embodiment applied to the server, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
[0223] like Figure 7 As shown, in order to better achieve the above purpose, Figure 7 As shown, an embodiment of the present invention further provides an electronic device, including:
[0224] A processor 700; and a memory 720 connected to the processor 700 via a bus interface, the memory 720 being used to store programs and data used by the processor 700 when performing operations, and the processor 700 calling and executing the programs and data stored in the memory 720.
[0225] The transceiver 710 is connected to the bus interface and is used to receive and send data under the control of the processor 700; the processor 700 is used to read the program in the memory 720 to implement the following steps:
[0226] Receiving a first input from a first user; wherein the first input is used to select a target try-on product;
[0227] Receive the virtual fitting room sent by the server;
[0228] The virtual fitting room is displayed; wherein the virtual fitting room displays the first user's trying-on effect of the target product and interaction information between other users and the first user.
[0229] Among them, Figure 7 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 700 and memory represented by memory 720. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 710 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 may store data used by the processor 700 when performing operations.
[0230] Optionally, the processor 700 is further configured to read a program in the memory 720 to implement the following steps:
[0231] When a first input to the virtual fitting room is received, a sharing request is sent to the server, wherein the sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
[0232] Optionally, the page of the virtual fitting room includes an interactive information editing area; the processor 700 is further configured to read a program in the memory 720 to implement the following steps:
[0233] receiving a second input to the interactive information editing area, where the second input is used by the first user to edit and send interactive information;
[0234] In response to the second input, the interactive information is displayed in the virtual fitting room.
[0235] The electronic device provided in the embodiment of the present invention can execute the above-mentioned method embodiment applied to the first terminal side. Its implementation principle and technical effects are similar, and this embodiment will not be repeated here.
[0236] In addition, the computer-readable storage medium of the embodiment of the present invention is used to store a computer program, and the computer program can be executed by a processor to implement the steps of the above information display method.
[0237] The embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0238] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units 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, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0239] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0240] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0241] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An information display method, characterized in that: Applied to the server, including: Creating a virtual fitting room for the first terminal; The virtual fitting room is sent to the first terminal; wherein the first terminal is used to display the virtual fitting room, and the virtual fitting room is used to display the fitting effect of the first user trying on the target fitting product and the interaction information between other users and the first user.
2. The method according to claim 1, characterized in that The method further comprises: When receiving the sharing request sent by the first terminal, sending link information corresponding to the virtual fitting room to at least one second terminal; The sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
3. The method according to claim 1, characterized in that: The method further comprises: In the case of receiving fitting requests sent by at least two of the first terminals, determining the user fitting priority corresponding to each of the first terminals according to at least one factor of user waiting time, user level and network delay time; Resources are allocated to the at least two first terminals according to the user's trying-on priority.
4. The method according to claim 1, characterized in that: The method further comprises: Model training is performed based on historical behavior feature data of multiple users and corresponding time feature data to obtain a resource demand prediction model; Predicting the resource demand when the first terminal initiates a try-on request at the first moment by using the resource demand prediction model; Determine the user trial priority corresponding to the first terminal according to at least one factor of user waiting time, user level and network delay time; According to the resource demand and the user's try-on priority, required resources are reserved for the first terminal at the first moment.
5. The method according to claim 3 or 4, characterized in that: The determining, based on at least one of a user waiting time, a user level, and a network delay time, a user trial priority corresponding to each first terminal includes: Normalizing the user waiting time, the user grade and the network delay time to obtain a normalized waiting time, a normalized user grade and a normalized network delay time; Performing a weighted summation on the normalized waiting time, the normalized user level and the normalized network delay time to obtain the user trying-on priority; Among them, the normalized waiting time corresponds to a first weight value, the normalized user level corresponds to a second weight value, and the normalized network delay time corresponds to a third weight value; the sum of the first weight value, the second weight value and the third weight value is 1.
6. An information display method, characterized in that: Applied to the first terminal, comprising: Receive a first input from a first user; wherein the first input is used to select a target try-on product; Receive the virtual fitting room sent by the server; The virtual fitting room is displayed; wherein the virtual fitting room displays the first user's trying-on effect of the target product and interaction information between other users and the first user.
7. The method according to claim 6, characterized in that The method further comprises: When a first input to the virtual fitting room is received, a sharing request is sent to the server, wherein the sharing request is used to request to send link information corresponding to the virtual fitting room to at least one second terminal, and the link information is used to display the virtual fitting room on the second terminal.
8. The method according to claim 7, characterized in that The page of the virtual fitting room includes an interactive information editing area; the method further includes: receiving a second input to the interactive information editing area, where the second input is used by the first user to edit and send interactive information; In response to the second input, the interactive information is displayed in the virtual fitting room.
9. An electronic device, comprising: A transceiver, a memory, a processor and a computer program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the information display method as described in any one of claims 1 to 5, or the steps in the information display method as described in any one of claims 6 to 8.
10. A computer-readable storage medium for storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the information display method according to any one of claims 1 to 5 or the steps of the information display method according to any one of claims 6 to 8 are implemented.
