CN114549127A - Order object replacing method and device, electronic equipment and computer storage medium - Google Patents
Order object replacing method and device, electronic equipment and computer storage medium Download PDFInfo
- Publication number
- CN114549127A CN114549127A CN202210157756.1A CN202210157756A CN114549127A CN 114549127 A CN114549127 A CN 114549127A CN 202210157756 A CN202210157756 A CN 202210157756A CN 114549127 A CN114549127 A CN 114549127A
- Authority
- CN
- China
- Prior art keywords
- order
- objects
- entity
- recommended
- similar
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Managing shopping lists, e.g. compiling or processing purchase lists
- G06Q30/0635—Managing shopping lists, e.g. compiling or processing purchase lists replenishment orders; recurring orders
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0834—Choice of carriers
- G06Q10/08345—Pricing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Data Mining & Analysis (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机技术领域,具体涉及一种订单对象替换方法、装置和电子设备和计算机可读存储介质。The present invention relates to the field of computer technology, and in particular, to a method, apparatus and electronic device for replacing an order object and a computer-readable storage medium.
背景技术Background technique
随着移动通信和互联网技术的发展,网购已成为人们日常生活的一部分。其中,能实现商品实时配送的线上零售方式由于满足用户对时效性的要求,近年来更是发展迅速。With the development of mobile communication and Internet technology, online shopping has become a part of people's daily life. Among them, the online retail method that can realize the real-time distribution of goods has developed rapidly in recent years because it meets the requirements of users for timeliness.
在提供商品实时配送的生活服务软件或购物软件中,可以为同一用户提供商品配送的商户有多个。当用户有一次购买多商品的需求时,需要针对每个商品选择相应的商户,而且用户需要结合其对订单特性的需求自行选择每个商品的供货商户,操作繁琐,效率低。现有技术无法较好地满足实时配送场景下一次购买多商品的需求,也没有进一步地为用户提供减少订单总价格,降低用户需支付金额的技术方案。In the life service software or shopping software that provides real-time delivery of goods, there are multiple merchants that can provide goods delivery for the same user. When a user needs to buy multiple commodities at one time, it is necessary to select a corresponding merchant for each commodity, and the user needs to select the supplier of each commodity according to their needs for the characteristics of the order, which is cumbersome and inefficient. The existing technology cannot better meet the needs of purchasing multiple commodities at one time in the real-time distribution scenario, and does not further provide users with a technical solution for reducing the total order price and the amount that users need to pay.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,提出了本发明实施例以便提供一种克服上述问题或者至少部分地解决上述问题的订单对象替换方法、装置、电子设备和计算机可读存储介质。In view of the above problems, embodiments of the present invention are proposed to provide an order object replacement method, apparatus, electronic device, and computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
根据本发明实施例的第一方面,提供了一种订单对象替换方法,包括:According to a first aspect of the embodiments of the present invention, a method for replacing an order object is provided, including:
获取终端发送的提交订单请求,所述提交订单请求指示在虚拟实体对象中被选择的实体对象组合,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合;Obtain an order submission request sent by the terminal, where the submission order request indicates the entity object combination selected in the virtual entity object, and the entity object combination indicates entity objects capable of supplying a complete set of objects and objects supplied by each entity object therein , the object set is a set of all objects in the order;
响应于所述提交订单请求,查找所述订单中的对象的推荐相似对象,所述推荐相似对象与所述对象具有相同的使用属性,在将所述对象替换为所述推荐相似对象的情况下能够减少所述订单的总价格;In response to the request for submitting an order, searching for a recommended similar object for the object in the order, the recommended similar object having the same usage attribute as the object, in the case of replacing the object with the recommended similar object be able to reduce the total price of said order;
将所述推荐相似对象发送给终端,以使所述终端显示所述推荐相似对象;sending the recommended similar object to a terminal, so that the terminal displays the recommended similar object;
响应于提交的替换请求,将所述订单中的对象替换为所述推荐相似对象后提交所述订单。In response to the submitted replacement request, the order is submitted after replacing the objects in the order with the recommended similar objects.
在一些实施例中,所述响应于所述提交订单请求,查找所述订单中的对象的推荐相似对象,包括:In some embodiments, the finding, in response to the request for submitting an order, searching for recommended similar objects to objects in the order, includes:
响应于所述提交订单请求,查找所述订单中每个所述对象的相似对象;in response to the submit order request, finding similar objects for each of the objects in the order;
在每个所述对象的相似对象中,确定能够减少所述订单的总价格的相似对象;among similar objects of each of said objects, identifying similar objects that can reduce the total price of said order;
选择能够减少所述订单的总价格的相似对象中的一个或多个作为推荐相似对象。One or more of the similar objects that can reduce the total price of the order are selected as recommended similar objects.
在一些实施例中,所述选择能够减少所述订单的总价格的相似对象中的一个或多个作为推荐相似对象,包括:In some embodiments, the selecting one or more of the similar objects that can reduce the total price of the order as recommended similar objects, including:
选择能够减少所述订单的总价格最多的一个相似对象,作为推荐相似对象。A similar object that can reduce the total price of the order the most is selected as a recommended similar object.
在一些实施例中,所述能够减少所述订单的总价格包括能够减少所述对象的价格和/或配送费。In some embodiments, the being able to reduce the total price of the order includes being able to reduce the price of the object and/or the delivery fee.
在一些实施例中,所述响应于所述提交订单请求,查找所述订单中的对象的推荐相似对象,包括:In some embodiments, the finding, in response to the request for submitting an order, searching for recommended similar objects to objects in the order, includes:
响应于所述提交订单请求,从相似对象关联表中查找所述订单中的对象的推荐相似对象,所述相似对象关联表包括对象和对应于该对象的相似对象的关联关系,所述对象与其相似对象由同一所述实体对象供应或者由不同的所述实体对象供应。In response to the request for submitting an order, look up a similar object recommended for an object in the order from a similar object association table, the similar object association table including an association relationship between an object and a similar object corresponding to the object, the object with which Similar objects are supplied by the same said entity object or by different said entity objects.
在一些实施例中,所述对象的推荐相似对象有一个或多个;In some embodiments, there are one or more similar objects recommended for the object;
所述将所述推荐相似对象发送给终端,以使所述终端显示所述推荐相似对象,包括:The sending the recommended similar object to the terminal, so that the terminal displays the recommended similar object, includes:
将所述一个或多个推荐相似对象发送给终端,以使所述终端显示所述一个或多个推荐相似对象,并提供对所述一个或多个推荐相似对象的选择按键;sending the one or more recommended similar objects to the terminal, so that the terminal displays the one or more recommended similar objects, and provides a selection button for the one or more recommended similar objects;
所述响应于提交的替换请求,将所述订单中的对象替换为所述推荐相似对象后提交所述订单,包括:The submitting the order after replacing the objects in the order with the recommended similar objects in response to the submitted replacement request, including:
接收根据显示的所述推荐相似对象提交的替换请求,所述替换请求包括被选择的推荐相似对象;receiving a replacement request submitted according to the displayed recommended similar object, the replacement request including the selected recommended similar object;
将所述订单中的对象替换为被选择的所述推荐相似对象后提交所述订单。The order is submitted after replacing the objects in the order with the selected recommended similar objects.
在一些实施例中,所述将所述一个或多个推荐相似对象发送给终端,以使所述终端显示所述一个或多个推荐相似对象,包括:In some embodiments, the sending the one or more recommended similar objects to a terminal, so that the terminal displays the one or more recommended similar objects, includes:
根据所述推荐相似对象所减少的订单的总价格的多少,对所述一个或多个推荐相似对象进行降序排列;Arrange the one or more recommended similar objects in descending order according to the total price of the order reduced by the recommended similar objects;
将降序排列的所述一个或多个推荐相似对象发送给终端,以使所述终端按照降序排列显示所述一个或多个推荐相似对象。Sending the one or more recommended similar objects in descending order to the terminal, so that the terminal displays the one or more recommended similar objects in descending order.
在一些实施例中,所述根据所述推荐相似对象所减少的订单的总价格的多少,对所述一个或多个推荐相似对象进行降序排列,包括:In some embodiments, the one or more recommended similar objects are sorted in descending order according to the total price of the order reduced by the recommended similar objects, including:
根据所述订单中的对象对所述推荐相似对象进行排序,对应于相同对象的所述推荐相似对象前后相邻;Sort the recommended similar objects according to the objects in the order, and the recommended similar objects corresponding to the same object are adjacent to one another;
在排序后的对应于相同对象的所述推荐相似对象中,根据所述推荐相似对象所减少的订单的总价格的多少,对所述推荐相似对象进行降序排列。In the sorted recommended similar objects corresponding to the same objects, the recommended similar objects are sorted in descending order according to the total price of the order reduced by the recommended similar objects.
在一些实施例中,所述将所述推荐相似对象发送给终端,以使所述终端显示所述推荐相似对象,包括:In some embodiments, the sending the recommended similar object to a terminal, so that the terminal displays the recommended similar object, includes:
将所述对象、与所述对象对应的推荐相似对象、所述推荐相似对象所减少的订单的总价格发送给所述终端,以使所述终端显示所述对象、与所述对象对应的推荐相似对象、所述推荐相似对象所减少的订单的总价格。Send the object, the recommended similar object corresponding to the object, and the total price of the order reduced by the recommended similar object to the terminal, so that the terminal can display the object and the recommendation corresponding to the object Similar objects, the total price of orders reduced by the recommended similar objects.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
响应于提交的不替换请求,不对所述订单中的对象进行变更并提交所述订单。In response to the submitted no-replace request, no changes are made to the objects in the order and the order is submitted.
在一些实施例中,所述虚拟实体对象通过如下步骤生成:In some embodiments, the virtual entity object is generated by the following steps:
从标准对象库获取多个第一对象的信息,得到第一对象集;Obtain the information of multiple first objects from the standard object library, and obtain the first object set;
获取实体对象的多个第二对象的信息,得到第二对象集,其中所述实体对象为多个,每个所述实体对象关联有至少一个第二对象;acquiring information of multiple second objects of the entity object, and obtaining a second object set, wherein the entity objects are multiple, and each entity object is associated with at least one second object;
从所述第一对象集和所述第二对象集中,确定出既属于所述第一对象集又属于所述第二对象集的对象,得到第三对象集;From the first object set and the second object set, determine objects that belong to both the first object set and the second object set to obtain a third object set;
根据所述第三对象集,生成所述虚拟实体对象。The virtual entity object is generated according to the third object set.
在一些实施例中,在所述获取终端发送的提交订单请求之前,所述方法还包括:In some embodiments, before obtaining the request for submitting an order sent by the terminal, the method further includes:
获取终端发送的订单结算请求,所述订单结算请求为所述终端将虚拟实体对象中的多个对象加入购物车后发送的请求;obtaining an order settlement request sent by the terminal, where the order settlement request is a request sent by the terminal after adding multiple objects in the virtual entity object to the shopping cart;
根据所述订单结算请求,确定满足条件的多种实体对象组合,将所述实体对象组合发送给所述终端,以使所述终端响应于显示其中一种所述实体对象组合的操作而显示所述实体对象组合,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合。According to the order settlement request, determine multiple entity object combinations that meet the conditions, and send the entity object combinations to the terminal, so that the terminal displays all the entity object combinations in response to an operation of displaying one of the entity object combinations. The entity object combination indicates entity objects capable of supplying a complete set of objects, which is a set of all objects in the order, and objects each of which is supplied by the entity objects.
在一些实施例中,所述满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,所述第一实体对象组合是所述订单的总价格最低的实体对象组合,所述第二实体对象组合是所述订单的总配送时长最短的实体对象组合,所述第三对象组合是为所述订单供应对象的所有所述实体对象的数量最少的实体对象组合。In some embodiments, the multiple entity object combinations that meet the conditions include any two of a first entity object combination, a second entity object combination, and a third entity object combination, and the first entity object combination is the The entity object combination with the lowest total price of the order, the second entity object combination is the entity object combination with the shortest total delivery time of the order, and the third object combination is all the entity objects that supply objects for the order The smallest number of entity object combinations.
根据本发明实施例的第二方面,提供了一种订单对象替换方法,包括:According to a second aspect of the embodiments of the present invention, a method for replacing an order object is provided, including:
向服务器发送提交订单请求,所述提交订单请求指示在虚拟实体对象中被选择的实体对象组合,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合;sending a submit order request to the server, the submit order request indicating a selected combination of entity objects in the virtual entity object, the entity object combination indicating entity objects capable of supplying a complete set of objects and objects each of which is supplied by the entity objects, The object set is a set of all objects in the order;
接收并显示所述订单中的对象的推荐相似对象,所述推荐相似对象由所述服务器响应于所述提交订单请求查找得到的,所述推荐相似对象与所述对象具有相同的使用属性,在将所述对象替换为所述推荐相似对象的情况下能够减少所述订单的总价格;Receive and display the recommended similar objects of the objects in the order, the recommended similar objects are obtained by the server in response to the request for submitting the order, and the recommended similar objects have the same usage attributes as the objects, and The total price of the order can be reduced by replacing the object with the recommended similar object;
向所述服务器发送替换请求,以使所述服务器将所述订单中的对象替换为所述推荐相似对象后提交所述订单。A replacement request is sent to the server, so that the server submits the order after replacing the objects in the order with the recommended similar objects.
在一些实施例中,所述能够减少所述订单的总价格包括能够减少所述对象的价格和/或配送费。In some embodiments, the being able to reduce the total price of the order includes being able to reduce the price of the object and/or the delivery fee.
在一些实施例中,所述对象的推荐相似对象有一个或多个;In some embodiments, there are one or more similar objects recommended for the object;
所述接收并显示所述订单中的对象的推荐相似对象,包括:The receiving and displaying the recommended similar objects of the objects in the order include:
接收并显示所述一个或多个推荐相似对象,并提供对所述一个或多个推荐相似对象的选择按键;receiving and displaying the one or more recommended similar objects, and providing a selection button for the one or more recommended similar objects;
所述向所述服务器发送替换请求,包括:The sending a replacement request to the server includes:
根据接收的对所述一个或多个推荐相似对象的选择以及替换确认操作,生成替换请求后发送给所述服务器,所述替换请求包括被选择的推荐相似对象。According to the received selection of the one or more recommended similar objects and the replacement confirmation operation, a replacement request is generated and sent to the server, where the replacement request includes the selected recommended similar objects.
在一些实施例中,所述接收并显示所述订单中的对象的推荐相似对象,包括:In some embodiments, the receiving and displaying recommended similar objects for the objects in the order includes:
接收降序排列的所述一个或多个推荐相似对象,按照降序排列显示所述一个或多个推荐相似对象。The one or more recommended similar objects in descending order are received, and the one or more recommended similar objects are displayed in descending order.
在一些实施例中,所述降序排列包括:对应于相同对象的所述推荐相似对象前后相邻,在排序后的对应于相同对象的所述推荐相似对象中,所述推荐相似对象根据所述推荐相似对象所减少的订单的总价格的多少进行降序排列。In some embodiments, the descending arrangement includes: the recommended similar objects corresponding to the same object are adjacent to one another, and in the sorted recommended similar objects corresponding to the same object, the recommended similar objects are based on the The total price of orders reduced by similar objects is recommended to be sorted in descending order.
在一些实施例中,所述接收并显示所述订单中的对象的推荐相似对象,包括:In some embodiments, the receiving and displaying recommended similar objects for the objects in the order includes:
接收并显示所述对象、与所述对象对应的推荐相似对象、所述推荐相似对象所减少的订单的总价格。The object, the recommended similar object corresponding to the object, and the total price of the order reduced by the recommended similar object are received and displayed.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
向所述服务器发送不替换请求,以使所述服务器不对所述订单中的对象进行变更并提交所述订单。A no-replace request is sent to the server so that the server does not make changes to the objects in the order and submits the order.
在一些实施例中,所述虚拟实体对象通过如下步骤生成:In some embodiments, the virtual entity object is generated by the following steps:
从标准对象库获取多个第一对象的信息,得到第一对象集;Obtain the information of multiple first objects from the standard object library, and obtain the first object set;
获取实体对象的多个第二对象的信息,得到第二对象集,其中所述实体对象为多个,每个所述实体对象关联有至少一个第二对象;acquiring information of multiple second objects of the entity object, and obtaining a second object set, wherein the entity objects are multiple, and each entity object is associated with at least one second object;
从所述第一对象集和所述第二对象集中,确定出既属于所述第一对象集又属于所述第二对象集的对象,得到第三对象集;From the first object set and the second object set, determine objects that belong to both the first object set and the second object set to obtain a third object set;
根据所述第三对象集,生成所述虚拟实体对象。The virtual entity object is generated according to the third object set.
在一些实施例中,在向服务器发送提交订单请求之前,所述方法还包括:In some embodiments, before sending the submit order request to the server, the method further includes:
在将虚拟实体对象中的多个对象加入购物车后,向服务器发送订单结算请求;After adding multiple objects in the virtual entity object to the shopping cart, send an order settlement request to the server;
响应于显示满足条件的多种实体对象组合的其中一种所述实体对象组合的操作,显示所述实体对象组合,所述满足条件的多种实体对象组合为所述服务器根据所述订单结算请求确定并发送给所述终端,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合。In response to an operation of displaying one of the entity object combinations that meet the condition, the entity object combination is displayed, and the plurality of entity object combinations that meet the condition are the server settlement requests according to the order Determined and sent to the terminal, the entity object combination indicates entity objects capable of supplying a complete set of objects and objects supplied by each of the entity objects, the object set being a set of all objects in the order.
在一些实施例中,所述满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,所述第一实体对象组合是所述订单的总价格最低的实体对象组合,所述第二实体对象组合是所述订单的总配送时长最短的实体对象组合,所述第三对象组合是为所述订单供应对象的所有所述实体对象的数量最少的实体对象组合。In some embodiments, the multiple entity object combinations that meet the conditions include any two of a first entity object combination, a second entity object combination, and a third entity object combination, and the first entity object combination is the The entity object combination with the lowest total price of the order, the second entity object combination is the entity object combination with the shortest total delivery time of the order, and the third object combination is all the entity objects that supply objects for the order The smallest number of entity object combinations.
根据本发明实施例的第三方面,提供了一种订单对象替换装置,包括:According to a third aspect of the embodiments of the present invention, an apparatus for replacing order objects is provided, including:
获取模块,用于获取终端发送的提交订单请求,所述提交订单请求指示在虚拟实体对象中被选择的实体对象组合,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合;The acquiring module is configured to acquire a request for submitting an order sent by the terminal, where the request for submitting an order indicates a selected entity object combination in the virtual entity object, and the entity object combination indicates an entity object capable of supplying a complete set of objects and each of the entity objects the object supplied by the object, and the object set is the set of all objects in the order;
查找模块,用于响应于所述提交订单请求,查找所述订单中的对象的推荐相似对象,所述推荐相似对象与所述对象具有相同的使用属性,在将所述对象替换为所述推荐相似对象的情况下能够减少所述订单的总价格;A search module, configured to, in response to the request for submitting an order, search for a recommended similar object of the object in the order, where the recommended similar object has the same usage attribute as the object, and when the object is replaced with the recommended object The total price of said order can be reduced in the case of similar objects;
第一发送模块,用于将所述推荐相似对象发送给终端,以使所述终端显示所述推荐相似对象;a first sending module, configured to send the recommended similar object to a terminal, so that the terminal displays the recommended similar object;
替换模块,用于响应于提交的替换请求,将所述订单中的对象替换为所述推荐相似对象后提交所述订单。The replacement module is configured to, in response to the submitted replacement request, replace the objects in the order with the recommended similar objects and then submit the order.
在一些实施例中,所述响应于所述提交订单请求,查找所述订单中的对象的推荐相似对象,包括:In some embodiments, the finding, in response to the request for submitting an order, searching for recommended similar objects to objects in the order, includes:
响应于所述提交订单请求,查找所述订单中每个所述对象的相似对象;in response to the submit order request, finding similar objects for each of the objects in the order;
在每个所述对象的相似对象中,确定能够减少所述订单的总价格的相似对象;among similar objects of each of said objects, identifying similar objects that can reduce the total price of said order;
选择能够减少所述订单的总价格的相似对象中的一个或多个作为推荐相似对象。One or more of the similar objects that can reduce the total price of the order are selected as recommended similar objects.
在一些实施例中,所述选择能够减少所述订单的总价格的相似对象中的一个或多个作为推荐相似对象,包括:In some embodiments, the selecting one or more of the similar objects that can reduce the total price of the order as recommended similar objects, including:
选择能够减少所述订单的总价格最多的一个相似对象,作为推荐相似对象。A similar object that can reduce the total price of the order the most is selected as a recommended similar object.
在一些实施例中,所述能够减少所述订单的总价格包括能够减少所述对象的价格和/或配送费。In some embodiments, the being able to reduce the total price of the order includes being able to reduce the price of the object and/or the delivery fee.
在一些实施例中,所述响应于所述提交订单请求,查找所述订单中的对象的推荐相似对象,包括:In some embodiments, the finding, in response to the request for submitting an order, searching for recommended similar objects to objects in the order, includes:
响应于所述提交订单请求,从相似对象关联表中查找所述订单中的对象的推荐相似对象,所述相似对象关联表包括对象和对应于该对象的相似对象的关联关系,所述对象与其相似对象由同一所述实体对象供应或者由不同的所述实体对象供应。In response to the request for submitting an order, look up a similar object recommended for an object in the order from a similar object association table, the similar object association table including an association relationship between an object and a similar object corresponding to the object, the object with which Similar objects are supplied by the same said entity object or by different said entity objects.
在一些实施例中,所述对象的推荐相似对象有一个或多个;In some embodiments, there are one or more similar objects recommended for the object;
所述将所述推荐相似对象发送给终端,以使所述终端显示所述推荐相似对象,包括:The sending the recommended similar object to the terminal, so that the terminal displays the recommended similar object, includes:
将所述一个或多个推荐相似对象发送给终端,以使所述终端显示所述一个或多个推荐相似对象,并提供对所述一个或多个推荐相似对象的选择按键;sending the one or more recommended similar objects to the terminal, so that the terminal displays the one or more recommended similar objects, and provides a selection button for the one or more recommended similar objects;
所述响应于提交的替换请求,将所述订单中的对象替换为所述推荐相似对象后提交所述订单,包括:The submitting the order after replacing the objects in the order with the recommended similar objects in response to the submitted replacement request, including:
接收根据显示的所述推荐相似对象提交的替换请求,所述替换请求包括被选择的推荐相似对象;receiving a replacement request submitted according to the displayed recommended similar object, the replacement request including the selected recommended similar object;
将所述订单中的对象替换为被选择的所述推荐相似对象后提交所述订单。The order is submitted after replacing the objects in the order with the selected recommended similar objects.
在一些实施例中,所述将所述一个或多个推荐相似对象发送给终端,以使所述终端显示所述一个或多个推荐相似对象,包括:In some embodiments, the sending the one or more recommended similar objects to a terminal, so that the terminal displays the one or more recommended similar objects, includes:
根据所述推荐相似对象所减少的订单的总价格的多少,对所述一个或多个推荐相似对象进行降序排列;Arrange the one or more recommended similar objects in descending order according to the total price of the order reduced by the recommended similar objects;
将降序排列的所述一个或多个推荐相似对象发送给终端,以使所述终端按照降序排列显示所述一个或多个推荐相似对象。Sending the one or more recommended similar objects in descending order to the terminal, so that the terminal displays the one or more recommended similar objects in descending order.
在一些实施例中,所述根据所述推荐相似对象所减少的订单的总价格的多少,对所述一个或多个推荐相似对象进行降序排列,包括:In some embodiments, the one or more recommended similar objects are sorted in descending order according to the total price of the order reduced by the recommended similar objects, including:
根据所述订单中的对象对所述推荐相似对象进行排序,对应于相同对象的所述推荐相似对象前后相邻;Sort the recommended similar objects according to the objects in the order, and the recommended similar objects corresponding to the same object are adjacent to one another;
在排序后的对应于相同对象的所述推荐相似对象中,根据所述推荐相似对象所减少的订单的总价格的多少,对所述推荐相似对象进行降序排列。In the sorted recommended similar objects corresponding to the same objects, the recommended similar objects are sorted in descending order according to the total price of the order reduced by the recommended similar objects.
在一些实施例中,所述将所述推荐相似对象发送给终端,以使所述终端显示所述推荐相似对象,包括:In some embodiments, the sending the recommended similar object to a terminal, so that the terminal displays the recommended similar object, includes:
将所述对象、与所述对象对应的推荐相似对象、所述推荐相似对象所减少的订单的总价格发送给所述终端,以使所述终端显示所述对象、与所述对象对应的推荐相似对象、所述推荐相似对象所减少的订单的总价格。Send the object, the recommended similar object corresponding to the object, and the total price of the order reduced by the recommended similar object to the terminal, so that the terminal can display the object and the recommendation corresponding to the object Similar objects, the total price of orders reduced by the recommended similar objects.
在一些实施例中,所述替换模块还用于:In some embodiments, the replacement module is also used to:
响应于提交的不替换请求,不对所述订单中的对象进行变更并提交所述订单。In response to the submitted no-replace request, no changes are made to the objects in the order and the order is submitted.
在一些实施例中,所述虚拟实体对象通过如下步骤生成:In some embodiments, the virtual entity object is generated by the following steps:
从标准对象库获取多个第一对象的信息,得到第一对象集;Obtain the information of multiple first objects from the standard object library, and obtain the first object set;
获取实体对象的多个第二对象的信息,得到第二对象集,其中所述实体对象为多个,每个所述实体对象关联有至少一个第二对象;acquiring information of multiple second objects of the entity object, and obtaining a second object set, wherein the entity objects are multiple, and each entity object is associated with at least one second object;
从所述第一对象集和所述第二对象集中,确定出既属于所述第一对象集又属于所述第二对象集的对象,得到第三对象集;From the first object set and the second object set, determine objects that belong to both the first object set and the second object set to obtain a third object set;
根据所述第三对象集,生成所述虚拟实体对象。The virtual entity object is generated according to the third object set.
在一些实施例中,在所述获取终端发送的提交订单请求之前,所述获取模块还用于:获取终端发送的订单结算请求,所述订单结算请求为所述终端将虚拟实体对象中的多个对象加入购物车后发送的请求;In some embodiments, before obtaining the request for submitting an order sent by the terminal, the obtaining module is further configured to: obtain an order settlement request sent by the terminal, where the order settlement request is for the terminal to A request sent after an object is added to the shopping cart;
所述装置还包括确定模块,用于根据所述订单结算请求,确定满足条件的多种实体对象组合,将所述实体对象组合发送给所述终端,以使所述终端响应于显示其中一种所述实体对象组合的操作而显示所述实体对象组合,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合。The apparatus further includes a determining module, configured to determine, according to the order settlement request, multiple entity object combinations that meet the conditions, and send the entity object combinations to the terminal, so that the terminal responds to displaying one of the entity object combinations. operation of the entity object combination to display the entity object combination indicating the entity objects capable of supplying a complete set of objects and the objects each of which is supplied by the entity object, the object set being the A collection of all objects.
在一些实施例中,所述满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,所述第一实体对象组合是所述订单的总价格最低的实体对象组合,所述第二实体对象组合是所述订单的总配送时长最短的实体对象组合,所述第三对象组合是为所述订单供应对象的所有所述实体对象的数量最少的实体对象组合。In some embodiments, the multiple entity object combinations that meet the conditions include any two of a first entity object combination, a second entity object combination, and a third entity object combination, and the first entity object combination is the The entity object combination with the lowest total price of the order, the second entity object combination is the entity object combination with the shortest total delivery time of the order, and the third object combination is all the entity objects that supply objects for the order The smallest number of entity object combinations.
根据本发明实施例的第四方面,提供了一种订单对象替换装置,包括:According to a fourth aspect of the embodiments of the present invention, an apparatus for replacing an order object is provided, including:
第二发送模块,用于向服务器发送提交订单请求,所述提交订单请求指示在虚拟实体对象中被选择的实体对象组合,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合;The second sending module is configured to send a submit order request to the server, where the submit order request indicates the entity object combination selected in the virtual entity object, the entity object combination indicates the entity object capable of completely supplying the object set and each of the entity objects The object supplied by the entity object, the object set is the set of all objects in the order;
显示模块,用于接收并显示所述订单中的对象的推荐相似对象,所述推荐相似对象由所述服务器响应于所述提交订单请求查找得到的,所述推荐相似对象与所述对象具有相同的使用属性,在将所述对象替换为所述推荐相似对象的情况下能够减少所述订单的总价格;A display module, configured to receive and display the recommended similar objects of the objects in the order, the recommended similar objects are obtained by the server in response to the request for submitting the order, and the recommended similar objects have the same characteristics as the objects The usage property of , can reduce the total price of the order in the case of replacing the object with the recommended similar object;
第三发送模块,用于向所述服务器发送替换请求,以使所述服务器将所述订单中的对象替换为所述推荐相似对象后提交所述订单。The third sending module is configured to send a replacement request to the server, so that the server submits the order after replacing the objects in the order with the recommended similar objects.
在一些实施例中,所述能够减少所述订单的总价格包括能够减少所述对象的价格和/或配送费。In some embodiments, the being able to reduce the total price of the order includes being able to reduce the price of the object and/or the delivery fee.
在一些实施例中,所述对象的推荐相似对象有一个或多个;In some embodiments, there are one or more similar objects recommended for the object;
所述接收并显示所述订单中的对象的推荐相似对象,包括:The receiving and displaying the recommended similar objects of the objects in the order include:
接收并显示所述一个或多个推荐相似对象,并提供对所述一个或多个推荐相似对象的选择按键;receiving and displaying the one or more recommended similar objects, and providing a selection button for the one or more recommended similar objects;
所述向所述服务器发送替换请求,包括:The sending a replacement request to the server includes:
根据接收的对所述一个或多个推荐相似对象的选择以及替换确认操作,生成替换请求后发送给所述服务器,所述替换请求包括被选择的推荐相似对象。According to the received selection of the one or more recommended similar objects and the replacement confirmation operation, a replacement request is generated and sent to the server, where the replacement request includes the selected recommended similar objects.
在一些实施例中,所述接收并显示所述订单中的对象的推荐相似对象,包括:In some embodiments, the receiving and displaying recommended similar objects for the objects in the order includes:
接收降序排列的所述一个或多个推荐相似对象,按照降序排列显示所述一个或多个推荐相似对象。The one or more recommended similar objects in descending order are received, and the one or more recommended similar objects are displayed in descending order.
在一些实施例中,所述降序排列包括:对应于相同对象的所述推荐相似对象前后相邻,在排序后的对应于相同对象的所述推荐相似对象中,所述推荐相似对象根据所述推荐相似对象所减少的订单的总价格的多少进行降序排列。In some embodiments, the descending arrangement includes: the recommended similar objects corresponding to the same object are adjacent to one another, and in the sorted recommended similar objects corresponding to the same object, the recommended similar objects are based on the The total price of orders reduced by similar objects is recommended to be sorted in descending order.
在一些实施例中,所述接收并显示所述订单中的对象的推荐相似对象,包括:In some embodiments, the receiving and displaying recommended similar objects for the objects in the order includes:
接收并显示所述对象、与所述对象对应的推荐相似对象、所述推荐相似对象所减少的订单的总价格。The object, the recommended similar object corresponding to the object, and the total price of the order reduced by the recommended similar object are received and displayed.
在一些实施例中,所述第三发送模块还用于:In some embodiments, the third sending module is further configured to:
向所述服务器发送不替换请求,以使所述服务器不对所述订单中的对象进行变更并提交所述订单。A no-replace request is sent to the server so that the server does not make changes to the objects in the order and submits the order.
在一些实施例中,所述虚拟实体对象通过如下步骤生成:In some embodiments, the virtual entity object is generated by the following steps:
从标准对象库获取多个第一对象的信息,得到第一对象集;Obtain the information of multiple first objects from the standard object library, and obtain the first object set;
获取实体对象的多个第二对象的信息,得到第二对象集,其中所述实体对象为多个,每个所述实体对象关联有至少一个第二对象;acquiring information of multiple second objects of the entity object, and obtaining a second object set, wherein the entity objects are multiple, and each entity object is associated with at least one second object;
从所述第一对象集和所述第二对象集中,确定出既属于所述第一对象集又属于所述第二对象集的对象,得到第三对象集;From the first object set and the second object set, determine objects that belong to both the first object set and the second object set to obtain a third object set;
根据所述第三对象集,生成所述虚拟实体对象。The virtual entity object is generated according to the third object set.
在一些实施例中,在向服务器发送提交订单请求之前,所述第二发送模块还用于:在将虚拟实体对象中的多个对象加入购物车后,向服务器发送订单结算请求;In some embodiments, before sending the request for submitting an order to the server, the second sending module is further configured to: after adding a plurality of objects in the virtual entity object to the shopping cart, send an order settlement request to the server;
所述显示模块还用于:响应于显示满足条件的多种实体对象组合的其中一种所述实体对象组合的操作,显示所述实体对象组合,所述满足条件的多种实体对象组合为所述服务器根据所述订单结算请求确定并发送给所述终端,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合。The display module is further configured to: display the entity object combination in response to an operation of displaying one of the entity object combinations that meet the conditions, and the multiple entity object combinations that meet the conditions are all the entity object combinations. The server determines and sends to the terminal according to the order settlement request, the entity object combination indicates the entity objects that can completely supply the object set and the objects supplied by each entity object, and the object set is in the order. A collection of all objects.
在一些实施例中,所述满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,所述第一实体对象组合是所述订单的总价格最低的实体对象组合,所述第二实体对象组合是所述订单的总配送时长最短的实体对象组合,所述第三对象组合是为所述订单供应对象的所有所述实体对象的数量最少的实体对象组合。In some embodiments, the multiple entity object combinations that meet the conditions include any two of a first entity object combination, a second entity object combination, and a third entity object combination, and the first entity object combination is the The entity object combination with the lowest total price of the order, the second entity object combination is the entity object combination with the shortest total delivery time of the order, and the third object combination is all the entity objects that supply objects for the order The smallest number of entity object combinations.
根据本发明实施例的第五方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;According to a fifth aspect of the embodiments of the present invention, an electronic device is provided, including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface communicate with each other through the communication bus. communication between;
所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述订单对象替换方法对应的操作。The memory is used for storing at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the above method for replacing an order object.
根据本发明实施例的第六方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行上述订单对象替换方法对应的操作。According to a sixth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where at least one executable instruction is stored in the computer-readable storage medium, and the executable instruction causes a processor to execute the above method for replacing an order object corresponding operation.
根据本发明实施例的订单对象替换方法,在提交订单页面为用户提供相似商品的替换选项,相似商品根据能够减少商品价格、能够减少配送费等条件确定,用户通过确定采用相似商品替换原订单中商品,可以在满足用户对商品的使用属性要求的前提下,减少订单总价格,降低用户需支付金额。According to the order object replacement method of the embodiment of the present invention, the user is provided with replacement options for similar products on the order submission page. Commodities, on the premise of meeting the user's requirements for the use of the commodity, the total price of the order can be reduced, and the amount to be paid by the user can be reduced.
上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明实施例的具体实施方式。The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to understand the technical means of the embodiments of the present invention more clearly, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and The advantages can be more obvious and easy to understand, and the specific implementation manner of the embodiments of the present invention is exemplified below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明实施例的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for the purpose of illustrating the preferred embodiments, and are not considered to be limitations of the embodiments of the present invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1是本发明实施例的应用场景示意图;1 is a schematic diagram of an application scenario of an embodiment of the present invention;
图2是本发明实施例提供的订单对象替换方法的流程图;2 is a flowchart of a method for replacing an order object provided by an embodiment of the present invention;
图3是本发明实施例提供的虚拟实体对象的生成和显示方法的流程图;3 is a flowchart of a method for generating and displaying a virtual entity object provided by an embodiment of the present invention;
图4是本发明实施例提供的下单时提供实体对象组合的方法流程图;4 is a flowchart of a method for providing entity object combinations when placing an order according to an embodiment of the present invention;
图5是本发明实施例提供的订单对象替换方法的流程图;5 is a flowchart of a method for replacing an order object provided by an embodiment of the present invention;
图6是本发明实施例提供的订单对象替换方法的流程图;6 is a flowchart of a method for replacing an order object provided by an embodiment of the present invention;
图7是本发明实施例提供的订单对象替换装置的结构示意图;7 is a schematic structural diagram of an order object replacement device provided by an embodiment of the present invention;
图8是本发明实施例提供的订单对象替换装置的结构示意图;8 is a schematic structural diagram of an order object replacement device provided by an embodiment of the present invention;
图9是本发明实施例提供的电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the present invention to those skilled in the art.
随着移动通信和互联网技术的发展,网购已成为人们日常生活的一部分。其中,能实现商品实时配送的线上零售方式由于满足用户对时效性的要求,近年来更是发展迅速。本文所称的实时配送,即指对配送时间有特定要求的配送方式,例如目前较为流行的半小时送达、45分钟送达或者1-2小时送达等。With the development of mobile communication and Internet technology, online shopping has become a part of people's daily life. Among them, the online retail method that can realize the real-time distribution of goods has developed rapidly in recent years because it meets the requirements of users for timeliness. The real-time delivery mentioned in this article refers to delivery methods that have specific requirements on delivery time, such as the currently popular half-hour delivery, 45-minute delivery, or 1-2 hour delivery.
目前,在提供商品实时配送的生活服务软件或购物软件(以下简称为“平台”)中,各商户进驻平台,用户通过平台下单,由商户提供用户购买的商品,配送方式可以为平台统一配送、商户自行配送或者第三方配送。At present, in the life service software or shopping software (hereinafter referred to as the "platform") that provides real-time delivery of goods, each merchant enters the platform, the user places an order through the platform, and the merchant provides the goods purchased by the user. The delivery method can be unified delivery by the platform. , Merchant self-delivery or third-party delivery.
在商品售卖的实时配送场景中,为某个用户提供商品的商户(可以为小型商户或者大型商户)通常被设定为商户地址位于购买商品的用户周围一定位置范围内的商户,也即用户仅可在其周围一定位置范围内的商户下单。符合上述条件的商户通常有多家。以购买5款商品为例,在用户周围四家商户的售卖情况如表1所示,表中数字部分代表价格,“-”代表该商户不售卖该商品:In the real-time delivery scenario of commodity sales, the merchant (which can be a small merchant or a large merchant) that provides commodities to a user is usually set as a merchant whose merchant address is located within a certain range around the user who purchased the commodity, that is, the user only You can place orders at merchants within a certain location around it. There are usually multiple merchants that meet the above criteria. Taking the purchase of 5 products as an example, the sales situation of the four merchants around the user is shown in Table 1. The number part in the table represents the price, and "-" means that the merchant does not sell the product:
表1Table 1
从表1可看出,不是所有的商户都能够满足用户一次购买上述5款商品的需求,且不同超市相同商品的价格具备差异。用户在选购上述商品时,由如下几种方式:It can be seen from Table 1 that not all merchants can meet the needs of users to purchase the above 5 commodities at one time, and the prices of the same commodities in different supermarkets are different. When purchasing the above products, users can use the following methods:
1、逐一商品搜索,每个商品的搜索结果中包括售卖该商品的所有商户的商品搜索结果,例如用户搜索商品1,将显示3条搜索结果,分别为商户A的商品1、商户B的商品1和商户C的商品1,此时用户需从上述3条搜索结果中选择某个结果加购至购物车;……直至将所有商品均完成加购。1. Search for each product one by one. The search results of each product include the product search results of all merchants that sell the product. For example, if a user searches for product 1, 3 search results will be displayed, which are the product 1 of merchant A and the product of merchant B. 1 and Merchant C's product 1. At this time, the user needs to select a result from the above 3 search results to add it to the shopping cart; ... until all the products are added.
该方式中,用户需要针对每个商品选择相应的商户,操作繁琐,效率低;且在不同商户售卖同一商品的价格不同时,用户想要跨店比价也较为麻烦,不仅比价操作不便,且比价结果容易出现人为计算误差。In this method, the user needs to select the corresponding merchant for each product, which is cumbersome and inefficient; and when different merchants sell the same product at different prices, it is also more troublesome for the user to compare prices across stores, which is not only inconvenient to compare prices, but also price comparisons The result is prone to human calculation errors.
2、进入某个商户的主页,然后逐一搜索商品。例如进入商户A的主页,逐一搜索并加购所有商品。2. Enter the homepage of a merchant, and then search for products one by one. For example, enter the homepage of Merchant A, search and purchase all the products one by one.
该方式中,在用户选择进入的商户不能售卖用户所欲购买的所有商品时,需要额外选择其他商户进行商品选择和加购,操作不便;且在不同商户售卖同一商品的价格不同时,用户想要跨店比价也较为麻烦,不仅比价操作不便,且比价结果容易出现人为计算误差。In this method, when the merchant selected by the user cannot sell all the commodities the user wants to buy, it is necessary to select other merchants for commodity selection and additional purchase, which is inconvenient to operate; and when the prices of the same commodity sold by different merchants are different, the user wants to It is also more troublesome to compare prices across stores, which is not only inconvenient to compare prices, but also prone to human calculation errors in the price comparison results.
因此,相关技术无法较好地满足实时配送场景下一次购买多商品的需求。而且,需要用户根据其需求自行选择每个商品的供货商户,用户需求包括下单的总价格最低、全部商品配送完毕的总时长最短、或者被拆分的订单数量最少(当供货的商户不是同一个时,需将订单按照商户拆分,也即拆分的订单数量等于商户的数量)等。这样使得用户操作不便,降低下单效率,根据需求人为计算上述数值的准确度也较低。Therefore, the related technologies cannot better meet the needs of purchasing multiple commodities at one time in the real-time distribution scenario. Moreover, users are required to choose the supplier of each product according to their needs. User needs include the lowest total price of the order, the shortest total time for all products to be delivered, or the smallest number of split orders (when the supplier If they are not the same, the order needs to be split according to the merchant, that is, the number of split orders is equal to the number of merchants) and so on. This makes the user's operation inconvenient, reduces the efficiency of placing orders, and the accuracy of artificially calculating the above values according to needs is also low.
首先,发明人提供了一种虚拟实体对象的生成和显示方法,用户可通过在终端上点击相应区域或图标,从而发送进入虚拟实体对象、以及显示虚拟实体对象的页面的请求。服务器根据用户发送的请求,生成虚拟实体对象,从而在用户的终端上显示虚拟实体对象的页面,从而使用户可以在该虚拟实体对象的页面内选购商品和下单。用户只需在汇总了多个实体对象所出售对象的一个虚拟实体对象内进行对象的查找和购买操作,方便了用户对对象的查找,且在一个虚拟实体对象内可以购买不同实体对象的对象,对于单个实体对象无法满足用户一次购买多个对象的需求的场景,本发明实施例可以满足用户需求。First, the inventor provides a method for generating and displaying a virtual entity object. A user can click on a corresponding area or icon on a terminal to send a request to enter the virtual entity object and display the page of the virtual entity object. The server generates a virtual entity object according to the request sent by the user, so that the page of the virtual entity object is displayed on the user's terminal, so that the user can purchase commodities and place an order on the page of the virtual entity object. Users only need to search and purchase objects in a virtual entity object that summarizes the objects sold by multiple entity objects, which facilitates the user to find objects, and can purchase objects of different physical objects in one virtual entity object. For a scenario where a single entity object cannot meet the user's requirement for purchasing multiple objects at one time, the embodiment of the present invention can meet the user's requirement.
在此基础上,为了解决用户需根据其需求自行选择每个商品的供货商户的问题,本发明实施例还根据用户提交的订单结算请求确定满足条件的多种实体对象组合并在终端展示给用户,用户选择其中一种实体对象组合后,根据用户的选择提交订单。这样,通过系统自动计算帮助用户快速找到满足条件的下单实体对象组合,以使用户可以根据实际需求进行选择,提升了下单效率、操作便利性和计算的准确度。On this basis, in order to solve the problem that users need to choose the supplier of each commodity according to their needs, the embodiment of the present invention also determines the combination of various entity objects that meet the conditions according to the order settlement request submitted by the user and displays them on the terminal. The user, after the user selects one of the entity object combinations, submits an order according to the user's selection. In this way, the automatic calculation of the system helps users to quickly find a combination of entity objects for ordering that meets the conditions, so that users can choose according to actual needs, which improves the efficiency of placing orders, the convenience of operation and the accuracy of calculation.
进一步地,为了减少订单总价格,降低用户需支付金额,本发明实施例提供一种订单对象替换方法,在提交订单页面为用户提供相似商品的替换选项,相似商品根据能够减少商品价格、能够减少配送费等条件确定,用户通过确定采用相似商品替换原订单中商品,可以在满足用户对商品的使用属性要求的前提下,为减少订单总价格,降低用户需支付金额提供操作便利。Further, in order to reduce the total price of the order and the amount that the user needs to pay, the embodiment of the present invention provides a method for replacing order objects, providing users with replacement options for similar products on the order submission page. The delivery fee and other conditions are determined. By confirming that the user replaces the product in the original order with a similar product, on the premise of satisfying the user's requirements for the use of the product, the user can reduce the total price of the order and reduce the amount that the user needs to pay to provide operational convenience.
此外,相似商品还可以根据在订单的总价格不增加的情况下能够减少订单的总配送时长、在订单的总价格不增加的情况下能够减少为所述订单供应对象的所有所述实体对象的数量等条件确定,可以在满足订单的总价格不增加、且满足用户对商品的使用属性要求的前提下,减少订单的总配送时长,或者减少为所述订单供应对象的所有实体对象的数量。In addition, similar products can also reduce the total delivery time of the order without increasing the total price of the order, and reduce the total delivery time of all the entity objects for the order supply object without increasing the total price of the order. The quantity and other conditions are determined, and the total delivery time of the order can be reduced, or the quantity of all physical objects that supply objects for the order can be reduced on the premise that the total price of the order does not increase and the user's requirements for the use of the product are satisfied.
为便于理解,首先给出本发明实施例的应用场景。图1是本发明实施例的应用场景示意图。请参考图1,平台服务器为实体对象向用户提供对象售卖的运营平台服务器。例如,可以为外卖平台服务器、实时配送的购物平台服务器等。用户通过终端向在平台服务器进行运营的多个实体对象下单,同时购买多个对象,平台服务器根据终端提供的下单信息生成订单数据,发送给相关实体对象的管理设备,各实体对象准备好用户下单的对象,并由配送方完成对象的配送。各装置之间可以通过有线或无线的方式通信。For ease of understanding, an application scenario of the embodiment of the present invention is given first. FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present invention. Please refer to FIG. 1 , the platform server is an operation platform server that provides object sales to users for entity objects. For example, it can be a food delivery platform server, a real-time delivery shopping platform server, and the like. The user places an order through the terminal to multiple entity objects operating on the platform server, and purchases multiple objects at the same time. The platform server generates order data according to the order information provided by the terminal, and sends it to the management device of the relevant entity object. Each entity object is ready The object placed by the user, and the delivery party completes the delivery of the object. The devices can communicate with each other in a wired or wireless manner.
平台服务器也称为服务端,可以是任何类型的电子设备,例如服务器或服务器集群,本发明实施例以服务器为例进行说明。对象可以是商品,实体对象可以是提供商品的商户。终端和实体对象的管理设备可以是任何类型的电子设备,例如手机、平板电脑、便携式数码相机、媒体播放器、便携式游戏设备、个人数字助理(PDA)、台式计算机、笔记本电脑等各种终端,以下统称为终端。The platform server is also called a server, and may be any type of electronic device, such as a server or a server cluster. The embodiment of the present invention takes a server as an example for description. The object can be a commodity, and the entity object can be a merchant that provides the commodity. The management devices of terminals and physical objects can be any type of electronic devices, such as mobile phones, tablet computers, portable digital cameras, media players, portable game devices, personal digital assistants (PDAs), desktop computers, notebook computers and other terminals, Hereinafter, they are collectively referred to as terminals.
如无特别说明,本发明实施例中的“多个”是指两个或大于两个。Unless otherwise specified, "a plurality" in the embodiments of the present invention refers to two or more than two.
图2是本发明实施例提供的订单对象替换方法的流程图。以该方法的应用场景为商品零售实时配送场景为例进行说明。该方法包括如下步骤:FIG. 2 is a flowchart of a method for replacing an order object provided by an embodiment of the present invention. The application scenario of the method is the real-time distribution scenario of commodity retailing as an example to illustrate. The method includes the following steps:
步骤101:用户侧终端向平台服务器发送提交订单请求。Step 101: The user-side terminal sends an order submission request to the platform server.
其中,提交订单请求指示在虚拟实体对象中被选择的实体对象组合,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合。Wherein, the submit order request indicates the entity object combination selected in the virtual entity object, the entity object combination indicates the entity objects that can completely supply the object set and the objects supplied by each entity object, and the object set is all objects in the order. gather.
图3是本发明实施例提供的虚拟实体对象的生成和显示方法的流程图。请参考图3,本发明实施例中,虚拟实体对象可以通过如下步骤生成并显示:FIG. 3 is a flowchart of a method for generating and displaying a virtual entity object provided by an embodiment of the present invention. Referring to FIG. 3, in this embodiment of the present invention, a virtual entity object may be generated and displayed through the following steps:
步骤201:用户侧终端响应于用户的操作,向平台服务器发送进入虚拟实体对象的页面的请求。Step 201: In response to the user's operation, the user-side terminal sends a request for entering the page of the virtual entity object to the platform server.
在商品零售实时配送场景中,实体对象是指进驻该商品零售实时配送平台的商户,实体对象为实际场景中存在的实体商户。对象是指用户在平台上购买的商品。用户在平台下单时,需在终端上先选择商品。选择好商品后针对所选择的商品进行确认操作,进入订单提交页面。在订单提交页面中,用户可以进一步确认或修改支付方式、在本订单中所使用的虚拟资源(虚拟资源包括但不限于红包、优惠券、商品抵用券、满减优惠券、购物补贴等,这些虚拟资源可以在用户下单时使用,用于抵扣结算金额)等信息。确定上述信息并提交订单后进行支付,支付后的购买订单通过终端发送给平台服务器。In the commodity retail real-time distribution scenario, the entity object refers to the merchants stationed in the commodity retail real-time distribution platform, and the entity object is the entity merchant that exists in the actual scene. Objects refer to items purchased by users on the platform. When users place an order on the platform, they need to select the product on the terminal first. After selecting the product, confirm the selected product and enter the order submission page. On the order submission page, the user can further confirm or modify the payment method and the virtual resources used in this order (virtual resources include but are not limited to red envelopes, coupons, commodity coupons, full discount coupons, shopping subsidies, etc., These virtual resources can be used when the user places an order to deduct the settlement amount) and other information. After confirming the above information and submitting the order, the payment is made, and the purchase order after payment is sent to the platform server through the terminal.
虚拟实体对象并非实际场景中存在的实体对象,而是将多个实体对象各自所售卖的商品或部分商品集中到平台上的一个虚拟实体对象(也可理解为虚拟超市)中,对相同商品统一其描述信息,方便用户一次购买多个商品时的操作,且方便用户对相同商品在不同实体对象中的售卖价格进行比价。The virtual entity object is not an entity object existing in the actual scene, but a virtual entity object (which can also be understood as a virtual supermarket) that collects the commodities or part of the commodities sold by multiple entity objects into one virtual entity object (also understood as a virtual supermarket) on the platform, and unifies the same commodities. The description information is convenient for users to operate when purchasing multiple commodities at one time, and it is convenient for users to compare the selling prices of the same commodity in different entity objects.
本步骤中,可以在用户侧终端上显示虚拟实体对象的进入按键,该进入按键可以是虚拟实体对象的图标或者名称,用户在终端上点击该进入按键,用户侧终端则向平台服务器发送进入虚拟实体对象的页面的请求。可以理解的是,还可以通过语音触发的方式接收用户进入虚拟实体对象的页面的请求,例如用户向终端输入语音“进入虚拟实体对象”,则终端在接收该语音输入后向平台服务器发送进入虚拟实体对象的页面的请求。In this step, the entry button of the virtual entity object may be displayed on the user-side terminal, and the entry button may be the icon or name of the virtual entity object. The user clicks the entry button on the terminal, and the user-side terminal sends the entry button to the platform server. The request for the page of the entity object. It can be understood that the user's request to enter the page of the virtual entity object can also be received by means of voice triggering. For example, the user enters the voice "enter the virtual entity object" into the terminal, and the terminal sends the platform server after receiving the voice input to enter the virtual entity object. The request for the page of the entity object.
步骤202:平台服务器从标准对象库获取多个第一对象的信息,得到第一对象集。Step 202: The platform server obtains the information of a plurality of first objects from the standard object library, and obtains a first object set.
标准对象库也即通常所说的标品库,其存储有多个第一对象的信息,这里第一对象也可以理解为通常所说的“标品”。标准对象库为开发数据库,平台服务器可以通过标准对象库的开放接口或者公开数据获取其中存储的第一对象的信息。The standard object library is also commonly referred to as a standard product library, which stores information of a plurality of first objects, where the first objects can also be understood as the so-called "standard product". The standard object library is a development database, and the platform server can obtain the information of the first object stored in the standard object library through an open interface or public data of the standard object library.
第一对象的信息包括第一对象的图片、名称、品牌、规格和图形码等。关于图形码,其可以是任何具有信息存储和被扫描识别功能的码,例如条形码、二维码、三维码等。本发明实施例以条形码为例进行说明。在获取多个第一对象的信息后,还可以通过选品等工作,筛选出满足平台要求的第一对象,加入第一对象集。第一对象集中包括多个第一对象的上述信息。同一个第一对象其图形码具有唯一性,也即相同的第一对象的图形码相同,通过图形码可以进行第一对象集中的对象去重。去重操作可以包括:The information of the first object includes a picture, name, brand, specification, and graphic code of the first object. As for the graphic code, it can be any code with functions of information storage and scanned identification, such as barcodes, two-dimensional codes, three-dimensional codes, and the like. The embodiment of the present invention takes a barcode as an example for description. After acquiring the information of a plurality of first objects, the first objects that meet the platform requirements can also be screened out through work such as product selection, and added to the first object set. The first object set includes the above-mentioned information of a plurality of first objects. The graphic code of the same first object is unique, that is, the graphic code of the same first object is the same, and the objects in the first object set can be deduplicated through the graphic code. Deduplication operations can include:
步骤a1:根据图形码,对获取的每个实体对象所关联的第一对象的信息进行去重处理;Step a1: carry out deduplication processing to the information of the first object associated with each entity object obtained according to the graphic code;
步骤a2:将去重处理后的第一对象的信息作为第一对象集。Step a2: Use the information of the first object after deduplication processing as the first object set.
基于标准对象库中的对象建立虚拟实体对象,能够屏蔽各实体对象售卖的相同商品的不同信息差,方便对各实体对象售卖的对象在归一化至虚拟实体对象中时进行归一和管理。若没有标准对象库中的标准对象作为基准,则无法方便快捷地对后续获取的实体对象售卖的对象进行入库管理。Establishing virtual entity objects based on objects in the standard object library can shield different information differences of the same commodity sold by each entity object, and facilitate the normalization and management of objects sold by each entity object when they are normalized into virtual entity objects. If there is no standard object in the standard object library as a benchmark, it is impossible to conveniently and quickly carry out storage management of the objects sold by the subsequently acquired entity objects.
此外,在形成第一对象集时,可以从第一对象的信息中提取第一对象的图片、名称、品牌、规格和图形码,并分别录入与第一对象的图片、名称、品牌、规格和图形码对应的字段。此为格式化处理的过程。例如,当A商品的名称中包含了规格,但其规则为空时,可以将其名称中的规格提取出来,录入第一对象集中对应于该商品的规格字段中。格式化处理后的第一对象集使后续生成的虚拟实体对象中的对象字段规范化,方便平台服务器的自动化处理和标准化显示。In addition, when forming the first object set, the picture, name, brand, specification and graphic code of the first object can be extracted from the information of the first object, and the picture, name, brand, specification and The field corresponding to the graphic code. This is the process of formatting processing. For example, when the name of commodity A contains specifications, but its rule is empty, the specifications in the name can be extracted and entered into the specification field corresponding to the commodity in the first object set. The formatted first object set normalizes the object fields in the subsequently generated virtual entity object, which facilitates automatic processing and standardized display of the platform server.
本步骤的实施顺序不限,可以预先执行,从而预先得到并存储第一对象集,以备后续所需,后续在用户侧终端执行步骤201后,平台服务器直接获取预先存储的第一对象集。本领域技术人员应当连接,也可以在每次用户侧终端执行步骤201之后执行步骤202,或者在用户侧终端打开该商品零售实时配送的应用软件(Application,APP)后即执行步骤202,本发明对此不做限制。当然,预先执行步骤202且存储第一对象集,可以避免每次用户在请求进入虚拟实体对象时重复执行该步骤,提升系统效率。The execution order of this step is not limited, and it can be performed in advance to obtain and store the first object set in advance for subsequent needs. After step 201 is subsequently performed on the user-side terminal, the platform server directly obtains the pre-stored first object set. Those skilled in the art should connect, and step 202 can also be performed after each user-side terminal executes step 201, or step 202 is executed after the user-side terminal opens the application software (Application, APP) for real-time retail distribution of the commodity. There is no restriction on this. Of course, performing step 202 in advance and storing the first object set can avoid repeating this step every time the user requests to enter the virtual entity object, thereby improving system efficiency.
步骤203:平台服务器获取用户的配送位置信息。Step 203: The platform server obtains the delivery location information of the user.
由于商品零售实时配送场景的特点,商户仅对位于其配送范围内的收货地址(也即配送位置)进行配送。为每个用户所生成的虚拟实体对象中的商品均是可配送至该用户的配送位置的商户的商品,不同用户由于其配送位置不同,为其生成的虚拟实体对象也不同,具体体现在虚拟实体对象中售卖商品所属的商户不同。因此,在生成某个用户的虚拟实体对象前,需获取用户的配送位置信息,配送位置信息为用户在终端上使用平台APP时通过终端的定位系统获取的位置信息或者用户手动输入的位置信息。Due to the characteristics of the real-time delivery scenario of commodity retail, merchants only deliver delivery to the delivery address (ie delivery location) within their delivery range. The commodities in the virtual entity object generated for each user are the commodities of the merchants that can be delivered to the user's delivery location. Different users have different virtual entity objects due to their different delivery locations. The merchants of the goods sold in the entity object are different. Therefore, before generating a user's virtual entity object, it is necessary to obtain the user's delivery location information. The delivery location information is the location information obtained through the terminal's positioning system when the user uses the platform APP on the terminal or the location information manually input by the user.
步骤204:平台服务器根据配送位置信息确定配送范围覆盖配送位置的多个实体对象。Step 204: The platform server determines, according to the delivery location information, a plurality of physical objects whose delivery range covers the delivery location.
平台服务器预先存储有实体对象的配送范围信息。在获取到用户的配送位置信息后,可以根据用户的配送位置信息和实体对象的配送范围信息,确定配送范围覆盖该用户的配送位置的实体对象。通常,对于某个配送位置,存在多个可以配送商品至该位置的实体对象。The platform server pre-stores the delivery range information of the entity object. After the user's delivery location information is acquired, the entity object whose delivery range covers the user's delivery location can be determined according to the user's delivery location information and the delivery range information of the entity object. Typically, for a delivery location, there are multiple entity objects that can deliver items to that location.
因此,步骤204中确定的实体对象为多个,且每个实体对象关联有至少一个第二对象。可以理解的是,此处“关联”是指该实体对象售卖该第二对象。通常情况下,单个实体对象关联有多个第二对象。实体对象及其关联的第二对象信息由实体对象侧的设备预先上传至平台服务器。Therefore, there are multiple entity objects determined in step 204, and each entity object is associated with at least one second object. It can be understood that, "association" here means that the entity object sells the second object. Typically, a single entity object is associated with multiple second objects. The entity object and its associated second object information are pre-uploaded to the platform server by the device on the entity object side.
步骤205:平台服务器分别获取每个实体对象所关联的第二对象的信息,得到第二对象集。Step 205: The platform server obtains the information of the second object associated with each entity object respectively, and obtains the second object set.
本步骤中,根据步骤204确定的实体对象,平台服务器获取这些实体对象所关联的第二对象的信息,从而得到第二对象集。第二对象的信息同样包括第二对象的图片、名称、品牌、规格和图形码等。在获取多个第二对象的信息后,还可以通过选品等工作,筛选出满足平台要求的第二对象,加入第二对象集。第二对象集中的对象为可以为该用户的配送位置提供商品售卖和配送的实体对象中的对象。第二对象集中包括多个第二对象的上述信息。同一个对象的图形码具有唯一性,也即相同的第二对象的图形码相同,通过图形码可以对第二对象集中的对象去重。去重操作可以包括:In this step, according to the entity objects determined in step 204, the platform server obtains the information of the second objects associated with these entity objects, thereby obtaining the second object set. The information of the second object also includes the picture, name, brand, specification, and graphic code of the second object. After acquiring the information of multiple second objects, it is also possible to select the second objects that meet the platform requirements and add them to the second object set through work such as product selection. The objects in the second object set are objects in the entity objects that can provide commodity sales and distribution for the user's delivery location. The second object set includes the above-mentioned information of a plurality of second objects. The graphic code of the same object is unique, that is, the graphic code of the same second object is the same, and the objects in the second object set can be deduplicated through the graphic code. Deduplication operations can include:
步骤b1:根据图形码,对获取的每个实体对象所关联的第二对象的信息进行去重处理;Step b1: carry out deduplication processing to the information of the second object associated with each entity object obtained according to the graphic code;
步骤b2:将去重处理后的第二对象的信息作为第二对象集。Step b2: Use the information of the second object after deduplication processing as the second object set.
此外,在一些实施例中,存在多个实体对象关联有同一个第二对象的情形,此时除了可以通过图形码可以对第二对象集中的相同的第二对象去重,还可以执行如下操作:In addition, in some embodiments, there is a situation where multiple entity objects are associated with the same second object. In this case, in addition to deduplicating the same second object in the second object set through the graphic code, the following operations can also be performed :
步骤c1:确定与多个实体对象关联的第二对象;Step c1: determining a second object associated with multiple entity objects;
步骤c2:获取每个实体对象对于第二对象的售卖价格;Step c2: Obtain the selling price of each entity object for the second object;
步骤c3:根据每个实体对象对于第二对象的售卖价格中的最小值和最大值,确定第二对象的价格区间,以使生成的虚拟实体对象中包括价格区间。Step c3: Determine the price range of the second object according to the minimum value and the maximum value of the selling price of each physical object for the second object, so that the generated virtual physical object includes the price range.
在本实施例中,首先从多个第二对象中找出分别与多个实体对象关联的第二对象。这样的第二对象在每个实体对象中的售卖价格可能相同,也可能不同。由于在后续生成的虚拟实体对象的页面中,对于这样的第二对象将仅显示一条记录,因此需要在该一条记录中合理地显示对象的价格,采用价格区间的方式较为适宜。相应地,需要获取每个实体对象对于第二对象的售卖价格,这样,可以得到每个实体对象对于第二对象的售卖价格中的最小值和最大值,从而确定第二对象的价格区间,最终在虚拟实体对象的页面中显示该第二对象时可以显示一价格区间,便于用户查看和了解。In this embodiment, firstly, the second objects respectively associated with the plurality of entity objects are found from the plurality of second objects. The selling price of such a second object in each entity object may or may not be the same. Since only one record will be displayed for such a second object on the page of the subsequently generated virtual entity object, it is necessary to reasonably display the price of the object in this one record, and it is more appropriate to adopt the method of price range. Correspondingly, it is necessary to obtain the selling price of each entity object for the second object, in this way, the minimum and maximum values of the selling price of each entity object for the second object can be obtained, so as to determine the price range of the second object, and finally When displaying the second object on the page of the virtual entity object, a price range may be displayed, which is convenient for the user to view and understand.
步骤206:平台服务器从第一对象集和第二对象集中,确定出既属于第一对象集又属于第二对象集的对象,得到第三对象集。Step 206: The platform server determines the objects belonging to both the first object set and the second object set from the first object set and the second object set, and obtains a third object set.
如前所述,第一对象集中包括多个第一对象的图片、名称、品牌、规格和图形码等信息。第二对象集中包括多个第二对象的图片、名称、品牌、规格和图形码等信息。同一个对象的图形码具有唯一性,这里的唯一性同时针对第一对象和第二对象,例如当某个第一对象的图形码和某个第二对象的图形码相同时,说明该第一对象和该第二对象为同一个对象,该同一个对象既属于第一对象集又属于第二对象集。也即,当第一对象与第二对象为相同的对象时,第一对象的信息中的图形码和第二对象的信息中的图形码相同。因此,通过条形码可以选取两个对象集中的交集。As mentioned above, the first object set includes information such as pictures, names, brands, specifications, and graphic codes of a plurality of first objects. The second object set includes information such as pictures, names, brands, specifications, and graphic codes of multiple second objects. The graphic code of the same object is unique, and the uniqueness here is aimed at both the first object and the second object. For example, when the graphic code of a first object is the same as the graphic code of a second The object and the second object are the same object, and the same object belongs to both the first object set and the second object set. That is, when the first object and the second object are the same object, the graphic code in the information of the first object and the graphic code in the information of the second object are the same. Therefore, the intersection of the two object sets can be picked up by the barcode.
步骤206进一步包括:Step 206 further includes:
步骤2061:若第一对象集中的第一对象的图形码和第二对象集中的第二对象的图形码相同,将第一对象或第二对象确定为既属于第一对象集又属于第二对象集的对象。Step 2061: If the graphics code of the first object in the first object set is the same as the graphics code of the second object in the second object set, determine the first object or the second object as belonging to both the first object set and the second object set of objects.
步骤206为对第一对象集和第二对象集中的对象进行取交集的过程,根据图形码对两个对象集取交集,确定出既属于第一对象集又属于第二对象集的对象,得到第三对象集。第三对象集中的对象为可以配送至该用户的配送位置的对象,且均属于标准对象库中的标准对象。第三对象集中包括多个对象的图片、名称、品牌、规格和图形码等信息。Step 206 is the process of taking the intersection of the objects in the first object set and the second object set, and according to the graphic code, the two object sets are taken the intersection, and it is determined that both belong to the first object set and belong to the object of the second object set, and obtain The third object set. The objects in the third object set are objects that can be delivered to the delivery location of the user, and all belong to the standard objects in the standard object library. The third object set includes information such as pictures, names, brands, specifications, and graphic codes of multiple objects.
步骤207:平台服务器根据第三对象集,生成虚拟实体对象。Step 207: The platform server generates a virtual entity object according to the third object set.
平台服务器将第三对象集中的对象作为虚拟实体对象所售卖的对象,从而生成虚拟实体对象。在虚拟实体对象的对象库中,存储了每个对象的图片、名称、品牌、规格和图形码等信息,还存储了每个对象的售卖商户(实体对象)信息,以及该售卖商户针对该对象的售卖价格。The platform server uses the objects in the third object set as the objects sold by the virtual entity object, thereby generating the virtual entity object. In the object library of virtual entity objects, information such as pictures, names, brands, specifications, and graphic codes of each object is stored, as well as the seller (entity object) information of each object, and the seller's target for the object. sale price.
在一些实施例中,步骤207还包括:In some embodiments, step 207 further includes:
步骤d1:获取第三对象集中每个对象的类目属性;Step d1: obtain the category attribute of each object in the third object set;
步骤d2:根据类目属性对第三对象集中的对象进行类目聚合,生成虚拟实体对象。Step d2: Perform category aggregation on the objects in the third object set according to the category attribute to generate a virtual entity object.
在对虚拟实体对象中的对象进行展示时,通过类目聚合,按照类目展示商品将方便用户查找和选择商品,提升效率。对象的类目属性包括基础属性、规格属性和描述属性等,例如基础属性包括名称、品牌、系列、进口/国产等,规格属性包括不同种类的规格,描述属性包括各种具体的描述类别,例如适合人群、口味、适合季节、适合地点(办公室/居家)等。When displaying objects in virtual entity objects, through category aggregation, displaying commodities by category will facilitate users to find and select commodities, and improve efficiency. The category attributes of objects include basic attributes, specification attributes, and description attributes. For example, basic attributes include name, brand, series, imported/domesticized, etc., specification attributes include different types of specifications, and description attributes include various specific description categories, such as Suitable for people, tastes, seasons, locations (office/home), etc.
基于对象的类目属性,对第三对象集中的对象进行类目聚合,也即对具有相同类目属性的对象进行关联,其关联关系即为共同的类目属性,每个对象将基于其丰富的类目属性关联至不同的类目。Based on the category attribute of the object, the category aggregation is performed on the objects in the third object set, that is, the objects with the same category attribute are associated, and the association relationship is the common category attribute, and each object will be based on its richness. The category attribute of is associated with a different category.
步骤208:用户侧终端显示虚拟实体对象的页面。Step 208: The user-side terminal displays the page of the virtual entity object.
在一些实施例中,终端可以显示按照类目聚合生成的虚拟实体对象中的对象。用户在选择对象时,可以基于不同的类目进行对象查看和选择,操作方便,提升了效率。In some embodiments, the terminal may display the objects in the virtual entity objects aggregated and generated according to categories. When users select objects, they can view and select objects based on different categories, which is convenient to operate and improves efficiency.
平台服务器将虚拟实体对象的相关信息发送给用户侧终端,在终端的平台界面上显示该虚拟实体对象的页面。可以理解的是,可以在虚拟实体对象的页面上显示符合预设条件的一些商品信息,例如促销商品信息、该用户经常购买的商品及其类似商品信息、该用户可能感兴趣的商品信息等。在虚拟实体对象的页面中无需特别显示商户信息,用户仅需根据其意欲购买的商品进行查找和加购等操作,无需进入特定商户页面再进行商品查找等操作。The platform server sends the relevant information of the virtual entity object to the user-side terminal, and displays the page of the virtual entity object on the platform interface of the terminal. It can be understood that, some commodity information that meets preset conditions can be displayed on the page of the virtual entity object, such as promotional commodity information, commodity information frequently purchased by the user and similar commodity information, commodity information that the user may be interested in, and the like. Merchant information does not need to be specially displayed on the page of the virtual entity object, and the user only needs to perform operations such as searching and adding purchases according to the products they want to buy, and does not need to enter a specific merchant page and then perform operations such as product search.
用户在该虚拟实体对象的页面内查找对象并加购和下单时,可以根据设定规则或者用户的选择,为该笔订单中的商品匹配相应的商户。例如,根据该笔订单中各商户售卖的相同商品的价格以及各种促销活动,选择订单总价最少的商户匹配方案;又如,根据收到该笔订单中所有商品的时间,选择订单总配送时长最短的商户匹配方案;再如,根据该笔订单中的商品被拆分至不同商户的商户数量,选择能够满足该笔订单商品要求的最少的商户数量的商户匹配方案,等等。这样,可以由平台自动进行商户匹配,而无需用户手动针对每个商品选择相应的商户,提升了效率和操作的便利性。When a user searches for an object on the page of the virtual entity object, adds an additional purchase and places an order, he or she can match the commodity in the order to a corresponding merchant according to a set rule or a user's choice. For example, according to the price of the same product sold by each merchant in the order and various promotional activities, select the merchant matching plan with the lowest total order price; another example, according to the time when all the products in the order are received, select the total delivery of the order Merchant matching scheme with the shortest duration; another example, according to the number of merchants in which the items in the order are divided into different merchants, select the merchant matching scheme with the minimum number of merchants that can satisfy the item requirements of the order, and so on. In this way, the platform can automatically perform merchant matching without requiring the user to manually select a corresponding merchant for each commodity, which improves efficiency and convenience of operation.
上述虚拟实体对象的生成和显示方法,通过从标准对象库获取作为标准品的第一对象的信息,得到第一对象集,并获取实体对象出售的第二对象的信息,得到第二对象集,确定即属于第一对象集又属于第二对象集的对象,得到实体对象出售且属于标准品的对象,将这样的对象加入虚拟实体对象中,最终得到虚拟实体对象。用户只需在一个虚拟实体对象中就可以查找、选择和加购所需的由多个实体对象出售的多个商品,操作方便且提升了效率。In the method for generating and displaying the above-mentioned virtual entity object, the first object set is obtained by acquiring the information of the first object as a standard product from the standard object library, and the information of the second object sold by the entity object is obtained to obtain the second object set, Determine the objects that belong to both the first object set and the second object set, obtain the objects that are sold by the physical objects and belong to the standard products, and add such objects to the virtual physical objects to finally obtain the virtual physical objects. Users only need to search, select and add multiple commodities sold by multiple entity objects in one virtual entity object, and the operation is convenient and the efficiency is improved.
此外,由于在一个虚拟实体对象中汇集了同一个商品在不同商户的售卖价格,也便于用户比价,而无需跳转至不同的商户页面进行比价。而且,还可以由平台针对订单总价进行最低总价的商户匹配方案选择,无需针对单品逐一比价,更是提升了比价的效率和便利性。In addition, since the selling prices of the same commodity in different merchants are collected in one virtual entity object, it is also convenient for users to compare prices without jumping to different merchant pages to compare prices. Moreover, the platform can also choose the merchant matching scheme with the lowest total price for the total order price, without the need to compare prices one by one for each item, which improves the efficiency and convenience of price comparison.
当用户在虚拟实体对象中将对象加入购物车后,可以由用户自行确定提供对象的实体对象,也可以由平台服务器自动提供建议的实体对象组合。由平台服务器自动提供建议的实体对象组合可参考图4所示方式。图4是本发明实施例提供的下单时提供实体对象组合的方法流程图。请参考图4,在用户下单时,通过如下方式自动为用户提供实体对象组合:After the user adds the object to the shopping cart in the virtual entity object, the user can determine the entity object that provides the object, or the platform server can automatically provide a suggested entity object combination. For the entity object combination suggested automatically by the platform server, reference may be made to the manner shown in FIG. 4 . FIG. 4 is a flowchart of a method for providing an entity object combination when placing an order according to an embodiment of the present invention. Please refer to Figure 4. When the user places an order, the entity object combination is automatically provided to the user in the following ways:
步骤301:用户侧终端将虚拟实体对象中的多个对象加入购物车。Step 301: The user-side terminal adds multiple objects in the virtual entity object to the shopping cart.
步骤302:用户侧终端向平台服务器发送订单结算请求。Step 302: The user-side terminal sends an order settlement request to the platform server.
用户侧终端将上述生成的虚拟实体对象中的多个对象加入购物车后,向服务器发送订单结算请求。订单结算请求中包括用户加入购物车的对象的信息,但此时并未确定供应该对象的实体对象。由哪家实体对象供应该对象将由平台服务器根据设置的条件确定。After adding a plurality of objects in the above-generated virtual entity objects to the shopping cart, the user-side terminal sends an order settlement request to the server. The order checkout request includes information about the object that the user added to the shopping cart, but the entity object that supplies the object is not identified at this time. Which entity object supplies the object will be determined by the platform server based on set conditions.
步骤303:平台服务器获取终端发送的订单结算请求,根据订单结算请求,确定满足条件的多种实体对象组合,将实体对象组合发送给终端。Step 303: The platform server obtains the order settlement request sent by the terminal, determines a plurality of entity object combinations that meet the conditions according to the order settlement request, and sends the entity object combination to the terminal.
在一些实施例中,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合。In some embodiments, an entity object composition indicates entity objects capable of supplying a complete set of objects, which is a collection of all objects in an order, and objects each of which is supplied by the entity objects.
在一些实施例中,满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,第一实体对象组合是订单的总价格最低的实体对象组合,第二实体对象组合是订单的总配送时长最短的实体对象组合,第三对象组合是为订单供应对象的所有实体对象的数量最少的实体对象组合。也即,上述“条件”是指订单的总价格最低、订单的总配送时长最短和为订单供应对象的所有实体对象的数量最少。这样,可通过平台服务器的自动计算,为用户提供上述三种实体对象组合,方便用户选择,而无需用户自行人工计算,不仅不便且计算的准确度低。In some embodiments, the multiple entity object combinations that meet the conditions include any two of the first entity object combination, the second entity object combination and the third entity object combination, and the first entity object combination is the lowest total price of the order The entity object combination, the second entity object combination is the entity object combination with the shortest total delivery time of the order, and the third object combination is the entity object combination with the smallest quantity of all the entity objects that supply objects for the order. That is, the above "conditions" refer to the lowest total price of the order, the shortest total delivery time of the order, and the smallest quantity of all physical objects that supply objects for the order. In this way, the above three entity object combinations can be provided to the user through automatic calculation by the platform server, which is convenient for the user to choose, without the need for the user to perform manual calculation, which is not only inconvenient but also has low calculation accuracy.
当然,上述“总价格最低”通常是指使用各种可用的虚拟资源/虚拟资产后实际所需支付的费用最低。本发明实施例中的虚拟资源包括但不限于红包、优惠券、商品抵用券、满减优惠券、购物补贴等,这些虚拟资源可以在用户下单时使用,用于抵扣结算金额。虚拟资产包括兑换红包、兑换卡、兑换码、虚拟货币等,这些虚拟资产可以兑换可直接抵扣结算金额的虚拟资源,且需要在兑换虚拟资源后才可以抵扣结算金额,而不能直接抵扣结算金额。其中兑换红包不能直接使用,需兑换成其他红包才可使用,虚拟货币可以是例如积分、XX豆、金币等。上述虚拟资源和虚拟资产均为电子资源对象,而非实体资源对象。用户领取或购买上述虚拟资源/虚拟资产后,虚拟资源/虚拟资产存储于服务器中的该用户账户内。上述条件可以预先设置并可以在平台服务器端或者用户侧终端根据实际需求调整。例如去掉其中一种或几种条件,或者增加新的条件。在平台服务器端的调整为通用调整,适用于所有用户,方便服务端的优化。在用户侧终端的调整为个性化调整,仅适用该用户侧终端或者该用户账户,方便用户的灵活设置。如无特别说明,Of course, the above "lowest total price" usually refers to the lowest cost actually required to use various available virtual resources/virtual assets. The virtual resources in the embodiments of the present invention include but are not limited to red envelopes, coupons, commodity coupons, full discount coupons, shopping subsidies, etc. These virtual resources can be used when a user places an order to deduct the settlement amount. Virtual assets include exchange red envelopes, exchange cards, exchange codes, virtual currencies, etc. These virtual assets can be exchanged for virtual resources that can directly deduct the settlement amount, and the settlement amount can only be deducted after the virtual resources are exchanged, not directly. settlement amount. Among them, the red envelopes cannot be used directly, but must be converted into other red envelopes before they can be used. The virtual currency can be points, XX beans, gold coins, etc. The above virtual resources and virtual assets are all electronic resource objects, not physical resource objects. After the user receives or purchases the above-mentioned virtual resources/virtual assets, the virtual resources/virtual assets are stored in the user account in the server. The above conditions can be preset and adjusted according to actual needs on the platform server side or the user side terminal. For example, remove one or several conditions, or add new conditions. The adjustment on the server side of the platform is a general adjustment, which is applicable to all users and facilitates the optimization of the server side. The adjustment on the user-side terminal is a personalized adjustment, which is only applicable to the user-side terminal or the user account, which is convenient for the user to set flexibly. Unless otherwise specified,
其中,当实体对象组合为第一实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括:Wherein, when the entity object combination is the first entity object combination, according to the order settlement request, multiple entity object combinations that meet the conditions are determined, including:
步骤e11:根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集,以及确定每个对象在供应该对象的所有实体对象处的价格。Step e11: According to the order settlement request, determine the entity object set for supplying at least one object in the object set, and determine the price of each object at all the entity objects supplying the object.
实体对象集是指实体对象的集合。An entity object set refers to a collection of entity objects.
步骤e12:根据实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合。Step e12: According to the entity object set, determine all possible entity object combinations, and all possible entity object combinations include each entity object combination that can supply the object set.
此处的能够供应对象集的实体对象组合是指该实体对象组合能够供应全部的订单对象,订单中的每一个对象都有相应的实体对象供应。The entity object combination that can supply the object set here means that the entity object combination can supply all the order objects, and each object in the order has a corresponding entity object supply.
步骤e13:根据每个对象在供应该对象的所有实体对象处的价格、实体对象的物流配送费和用于抵扣结算金额的虚拟资源,计算所有可能的实体对象组合中每种实体对象组合下的订单的总价格。Step e13: According to the price of each object at all the physical objects that supply the object, the logistics and distribution fee of the physical object, and the virtual resources used to deduct the settlement amount, calculate the lower limit of each physical object combination in all possible physical object combinations. The total price of the order.
步骤e14:将订单的总价格最低的实体对象组合确定为第一实体对象组合。Step e14: Determine the entity object combination with the lowest total price of the order as the first entity object combination.
通过上述方式可以无遗漏地确定所有可能的实体对象组合,并准确确定订单的总价格最低的实体对象组合。可以理解的是,确定订单的总价格最低的实体对象组合的方式也可以通过其他的方式,而不限于上述确定方式。Through the above method, all possible entity object combinations can be determined without omission, and the entity object combination with the lowest total price of the order can be accurately determined. It can be understood that, the manner of determining the entity object combination with the lowest total price of the order may also be in other manners, and is not limited to the foregoing determination manner.
在一些实施例中,当实体对象组合为第二实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, when the entity object combination is the second entity object combination, according to the order settlement request, multiple entity object combinations that meet the conditions are determined, including:
步骤e21:根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集、实体对象集中每个实体对象的配送时长以及实体对象集中每个实体对象所能供应的对象集中的对象。Step e21: According to the order settlement request, determine the entity object set of at least one object in the supply object set, the delivery time of each entity object in the entity object set, and the objects in the object set that each entity object in the entity object set can supply.
通常对于同一配送位置,每个实体对象中任意对象的配送时长是固定的,因此此处直接获取实体对象集中每个实体对象的配送时长即可。当然,如果实体对象中对于同一配送位置不同对象的配送时长不同时,则需要获取该实体对象对于其所提供的每个对象各自的配送时长。Usually, for the same delivery location, the delivery duration of any object in each entity object is fixed, so the delivery duration of each entity object in the entity object set can be directly obtained here. Of course, if the delivery durations of different objects in the same delivery location are different in the entity object, the respective delivery durations for each object provided by the entity object need to be obtained.
步骤e22:根据实体对象集、配送时长以及实体对象集中每个实体对象所能供应的对象集中的对象,确定订单的总配送时长最短的第二实体对象集。Step e22: Determine the second entity object set with the shortest total delivery time of the order according to the entity object set, the delivery time, and the objects in the object set that each entity object in the entity object set can supply.
订单的总配送时长最短的第二实体对象集中包括多个实体对象。例如,第二实体对象集包括实体对象T1、T2和T3。The second entity object set with the shortest total delivery time of the order includes multiple entity objects. For example, the second entity object set includes entity objects T1, T2 and T3.
步骤e23:根据第二实体对象集确定第二实体对象组合。Step e23: Determine the second entity object combination according to the second entity object set.
如前所述,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,也即实体对象组合不仅包括实体对象,还包括每个实体对象所供应的对象。因此,在确定了第二实体对象集之后,还需确定第二实体对象集中每个实体对象供应的对象,从而确定第二实体对象组合。在不考虑其他条件或者其他因素的情况下,提供订单中全部对象的实体对象组合可能包括多种,在不同的实体对象组合中每个实体对象提供的对象可能不同。例如,第二实体对象集包括实体对象T1、T2和T3。实体对象组合可以为(T1:G1~G5、T2:G6~G8和T3:G9~G11),或者(T1:G2、G5~G7、T2:G1、G4、G8~G10和T3:G3、G11),或者(T1:G1~G3、T2:G4、G8~G10和T3:G5~G7、G11)……只要这样的实体对象组合可以供应全部对象集中的对象即可。在确定的多个实体对象组合中选择一个作为第二实体对象组合。As mentioned earlier, an entity object composition indicates an entity object capable of supplying a complete set of objects and the objects provided by each of the entity objects, that is, the entity object composition includes not only the entity objects, but also the objects provided by each entity object. Therefore, after the second entity object set is determined, it is also necessary to determine the objects supplied by each entity object in the second entity object set, so as to determine the second entity object combination. Without considering other conditions or other factors, there may be multiple entity object combinations that provide all objects in the order, and the objects provided by each entity object may be different in different entity object combinations. For example, the second entity object set includes entity objects T1, T2 and T3. The entity object combination can be (T1: G1~G5, T2: G6~G8 and T3: G9~G11), or (T1: G2, G5~G7, T2: G1, G4, G8~G10 and T3: G3, G11 ), or (T1: G1-G3, T2: G4, G8-G10 and T3: G5-G7, G11)... As long as such a combination of entity objects can supply objects in all object sets. One of the determined multiple entity object combinations is selected as the second entity object combination.
通过上述方式,可以准确地确定订单的总配送时长最短的第二实体对象集,并从中确定可供用户选择的第二实体对象组合。In the above manner, the second entity object set with the shortest total delivery time of the order can be accurately determined, and the second entity object combination that can be selected by the user can be determined therefrom.
其中,步骤e22可通过如下方式:Wherein, step e22 can be performed in the following manner:
步骤e221:将实体对象集中的实体对象按照其配送时长升序排列,其中第一实体对象的配送时长最短;Step e221: Arrange the entity objects in the entity object set in ascending order of their delivery duration, wherein the delivery duration of the first entity object is the shortest;
步骤e222:从第一实体对象开始,依次确认每个实体对象所能供应的对象集中的对象,重复该步骤直至对象集中的每个对象均被确认有实体对象能供应;Step e222: Starting from the first entity object, confirm the objects in the object set that each entity object can supply in turn, and repeat this step until each object in the object set is confirmed to have the entity object that can be supplied;
步骤e223:将对象集中的每个对象均被确认有实体对象能供应时的实体对象及之前的实体对象确定为订单的总配送时长最短的第二实体对象集。Step e223: Determine the entity object when each object in the object set is confirmed to have the entity object that can be supplied and the previous entity object as the second entity object set with the shortest total delivery time of the order.
通过上述按照其配送时长将实体对象排序,并依次确认每个实体对象所能供应的对象集中的对象的方式,可以较快确定第二实体对象集,当对象集中的每个对象均被确认有实体对象能供应就无需再确定剩余的实体对象供应的对象,节省了确定时间,提交系统效率。By sorting the entity objects according to their delivery time and confirming in turn the objects in the object set that each entity object can supply, the second entity object set can be quickly determined. When each object in the object set is confirmed to have When the entity objects can be supplied, it is no longer necessary to determine the objects supplied by the remaining entity objects, which saves the determination time and improves the efficiency of the system.
进一步的,在一些实施例中,步骤e222可以通过如下方式:Further, in some embodiments, step e222 may be performed in the following manner:
N为正整数,N=1;N is a positive integer, N=1;
确定步骤:确定第N实体对象所能供应的对象集中的对象,将第N实体对象所能供应的对象从对象集中删除;Determining step: determine the objects in the object set that the Nth entity object can supply, and delete the objects that the Nth entity object can supply from the object set;
调整步骤:N=N+1;Adjustment steps: N=N+1;
重复执行确定步骤和调整步骤,直至对象集为空。Repeat the determination and adjustment steps until the object set is empty.
上述方式中,将已确定由订单的配送时长最短的实体对象能供应的对象从对象集删除,并按照上述方式依次将配送时长次之的实体对象能供应的对象从对象集删除,直至对象集为空,就无需再确定剩余的实体对象供应的对象,该方式实现简单,节省了确定时间,提交系统效率。In the above method, it is determined that the objects that can be supplied by the entity object with the shortest delivery duration of the order are deleted from the object set, and the objects that can be supplied by the entity object with the next delivery duration are deleted from the object set in the above manner, until the object set. If it is empty, there is no need to determine the objects supplied by the remaining entity objects. This method is simple to implement, saves the determination time, and improves the efficiency of the system.
其中,步骤e23可通过如下方式:Wherein, step e23 can be through the following methods:
步骤e231:根据第二实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合。Step e231: Determine all possible entity object combinations according to the second entity object set, and all possible entity object combinations include each entity object combination that can supply the object set.
步骤e231的实现可以参考前述对步骤e23的描述,此处不再赘述。For the implementation of step e231, reference may be made to the foregoing description of step e23, which will not be repeated here.
步骤e232:从所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格。Step e232: From all possible entity object combinations, calculate the total price of orders placed under each entity object combination.
步骤e233:将订单的总价格最低的实体对象组合确定为第二实体对象组合。Step e233: Determine the entity object combination with the lowest total price of the order as the second entity object combination.
通过上述方式,可以在订单的总配送时长最短的情况下选择价格最低的实体对象组合作为第二实体对象组合。这样,可以保证订单的总配送时长最短,且价格相对较低,从而满足用户需求。In the above manner, the entity object combination with the lowest price can be selected as the second entity object combination under the condition that the total delivery time of the order is the shortest. In this way, it can ensure that the total delivery time of the order is the shortest, and the price is relatively low, so as to meet the needs of users.
在一些实施例中,当实体对象组合为第三实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, when the entity object combination is a third entity object combination, according to the order settlement request, multiple entity object combinations that meet the conditions are determined, including:
步骤e31:根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集以及实体对象集中每个实体对象所能供应的对象集中的对象。Step e31: According to the order settlement request, determine the entity object set for supplying at least one object in the object set and the objects in the object set that each entity object in the entity object set can supply.
步骤e31可参考前述步骤e11和e21的实现,此处不再赘述。For step e31, reference may be made to the implementation of the foregoing steps e11 and e21, and details are not repeated here.
步骤e32:根据实体对象集、实体对象集中每个实体对象所能供应的对象集中的对象,确定实体对象数量最少的第三实体对象集。Step e32: Determine a third entity object set with the smallest number of entity objects according to the entity object set and the objects in the object set that each entity object in the entity object set can supply.
例如,实体对象数量最少的第三实体对象集包括实体对象T1、T2和T3。For example, the third entity object set with the smallest number of entity objects includes entity objects T1, T2 and T3.
步骤e33:根据第三实体对象集确定第三实体对象组合。Step e33: Determine a third entity object combination according to the third entity object set.
和步骤e23类似地,在确定了第三实体对象集之后,还需确定第三实体对象集中每个实体对象供应的对象,从而确定第三实体对象组合。在确定的多个实体对象组合中选择一个作为第三实体对象组合。Similar to step e23, after the third entity object set is determined, it is also necessary to determine the objects supplied by each entity object in the third entity object set, so as to determine the third entity object combination. One of the determined multiple entity object combinations is selected as the third entity object combination.
通过上述方式,可以准确地确定为订单供应对象的所有实体对象的数量最少的第三实体对象集,并从中确定可供用户选择的第三实体对象组合。In the above manner, it is possible to accurately determine the third entity object set with the smallest quantity of all the entity objects that are the order supply objects, and determine the third entity object combination that can be selected by the user.
其中,步骤e32可通过如下方式:Wherein, step e32 can be performed in the following manner:
步骤e321a:将实体对象集中的供应对象集中的对象的数量最多的实体对象加入第三实体对象集,将该实体对象从实体对象集删除,以及将该实体对象所供应的对象集中的对象从对象集删除,重复该步骤直至对象集为空。Step e321a: Add the entity object with the largest number of objects in the supply object set in the entity object set into the third entity object set, delete the entity object from the entity object set, and remove the object in the object set provided by the entity object from the object set. Set deletion, repeat this step until the object set is empty.
步骤e322a:将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。Step e322a: Determine the third entity object set at this time as the third entity object set with the smallest number of entity objects.
通过上述方式,对象集为空时则无需再对剩余的对象集进行处理,实现简单,节省了确定时间,提交系统效率。In the above manner, when the object set is empty, there is no need to process the remaining object set, the implementation is simple, the determination time is saved, and the system efficiency is submitted.
在一些实施例中,步骤e32还可通过如下方式:In some embodiments, step e32 may also be performed in the following manner:
步骤e321b:将实体对象集中的实体对象按照其供应的对象集中的对象的数量降序排列。Step e321b: Arrange the entity objects in the entity object set in descending order according to the number of objects in the object set they supply.
步骤e322b:将排第一位的实体对象加入第三实体对象集,将该实体对象从实体对象集删除,以及将该实体对象所供应的对象集中的对象从对象集删除,重复该步骤直至对象集为空。Step e322b: Add the first-ranked entity object to the third entity object set, delete the entity object from the entity object set, and delete the objects in the object set provided by the entity object from the object set, and repeat this step until the object Set is empty.
步骤e323b:将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。Step e323b: Determine the third entity object set at this time as the third entity object set with the smallest number of entity objects.
本步骤的实现与骤e322a类似,此处不再赘述。The implementation of this step is similar to that of step e322a, which is not repeated here.
通过上述供应的对象集中的对象的数量降序排列,并依次将实体对象加入第三实体对象集、从原有实体对象集删除、将该实体对象所供应的对象集中的对象从对象集删除的方式,实现简单,且可以较快确定第三实体对象集,当对象集为空时就无需再对剩余的实体对象进行处理,节省了确定时间,提交系统效率。The method of arranging the objects in the supplied object set in descending order, adding the entity objects to the third entity object set, deleting from the original entity object set, and deleting the objects in the object set provided by the entity object from the object set in turn , the implementation is simple, and the third entity object set can be determined quickly. When the object set is empty, it is unnecessary to process the remaining entity objects, which saves the determination time and submits the system efficiency.
在一些实施例中,步骤e33可通过如下方式:In some embodiments, step e33 may be performed in the following manner:
步骤e331:根据第三实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合。Step e331: Determine all possible entity object combinations according to the third entity object set, and all possible entity object combinations include each entity object combination that can supply the object set.
步骤e331的实现可以参考前述对步骤e33的描述,此处不再赘述。For the implementation of step e331, reference may be made to the foregoing description of step e33, which will not be repeated here.
步骤e332:从所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格。Step e332: From all possible entity object combinations, calculate the total price of orders placed under each entity object combination.
步骤e333:将订单的总价格最低的实体对象组合确定为第三实体对象组合。Step e333: Determine the entity object combination with the lowest total price of the order as the third entity object combination.
通过上述方式,可以在为订单供应对象的所有实体对象的数量最少的情况下选择价格最低的实体对象组合作为第三实体对象组合。这样,可以保证为订单供应对象的所有实体对象的数量最少,且价格相对较低,从而满足用户需求。In the above manner, the entity object combination with the lowest price can be selected as the third entity object combination under the condition that the quantity of all the entity objects that supply the object for the order is the least. In this way, it can be guaranteed that the quantity of all the entity objects that supply the object for the order is the minimum, and the price is relatively low, so as to meet the user's demand.
步骤304:用户侧终端响应于显示其中一种实体对象组合的操作,显示实体对象组合。Step 304: The user-side terminal displays the entity object combination in response to the operation of displaying one of the entity object combinations.
其中,满足条件的多种实体对象组合为服务器根据订单结算请求确定并发送给终端的。平台服务器发送给用户侧终端的实体对象组合包括多种,而受终端显示屏幕限制,可能不能同时显示全部的实体对象组合,因此用户可以通过在显示界面点击某个实体对象组合的标题,从而显示该实体对象组合。The combination of various entity objects that meet the conditions is determined by the server according to the order settlement request and sent to the terminal. There are many kinds of entity object combinations sent by the platform server to the user-side terminal. However, due to the limitation of the terminal display screen, all entity object combinations may not be displayed at the same time. Therefore, the user can click the title of a certain entity object combination on the display interface to display the The entity object composition.
在一些实施例中,平台服务器还将第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量发送给终端,以使终端显示实体对象组合时显示第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量。这样,通过终端显示上述信息,用户可以直观了解上述三种实体对象组合各自的特性,便于用户快速选择,提升了下单效率和操作的便利性。In some embodiments, the platform server also sends the total price of the order of the first entity object combination, the total delivery time of the order of the second entity object combination, and/or the number of entity objects of the third entity object combination to the terminal, so as to When displaying the entity object combination, the terminal displays the total price of the order of the first entity object combination, the total delivery time of the order of the second entity object combination and/or the number of entity objects of the third entity object combination. In this way, by displaying the above information on the terminal, the user can intuitively understand the respective characteristics of the above three entity object combinations, which facilitates the user to quickly select, and improves the efficiency of placing orders and the convenience of operation.
步骤305:用户侧终端响应于选择满足条件的多种实体对象组合的其中一种实体对象组合的操作,向服务器发送提交订单请求。Step 305: In response to an operation of selecting one entity object combination of multiple entity object combinations that meet the conditions, the user-side terminal sends an order submission request to the server.
其中,提交订单请求指示被选择的实体对象组合。用户可通过在显示的某个实体对象组合的界面下点击提交订单按键,从而选择该实体对象组合,并向平台服务器提交订单。Wherein, the submit order request indicates the selected entity object combination. The user can select the entity object combination by clicking the submit order button on the displayed interface of a certain entity object combination, and submit an order to the platform server.
步骤306:平台服务器根据提交订单请求所指示的被选择的实体对象组合提交订单。Step 306: The platform server submits the order according to the selected entity object combination indicated by the order submission request.
平台服务器获取终端发送的提交订单请求,提交订单请求指示被选择的实体对象组合,并根据该提交订单请求提交订单。The platform server obtains the request for submitting an order sent by the terminal, the request for submitting an order indicates the selected entity object combination, and submits an order according to the request for submitting an order.
用户自行为对象选择实体对象,或者选择平台服务器推荐的实体对象组合中的一种后,执行上述步骤101,向平台服务器发送提交订单请求。After the user selects an entity object for the object, or selects one of the entity object combinations recommended by the platform server, the above step 101 is performed, and an order submission request is sent to the platform server.
步骤102:平台服务器响应于提交订单请求,查找订单中的对象的推荐相似对象。Step 102: The platform server searches for the recommended similar objects of the objects in the order in response to the request for submitting the order.
平台服务器获取终端发送的提交订单请求后,查找推荐相似对象。其中,推荐相似对象与对象具有相同的使用属性,例如商品类型相同(均为全麦面包、均为矿泉水等),且商品规格相同(例如在商品类型为全麦面包时规格均为100g、在商品类型均为矿泉水时规格均为500ml等),通常其商品品牌不同,例如A牌矿泉水和B牌矿泉水的品牌不同,在这种情况下供应这两种对象的实体对象即使相同其价格也会不同。或者商品品牌相同但供应该对象的实体对象不同,从而导致其价格或者配送费不同,例如实体对象1供应的A牌矿泉水和实体对象2供应的A牌矿泉水的价格或者配送费不同。After the platform server obtains the order submission request sent by the terminal, it searches and recommends similar objects. Among them, it is recommended that similar objects and objects have the same usage attributes, such as the same product type (both whole wheat bread, all mineral water, etc.), and the same product specifications (for example, when the product type is whole wheat bread, the specifications are 100g, When the commodity types are all mineral water, the specifications are all 500ml, etc.), usually their commodity brands are different, for example, the brands of brand A mineral water and brand B mineral water are different, in this case, the entity objects that supply these two objects are the same even if Its price will also vary. Or the commodity brand is the same but the entity objects supplying the object are different, resulting in different prices or delivery charges.
推荐相似对象的确定前提还包括在将对象替换为推荐相似对象的情况下能够减少订单的总价格。能够减少订单的总价格包括能够减少对象的价格和/或配送费。例如,查找A牌矿泉水(500ml,2元)的推荐相似对象时,需要满足该推荐相似对象的价格低于2元,或者在将A牌矿泉水替换为另一同类型同规格的矿泉水时,可以降低订单的配送费从而降低订单的总价格。这就包括推荐相似对象的价格可能高于该被替换的对象、但降低的配送费可以使订单的总价格降低的情形,当然也包括推荐相似对象的价格低于该被替换的对象同还可以降低配送费的情形。总体而言,需满足替换后订单的总价格被减少。The determination premise of recommending similar objects also includes that the total price of the order can be reduced in the case of replacing the objects with recommending similar objects. The total price of the order that can be reduced includes the price of the object that can be reduced and/or the shipping fee. For example, when looking for a recommended similar object for brand A mineral water (500ml, 2 yuan), it is necessary to satisfy the price of the recommended similar object is less than 2 yuan, or when replacing brand A mineral water with another mineral water of the same type and specification , which can reduce the order's fulfillment fee and thus reduce the total price of the order. This includes the situation where the price of recommending similar objects may be higher than the replaced object, but the reduced delivery fee can reduce the total price of the order, and of course it also includes recommending similar objects whose price is lower than the replaced object. Reduced delivery fees. Overall, the total price to be met for the replacement order is reduced.
在一些实施例中,步骤102可通过如下方式:In some embodiments, step 102 may be performed as follows:
步骤a1:响应于提交订单请求,查找订单中每个对象的相似对象。Step a1: In response to submitting the order request, look up similar objects for each object in the order.
其中,可以预先在平台服务器建立每个对象与其相似对象的相似对象关联表。相似对象关联表包括对象和对应于该对象的相似对象的关联关系,对象与其相似对象由同一实体对象供应或者由不同的实体对象供应,因此相似对象关联表还包括每个对象的供应实体对象。通过相似对象关联表的方式,准确记录相似对象,方便快速且准确查找到相似对象,且该表还记录供应的实体对象,方便根据该信息获取对象价格和配送费。如表2所示,为其中100g全麦面包的相似对象关联表:Wherein, a similar object association table of each object and its similar objects may be established on the platform server in advance. The similar object association table includes the association relationship between the object and the similar objects corresponding to the object. The object and its similar objects are supplied by the same entity object or supplied by different entity objects. Therefore, the similar object association table also includes the supply entity object of each object. Similar objects are accurately recorded by means of a similar object association table, which is convenient, fast and accurate to find similar objects, and the table also records the supplied entity objects, which is convenient for obtaining object prices and delivery fees according to the information. As shown in Table 2, it is a similar object association table of 100g whole wheat bread:
表2Table 2
如无特别陈述,上述相似对象以及下文所描述的相似对象或推荐相似对象均只针对单个对象展开描述,可以理解的,用户订单中通常包括多个对象,针对每个对象均需要执行同样的步骤从而确定其相似对象或者推荐相似对象。Unless otherwise stated, the above similar objects and the similar objects or recommended similar objects described below are only described for a single object. It is understandable that a user order usually includes multiple objects, and the same steps need to be performed for each object. Thereby determining its similar objects or recommending similar objects.
步骤a2:在每个对象的相似对象中,确定能够减少订单的总价格的相似对象。Step a2: Among the similar objects of each object, determine the similar objects that can reduce the total price of the order.
平台服务器响应于提交订单请求,首先从相似对象关联表中查找订单中的对象的相似对象,然后计算在将该对象替换为每一个相似对象时的订单总价格,从而确认替换后是否可以减少订单的总价格,并可以确认具体为减少对象的价格还是减少配送费。每个相似对象的价格和配送费可以根据相似对象关联表记录的实体对象从该实体对象提供的信息中获取,其中价格或配送费是基于该实体对象某些促销活动提供的优惠之后确定的价格或配送费。在一些实施例中,可以在相似对象关联表中还记录每个相似对象与供应该实体对象提供的价格或配送费的获取链接,或者直接根据该链接在相似对象关联表中实时更新价格或配送费,从而方便这些信息的获取。In response to submitting an order request, the platform server first looks up the similar objects of the objects in the order from the similar object association table, and then calculates the total order price when the object is replaced with each similar object, so as to confirm whether the order can be reduced after the replacement the total price, and can confirm whether to reduce the price of the object or reduce the delivery fee. The price and delivery fee of each similar object can be obtained from the information provided by the entity object according to the entity object recorded in the similar object association table, wherein the price or delivery fee is based on the price determined after the discount offered by some promotional activities of the entity object or delivery fee. In some embodiments, the acquisition link of each similar object and the price or delivery fee provided by the entity object may be recorded in the similar object association table, or the price or delivery fee may be updated in real time in the similar object association table directly according to the link. fee to facilitate access to this information.
步骤a3:选择能够减少订单的总价格的相似对象中的一个或多个作为推荐相似对象。Step a3: Select one or more similar objects that can reduce the total price of the order as recommended similar objects.
上述通过先查找相似对象,然后确定能够减少订单的总价格的相似对象,再从中选择推荐相似对象的方式,可以准确地确定出能够减少订单的总价格的推荐相似对象,其中,平台服务器可以将能够减少订单的总价格的所有相似对象全部作为推荐相似对象,也可以仅选择其中的一个或几个相似对象作为推荐相似对象。当推荐相似对象有多个时,需要用户自行选择其中一种推荐相似对象进行替换。By first searching for similar objects, then determining similar objects that can reduce the total price of the order, and then selecting the recommended similar objects from them, the recommended similar objects that can reduce the total price of the order can be accurately determined. All similar objects that can reduce the total price of the order are all used as recommended similar objects, or only one or several similar objects can be selected as recommended similar objects. When there are multiple recommended similar objects, the user is required to select one of the recommended similar objects to replace.
进一步的,步骤a3可以包括:选择能够减少订单的总价格最多的一个相似对象,作为推荐相似对象。通过该方式,提供并展示给用户的直接是能够降低下单成本最多的推荐相似对象,无需用户再行选择,提升了操作便利性。Further, step a3 may include: selecting a similar object that can reduce the total price of the order the most as a recommended similar object. In this way, what is provided and displayed to the user is the recommended similar object that can reduce the cost of placing the order the most, and the user does not need to select again, which improves the convenience of operation.
步骤103:平台服务器将推荐相似对象发送给终端。Step 103: The platform server sends the recommended similar object to the terminal.
平台服务器将选择的推荐相似对象发送给终端。在一些实施例中,步骤103还可以包括:将对象、与对象对应的推荐相似对象、推荐相似对象所减少的订单的总价格发送给终端,以使终端显示对象、与对象对应的推荐相似对象、推荐相似对象所减少的订单的总价格。这样,用户可以直接获知上述信息,方便用户对信息的获取并方便用户决策。The platform server sends the selected recommended similar objects to the terminal. In some embodiments, step 103 may further include: sending the object, the recommended similar object corresponding to the object, and the total price of the order reduced by the recommended similar object to the terminal, so that the terminal displays the object and the recommended similar object corresponding to the object , the total price of orders reduced by recommending similar objects. In this way, the user can directly obtain the above-mentioned information, which is convenient for the user to obtain the information and facilitate the user to make a decision.
步骤104:用户侧终端接收并显示订单中的对象的推荐相似对象。Step 104: The user-side terminal receives and displays the recommended similar objects of the objects in the order.
用户侧终端可以通过局部弹窗的方式在提交订单页面展示推荐相似对象。在推荐相似对象的显示区域内,同时还可以提供确认替换的按键以及不替换的按键。The user-side terminal can display and recommend similar objects on the order submission page through a partial pop-up window. In the display area where similar objects are recommended, a button for confirming replacement and a button for not replacing can also be provided at the same time.
步骤105a:用户侧终端向平台服务器发送替换请求。Step 105a: The user-side terminal sends a replacement request to the platform server.
用户确定替换时,可通过点击终端上的确认替换的按键,提交替换请求,并由用户侧终端发送给平台服务器。When the user confirms the replacement, the user can submit a replacement request by clicking the button on the terminal to confirm the replacement, and the user-side terminal sends the replacement request to the platform server.
步骤105b:用户侧终端向平台服务器发送不替换请求。Step 105b: The user-side terminal sends a non-replacement request to the platform server.
可选的,用户确定不替换时,可通过点击终端上的不替换的按键,提交不替换请求,并由用户侧终端发送给平台服务器。Optionally, when the user determines not to replace, the user can submit a request for not to replace by clicking a button on the terminal that does not replace, and the terminal on the user side sends the request to the platform server.
步骤106a:平台服务器响应于提交的替换请求,将订单中的对象替换为推荐相似对象后提交订单。Step 106a: The platform server, in response to the submitted replacement request, replaces the objects in the order with recommended similar objects and submits the order.
在步骤105a之后,服务器将执行替换以及提交订单的操作。After step 105a, the server will perform the operations of replacing and submitting the order.
步骤106b:平台服务器响应于提交的不替换请求,不对订单中的对象进行变更并提交订单。Step 106b: In response to the submitted non-replacement request, the platform server does not make changes to the objects in the order and submits the order.
在步骤105b之后,服务器将执行不替换以及提交订单的操作。After step 105b, the server will perform the operations of not replacing and submitting the order.
如前描述,对象的推荐相似对象可以有一个或多个。步骤103中,平台服务器可以将一个或多个推荐相似对象发送给终端,以使步骤104中终端显示一个或多个推荐相似对象,并在终端上提供对一个或多个推荐相似对象的选择按键,选择按键可以布局于每个推荐相似对象的左侧或右侧,可以为选择框的形式。然后,步骤105a中,用户侧终端根据接收的对一个或多个推荐相似对象的选择以及替换确认操作,生成替换请求后发送给服务器,替换请求包括被选择的推荐相似对象。用户可以选择替换某个或某几个对象,其余对象即使存在推荐相似对象也不替换的方案。这样,可以为用户的选择提供便利。步骤106a中,平台服务器接收根据显示的推荐相似对象提交的替换请求,替换请求包括被选择的推荐相似对象;并将订单中的对象替换为被选择的推荐相似对象后提交订单。As previously described, there can be one or more similar objects recommended for an object. In step 103, the platform server can send one or more recommended similar objects to the terminal, so that in step 104, the terminal displays one or more recommended similar objects, and provides a selection button for one or more recommended similar objects on the terminal. , the selection button can be arranged on the left or right side of each recommended similar object, and can be in the form of a selection box. Then, in step 105a, the user-side terminal generates a replacement request according to the received selection of one or more recommended similar objects and the replacement confirmation operation, and sends the replacement request to the server, where the replacement request includes the selected recommended similar objects. The user can choose to replace one or several objects, and the remaining objects will not be replaced even if there are plans for recommending similar objects. In this way, the user's selection can be facilitated. In step 106a, the platform server receives a replacement request submitted according to the displayed recommended similar objects, the replacement request includes the selected recommended similar objects; and submits the order after replacing the objects in the order with the selected recommended similar objects.
上述将一个或多个推荐相似对象发送给终端,以使终端显示一个或多个推荐相似对象,还可以包括:The above-mentioned sending one or more recommended similar objects to the terminal, so that the terminal displays one or more recommended similar objects, may also include:
步骤b1:根据推荐相似对象所减少的订单的总价格的多少,对一个或多个推荐相似对象进行降序排列;Step b1: Arrange one or more recommended similar objects in descending order according to the total price of the order reduced by recommending similar objects;
步骤b2:将降序排列的一个或多个推荐相似对象发送给终端,以使终端按照降序排列显示一个或多个推荐相似对象。Step b2: Send one or more recommended similar objects in descending order to the terminal, so that the terminal displays one or more recommended similar objects in descending order.
这种按照推荐相似对象所减少的订单的总价格的多少降序排列推荐相似对象的方式,可以方便用户在最短的时间内浏览到可以降低最多下单成本的推荐相似对象,使用户可以快速完成选择。This method of arranging and recommending similar objects in descending order of the total price of the order reduced by recommending similar objects can facilitate the user to browse to the recommended similar objects that can reduce the most order cost in the shortest time, so that the user can quickly complete the selection. .
步骤b1还可以进一步包括:Step b1 may further include:
步骤b11:根据订单中的对象对推荐相似对象进行排序,对应于相同对象的推荐相似对象前后相邻;Step b11: Sort the recommended similar objects according to the objects in the order, and the recommended similar objects corresponding to the same object are adjacent to each other;
步骤b12:在排序后的对应于相同对象的推荐相似对象中,根据推荐相似对象所减少的订单的总价格的多少,对推荐相似对象进行降序排列。Step b12: In the sorted recommended similar objects corresponding to the same objects, according to the total price of the order reduced by the recommended similar objects, sort the recommended similar objects in descending order.
在这种方式中,相同对象的推荐相似对象前后相邻,相同对象的推荐相似对象中再根据所减少的订单的总价格的多少降序排列,进一步方便了用户的选择。此外,还可以为相同对象的推荐相似对象添加标识框,便于用户对相同对象的推荐相似对象的快速识别。In this way, the recommended similar objects of the same object are adjacent to each other, and the recommended similar objects of the same object are arranged in descending order according to the total price of the reduced order, which further facilitates the user's selection. In addition, an identification frame can also be added for the recommended similar objects of the same object, so as to facilitate the user to quickly identify the recommended similar objects of the same object.
图5是本发明实施例提供的订单对象替换方法的流程图。该方法从平台服务器侧进行描述。该方法包括如下步骤:FIG. 5 is a flowchart of a method for replacing an order object provided by an embodiment of the present invention. The method is described from the platform server side. The method includes the following steps:
步骤401:获取终端发送的提交订单请求,提交订单请求指示在虚拟实体对象中被选择的实体对象组合,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合;Step 401: obtain the submit order request sent by the terminal, the submit order request indicates the entity object combination selected in the virtual entity object, and the entity object combination indicates the entity objects that can completely supply the object set and the objects supplied by each entity object, The object set is the set of all objects in the order;
步骤402:响应于提交订单请求,查找订单中的对象的推荐相似对象,推荐相似对象与对象具有相同的使用属性,在将对象替换为推荐相似对象的情况下能够减少订单的总价格;Step 402: In response to submitting the order request, find the recommended similar objects of the objects in the order, the recommended similar objects have the same usage attributes as the objects, and the total price of the order can be reduced when the objects are replaced with the recommended similar objects;
步骤403:将推荐相似对象发送给终端,以使终端显示推荐相似对象;Step 403: Send the recommended similar objects to the terminal, so that the terminal displays the recommended similar objects;
步骤404:响应于提交的替换请求,将订单中的对象替换为推荐相似对象后提交订单。Step 404: In response to the submitted replacement request, replace the objects in the order with similar objects recommended and submit the order.
本发明实施例的订单对象替换方法的具体实现过程和有益效果可参考前述图1-4所示的实施例,此处不再赘述。For the specific implementation process and beneficial effects of the method for replacing an order object according to the embodiment of the present invention, reference may be made to the embodiments shown in the foregoing FIGS. 1-4 , which will not be repeated here.
图6是本发明实施例提供的订单对象替换方法的流程图。该方法从用户终端侧进行描述。该方法包括如下步骤:FIG. 6 is a flowchart of a method for replacing an order object provided by an embodiment of the present invention. The method is described from the user terminal side. The method includes the following steps:
步骤501:向服务器发送提交订单请求,提交订单请求指示在虚拟实体对象中被选择的实体对象组合,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合;Step 501: Send a submit order request to the server, the submit order request indicates the entity object combination selected in the virtual entity object, and the entity object combination indicates the entity objects that can completely supply the object set and the objects supplied by each entity object. set is the set of all objects in the order;
步骤502:接收并显示订单中的对象的推荐相似对象,推荐相似对象由服务器响应于提交订单请求查找得到的,推荐相似对象与对象具有相同的使用属性,在将对象替换为推荐相似对象的情况下能够减少订单的总价格;Step 502: Receive and display the recommended similar objects of the objects in the order, the recommended similar objects are obtained by the server in response to the request for submitting the order, and the recommended similar objects have the same usage attributes as the objects. place a total price that reduces the order;
步骤503:向服务器发送替换请求,以使服务器将订单中的对象替换为推荐相似对象后提交订单。Step 503: Send a replacement request to the server, so that the server replaces the objects in the order with similar objects recommended and submits the order.
本发明实施例的订单对象替换方法的具体实现过程和有益效果可参考前述图1-4所示的实施例,此处不再赘述。For the specific implementation process and beneficial effects of the method for replacing an order object according to the embodiment of the present invention, reference may be made to the embodiments shown in the foregoing FIGS. 1-4 , which will not be repeated here.
与前述订单对象替换方法实施例相对应,本发明实施例还提供了一种订单对象替换装置。该装置可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,该装置作为一个逻辑意义上的装置,是通过其所在设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。Corresponding to the foregoing embodiments of the method for replacing order objects, the embodiments of the present invention further provide an apparatus for replacing order objects. The device may be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, the device, as a logical device, is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory by the processor of the device where the device is located.
图7是本发明实施例提供的订单对象替换装置的结构示意图。该装置应用于平台服务器,如图7所示,该装置600包括:FIG. 7 is a schematic structural diagram of an apparatus for replacing an order object provided by an embodiment of the present invention. The apparatus is applied to a platform server, as shown in FIG. 7 , the apparatus 600 includes:
获取模块601,用于获取终端发送的提交订单请求,提交订单请求指示在虚拟实体对象中被选择的实体对象组合,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合;The obtaining module 601 is configured to obtain a request for submitting an order sent by a terminal, the request for submitting an order indicates a selected entity object combination in the virtual entity object, and the entity object combination indicates an entity object capable of supplying a complete set of objects and the supply of each entity object. , the object set is the set of all objects in the order;
查找模块602,用于响应于提交订单请求,查找订单中的对象的推荐相似对象,推荐相似对象与对象具有相同的使用属性,在将对象替换为推荐相似对象的情况下能够减少订单的总价格;The search module 602 is configured to, in response to submitting an order request, search for the recommended similar objects of the objects in the order, the recommended similar objects have the same usage attributes as the objects, and the total price of the order can be reduced in the case of replacing the objects with the recommended similar objects ;
第一发送模块603,用于将推荐相似对象发送给终端,以使终端显示推荐相似对象;a first sending module 603, configured to send the recommended similar objects to the terminal, so that the terminal displays the recommended similar objects;
替换模块604,用于响应于提交的替换请求,将订单中的对象替换为推荐相似对象后提交订单。The replacement module 604 is configured to, in response to the submitted replacement request, replace the objects in the order with similar objects recommended and submit the order.
本发明实施例的订单对象替换装置600还包括其他用于执行上述方法实施例的各步骤的各个模块,此处不再一一赘述。The order object replacement apparatus 600 in the embodiment of the present invention further includes other modules for executing the steps of the above method embodiments, which will not be repeated here.
图8是本发明另一实施例提供的订单对象替换装置的结构示意图。该装置应用于用户侧终端,如图8所示,该装置700包括:FIG. 8 is a schematic structural diagram of an apparatus for replacing an order object provided by another embodiment of the present invention. The apparatus is applied to a user-side terminal. As shown in FIG. 8 , the apparatus 700 includes:
第二发送模块701,用于向服务器发送提交订单请求,提交订单请求指示在虚拟实体对象中被选择的实体对象组合,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合;The second sending module 701 is configured to send an order submission request to the server, the submission order request indicates the entity object combination selected in the virtual entity object, and the entity object combination indicates the entity objects that can completely supply the object set and the entity objects in each entity object. The object to be supplied, the object set is the set of all objects in the order;
显示模块702,用于接收并显示订单中的对象的推荐相似对象,推荐相似对象由服务器响应于提交订单请求查找得到的,推荐相似对象与对象具有相同的使用属性,在将对象替换为推荐相似对象的情况下能够减少订单的总价格;The display module 702 is configured to receive and display the recommended similar objects of the objects in the order, the recommended similar objects are obtained by the server in response to the request for submitting the order, and the recommended similar objects have the same usage attributes as the objects. The total price of the order can be reduced in the case of the object;
第三发送模块703,用于向服务器发送替换请求,以使服务器将订单中的对象替换为推荐相似对象后提交订单。The third sending module 703 is configured to send a replacement request to the server, so that the server can submit the order after replacing the objects in the order with similar objects recommended.
本发明实施例的虚拟实体对象的页面显示装置700还包括其他用于执行上述方法实施例的各步骤的各个模块,此处不再一一赘述。The apparatus 700 for displaying a page of a virtual entity object according to the embodiment of the present invention further includes other modules for executing the steps of the above method embodiments, which will not be repeated here.
本发明实施例提供了一种非易失性计算机可读存储介质,计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的订单对象替换方法对应的操作。An embodiment of the present invention provides a non-volatile computer-readable storage medium, where the computer-readable storage medium stores at least one executable instruction, and the computer-executable instruction can execute the order object replacement method corresponding to any of the foregoing method embodiments. operation.
图9是本发明实施例提供的电子设备的结构示意图,本发明具体实施例并不对电子设备的具体实现做限定,其可以是终端、服务器等设备。9 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the electronic device, which may be a terminal, a server, or other devices.
如图9所示,该电子设备可以包括:处理器(processor)802、通信接口(Communications Interface)804、存储器(memory)806、以及通信总线808。As shown in FIG. 9 , the electronic device may include: a processor (processor) 802 , a communication interface (Communications Interface) 804 , a memory (memory) 806 , and a
其中:处理器802、通信接口804、以及存储器806通过通信总线808完成相互间的通信。通信接口804,用于与其它设备比如客户端或其它服务器等的网元通信。处理器802,用于执行程序810,具体可以执行上述订单对象替换方法实施例中的相关步骤。The processor 802 , the
具体地,程序810可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the
处理器802可能是CPU,或者是特定集成电路ASIC(Application SpecificIntegrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。电子设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 802 may be a CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be the same type of processors, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器806,用于存放程序810。存储器806可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 806 is used to store the
在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明实施例的内容,并且上面对特定语言所做的描述是为了披露本发明实施例的优选实施方式。The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, embodiments of the present invention are not directed to any particular programming language. It should be understood that various programming languages may be used to implement the content of the embodiments of the present invention described herein, and that the above descriptions of specific languages are intended to disclose preferred implementations of the embodiments of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
类似地,应当理解,为了精简本发明实施例并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明实施例要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in order to simplify the embodiments of the invention and to aid in the understanding of one or more of the various aspects of the invention. in a single embodiment, figure, or description thereof. However, this disclosed approach should not be construed to reflect an intention that the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, it will be understood by those skilled in the art that although some of the embodiments herein include certain features, but not others, included in other embodiments, that combinations of features of the different embodiments are intended to be within the scope of the present invention And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一些或者全部部件的一些或者全部功能。本发明实施例还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明实施例的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. Embodiments of the present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing embodiments of the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
应该注意的是上述实施例对本发明实施例进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明实施例可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-described embodiments illustrate rather than limit embodiments of the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several different elements and by means of suitably programmed computers. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names. The steps in the above embodiments should not be construed as limitations on the execution order unless otherwise specified.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210157756.1A CN114549127B (en) | 2022-02-21 | 2022-02-21 | Order object replacement method, device, electronic equipment and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210157756.1A CN114549127B (en) | 2022-02-21 | 2022-02-21 | Order object replacement method, device, electronic equipment and computer storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114549127A true CN114549127A (en) | 2022-05-27 |
| CN114549127B CN114549127B (en) | 2025-08-01 |
Family
ID=81675131
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210157756.1A Active CN114549127B (en) | 2022-02-21 | 2022-02-21 | Order object replacement method, device, electronic equipment and computer storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114549127B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118569952A (en) * | 2024-06-04 | 2024-08-30 | 北京京东电解智科技有限公司 | Item information processing method, item information display method and related equipment |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103679516A (en) * | 2012-09-25 | 2014-03-26 | 付艳超 | Price comparison system based on shopping cart and method thereof |
| CN104272335A (en) * | 2011-12-02 | 2015-01-07 | 艾萨薇公司 | Unified processing of events associated with a transaction executing product purchase and/or use |
| US20150120486A1 (en) * | 2013-10-31 | 2015-04-30 | Siftit, Llc | System and method to compile and compare prices across multiple suppliers |
| CN106097032A (en) * | 2016-05-26 | 2016-11-09 | 维沃移动通信有限公司 | Commodity price-comparing method and mobile terminal thereof |
| CN106934652A (en) * | 2017-01-22 | 2017-07-07 | 斑马信息科技有限公司 | Recommend the system and method for Business Information |
| CN107180371A (en) * | 2016-03-11 | 2017-09-19 | 北京京东尚科信息技术有限公司 | The method and system of commodity is bought using reward voucher |
| CN107464162A (en) * | 2017-07-28 | 2017-12-12 | 腾讯科技(深圳)有限公司 | Commodity association method, apparatus and computer-readable recording medium |
| CN112734515A (en) * | 2020-12-31 | 2021-04-30 | 江苏迅高智能科技有限公司 | Integrated intelligent assistant for overseas life and shopping |
| CN113988921A (en) * | 2021-10-27 | 2022-01-28 | 上海星融汽车科技有限公司 | Automobile diagnosis system and method for intelligently recommending accessories and storage medium |
| CN114049505A (en) * | 2021-10-11 | 2022-02-15 | 数采小博科技发展有限公司 | Method, device, equipment and medium for matching and identifying commodities |
-
2022
- 2022-02-21 CN CN202210157756.1A patent/CN114549127B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104272335A (en) * | 2011-12-02 | 2015-01-07 | 艾萨薇公司 | Unified processing of events associated with a transaction executing product purchase and/or use |
| CN103679516A (en) * | 2012-09-25 | 2014-03-26 | 付艳超 | Price comparison system based on shopping cart and method thereof |
| US20150120486A1 (en) * | 2013-10-31 | 2015-04-30 | Siftit, Llc | System and method to compile and compare prices across multiple suppliers |
| CN107180371A (en) * | 2016-03-11 | 2017-09-19 | 北京京东尚科信息技术有限公司 | The method and system of commodity is bought using reward voucher |
| CN106097032A (en) * | 2016-05-26 | 2016-11-09 | 维沃移动通信有限公司 | Commodity price-comparing method and mobile terminal thereof |
| CN106934652A (en) * | 2017-01-22 | 2017-07-07 | 斑马信息科技有限公司 | Recommend the system and method for Business Information |
| CN107464162A (en) * | 2017-07-28 | 2017-12-12 | 腾讯科技(深圳)有限公司 | Commodity association method, apparatus and computer-readable recording medium |
| CN112734515A (en) * | 2020-12-31 | 2021-04-30 | 江苏迅高智能科技有限公司 | Integrated intelligent assistant for overseas life and shopping |
| CN114049505A (en) * | 2021-10-11 | 2022-02-15 | 数采小博科技发展有限公司 | Method, device, equipment and medium for matching and identifying commodities |
| CN113988921A (en) * | 2021-10-27 | 2022-01-28 | 上海星融汽车科技有限公司 | Automobile diagnosis system and method for intelligently recommending accessories and storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 许国利: "在线零售企业CRM中的聚类分析研究", 《中国优秀博硕士学位论文全文数据库 (硕士)经济与管理科学辑》, 15 January 2006 (2006-01-15), pages 157 - 8 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118569952A (en) * | 2024-06-04 | 2024-08-30 | 北京京东电解智科技有限公司 | Item information processing method, item information display method and related equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114549127B (en) | 2025-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100460008B1 (en) | A method for providing an on-line shopping search service and a system thereof | |
| JP2022514154A (en) | Inventory capture, image processing, and market descriptor pricing systems | |
| JP5303606B2 (en) | ADVERTISING SYSTEM, ADVERTISING SYSTEM CONTROL METHOD, PROGRAM, AND INFORMATION STORAGE MEDIUM | |
| KR20150128885A (en) | System and method for generating recommendations | |
| JP6442535B2 (en) | Information processing apparatus, information processing method, and information processing program | |
| US20120271735A1 (en) | Method and apparatus for providing an electronic commerce platform | |
| CN113312527B (en) | Purchase data processing method and device, computer equipment and storage medium | |
| TW202044173A (en) | Computer-implemented system, computer-implemented method for arranging hyperlinks on a graphical user -interfaceandnon-transitory computer-readable storage medium | |
| JP2002149945A (en) | Sales price determination method and apparatus, and storage medium storing sales price determination program | |
| WO2023192735A1 (en) | Systems and methods for providing product data on mobile user interfaces | |
| JP7339688B2 (en) | Space station-based product resale method, system and recording medium | |
| US12051098B2 (en) | Computing system and method for accomplishing a transaction through a proxy system | |
| CN115907555A (en) | Supplier selection method, device, storage medium and electronic equipment | |
| CN114549127B (en) | Order object replacement method, device, electronic equipment and computer storage medium | |
| CN114549126B (en) | Order submission method, device, electronic device and computer-readable storage medium | |
| CN114219589B (en) | Virtual entity object generation and page display method and device and electronic equipment | |
| US20130254019A1 (en) | User level incremental revenue and conversion prediction for internet marketing display advertising | |
| US20160300271A1 (en) | System for offer and acceptance based online classified ads | |
| JP5506123B2 (en) | ADVERTISING SYSTEM, ADVERTISING SYSTEM CONTROL METHOD, PROGRAM, AND INFORMATION STORAGE MEDIUM | |
| KR100486419B1 (en) | A method for providing an on-line service of comparing prices therebetween and a system thereof | |
| KR101096405B1 (en) | Online shopping mediation method and online shopping mediation system | |
| KR101153518B1 (en) | A method for providing an on-line shopping search service and a system thereof | |
| CN114997942A (en) | Information providing method and device, server and terminal | |
| CN113379557A (en) | Intelligent gift matching method and system based on space station and storage medium | |
| KR100707724B1 (en) | Online shopping mediation method and online shopping mediation system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |
