Article display method and device, computer equipment and storage medium
By obtaining the displayer's name and item supply number, the item display number is determined and sorted, solving the problem of inaccurate item display in e-commerce systems and achieving more accurate and efficient item display.
Patent Information
- Application Number
- CN202411165319.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-08
AI Technical Summary
In e-commerce systems, when an item display provider is associated with multiple item suppliers, the inaccurate item display can lead to incorrect item identification.
By obtaining the exhibitor's name and item supply number, the item display number is determined, and the items to be displayed are sorted according to the display time to generate an item sorting list, which is then sent to the exhibitor for display.
It improves the accuracy and efficiency of item display, ensuring that items are displayed at the right time and in the right way.
Smart Images

Figure CN118917924A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an object display method, device, computer equipment and storage medium. Background Art
[0002] Recommending and displaying items to consumers is a very common and important function in e-commerce systems. Static display is usually used for displaying items.
[0003] In the traditional technology, the item supplier sends the item supply number of each item to be displayed maintained locally to the item supplier, and then the item displayer determines the item to be displayed that the item supplier needs to display based on the item supply number and displays the item to be displayed.
[0004] Although this method can complete the display of items to be displayed, when the item display party is associated with multiple item suppliers, the item display party is prone to make mistakes in determining the items to be displayed based on the item supply number, which in turn leads to inaccurate item display. Summary of the invention
[0005] Based on this, it is necessary to provide an item display method, device, computer equipment and storage medium that can improve the accuracy of item display in response to the above technical problems.
[0006] In a first aspect, the present application provides an item display method, which is applied to an item supplier, comprising:
[0007] In response to an item acquisition request sent by an item exhibitor, acquiring the exhibitor name of the item exhibitor and the item supply number of the item to be exhibited;
[0008] Determine the item display number of the item to be displayed based on the item supply number and the name of the exhibitor;
[0009] According to the item display number, the item display time of the item to be displayed is determined, and the items to be displayed are sorted according to the item display time to obtain an item sorting list;
[0010] The item ranking list is sent to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
[0011] In one embodiment, the item display time includes the display start time; and the items to be displayed are sorted according to the item display time to obtain an item sorting list, including:
[0012] Sorting the first items to be displayed according to their display numbers to obtain a first sorting result; wherein the first items to be displayed are items to be displayed whose display start time is empty;
[0013] Sorting the second items to be displayed according to the display start time corresponding to each second item to be displayed to obtain a second sorting result; wherein the second items to be displayed are items to be displayed whose display start time is not empty;
[0014] The first sorting result and the second sorting result are concatenated to obtain an item sorting list.
[0015] In a second aspect, the present application provides an item display method, which is applied to an item display party, comprising:
[0016] Sending an item acquisition request to an item supplier, so that the item supplier responds to the item acquisition request, obtains the item supply number of the item to be displayed and the name of the exhibitor of the item corresponding to the item to be displayed, and sorts the items to be displayed according to the item display time determined by the item supply number and the exhibitor name to obtain an item sorting list;
[0017] In response to the item ranking list sent by the item supplier, determining the item display time corresponding to the item ranking list;
[0018] The item sorting list is split according to the item display time and the preset single-page display quantity, at least one item display page is determined, and display processing is performed on the items to be displayed according to the item display page.
[0019] In one embodiment, the item display time includes a display start time; and according to the item display time and a preset single-page display quantity, the item sorting list is split to determine at least one item display page, including:
[0020] Get the preset display start time;
[0021] Selecting the items to be displayed whose display start time is greater than the preset display start time from the item sorting list in order to determine the item display list;
[0022] The item display list is split according to the preset single-page display quantity to determine at least one item display page.
[0023] In one embodiment, sequentially selecting the to-be-displayed items whose display start time is greater than the preset display start time from the item sorting list to determine the item display list further includes:
[0024] Determine a first display result according to the order of the first item to be displayed in the item sorting list; wherein the first item to be displayed is an item to be displayed whose display start time is empty;
[0025] Sequentially select the second to-be-displayed items whose display start time is greater than or equal to the preset display start time from the item sorting list, and generate a second display result; wherein the second to-be-displayed items are to-be-displayed items whose display start time is not empty;
[0026] The first display result and the second display result are concatenated to obtain an item display list.
[0027] In a third aspect, the present application further provides an article display device, comprising:
[0028] A number acquisition module, used to respond to an item acquisition request sent by an item exhibitor, and acquire the exhibitor name of the item exhibitor and the item supply number of the item to be displayed;
[0029] A number determination module, used to determine the item display number of the item to be displayed according to the item supply number and the name of the display party;
[0030] A list determination module is used to determine the item display time of the items to be displayed according to the item display number, and sort the items to be displayed according to the item display time to obtain an item sorting list;
[0031] The list sending module is used to send the item sorting list to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
[0032] In a fourth aspect, the present application further provides an article display device, comprising:
[0033] a request sending module, configured to send an item acquisition request to an item supplier, so that the item supplier responds to the item acquisition request, obtains the item supply number of the item to be displayed and the name of the exhibitor of the item to be displayed, and sorts the items to be displayed according to the item display time determined by the item supply number and the exhibitor name, to obtain an item sorting list;
[0034] A time determination module, for determining the display time of items corresponding to the item ranking list in response to the item ranking list sent by the item supplier;
[0035] The item display module is used to split the item sorting list according to the item display time and the preset single-page display quantity, determine at least one item display page, and display the items to be displayed according to the item display page.
[0036] In a fifth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0037] In response to an item acquisition request sent by an item exhibitor, acquiring the exhibitor name of the item exhibitor and the item supply number of the item to be exhibited;
[0038] Determine the item display number of the item to be displayed based on the item supply number and the name of the exhibitor;
[0039] According to the item display number, the item display time of the item to be displayed is determined, and the items to be displayed are sorted according to the item display time to obtain an item sorting list;
[0040] The item ranking list is sent to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
[0041] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0042] In response to an item acquisition request sent by an item exhibitor, acquiring the exhibitor name of the item exhibitor and the item supply number of the item to be exhibited;
[0043] Determine the item display number of the item to be displayed based on the item supply number and the name of the exhibitor;
[0044] According to the item display number, the item display time of the item to be displayed is determined, and the items to be displayed are sorted according to the item display time to obtain an item sorting list;
[0045] The item ranking list is sent to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
[0046] In a seventh aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0047] In response to an item acquisition request sent by an item exhibitor, acquiring the exhibitor name of the item exhibitor and the item supply number of the item to be exhibited;
[0048] Determine the item display number of the item to be displayed based on the item supply number and the name of the exhibitor;
[0049] According to the item display number, the item display time of the item to be displayed is determined, and the items to be displayed are sorted according to the item display time to obtain an item sorting list;
[0050] The item ranking list is sent to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
[0051] The above-mentioned item display method, device, computer equipment and storage medium, in response to the item acquisition request sent by the item display party, obtain the name of the item display party and the item supply number of the item to be displayed; determine the item display number of the item to be displayed according to the item supply number and the name of the display party; determine the item display time of the item to be displayed according to the item display number, and sort the items to be displayed according to the item display time to obtain an item sorting list; send the item sorting list to the item display party, so that the item display party can display the items to be displayed according to the item display list at the corresponding item display time. The present application can determine the item display party and the item supply number required by the item display party by receiving the item acquisition request, and further accurately determine the item display number required by the item display party according to the item supply number and the name of the display party, and at the same time, sort each item display number according to the display condition configuration of the item display time to obtain an item sorting list, and send the item sorting list to the item display party, so that the item display party can more accurately display each item to be displayed. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 A diagram of an application environment of an item display method provided in this embodiment;
[0054] Figure 2 A schematic diagram of a flow chart of a first method for displaying items provided in this embodiment;
[0055] Figure 3 A schematic diagram of a flow chart of a second method for displaying items provided in this embodiment;
[0056] Figure 4 A schematic diagram of a display page structure provided in this embodiment;
[0057] Figure 5 A structural block diagram of the first article display device provided in this embodiment;
[0058] Figure 6 A structural block diagram of a second article display device provided in this embodiment;
[0059] Figure 7 An internal structure diagram of a first computer device provided in this embodiment;
[0060] Figure 8 This is a diagram of the internal structure of the second computer device provided in this embodiment. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0062] The object display method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the item displayer 102 communicates with the item supplier 104. The item displayer 102 is used to display the items to be displayed to the user, and the item supplier 104 is used to provide the items to be displayed to the item displayer. In response to the item acquisition request sent by the item displayer, the item supplier 104 obtains the displayer name of the item displayer 102 and the item supply number of the item to be displayed; determines the item display number of the item to be displayed according to the item supply number and the displayer name; determines the item display time of the item to be displayed according to the item display number, and sorts the items to be displayed according to the item display time to obtain an item sorting list; sends the item sorting list to the item displayer 102, so that the item displayer can display the items to be displayed at the corresponding item display time according to the item display list.
[0063] In an exemplary embodiment, Figure 2 As shown, a method for displaying items is provided, which is applied to Figure 1 Taking the article supplier in the example as an example, the method includes the following steps 201 to S20X. Among them:
[0064] Step 201, in response to an item acquisition request sent by an item exhibitor, the name of the item exhibitor and the item supply number of the item to be exhibited are acquired.
[0065] Among them, the item display party may be a device used to display the items to be displayed; the item acquisition request may be a request for obtaining the items to be displayed; and the item supply number may be the number of the item to be displayed stored in the commodity supplier.
[0066] Specifically, the item exhibitor sends an item acquisition request to the item supplier, and the item supplier responds to the item acquisition request sent by the item exhibitor and parses the item acquisition request to determine the exhibitor name of the item exhibitor and the item supply number of the item to be displayed.
[0067] Step 202: Determine the item display number of the item to be displayed according to the item supply number and the name of the display party.
[0068] The item display number may be the number of the item to be displayed stored at the item display party.
[0069] Specifically, the item supplier searches for the item display number table corresponding to the name of the exhibitor according to the name of the exhibitor; and then searches for the item display number corresponding to the item supply number from the item display number table according to the item supply number.
[0070] Step 203, determining the item display time of the items to be displayed according to the item display number, and sorting the items to be displayed according to the item display time to obtain an item sorting list.
[0071] The item display time may be the time when the item to be displayed is displayed to the public.
[0072] Specifically, the item supplier finds out the item display time of the item to be displayed corresponding to the item display number according to the item display number, further sorts the item display time from small to large, and sorts the items to be displayed according to the item display time corresponding to the sorting result to obtain an item sorting list.
[0073] It should be noted that since the item supplier cannot know which item displayer's item display number the item supply number is to be converted into, it cannot actively convert it in advance. Therefore, in view of this, the idea of lazy conversion can be adopted, that is, when there is an item acquisition request, if the item to be displayed corresponding to the item acquisition request does not have a conversion time, it proves that the item acquisition request is the first request for the item to be displayed. Therefore, the item display number corresponding to the item to be displayed can be found to complete the conversion, and the item sorting list generated after the conversion is completed is transmitted to the item displayer through asynchronous transmission, and the conversion time is recorded, so that the item display number corresponding to the item to be displayed can be directly read through subsequent item acquisition requests.
[0074] Step 204: Send the item ranking list to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
[0075] Specifically, the item supplier sends the item ranking list to the item display party, and the item display party determines the item display time of each item to be displayed according to the item display list, and displays the item to be displayed at the corresponding item display time.
[0076] The above-mentioned item display method, in response to the item acquisition request sent by the item display party, obtains the name of the item display party and the item supply number of the item to be displayed; determines the item display number of the item to be displayed according to the item supply number and the name of the display party; determines the item display time of the item to be displayed according to the item display number, and sorts the items to be displayed according to the item display time to obtain an item sorting list; sends the item sorting list to the item display party, so that the item display party can display the items to be displayed according to the item display list at the corresponding item display time. The present application can determine the item display party and the item supply number required by the item display party by receiving the item acquisition request, and further accurately determine the item display number required by the item display party according to the item supply number and the name of the display party, and at the same time, sorts each item display number according to the display condition configuration of the item display time to obtain an item sorting list, and sends the item sorting list to the item display party, so that the item display party can more accurately display each item to be displayed.
[0077] In some embodiments, the items to be displayed are sorted according to the display time of the items to obtain an item sorting list, including: sorting each first item to be displayed according to the item display number of each first item to be displayed to obtain a first sorting result; sorting each second item to be displayed according to the corresponding display start time of each second item to be displayed to obtain a second sorting result; splicing the first sorting result and the second sorting result to obtain an item sorting list.
[0078] The item display time includes the display start time and the item display end time; the first item to be displayed is an item to be displayed whose display start time is empty; and the second item to be displayed is an item to be displayed whose display start time is not empty.
[0079] Specifically, for each first item to be displayed, according to the item display number of the item to be displayed, the item maintenance number of the item to be displayed corresponding to the item display number is found locally, and according to the item maintenance number, the items to be displayed are sorted in ascending order of numbers to obtain a first sorting result. For each second item to be displayed, according to the display start time corresponding to each second item to be displayed, the second items to be displayed are sorted in descending order of display start time to obtain a second sorting result. The first sorting result and the second sorting result are spliced, and the spliced splicing result is used as the item sorting list.
[0080] It should be noted that if there is a second object to be displayed with the same display start time, the second objects to be displayed may be sorted in ascending order according to the object maintenance numbers of the objects to be displayed.
[0081] In this embodiment, the items to be displayed are sorted in advance to obtain an item sorting list, so that the item display party can directly receive the item sorting list and display the item sorting list, thereby improving the accuracy and efficiency of the item display party in displaying the items to be displayed.
[0082] In an exemplary embodiment, Figure 3 As shown, a method for displaying items is provided, which is applied to Figure 3 The example of the item display side in the example is used to illustrate, including the following steps 301 to 303. Among them:
[0083] Step 301, sending an item acquisition request to the item supplier, so that the item supplier responds to the item acquisition request, obtains the item supply number of the item to be displayed and the name of the exhibitor of the item to be displayed, and sorts the items to be displayed according to the item display time determined by the item supply number and the exhibitor name to obtain an item sorting list.
[0084] Specifically, the item exhibitor obtains the item supply number and the exhibitor name of the item to be displayed, generates an item acquisition request based on the item supply number and the exhibitor name, and sends the item acquisition request to the item supplier. The item supplier obtains the item supply number of the item to be displayed and the exhibitor name of the item exhibitor corresponding to the item to be displayed, and sorts the items to be displayed according to the item display time determined by the item supply number and the exhibitor name to obtain an item sorting list.
[0085] Step 302, in response to the item ranking list sent by the item supplier, determining the item display time corresponding to the item ranking list.
[0086] Specifically, the item displayer responds to the item ranking list sent by the item supplier, and determines the item display time corresponding to the item ranking list according to the item ranking list.
[0087] Step 303, split the item sorting list according to the item display time and the preset single-page display quantity, determine at least one item display page, and perform display processing on the items to be displayed according to the item display page.
[0088] Specifically, according to the item display time, the items to be displayed that meet the current display period are selected, and the item sorting list is split according to the items to be displayed and the preset single-page display quantity, at least one item display page is determined, and the items to be displayed are displayed through the item display page.
[0089] It should be noted that when the current time reaches the detection cycle, for each item to be displayed in the item display page, the relationship between the item display time of the item to be displayed and the current time is determined. When the display start time is greater than the current time or the display end time is less than the current time, the item to be displayed is deleted from the item display page.
[0090] For example, Figure 4 As shown, the ordered set (ZSet) structure in the database (such as Redis) is used to build the item display page. Among them, Value is the item display number, and Score is the sorting order of the items in the item display page. It should be noted that the items to be displayed in the item display page structure must be sorted from small to large according to the item maintenance number and within the display time. The order of the Score in the sorting order of the items in the item display page should meet the order of the item display number. For items to be displayed that do not have an item display number, they are sorted according to the order in which the items to be displayed are added to the item display page, and then mapped to the Score in the ZSet structure in step one.
[0091] In this embodiment, by receiving an item sorting list, the item display time corresponding to the item sorting list can be determined, and the item sorting list can be further split according to the item display time and the preset single-page display quantity to determine at least one item display page, so as to avoid excessive data volume corresponding to a single display of all items to be displayed by paging.
[0092] In some embodiments, the item sorting list is split according to the item display time and the preset single-page display quantity to determine at least one item display page, including: obtaining the preset display start time; sequentially selecting the to-be-displayed items whose display start time is greater than the preset display start time from the item sorting list to determine the item display list; according to the preset single-page display quantity, the item display list is split to determine at least one item display page.
[0093] The preset display start time may be a preset time for starting to display each item to be displayed.
[0094] Specifically, the item displayer obtains a preset display start time, and according to the display start time of each item to be displayed, sequentially selects the items to be displayed whose display start time is greater than the preset display start time from the item sorting list, generates an item display list according to the selected items to be displayed, and splits the item display list according to the preset single-page display quantity, so that the display quantity corresponding to each item display page meets the single-page display quantity, thereby obtaining at least one item display page.
[0095] In this embodiment, the items to be displayed that meet the preset display start time are selected for display, and only these items to be displayed are displayed to avoid excessive data volume corresponding to a single display of all the items to be displayed.
[0096] In some embodiments, sequentially selecting items to be displayed whose display start time is greater than a preset display start time from an item sorting list to determine an item display list also includes: determining a first display result according to the order of the first item to be displayed in the item sorting list; sequentially selecting a second item to be displayed whose display start time is greater than or equal to the preset display start time from the item sorting list to generate a second display result; and splicing the first display result and the second display result to obtain an item display list.
[0097] The first item to be displayed is an item to be displayed whose display start time is empty; and the second item to be displayed is an item to be displayed whose display start time is not empty.
[0098] Specifically, the item display party determines the first display result according to the arrangement order of the first item to be displayed in the item sorting list, and then sequentially selects the second items to be displayed whose display start time is greater than or equal to the preset display start time from the item sorting list to generate the second display result, splices the first display result and the second display result, and uses the splicing result as the item display list.
[0099] This embodiment can improve the accuracy and efficiency of the item display party in displaying the items to be displayed.
[0100] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0101] Based on the same inventive concept, the embodiment of the present application also provides an article display device for implementing the article display method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more article display device embodiments provided below can refer to the limitations on the article display method above, and will not be repeated here.
[0102] In an exemplary embodiment, Figure 5 As shown, an article display device is provided, comprising: a number acquisition module 10, a number determination module 11, a list determination module 12 and a list sending module 13, wherein:
[0103] The number acquisition module 10 is used to obtain the name of the item exhibitor and the item supply number of the item to be displayed in response to the item acquisition request sent by the item exhibitor;
[0104] The number determination module 11 is used to determine the item display number of the item to be displayed according to the item supply number and the name of the display party;
[0105] A list determination module 12 is used to determine the item display time of the items to be displayed according to the item display number, and sort the items to be displayed according to the item display time to obtain an item sorting list;
[0106] The list sending module 13 is used to send the item ranking list to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
[0107] In one embodiment, Figure 5 The list determination module 12 in the display module is further used to sort the first items to be displayed according to the item display numbers of the first items to be displayed to obtain a first sorting result; wherein the first items to be displayed are items to be displayed whose display start time is empty; according to the display start time corresponding to the second items to be displayed, sort the second items to be displayed to obtain a second sorting result; wherein the second items to be displayed are items to be displayed whose display start time is not empty; and the first sorting result and the second sorting result are spliced to obtain an item sorting list.
[0108] In an exemplary embodiment, Figure 6 As shown, an item display device is provided, comprising: a request sending module 20, a time determination module 21 and an item display module 22, wherein:
[0109] The request sending module 20 is used to send an item acquisition request to an item supplier, so that the item supplier responds to the item acquisition request, obtains the item supply number of the item to be displayed and the name of the exhibitor of the item to be displayed, and sorts the items to be displayed according to the item display time determined by the item supply number and the exhibitor name to obtain an item sorting list;
[0110] A time determination module 21, for determining the display time of items corresponding to the item ranking list in response to the item ranking list sent by the item supplier;
[0111] The item display module 22 is used to split the item sorting list according to the item display time and the preset single-page display quantity, determine at least one item display page, and display the items to be displayed according to the item display page.
[0112] In one embodiment, Figure 6 The item display module 22 is also used to obtain a preset display start time; sequentially select the items to be displayed whose display start time is greater than the preset display start time from the item sorting list to determine an item display list; split the item display list according to a preset single-page display quantity to determine at least one item display page.
[0113] In one embodiment, Figure 6 The item display module 22 is further used to determine a first display result according to the order of the first item to be displayed in the item sorting list; wherein the first item to be displayed is an item to be displayed whose display start time is empty; sequentially select the second item to be displayed from the item sorting list, and generate a second display result; wherein the second item to be displayed is an item to be displayed whose display start time is not empty; and splice the first display result and the second display result to obtain an item display list.
[0114] Each module in the above-mentioned item display device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0115] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store item sorting list data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for displaying items is implemented.
[0116] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for displaying an item is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0117] Those skilled in the art will understand that Figure 7 and Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0119] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0120] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0121] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0122] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0123] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0124] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for displaying items, It is characterized in that Applied to an item supplier, the method comprises: In response to an item acquisition request sent by an item exhibitor, acquiring the exhibitor name of the item exhibitor and the item supply number of the item to be exhibited; Determine the item display number of the item to be displayed according to the item supply number and the name of the display party; Determining the item display time of the items to be displayed according to the item display number, and sorting the items to be displayed according to the item display time to obtain an item sorting list; The item ranking list is sent to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
2. The method according to claim 1, It is characterized in that The item display time includes a display start time; and the items to be displayed are sorted according to the item display time to obtain an item sorting list, including: Sorting the first objects to be displayed according to their display numbers to obtain a first sorting result; wherein the first objects to be displayed are objects to be displayed whose display start time is empty; Sorting the second objects to be displayed according to the display start time corresponding to each second object to be displayed to obtain a second sorting result; wherein the second objects to be displayed are objects to be displayed whose display start time is not empty; The first sorting result and the second sorting result are concatenated to obtain an item sorting list.
3. A method for displaying items, It is characterized in that Applied to an item display party, the method includes: Sending an item acquisition request to an item supplier, so that the item supplier responds to the item acquisition request, obtains the item supply number of the item to be displayed and the name of the exhibitor of the item corresponding to the item to be displayed, and sorts the items to be displayed according to the item display time determined by the item supply number and the exhibitor name to obtain an item sorting list; In response to the item ranking list sent by the item supplier, determining the item display time corresponding to the item ranking list; The item sorting list is split according to the item display time and the preset single-page display quantity, at least one item display page is determined, and the items to be displayed are displayed according to the item display page.
4. The method according to claim 3, It is characterized in that The item display time includes a display start time; the item sorting list is split according to the item display time and a preset single-page display quantity to determine at least one item display page, including: Get the preset display start time; Selecting the items to be displayed whose display start time is greater than the preset display start time from the item sorting list in order to determine the item display list; The item display list is split according to a preset single-page display quantity to determine at least one item display page.
5. The method according to claim 4, It is characterized in that The step of sequentially selecting the items to be displayed whose display start time is greater than the preset display start time from the item sorting list to determine the item display list further includes: Determine a first display result according to the order of the first item to be displayed in the item sorting list; wherein the first item to be displayed is an item to be displayed whose display start time is empty; Sequentially select the second to-be-displayed items from the item sorting list, wherein the display start time is greater than or equal to the preset display start time, and generate a second display result; wherein the second to-be-displayed items are to-be-displayed items whose display start time is not empty; The first display result and the second display result are concatenated to obtain an item display list.
6. An item display device, It is characterized in that The device comprises: A number acquisition module, used to respond to an item acquisition request sent by an item exhibitor, and acquire the exhibitor name of the item exhibitor and the item supply number of the item to be displayed; A number determination module, used to determine the item display number of the item to be displayed according to the item supply number and the name of the display party; A list determination module, used to determine the item display time of the items to be displayed according to the item display number, and sort the items to be displayed according to the item display time to obtain an item sorting list; The list sending module is used to send the item ranking list to the item display party, so that the item display party can display the items to be displayed at the corresponding item display time according to the item display list.
7. An item display device, It is characterized in that The device comprises: a request sending module, configured to send an item acquisition request to an item supplier, so that the item supplier responds to the item acquisition request, obtains the item supply number of the item to be displayed and the name of the exhibitor of the item to be displayed, and sorts the items to be displayed according to the item display time determined by the item supply number and the exhibitor name, to obtain an item sorting list; A time determination module, configured to determine the display time of items corresponding to the item ranking list in response to the item ranking list sent by the item supplier; The item display module is used to split the item sorting list according to the item display time and the preset single-page display quantity, determine at least one item display page, and display the items to be displayed according to the item display page.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
