技术领域technical field
本发明涉及互联网技术领域,特别涉及一种对象信息的展示方法和装置。The invention relates to the technical field of the Internet, in particular to a method and device for displaying object information.
背景技术Background technique
随着互联网技术的发展,互联网在人们生活中的应用越来越广泛,功能也越来越全面。人们可以在互联网中浏览视频、新闻等信息,也可以在互联网中浏览某个对象(如某个商品)的信息。人们可以打开某网站,通过在该网站的店铺列表中点击某个店铺的图标来浏览该店铺的首页,首页中显示有该店铺中向用户推荐的对象的对象信息。With the development of Internet technology, the Internet has become more and more widely used in people's lives, and its functions have become more and more comprehensive. People can browse information such as videos and news on the Internet, and can also browse information on an object (such as a commodity) on the Internet. People can open a certain website and browse the homepage of the store by clicking the icon of a certain store in the store list of the website, and the homepage displays the object information of the objects recommended to the user in the store.
服务器在确定待展示对象时,可以计算该店铺中各对象的总交易数量,将总交易数量最高的若干对象作为待展示对象,将这些对象的对象信息展示在店铺的首页中。When the server determines the objects to be displayed, it may calculate the total transaction quantity of each object in the store, select the objects with the highest total transaction quantity as the objects to be displayed, and display the object information of these objects on the home page of the store.
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art:
在确定待展示对象时,将总的交易数量最高的若干件对象作为待展示的对象,未考虑交易中的其他因素,这样会导致展示对象信息的灵活性较差。When determining the objects to be displayed, the objects with the highest total transaction quantity are selected as the objects to be displayed, without considering other factors in the transaction, which will lead to poor flexibility in displaying object information.
发明内容Contents of the invention
为了解决现有技术的问题,本发明实施例提供了一种对象信息的展示方法和装置。所述技术方案如下:In order to solve the problems in the prior art, embodiments of the present invention provide a method and device for displaying object information. Described technical scheme is as follows:
第一方面,提供了一种对象信息的展示方法,所述方法包括:In a first aspect, a method for displaying object information is provided, and the method includes:
获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内所述各对象的交易数量;Obtain the profit value corresponding to each object in the target store, and the transaction quantity of each object in the historical period of the preset time before the current time point;
根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象;According to the profit value corresponding to each object and the transaction quantity of each object, among the objects, select the object whose accumulated profit value in the historical period meets the preset profit value condition as the object to be displayed ;
对所述待展示对象的对象信息进行展示。Display the object information of the object to be displayed.
第二方面,提供了一种对象信息的展示装置,所述装置包括:In a second aspect, a device for displaying object information is provided, and the device includes:
获取模块,用于获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内所述各对象的交易数量;An acquisition module, configured to acquire the profit value corresponding to each object in the target store, and the transaction quantity of each object in the historical period of the preset time before the current time point;
选取模块,用于根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象;The selection module is used to select, among the objects, the objects whose accumulated profit value in the historical period satisfies the preset profit value condition according to the profit value corresponding to each object and the transaction quantity of each object , as the object to be displayed;
展示模块,用于对所述待展示对象的对象信息进行展示。A display module, configured to display the object information of the object to be displayed.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:
本发明实施例中,获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量,根据各对象对应的利润值和各对象的交易数量,在各对象中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象,对待展示对象的对象信息进行展示,这样,可以根据各对象对应的利润值和各对象的交易数量,来选取待展示对象,为选取待展示对象提供了更多更灵活的途径,从而可以提高展示对象信息的灵活性。In the embodiment of the present invention, the profit value corresponding to each object in the target store is obtained, as well as the transaction quantity of each object in the historical period of the preset time before the current time point, and according to the profit value corresponding to each object and the transaction quantity of each object, in Among each object, select the object whose accumulative profit value meets the preset profit value condition in the historical period, as the object to be displayed, and display the object information of the object to be displayed. In this way, according to the profit value corresponding to each object and each The number of transactions of objects is used to select objects to be displayed, which provides more and more flexible ways for selecting objects to be displayed, thereby improving the flexibility of displaying object information.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例提供的一种对象信息的展示方法流程图;FIG. 1 is a flow chart of a method for displaying object information provided by an embodiment of the present invention;
图2是本发明实施例提供的筛选对象交易组合的计算过程示意图;Fig. 2 is a schematic diagram of the calculation process of the screening object transaction combination provided by the embodiment of the present invention;
图3是本发明实施例提供的一种对象信息的展示装置结构示意图;Fig. 3 is a schematic structural diagram of a device for displaying object information provided by an embodiment of the present invention;
图4是本发明实施例提供的一种服务器的结构示意图。Fig. 4 is a schematic structural diagram of a server provided by an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
实施例一Embodiment one
本发明实施例提供了一种对象信息的展示方法,如图1所示,该方法的处理流程可以包括如下的步骤:An embodiment of the present invention provides a method for displaying object information. As shown in FIG. 1 , the processing flow of the method may include the following steps:
步骤101,获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量。Step 101, obtain the profit value corresponding to each object in the target store, and the transaction quantity of each object in a preset time period before the current time point.
步骤102,根据各对象对应的利润值和各对象的交易数量,在各对象中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象。Step 102, according to the profit value corresponding to each object and the transaction quantity of each object, among each object, select the object whose accumulated profit value in the historical period meets the preset profit value condition as the object to be displayed.
步骤103,对待展示对象的对象信息进行展示。Step 103, display the object information of the object to be displayed.
本发明实施例中,获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量,根据各对象对应的利润值和各对象的交易数量,在各对象中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象,对待展示对象的对象信息进行展示,这样,可以根据各对象对应的利润值和各对象的交易数量,来选取待展示对象,为选取待展示对象提供了更多更灵活的途径,从而可以提高展示对象信息的灵活性。In the embodiment of the present invention, the profit value corresponding to each object in the target store is obtained, as well as the transaction quantity of each object in the historical period of the preset time before the current time point, and according to the profit value corresponding to each object and the transaction quantity of each object, in Among each object, select the object whose accumulative profit value meets the preset profit value condition in the historical period, as the object to be displayed, and display the object information of the object to be displayed. In this way, according to the profit value corresponding to each object and each The number of transactions of objects is used to select objects to be displayed, which provides more and more flexible ways for selecting objects to be displayed, thereby improving the flexibility of displaying object information.
实施例二Embodiment two
本发明实施例提供了一种对象信息的展示方法,该方法的执行主体为用于对象信息展示的服务器。其中,服务器可以是某网站的后台服务器。An embodiment of the present invention provides a method for displaying object information, and the subject of execution of the method is a server for displaying object information. Wherein, the server may be a background server of a certain website.
下面将结合具体实施方式,对图1所示的处理流程进行详细的说明,内容可以如下:The processing flow shown in FIG. 1 will be described in detail below in conjunction with specific implementation methods, and the content may be as follows:
步骤101,获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量。Step 101, obtain the profit value corresponding to each object in the target store, and the transaction quantity of each object in a preset time period before the current time point.
在实施中,用户可以在终端安装用于选取待展示对象的应用程序,当用户希望在某个自己的某个店铺(即目标店铺)中选取待展示对象时,用户可以通过该应用程序将该店铺中各对象(如各商品)对应的利润值发送给服务器,利润值表示卖出一个对象可以得到的利润。用户还可以将当前时间点之前预设时长的历史时段内的交易记录发送给服务器,交易记录中可以记录有每笔交易的时间、各对象的交易数量和各交易获得的利润值等信息,服务器则会接收到目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量,以便服务器进行后续处理。例如,当前时间为2015年1月1日,用户可以将2014年1月1日到2015年1月1日这个历史时段内的交易记录发送给服务器。另外,服务器还可以从本地的交易记录中,获取上述历史时段内的交易记录,进而获取各对象的交易数量。交易记录如表一所示:In the implementation, the user can install an application program for selecting objects to be displayed on the terminal. The profit value corresponding to each object (such as each commodity) in the store is sent to the server, and the profit value represents the profit that can be obtained by selling an object. The user can also send the transaction records of the preset period of time before the current time point to the server. The transaction records can record information such as the time of each transaction, the transaction quantity of each object, and the profit value obtained by each transaction. The server It will receive the profit value corresponding to each object in the target store, as well as the transaction quantity of each object in the historical period of the preset time before the current time point, so that the server can carry out subsequent processing. For example, the current time is January 1, 2015, and the user can send the transaction records in the historical period from January 1, 2014 to January 1, 2015 to the server. In addition, the server can also obtain the transaction records in the above-mentioned historical period from the local transaction records, and then obtain the transaction quantity of each object. The transaction records are shown in Table 1:
表一Table I
其中,对象a对应的利润值为1,对象b对应的利润值为2,对象c对应的利润值为1,对象d对应的利润值为5,对象e对应的利润值为4,对象f对应的利润值为3,对象g对应的利润值为1。Among them, the profit value corresponding to object a is 1, the profit value corresponding to object b is 2, the profit value corresponding to object c is 1, the profit value corresponding to object d is 5, the profit value corresponding to object e is 4, and the profit value corresponding to object f is The profit value of object g is 3, and the profit value corresponding to object g is 1.
步骤102,根据各对象对应的利润值和各对象的交易数量,在各对象中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象。Step 102, according to the profit value corresponding to each object and the transaction quantity of each object, among each object, select the object whose accumulated profit value in the historical period meets the preset profit value condition as the object to be displayed.
在实施中,服务器获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量之后,可以用某个对象的交易数量,乘以该对象对应的利润值,得到该对象在在该历史时段内的累计利润值。服务器可以计算目标店铺中每个对象在该历史时段内的累计利润值,并选取满足预设的利润值条件的对象,作为待展示对象。利润值条件可以是多种多样的,例如,服务器得到每个对象在该历史时段内的累计利润值后,可以选取累计利润值最大的若干个对象,作为待展示对象。In the implementation, after the server acquires the profit value corresponding to each object in the target store, and the transaction quantity of each object in the preset time period before the current time point, the server can multiply the transaction quantity of a certain object by the corresponding Profit value, get the cumulative profit value of the object in the historical period. The server may calculate the cumulative profit value of each object in the target store within the historical period, and select the object satisfying the preset profit value condition as the object to be displayed. The profit value conditions can be various. For example, after the server obtains the cumulative profit value of each object in the historical period, it can select several objects with the largest cumulative profit value as the objects to be displayed.
可选的,可以根据对象的累计利润值与各对象的累计利润值的总和的比值,来选取待展示对象,相应的,步骤102的处理过程可以如下:根据各对象对应的利润值和各对象的交易数量,确定该历史时段内每个对象的累计利润值;根据该历史时段内各对象的累计利润值的总和,在各对象中,选取在该历史时段内的累计利润值与总和的比值大于预设阈值的对象,作为待展示对象。Optionally, the object to be displayed can be selected according to the ratio of the cumulative profit value of the object to the sum of the cumulative profit values of each object. Correspondingly, the processing process of step 102 can be as follows: according to the profit value corresponding to each object and each object The number of transactions, determine the cumulative profit value of each object in the historical period; according to the sum of the cumulative profit value of each object in the historical period, in each object, select the ratio of the cumulative profit value and the sum in the historical period Objects larger than the preset threshold are used as objects to be displayed.
在实施中,预设阈值可以由用户在终端的应用程序中进行设置,用户在应用程序中设置阈值后,可以通过该应用程序将预设阈值发送给服务器;预设阈值也可以由技术人员进行设置,预先存储在服务器中。服务器可以通过上述计算方法,计算上述历史时段内各对象的累计利润值,进而可以计算各对象的累计利润值的总和,即目标店铺在该历史时段内的总利润值,总和可以以TU表示:In practice, the preset threshold can be set by the user in the application program of the terminal. After the user sets the threshold in the application program, the preset threshold value can be sent to the server through the application program; the preset threshold value can also be set by a technician. settings, pre-stored in the server. The server can use the above calculation method to calculate the cumulative profit value of each object in the above historical period, and then can calculate the sum of the cumulative profit value of each object, that is, the total profit value of the target store in this historical period. The sum can be expressed in TU:
其中,α为历史时段内的交易时间点,n为当前时间点,tu(Tq)表示每笔交易的利润值。Among them, α is the transaction time point in the historical period, n is the current time point, and tu(Tq ) represents the profit value of each transaction.
服务器可以用某个对象的累计利润值除以各对象的累计利润值的总和,得到该历史时段内,该对象的累计利润值与该总和的比值,并判定该比值是否大于服务器中的预设阈值,如果大于预设阈值,则将该对象作为待展示对象,如果小于预设阈值,则不对该对象进行处理。相应的公式为:The server can divide the cumulative profit value of an object by the sum of the cumulative profit values of each object to obtain the ratio of the cumulative profit value of the object to the sum in the historical period, and determine whether the ratio is greater than the preset value in the server threshold, if it is greater than the preset threshold, the object is taken as the object to be displayed, and if it is smaller than the preset threshold, the object is not processed. The corresponding formula is:
UDHUP←{X|f(X)[α,n]≥(n-α+1)×ε}UDHUP←{X|f(X)[α,n] ≥ (n-α+1)×ε}
其中,UDHUP表示待展示对象,X为目标店铺中的对象,ε为预设阈值。Among them, UDHUP represents the object to be displayed, X is the object in the target store, and ε is the preset threshold.
例如,预设阈值为0.3,对象a对应的利润值为1,在预设时长内的交易数量为4+4+5+3=16,对象a的累计利润值为16*1=16,各对象的累计利润值的总和(即各笔交易的利润总和),为10+18+11+9+22+18+10=98,对象a的累计利润值与总和的比值为16/98=0.16<0.3,因此,对象a不能作为待展示对象。For example, the preset threshold is 0.3, the profit value corresponding to object a is 1, the number of transactions within the preset time period is 4+4+5+3=16, and the cumulative profit value of object a is 16*1=16, each The sum of the cumulative profit value of the object (that is, the sum of the profits of each transaction) is 10+18+11+9+22+18+10=98, and the ratio of the cumulative profit value of object a to the sum is 16/98=0.16 <0.3, therefore, object a cannot be used as the object to be displayed.
可选的,对于累计利润值与上述总和的比值小于预设阈值的对象,服务器还可以做进一步的判断,相应的处理过程可以如下:获取各对象在该历史时段内的交易时间点;对于除待展示对象以外的任一对象,根据当前时间点和任一对象在该历史时段内的交易时间点,在该历史时段内选取交易子时段,根据各对象对应的利润值,以及各对象在该历史时段内的交易时间点,确定该交易子时段内每个对象的累计利润值,如果该交易子时段内任一对象的累计利润值与该交易子时段内各对象的累计利润值的总和的比值大于预设阈值,则将任一对象添加到待展示对象中。Optionally, for the objects whose cumulative profit value is smaller than the preset threshold, the server can make further judgments, and the corresponding processing process can be as follows: obtain the transaction time points of each object in the historical period; For any object other than the object to be displayed, according to the current time point and the transaction time point of any object in the historical period, select the trading sub-period in the historical period, according to the profit value corresponding to each object, and the transaction time of each object in the historical period The transaction time point in the historical period, determine the cumulative profit value of each object in the transaction sub-period, if the cumulative profit value of any object in the transaction sub-period is equal to the sum of the cumulative profit values of all objects in the transaction If the ratio is greater than the preset threshold, any object is added to the objects to be displayed.
在实施中,如果在该历史时段内,某个对象的累计利润值与上述总和的比值小于预设阈值,则服务器可以获取该对象在该历史时段内的交易时间点,根据当前时间点和该对象在该历史时段内的交易时间点,选取交易子时段。服务器可以确定该对象在该交易子时段内的交易数量,用该交易数量乘以该对象对应的利润值,得到该对象在该交易子时段内的累计利润值。服务器还可以计算出在该交易子时段内各对象的累计利润值的总和,进而确定该交易子时段内该对象的累计利润值与该交易子时段内各对象的累计利润值的总和的比值,然后可以判断该比值是否大于预设阈值,如果计算得到的比值大于预设阈值,则服务器可以将该对象加到待展示对象中。In implementation, if the ratio of the cumulative profit value of an object to the above sum is less than the preset threshold within the historical period, the server can obtain the transaction time point of the object in the historical period, according to the current time point and the Select the transaction sub-period at the transaction time point of the object in the historical period. The server may determine the transaction quantity of the object in the transaction sub-period, and multiply the transaction quantity by the profit value corresponding to the object to obtain the cumulative profit value of the object in the transaction sub-period. The server can also calculate the sum of the cumulative profit value of each object in the transaction sub-period, and then determine the ratio of the cumulative profit value of the object in the transaction sub-period to the sum of the cumulative profit values of each object in the transaction sub-period, Then it can be judged whether the ratio is greater than a preset threshold, and if the calculated ratio is greater than the preset threshold, the server can add the object to the objects to be displayed.
服务器可以优先选取交易时间最早的交易时间点对应的交易子时段进行计算,如果在该交易子时段内,该对象的累计利润值与该交易子时段内各对象的累计利润值的总和的比值小于预设阈值,则选取该对象在上述历史时段内,最早的交易时间点之后交易时间点对应的交易子时段进行计算,直到该对象的累计利润值与该交易子时段内各对象的累计利润值的总和的比值大于预设阈值。如果在上述历史时段内,某对象在所有的交易时间点对于的交易子时段内,累计利润值与选取的交易子时段内各对象的累计利润值的总和的比值均小于预设阈值,则不对该对象进行处理。The server can preferentially select the transaction sub-period corresponding to the transaction time point with the earliest transaction time for calculation. If within the transaction sub-period, the ratio of the cumulative profit value of the object to the sum of the cumulative profit values of all objects in the transaction sub-period is less than If the threshold is preset, select the transaction sub-period corresponding to the transaction time point after the earliest transaction time point of the object in the above-mentioned historical period for calculation, until the cumulative profit value of the object is the same as the cumulative profit value of each object in the transaction sub-period The ratio of the sum of is greater than the preset threshold. If in the above historical period, the ratio of the cumulative profit value of an object in all transaction sub-periods corresponding to the transaction time points to the sum of the cumulative profit values of all objects in the selected transaction sub-period is less than the preset threshold, then it is not valid The object is processed.
例如,对象a在上述历史时段内不是待展示对象,则服务器可以获取对象a最早的交易时间点,即:(2)2014/4/2111:10,然后可以选取该交易时间点与当前时间点的交易子时段,计算该交易子时段内,对象a的累计利润值,即16,该交易子时段内各对象的累计利润值的总和,即18+11+9+22+18+10=88,确定比值为16/88=0.18<0.3,则对象a不能作为待展示对象;然后服务器获取交易时间点(3)2014/4/2508:00,该交易子时段内,对象a的累计利润值为(4+5+3)*1=12,该交易子时段内各对象的累计利润值的总和为11+9+22+18+10=70,确定比值为12/70=0.17<0.3,则对象a不能作为待展示对象,以此类推。For example, if object a is not an object to be displayed in the above historical period, the server can obtain the earliest transaction time point of object a, namely: (2) 2014/4/2111:10, and then select the transaction time point and the current time point In the trading sub-period, calculate the cumulative profit value of object a in this trading sub-period, that is, 16, and the sum of the cumulative profit values of each object in this trading sub-period, that is, 18+11+9+22+18+10=88 , to determine the ratio is 16/88=0.18<0.3, then object a cannot be used as the object to be displayed; then the server obtains the transaction time point (3) 2014/4/2508:00, the cumulative profit value of object a within the transaction sub-period (4+5+3)*1=12, the sum of the cumulative profit value of each object in this transaction sub-period is 11+9+22+18+10=70, and the determined ratio is 12/70=0.17<0.3, Then object a cannot be used as the object to be displayed, and so on.
可选的,可以选取对象和/或对象交易组合作为待展示对象,相应的,步骤102的处理过程可以如下:根据各对象对应的利润值和各对象的交易数量,在各对象中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象和/或对象交易组合,作为待展示对象。Optionally, objects and/or object transaction combinations can be selected as the objects to be displayed. Correspondingly, the process of step 102 can be as follows: According to the profit value corresponding to each object and the transaction quantity of each object, among each object, select the Objects and/or object transaction combinations whose cumulative profit value in the historical period satisfies the preset profit value condition are used as objects to be displayed.
在实施中,服务器除了可以对目标店铺中的对象进行选取处理,还可以对对象交易组合进行选取处理。服务器可以计算某个对象交易组合的在历史时段内的累计利润值,即在该对象交易组合出现的交易中,组成该对象交易组合的对象的累计利润值的和值。服务器可以判断该对象交易组合的累计利润值是否满足预设的利润值条件,如果该对象交易组合的累计利润值满足预设的利润值条件,则将该对象交易组合作为待展示对象,如果该对象交易组合的累计利润值不满足预设的利润值条件,则不对该对象交易组合进行处理。In implementation, the server may not only select objects in the target store, but also select transaction combinations of objects. The server can calculate the cumulative profit value of a certain object transaction combination in a historical period, that is, the sum of the cumulative profit values of the objects that make up the object transaction combination in the transactions that appear in the target transaction combination. The server can judge whether the cumulative profit value of the target trading combination meets the preset profit value condition, and if the cumulative profit value of the target trading combination meets the preset profit value condition, the target trading combination will be used as the object to be displayed. If the cumulative profit value of the target transaction combination does not meet the preset profit value condition, the target transaction combination will not be processed.
服务器可以确定某个对象交易组合在上述历史时段内第一次出现的交易时间点,确定该交易时间点与当前时间点的交易子时段内,该对象交易组合的累计利润值,并确定在该交易子时段内各对象的累计利润值的总和,如果该交易子时段内该对象交易组合的累计利润值与该交易子时段内各对象的累计利润值的总和的比值大于预设阈值,则将该对象交易组合作为待展示对象。The server can determine the transaction time point when a certain target transaction combination first appeared in the above-mentioned historical period, determine the cumulative profit value of the target transaction combination in the transaction sub-period between the transaction time point and the current time point, and determine the The sum of the cumulative profit value of each object in the transaction sub-period, if the ratio of the cumulative profit value of the transaction combination of the object in the transaction sub-period to the sum of the cumulative profit value of each object in the transaction sub-period is greater than the preset threshold, the The transaction combination of this object is used as the object to be displayed.
例如,预设阈值为0.3,由表一可知,对象交易组合ad第一出现的交易时间点为(2)2014/4/2111:10,从该时间点到当前时间点的交易子时段内,对象a的累计利润值为(4+4+5)*1=13,对象d的累计利润值为(1+1+1)*5=15,则对象交易组合ad的累计利润值为13+15=28,该交易子时段内的各对象的各对象的累计利润值的总和为18+11+9+22+18+10=88,28>88*0.3=26.4,因此,可以选取对象交易组合ad,作为待展示对象。For example, the preset threshold is 0.3. It can be seen from Table 1 that the transaction time point when the target transaction combination ad first appears is (2) 2014/4/2111:10, and within the transaction sub-period from this time point to the current time point, The cumulative profit value of object a is (4+4+5)*1=13, the cumulative profit value of object d is (1+1+1)*5=15, then the cumulative profit value of object transaction combination ad is 13+ 15=28, the sum of the cumulative profit value of each object in this transaction sub-period is 18+11+9+22+18+10=88, 28>88*0.3=26.4, therefore, you can choose the object transaction Combine ad as the object to be displayed.
可选的,对于对象交易组合,服务器也可以获取各对象交易组合在上述历史时段内的交易时间点,对于除选取出的待展示对象以外的任一对象交易组合,根据当前时间点和任一对象交易组合在该历史时段内的交易时间点,在该历史时段内选取交易子时段,根据各对象对应的利润值,以及各对象交易组合在该历史时段内的交易时间点,确定交易子时段内每个对象交易组合的累计利润值,如果在选取的交易子时段内任一对象交易组合的累计利润值与交易子时段内各对象的累计利润值的总和的比值大于预设阈值,则将任一对象交易组合添加到待展示对象中。Optionally, for object transaction combinations, the server can also obtain the transaction time points of each object transaction combination in the above-mentioned historical period. For any object transaction combination other than the selected object to be displayed, according to the current time point and any The transaction time point of the target transaction combination in the historical period, select the transaction sub-period in the historical period, and determine the transaction sub-period according to the profit value corresponding to each object and the transaction time point of each target transaction combination in the historical period The cumulative profit value of each object transaction combination in the selected transaction sub-period, if the ratio of the cumulative profit value of any object transaction combination to the sum of the cumulative profit values of all objects in the transaction sub-period is greater than the preset threshold, then the Any object transaction combination is added to the object to be displayed.
可选的,可以预先对对象交易组合进行筛选,相应的处理过程可以如下:根据各对象对应的利润值和各对象的交易数量,在由所述各对象组成的所有对象交易组合中,选取在该历史时段内满足预设筛选条件的对象交易组合。Optionally, object transaction combinations can be pre-screened, and the corresponding processing process can be as follows: according to the profit value corresponding to each object and the transaction quantity of each object, among all object transaction combinations composed of the objects, select the Object transaction combinations that meet the preset filtering conditions within the historical period.
在实施中,服务器可以确定目标店铺中的各对象的排列顺序,服务器可以随机对目标店铺中的各对象进行排序,也可以通过计算对目标店铺中的各对象进行排序。具体地,服务器可以确定每个对象出现的交易,计算这些交易的利润值的和值,然后将计算得到的和值由小到大进行排序,根据和值的排列顺序,对各对象进行相应的排序。In implementation, the server can determine the arrangement order of the objects in the target store, and the server can sort the objects in the target store randomly, or sort the objects in the target store through calculation. Specifically, the server can determine the transactions that appear in each object, calculate the sum of the profit values of these transactions, and then sort the calculated sums from small to large, and perform corresponding operations on each object according to the order of the sums. Sort.
服务器确定各对象的排序顺序后,可以确定第一个对象所属的交易,进而计算第一个对象在其所属的每一笔交易中的利润值,以及每一笔交易中,除第一个对象的利润值以外的利润值,然后服务器可以确定第二个对象所属的交易,进而计算第二个对象在其所属的每一笔交易中的利润值,以及每一笔交易中,除第二个对象和第一个对象的利润值以外的利润值,依次类推。服务器计算得到的结果可以以表格的形式进行表示,如图2所示。After the server determines the sorting order of each object, it can determine the transaction to which the first object belongs, and then calculate the profit value of the first object in each transaction to which it belongs, and in each transaction, except the first object The profit value other than the profit value of the second object, then the server can determine the transaction to which the second object belongs, and then calculate the profit value of the second object in each transaction to which it belongs, and in each transaction, except the second Object and the profit value other than the profit value of the first object, and so on. The result calculated by the server may be expressed in the form of a table, as shown in FIG. 2 .
其中,目标店铺中各对象的排列顺序为g、f、e、c、b、a、d。第一列表示各对象所属的交易的交易编号,第二列表示每个对象在不同的交易中的利润值,第三列表示各交易中,除去该对象以及该对象左边的各对象的利润值以外的利润值。第二列的数值的总和可以以X.Iutility[α,n]表示:Wherein, the arrangement order of each object in the target store is g, f, e, c, b, a, d. The first column indicates the transaction number of the transaction to which each object belongs, the second column indicates the profit value of each object in different transactions, and the third column indicates the profit value of each transaction except this object and the objects to the left of this object Other profit value. The sum of the values in the second column can be represented by X.Iutility[α,n] :
第二列的数值的总和可以以X.Iutility[α,n]表示:The sum of the values in the second column can be represented by X.Iutility[α,n] :
服务器可以确定每个对象的列表中,第二列和第三列的数值的总和。服务器可以确定该对象的列表中第一行的交易编号对应的交易时间点,选取该交易时间点到当前时间点的交易子时段,计算该交易子时段内各对象的累计利润值的总和,进而可以确定第二列和第三列的数值的总和与该交易子时段内各对象的累计利润值的总和的比值,判断该比值是否大于预设阈值,如果该比值大于预设阈值,则该对象与该对象右边的各对象交易组合为满足预设筛选条件的对象交易组合,服务器可以对这些对象交易组合进行选取。如果该比值小于预设阈值,则该对象与该对象右边的各对象交易组合为不满足预设筛选条件的对象交易组合,服务器不对这些对象交易组合进行处理。通过对每个对象进行上述计算处理,服务器可以对各对象组成的所有对象交易组合进行筛选。The server can determine the sum of the values in the second and third columns of the list for each object. The server can determine the transaction time point corresponding to the transaction number in the first line of the object list, select the transaction sub-period from the transaction time point to the current time point, and calculate the sum of the cumulative profit values of each object in the transaction sub-period, and then It is possible to determine the ratio of the sum of the values in the second column and the third column to the sum of the cumulative profit values of each object in the transaction sub-period, and judge whether the ratio is greater than the preset threshold. If the ratio is greater than the preset threshold, the object The object transaction combinations on the right side of the object are the object transaction combinations that meet the preset filtering conditions, and the server can select these object transaction combinations. If the ratio is less than the preset threshold, the object transaction combination with the object transaction combinations on the right of the object is an object transaction combination that does not meet the preset filtering conditions, and the server does not process these object transaction combinations. By performing the above calculation processing on each object, the server can filter all object transaction combinations composed of each object.
例如,对于对象g,其第二列和第三列的数值的总和为5+5=10,从交易编号为7的交易到当前的交易,各对象的的累计利润值的总和为10,10/10=1>0.3,因此,gf、ge、gc、gb、ga、gd为满足预设筛选条件的对象交易组合。对于对象f,其第二列和第三列的数值的总和为3+6+6+12=27,从交易编号为4的交易到当前的交易,各对象的的累计利润值的总和为9+22+18+10=59,27/59=0.45>0.3,因此,fe、fc、fb、fa、fd为满足预设筛选条件的对象交易组合,以此类推。For example, for object g, the sum of the values in the second column and the third column is 5+5=10, from the transaction number 7 to the current transaction, the sum of the cumulative profit values of each object is 10, 10 /10=1>0.3, therefore, gf, ge, gc, gb, ga, gd are target transaction combinations that meet the preset filtering conditions. For object f, the sum of the values in the second and third columns is 3+6+6+12=27, from the transaction with transaction number 4 to the current transaction, the sum of the cumulative profit values of each object is 9 +22+18+10=59, 27/59=0.45>0.3, therefore, fe, fc, fb, fa, fd are object transaction combinations that meet the preset filtering conditions, and so on.
可选的,对于上述筛选对象交易组合的情况,相应的,步骤102的处理过程可以如下:根据各对象对应的利润值和各对象的交易数量,在各对象以及选取的对象交易组合中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象和/或对象交易组合,作为待展示对象。Optionally, for the above-mentioned situation of screening object transaction combinations, correspondingly, the processing process of step 102 may be as follows: according to the profit value corresponding to each object and the transaction quantity of each object, among each object and the selected object transaction combination, select Objects and/or object transaction combinations whose accumulative profit value in the historical period meets the preset profit value condition are regarded as objects to be displayed.
在实施中,服务器对对象交易组合进行筛选后,可以根据各对象对应的利润值和各对象的交易数量,计算在上述历史时段内每个对象以及选取的每个对象交易组合的累计利润值,根据该历史时段内各对象的累计利润值的总和,在各对象以及选取的对象交易组合中,选取在该历史时段内的累计利润值与总和的比值大于预设阈值的对象,作为待展示对象。In implementation, after the server screens the object transaction combinations, it can calculate the cumulative profit value of each object and each selected object transaction combination in the above historical period according to the profit value corresponding to each object and the transaction quantity of each object, According to the sum of the cumulative profit value of each object in the historical period, among each object and the selected object transaction combination, select the object whose ratio of the cumulative profit value to the sum in the historical period is greater than the preset threshold as the object to be displayed .
步骤103,对待展示对象的对象信息进行展示。Step 103, display the object information of the object to be displayed.
服务器选取待展示对象后,可以在目标店铺的首页中,显示待展示对象的展示信息,如待展示对象的图片和价格等信息。服务器也可以将选取的待展示对象发送给终端,用户可以通过终端在服务器选取的待展示对象中,选取希望展示的对象,服务器则会接收到这些对象的展示请求,然后将这些对象的展示信息显示在目标店铺的首页。After the server selects the object to be displayed, it can display the display information of the object to be displayed on the homepage of the target store, such as information such as pictures and prices of the object to be displayed. The server can also send the selected objects to be displayed to the terminal, and the user can select the objects to be displayed among the objects to be displayed selected by the server through the terminal, and the server will receive the display requests of these objects, and then send the display information of these objects Displayed on the homepage of the target store.
本发明实施例中,获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量,根据各对象对应的利润值和各对象的交易数量,在各对象中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象,对待展示对象的对象信息进行展示,这样,可以根据各对象对应的利润值和各对象的交易数量,来选取待展示对象,为选取待展示对象提供了更多更灵活的途径,从而可以提高展示对象信息的灵活性。In the embodiment of the present invention, the profit value corresponding to each object in the target store is obtained, as well as the transaction quantity of each object in the historical period of the preset time before the current time point, and according to the profit value corresponding to each object and the transaction quantity of each object, in Among each object, select the object whose accumulative profit value meets the preset profit value condition in the historical period, as the object to be displayed, and display the object information of the object to be displayed. In this way, according to the profit value corresponding to each object and each The number of transactions of objects is used to select objects to be displayed, which provides more and more flexible ways for selecting objects to be displayed, thereby improving the flexibility of displaying object information.
实施例三Embodiment Three
基于相同的技术构思,本发明实施例还提供了一种对象信息的展示装置,如图3所示,该装置包括:Based on the same technical concept, the embodiment of the present invention also provides a display device for object information, as shown in Figure 3, the device includes:
获取模块310,用于获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内所述各对象的交易数量;The obtaining module 310 is used to obtain the profit value corresponding to each object in the target store, and the transaction quantity of each object in the historical period of the preset time before the current time point;
选取模块320,用于根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象;The selection module 320 is configured to select, among the objects, the accumulated profit value in the historical period that satisfies the preset profit value condition according to the profit value corresponding to each object and the transaction quantity of each object. Object, as the object to be displayed;
展示模块330,用于对所述待展示对象的对象信息进行展示。The display module 330 is configured to display the object information of the object to be displayed.
可选的,所述选取模块320,用于:Optionally, the selecting module 320 is configured to:
根据所述各对象对应的利润值和所述各对象的交易数量,确定所述历史时段内每个对象的累计利润值;According to the profit value corresponding to each object and the transaction quantity of each object, determine the cumulative profit value of each object in the historical period;
根据所述历史时段内所述各对象的累计利润值的总和,在所述各对象中,选取在所述历史时段内的累计利润值与所述总和的比值大于预设阈值的对象,作为待展示对象。According to the sum of the cumulative profit value of each object in the historical period, among the objects, select the object whose ratio of the cumulative profit value in the historical period to the sum is greater than a preset threshold, as the object to be treated Display objects.
可选的,所述装置还包括添加模块,用于:Optionally, the device also includes an add-on module for:
获取所述各对象在所述历史时段内的交易时间点;Obtain the transaction time points of the objects within the historical period;
对于除所述待展示对象以外的任一对象,根据当前时间点和所述任一对象在所述历史时段内的交易时间点,在所述历史时段内选取交易子时段,根据所述各对象对应的利润值,以及所述各对象在所述历史时段内的交易时间点,确定所述交易子时段内每个对象的累计利润值,如果所述交易子时段内所述任一对象的累计利润值与所述交易子时段内所述各对象的累计利润值的总和的比值大于所述预设阈值,则将所述任一对象添加到所述待展示对象中。For any object other than the object to be displayed, according to the current time point and the transaction time point of the any object in the historical period, select a transaction sub-period in the historical period, and according to the The corresponding profit value, and the transaction time points of each object in the historical period, determine the cumulative profit value of each object in the transaction sub-period, if the cumulative profit value of any object in the transaction sub-period If the ratio of the profit value to the sum of the accumulated profit values of the objects within the transaction sub-period is greater than the preset threshold, then any object is added to the objects to be displayed.
可选的,所述选取模块320,用于:Optionally, the selecting module 320 is configured to:
根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象和/或对象交易组合,作为待展示对象。According to the profit value corresponding to each object and the transaction quantity of each object, among the objects, select the object and/or object transaction whose accumulated profit value in the historical period satisfies the preset profit value condition Combination, as the object to be displayed.
可选的,所述选取模块320,还用于:Optionally, the selecting module 320 is also used for:
根据所述各对象对应的利润值和所述各对象的交易数量,在由所述各对象组成的所有对象交易组合中,选取在所述历史时段内满足预设筛选条件的对象交易组合;According to the profit value corresponding to each object and the transaction quantity of each object, among all the object transaction combinations composed of the various objects, select the object transaction combination that meets the preset screening conditions within the historical period;
所述选取模块320,用于:The selection module 320 is used for:
根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象以及选取的对象交易组合中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象和/或对象交易组合,作为待展示对象。According to the profit value corresponding to each object and the transaction quantity of each object, among the objects and the selected object transaction combination, select the one whose cumulative profit value in the historical period satisfies the preset profit value condition Object and/or object transaction combination, as the object to be displayed.
本发明实施例中,获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量,根据各对象对应的利润值和各对象的交易数量,在各对象中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象,对待展示对象的对象信息进行展示,这样,可以根据各对象对应的利润值和各对象的交易数量,来选取待展示对象,为选取待展示对象提供了更多更灵活的途径,从而可以提高展示对象信息的灵活性。In the embodiment of the present invention, the profit value corresponding to each object in the target store is obtained, as well as the transaction quantity of each object in the historical period of the preset time before the current time point, and according to the profit value corresponding to each object and the transaction quantity of each object, in Among each object, select the object whose accumulative profit value meets the preset profit value condition in the historical period, as the object to be displayed, and display the object information of the object to be displayed. In this way, according to the profit value corresponding to each object and each The number of transactions of objects is used to select objects to be displayed, which provides more and more flexible ways for selecting objects to be displayed, thereby improving the flexibility of displaying object information.
需要说明的是:上述实施例提供的对象信息的展示装置在展示对象信息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的对象信息的展示装置与对象信息的展示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the object information display device provided by the above-mentioned embodiment displays object information, it only uses the division of the above-mentioned functional modules for illustration. In practical applications, the above-mentioned functions can be assigned to different functional modules according to needs. Completion means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus for displaying object information provided by the above embodiments and the embodiment of the method for displaying object information belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
实施例四Embodiment four
图4是本发明实施例提供的服务器的结构示意图。该服务器1900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(centralprocessing units,CPU)1922(例如,一个或一个以上处理器)和存储器1932,一个或一个以上存储应用程序1942或数据1944的存储介质1930(例如一个或一个以上海量存储设备)。其中,存储器1932和存储介质1930可以是短暂存储或持久存储。存储在存储介质1930的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1922可以设置为与存储介质1930通信,在服务器1900上执行存储介质1930中的一系列指令操作。Fig. 4 is a schematic structural diagram of a server provided by an embodiment of the present invention. The server 1900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (central processing units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more A storage medium 1930 (such as one or more mass storage devices) storing application programs 1942 or data 1944 . Wherein, the memory 1932 and the storage medium 1930 may be temporary storage or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Further, the central processing unit 1922 may be configured to communicate with the storage medium 1930 , and execute a series of instruction operations in the storage medium 1930 on the server 1900 .
服务器1900还可以包括一个或一个以上电源1926,一个或一个以上有线或无线网络接口1950,一个或一个以上输入输出接口1958,一个或一个以上键盘1956,和/或,一个或一个以上操作系统1941,例如Windows ServerTM,Mac OSXTM,UnixTM,LinuxTM,FreeBSDTM等等。Server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941 , such as Windows ServerTM, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM and so on.
服务器1900可以包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:The server 1900 may include a memory, and one or more programs, wherein the one or more programs are stored in the memory, and configured to be executed by one or more processors, including for performing the following Operating instructions:
获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内所述各对象的交易数量;Obtain the profit value corresponding to each object in the target store, and the transaction quantity of each object in the historical period of the preset time before the current time point;
根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象;According to the profit value corresponding to each object and the transaction quantity of each object, among the objects, select the object whose accumulated profit value in the historical period meets the preset profit value condition as the object to be displayed ;
对所述待展示对象的对象信息进行展示。Display the object information of the object to be displayed.
可选的,所述根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象,包括:Optionally, according to the profit value corresponding to each object and the transaction quantity of each object, among the objects, select the one whose cumulative profit value in the historical period satisfies the preset profit value condition Objects, as objects to be displayed, include:
根据所述各对象对应的利润值和所述各对象的交易数量,确定所述历史时段内每个对象的累计利润值;According to the profit value corresponding to each object and the transaction quantity of each object, determine the cumulative profit value of each object in the historical period;
根据所述历史时段内所述各对象的累计利润值的总和,在所述各对象中,选取在所述历史时段内的累计利润值与所述总和的比值大于预设阈值的对象,作为待展示对象。According to the sum of the cumulative profit value of each object in the historical period, among the objects, select the object whose ratio of the cumulative profit value in the historical period to the sum is greater than a preset threshold, as the object to be treated Display objects.
可选的,所述根据所述历史时段内所述各对象的累计利润值的总和,在所述各对象中,选取在所述历史时段内的累计利润值与所述总和的比值大于预设阈值的对象,作为待展示对象之后,还包括:Optionally, according to the sum of the cumulative profit values of the objects in the historical period, among the objects, the ratio of the cumulative profit value in the historical period to the sum is selected to be greater than a preset The threshold object, after the object to be displayed, also includes:
获取所述各对象在所述历史时段内的交易时间点;Obtain the transaction time points of the objects within the historical period;
对于除所述待展示对象以外的任一对象,根据当前时间点和所述任一对象在所述历史时段内的交易时间点,在所述历史时段内选取交易子时段,根据所述各对象对应的利润值,以及所述各对象在所述历史时段内的交易时间点,确定所述交易子时段内每个对象的累计利润值,如果所述交易子时段内所述任一对象的累计利润值与所述交易子时段内所述各对象的累计利润值的总和的比值大于所述预设阈值,则将所述任一对象添加到所述待展示对象中。For any object other than the object to be displayed, according to the current time point and the transaction time point of the any object in the historical period, select a transaction sub-period in the historical period, and according to the The corresponding profit value, and the transaction time points of each object in the historical period, determine the cumulative profit value of each object in the transaction sub-period, if the cumulative profit value of any object in the transaction sub-period If the ratio of the profit value to the sum of the accumulated profit values of the objects within the transaction sub-period is greater than the preset threshold, then any object is added to the objects to be displayed.
可选的,所述根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象,包括:Optionally, according to the profit value corresponding to each object and the transaction quantity of each object, among the objects, select the one whose cumulative profit value in the historical period satisfies the preset profit value condition Objects, as objects to be displayed, include:
根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象和/或对象交易组合,作为待展示对象。According to the profit value corresponding to each object and the transaction quantity of each object, among the objects, select the object and/or object transaction whose accumulated profit value in the historical period satisfies the preset profit value condition Combination, as the object to be displayed.
可选的,所述根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象和/或对象交易组合,作为待展示对象之前,还包括:Optionally, according to the profit value corresponding to each object and the transaction quantity of each object, among the objects, select the one whose cumulative profit value in the historical period satisfies the preset profit value condition Objects and/or object transaction combinations, before objects to be displayed, also include:
根据所述各对象对应的利润值和所述各对象的交易数量,在由所述各对象组成的所有对象交易组合中,选取在所述历史时段内满足预设筛选条件的对象交易组合;According to the profit value corresponding to each object and the transaction quantity of each object, among all the object transaction combinations composed of the various objects, select the object transaction combination that meets the preset screening conditions within the historical period;
所述根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象和/或对象交易组合,作为待展示对象,包括:According to the profit value corresponding to each object and the transaction quantity of each object, among the objects, select the object whose cumulative profit value in the historical period meets the preset profit value condition and/or Object transaction combination, as the object to be displayed, includes:
根据所述各对象对应的利润值和所述各对象的交易数量,在所述各对象以及选取的对象交易组合中,选取在所述历史时段内的累计利润值满足预设的利润值条件的对象和/或对象交易组合,作为待展示对象。According to the profit value corresponding to each object and the transaction quantity of each object, among the objects and the selected object transaction combination, select the one whose cumulative profit value in the historical period satisfies the preset profit value condition Object and/or object transaction combination, as the object to be displayed.
本发明实施例中,获取目标店铺中各对象对应的利润值,以及当前时间点之前预设时长的历史时段内各对象的交易数量,根据各对象对应的利润值和各对象的交易数量,在各对象中,选取在该历史时段内的累计利润值满足预设的利润值条件的对象,作为待展示对象,对待展示对象的对象信息进行展示,这样,可以根据各对象对应的利润值和各对象的交易数量,来选取待展示对象,为选取待展示对象提供了更多更灵活的途径,从而可以提高展示对象信息的灵活性。In the embodiment of the present invention, the profit value corresponding to each object in the target store is obtained, as well as the transaction quantity of each object in the historical period of the preset time before the current time point, and according to the profit value corresponding to each object and the transaction quantity of each object, in Among each object, select the object whose accumulative profit value meets the preset profit value condition in the historical period, as the object to be displayed, and display the object information of the object to be displayed. In this way, according to the profit value corresponding to each object and each The number of transactions of objects is used to select objects to be displayed, which provides more and more flexible ways for selecting objects to be displayed, thereby improving the flexibility of displaying object information.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510106783.6ACN106033576B (en) | 2015-03-11 | 2015-03-11 | Method and device for displaying object information |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510106783.6ACN106033576B (en) | 2015-03-11 | 2015-03-11 | Method and device for displaying object information |
| Publication Number | Publication Date |
|---|---|
| CN106033576Atrue CN106033576A (en) | 2016-10-19 |
| CN106033576B CN106033576B (en) | 2020-08-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510106783.6AActiveCN106033576B (en) | 2015-03-11 | 2015-03-11 | Method and device for displaying object information |
| Country | Link |
|---|---|
| CN (1) | CN106033576B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109934659A (en)* | 2017-12-19 | 2019-06-25 | 腾讯科技(深圳)有限公司 | A kind of information displaying method, server, terminal and system |
| CN111724222A (en)* | 2019-03-19 | 2020-09-29 | 阿里巴巴集团控股有限公司 | A kind of information processing method, device and electronic equipment in live broadcast |
| CN111932315A (en)* | 2020-09-02 | 2020-11-13 | 上海优扬新媒信息技术有限公司 | Data display method and device, electronic equipment and computer readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101783004A (en)* | 2010-03-03 | 2010-07-21 | 陈嵘 | Fast intelligent commodity recommendation system |
| CN102279863A (en)* | 2010-06-08 | 2011-12-14 | 索尼计算机娱乐公司 | Information providing apparatus and information providing method |
| CN202257679U (en)* | 2011-01-25 | 2012-05-30 | 郭曦 | Intelligent commodity and promotion recommendation system based on cloud analysis |
| CN103854215A (en)* | 2012-11-30 | 2014-06-11 | 大连宏宇科技有限公司 | Online shopping system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101783004A (en)* | 2010-03-03 | 2010-07-21 | 陈嵘 | Fast intelligent commodity recommendation system |
| CN102279863A (en)* | 2010-06-08 | 2011-12-14 | 索尼计算机娱乐公司 | Information providing apparatus and information providing method |
| CN202257679U (en)* | 2011-01-25 | 2012-05-30 | 郭曦 | Intelligent commodity and promotion recommendation system based on cloud analysis |
| CN103854215A (en)* | 2012-11-30 | 2014-06-11 | 大连宏宇科技有限公司 | Online shopping system |
| Title |
|---|
| JERRY CHUN-WEI LIN ET AL.: "《C3S2E 2015》", 15 July 2015* |
| JERRY CHUN-WEI LIN ET AL.: "《Springer Science+Business Media New York 2015》", 31 July 2015* |
| YING LIU ET AL.: "《UBDM "05》", 21 August 2005* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109934659A (en)* | 2017-12-19 | 2019-06-25 | 腾讯科技(深圳)有限公司 | A kind of information displaying method, server, terminal and system |
| CN111724222A (en)* | 2019-03-19 | 2020-09-29 | 阿里巴巴集团控股有限公司 | A kind of information processing method, device and electronic equipment in live broadcast |
| CN111932315A (en)* | 2020-09-02 | 2020-11-13 | 上海优扬新媒信息技术有限公司 | Data display method and device, electronic equipment and computer readable storage medium |
| CN111932315B (en)* | 2020-09-02 | 2023-10-24 | 度小满科技(北京)有限公司 | Method and device for data display, electronic equipment and computer readable storage medium |
| Publication number | Publication date |
|---|---|
| CN106033576B (en) | 2020-08-11 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106101848B (en) | A kind of barrage display methods and electronic equipment | |
| TWI556120B (en) | A method of determining a page element in a web page, and a device | |
| WO2015196008A1 (en) | Event visualization on calendar with timeline | |
| WO2012060866A1 (en) | Determination of category information using multiple stages | |
| US20130332310A1 (en) | Billing impact notification | |
| CN111324634B (en) | Search ordering method and device, electronic equipment and storage medium | |
| WO2017107797A1 (en) | Method and device for displaying network products on product shelf | |
| CN110570271A (en) | Information recommendation method, device, electronic device and readable storage medium | |
| CN106033576A (en) | Method and device for displaying object information | |
| CN104077054A (en) | User grading implementation method, user grading client and electronic equipment | |
| CN104978670A (en) | Method and apparatus for presenting data information of a plurality of indicators | |
| CN106202513A (en) | Method and apparatus is recommended by the main website that browses of browser | |
| CN106844504B (en) | A kind of method and apparatus for sending song and singly identifying | |
| CN112182370A (en) | Item category information push method, device, electronic device and medium | |
| CN104008490A (en) | Commodity display method and apparatus | |
| US20140192082A1 (en) | Methods and systems for generating an aggregated data visualization | |
| CN106303746A (en) | The processing method and processing device of barrage data | |
| CN105528446A (en) | Abstract generating method and device meeting extended product demands | |
| CN109101544A (en) | Heating power drawing generating method, calculates equipment and readable storage medium storing program for executing at device | |
| WO2015195902A1 (en) | Issue response and prediction | |
| JP2018506974A5 (en) | ||
| AU2015298135A1 (en) | Method and system for performing online advertisement monitoring | |
| CN112860874B (en) | Question-answer interaction method, device, equipment and storage medium | |
| CN103995852B (en) | Data processing method and device | |
| CN110378714B (en) | Method and device for processing access data |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB03 | Change of inventor or designer information | ||
| CB03 | Change of inventor or designer information | Inventor after:Lin Junwei Inventor after:Gan Wensheng Inventor after:Wang Juhong Inventor after:Li Yong Inventor after:Lai Xiaoping Inventor before:Lin Junwei Inventor before:Wang Juhong Inventor before:Li Yong Inventor before:Lai Xiaoping Inventor before:Gan Wensheng | |
| GR01 | Patent grant | ||
| GR01 | Patent grant |