







技术领域technical field
本发明涉及计算机技术领域,具体涉及一种订单提交方法、装置和电子设备和计算机可读存储介质。The present invention relates to the field of computer technology, and in particular, to an order submission method, apparatus, electronic device and 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 purchase 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 order characteristics, which is cumbersome and inefficient. Therefore, the existing technology cannot better meet the needs of purchasing multiple commodities at one time in the real-time distribution scenario.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,提出了本发明实施例以便提供一种克服上述问题或者至少部分地解决上述问题的订单提交方法、装置、电子设备和计算机可读存储介质。In view of the above problems, embodiments of the present invention are proposed to provide an order submission 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, an order submission method is provided, including:
获取终端发送的订单结算请求,所述订单结算请求为所述终端将虚拟实体对象中的多个对象加入购物车后发送的请求;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, 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 a set of all objects in the order;
获取所述终端发送的提交订单请求,所述提交订单请求指示被选择的实体对象组合;obtaining an order submission request sent by the terminal, where the order submission request indicates the selected entity object combination;
根据所述提交订单请求所指示的被选择的实体对象组合,提交所述订单。The order is submitted according to the selected entity object combination indicated by the submit order request.
在一些实施例中,所述满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,所述第一实体对象组合是所述订单的总价格最低的实体对象组合,所述第二实体对象组合是所述订单的总配送时长最短的实体对象组合,所述第三对象组合是为所述订单供应对象的所有所述实体对象的数量最少的实体对象组合。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.
在一些实施例中,当所述实体对象组合为所述第一实体对象组合时,所述根据所述订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, when the entity object combination is the first entity object combination, determining, according to the order settlement request, multiple entity object combinations that meet the conditions, including:
根据所述订单结算请求,确定至少供应所述对象集中的一个对象的实体对象集,以及确定每个对象在供应该对象的所有实体对象处的价格;determining a set of entity objects supplying at least one of the objects in the object set based on the order settlement request, and determining the price of each object at all entity objects supplying the object;
根据所述实体对象集,确定所有可能的实体对象组合,所述所有可能的实体对象组合包括每一种能够供应所述对象集的实体对象组合;from the entity object set, determining all possible entity object combinations, the all possible entity object combinations including each entity object combination capable of supplying the object set;
根据每个对象在供应该对象的所有实体对象处的价格、实体对象的物流配送费和用于抵扣结算金额的虚拟资源,计算所有可能的所述实体对象组合中每种实体对象组合下的订单的总价格;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 price of each physical object combination in all possible combinations of the physical objects. the total price of the order;
将所述订单的总价格最低的实体对象组合确定为所述第一实体对象组合。The entity object combination with the lowest total price of the order is determined as the first entity object combination.
在一些实施例中,当所述实体对象组合为所述第二实体对象组合时,所述根据所述订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, when the entity object combination is the second entity object combination, the determining, according to the order settlement request, multiple entity object combinations that meet the conditions, including:
根据所述订单结算请求,确定至少供应所述对象集中的一个对象的实体对象集、所述实体对象集中每个所述实体对象的配送时长以及所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象;According to the order settlement request, determine the entity object set that supplies at least one object in the object set, the delivery time of each entity object in the entity object set, and the capacity of each entity object in the entity object set. an object in said set of objects offered;
根据所述实体对象集、所述配送时长以及所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定所述订单的总配送时长最短的第二实体对象集;According to the entity object set, the delivery duration, and the objects in the object set that each of the entity objects in the entity object set can supply, determine a second entity object set with the shortest total delivery duration of the order;
根据所述第二实体对象集确定所述第二实体对象组合。The second entity object combination is determined according to the second entity object set.
在一些实施例中,所述根据所述实体对象集、所述配送时长以及所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定所述订单的总配送时长最短的第二实体对象集,包括:In some embodiments, determining the total delivery duration of the order according to the entity object set, the delivery duration and the objects in the object set that each of the entity objects in the entity object set can supply The shortest set of second entity objects, including:
将所述实体对象集中的实体对象按照其配送时长升序排列,其中第一实体对象的配送时长最短;Arranging 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;
从所述第一实体对象开始,依次确认每个实体对象所能供应的所述对象集中的对象,重复该步骤直至所述对象集中的每个对象均被确认有实体对象能供应;Starting from the first entity object, sequentially confirming the objects in the object set that can be supplied by each entity object, and repeating this step until each object in the object set is confirmed to have an entity object that can be supplied;
将所述对象集中的每个对象均被确认有实体对象能供应时的实体对象及之前的实体对象确定为所述订单的总配送时长最短的第二实体对象集。The entity object when each object in the object set is confirmed to be available for supply and the previous entity object is determined as the second entity object set with the shortest total delivery time of the order.
在一些实施例中,所述从所述第一实体对象开始,依次确认每个实体对象所能供应的所述对象集中的对象,重复该步骤直至所述对象集中的每个对象均被确认有实体对象能供应,包括:In some embodiments, starting from the first entity object, sequentially confirming the objects in the object set that can be supplied by each entity object, and repeating this step until each object in the object set is confirmed to have Entity objects can be provisioned, including:
N为正整数,N=1;N is a positive integer, N=1;
确定步骤:确定所述第N实体对象所能供应的所述对象集中的对象,将所述第N实体对象所能供应的对象从所述对象集中删除;Determining step: determining the objects in the object set that the Nth entity object can supply, and deleting the objects that the Nth entity object can supply from the object set;
调整步骤:N=N+1;Adjustment steps: N=N+1;
重复执行所述确定步骤和所述调整步骤,直至所述对象集为空。The determining step and the adjusting step are repeatedly performed until the object set is empty.
在一些实施例中,所述根据所述第二实体对象集确定所述第二实体对象组合,包括:In some embodiments, the determining the second entity object combination according to the second entity object set includes:
根据所述第二实体对象集,确定所有可能的实体对象组合,所述所有可能的实体对象组合包括每一种能够供应所述对象集的实体对象组合;according to the second entity object set, determining all possible entity object combinations, the all possible entity object combinations including each entity object combination capable of supplying the object set;
从所述所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格;From all possible entity object combinations, calculate the total price of orders placed under each entity object combination;
将所述订单的总价格最低的实体对象组合确定为所述第二实体对象组合。The entity object combination with the lowest total price of the order is determined as the second entity object combination.
在一些实施例中,当所述实体对象组合为所述第三实体对象组合时,所述根据所述订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, when the entity object combination is the third entity object combination, the determining, according to the order settlement request, multiple entity object combinations that meet the conditions, including:
根据所述订单结算请求,确定至少供应所述对象集中的一个对象的实体对象集以及所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象;determining, according to the order settlement request, an entity object set that supplies at least one object in the object set and an object in the object set that each of the entity objects in the entity object set can supply;
根据实体对象集、所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定实体对象数量最少的第三实体对象集;According to the entity object set and the objects in the object set that each of the entity objects in the entity object set can supply, determine a third entity object set with the smallest number of entity objects;
根据所述第三实体对象集确定所述第三实体对象组合。The third entity object combination is determined according to the third entity object set.
在一些实施例中,所述根据实体对象集、所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定实体对象数量最少的第三实体对象集,包括:In some embodiments, determining 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 of the entity objects in the entity object set can supply, including:
将所述实体对象集中的供应所述对象集中的对象的数量最多的实体对象加入第三实体对象集,将该实体对象从所述实体对象集删除,以及将该实体对象所供应的所述对象集中的对象从所述对象集删除,重复该步骤直至所述对象集为空;adding the entity object in the entity object set that supplies the largest number of objects in the object set to a third entity object set, removing the entity object from the entity object set, and the object supplied by the entity object The objects in the set are deleted from the set of objects, and this step is repeated until the set of objects is empty;
将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。The third entity object set at this time is determined as the third entity object set with the smallest number of entity objects.
在一些实施例中,所述根据实体对象集、所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定实体对象数量最少的第三实体对象集,包括:In some embodiments, determining 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 of the entity objects in the entity object set can supply, including:
将所述实体对象集中的实体对象按照其供应的所述对象集中的对象的数量降序排列;arranging the entity objects in the entity object set in descending order according to the number of objects in the object set it supplies;
将排第一位的实体对象加入第三实体对象集,将该实体对象从所述实体对象集删除,以及将该实体对象所供应的所述对象集中的对象从所述对象集删除,重复该步骤直至所述对象集为空;adding the first-ranked entity object to a third entity object set, deleting the entity object from the entity object set, and deleting objects in the object set supplied by the entity object from the object set, repeating the process. steps until the object set is empty;
将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。The third entity object set at this time is determined as the third entity object set with the smallest number of entity objects.
在一些实施例中,所述根据所述第三实体对象集确定所述第三实体对象组合,包括:In some embodiments, the determining the third entity object combination according to the third entity object set includes:
根据所述第三实体对象集,确定所有可能的实体对象组合,所述所有可能的实体对象组合包括每一种能够供应所述对象集的实体对象组合;determining all possible entity object combinations according to the third entity object set, the all possible entity object combinations including each entity object combination capable of supplying the object set;
从所述所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格;From all possible entity object combinations, calculate the total price of orders placed under each entity object combination;
将所述订单的总价格最低的实体对象组合确定为所述第三实体对象组合。The entity object combination with the lowest total price of the order is determined as the third entity object combination.
在一些实施例中,所述方法还包括:将所述第一实体对象组合的订单的总价格、所述第二实体对象组合的订单的总配送时长和/或所述第三实体对象组合的实体对象的数量发送给所述终端,以使所述终端显示所述实体对象组合时显示所述第一实体对象组合的订单的总价格、所述第二实体对象组合的订单的总配送时长和/或所述第三实体对象组合的实体对象的数量。In some embodiments, the method further comprises: combining 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 third entity object combination. The number of entity objects is sent to the terminal, so that when the terminal displays the entity object combination, 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 combined by the third entity object.
在一些实施例中,所述虚拟实体对象通过如下步骤生成: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.
根据本发明实施例的第二方面,提供了一种订单提交方法,包括:According to a second aspect of the embodiments of the present invention, an order submission method is provided, including:
在将虚拟实体对象中的多个对象加入购物车后,向服务器发送订单结算请求;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 Determine and send to the terminal, the entity object combination indicates an entity object capable of completely supplying an object set and an object supplied by each of the entity objects, the object set being a set of all objects in the order;
响应于选择所述满足条件的多种实体对象组合的其中一种所述实体对象组合的操作,向所述服务器发送提交订单请求,以使所述服务器根据所述提交订单请求所指示的被选择的实体对象组合提交所述订单;所述提交订单请求指示被选择的实体对象组合。In response to the operation of selecting one of the entity object combinations that meet the condition, sending a submit order request to the server, so that the server is selected according to the submission order request. The entity object combination of the submit the order; the submit order request indicates the selected entity object combination.
在一些实施例中,所述满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,所述第一实体对象组合是所述订单的总价格最低的实体对象组合,所述第二实体对象组合是所述订单的总配送时长最短的实体对象组合,所述第三对象组合是为所述订单供应对象的所有所述实体对象的数量最少的实体对象组合。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.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
接收所述服务器发送的所述第一实体对象组合的订单的总价格、所述第二实体对象组合的订单的总配送时长和/或所述第三实体对象组合的实体对象的数量;receiving 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 sent by the server;
显示所述实体对象组合时显示所述第一实体对象组合的订单的总价格、所述第二实体对象组合的订单的总配送时长和/或所述第三实体对象组合的实体对象的数量。When displaying the entity object combination, 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 are displayed.
在一些实施例中,所述虚拟实体对象由所述服务器通过如下步骤生成:In some embodiments, the virtual entity object is generated by the server through 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.
根据本发明实施例的第三方面,提供了一种订单提交装置,包括:According to a third aspect of the embodiments of the present invention, an order submission device is provided, comprising:
第一获取模块,用于获取终端发送的订单结算请求,所述订单结算请求为所述终端将虚拟实体对象中的多个对象加入购物车后发送的请求;a first obtaining module, configured to obtain an order settlement request sent by the terminal, where the order settlement request is a request sent by the terminal after adding a plurality of objects in the virtual entity object to a shopping cart;
确定模块,用于根据所述订单结算请求,确定满足条件的多种实体对象组合,将所述实体对象组合发送给所述终端,以使所述终端响应于显示其中一种所述实体对象组合的操作而显示所述实体对象组合,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合;a determining module, configured to determine a plurality of entity object combinations that meet the conditions according to the order settlement request, and send the entity object combinations to the terminal, so that the terminal responds to displaying one of the entity object combinations operation to display the entity object combination, the entity object combination indicating 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;
第二获取模块,用于获取所述终端发送的提交订单请求,所述提交订单请求指示被选择的实体对象组合;a second acquiring module, configured to acquire a request for submitting an order sent by the terminal, where the request for submitting an order indicates the selected entity object combination;
提交模块,用于根据所述提交订单请求所指示的被选择的实体对象组合,提交所述订单。A submission module, configured to submit the order according to the selected entity object combination indicated by the order submission request.
在一些实施例中,所述满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,所述第一实体对象组合是所述订单的总价格最低的实体对象组合,所述第二实体对象组合是所述订单的总配送时长最短的实体对象组合,所述第三对象组合是为所述订单供应对象的所有所述实体对象的数量最少的实体对象组合。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.
在一些实施例中,当所述实体对象组合为所述第一实体对象组合时,所述根据所述订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, when the entity object combination is the first entity object combination, determining, according to the order settlement request, multiple entity object combinations that meet the conditions, including:
根据所述订单结算请求,确定至少供应所述对象集中的一个对象的实体对象集,以及确定每个对象在供应该对象的所有实体对象处的价格;determining a set of entity objects supplying at least one of the objects in the object set based on the order settlement request, and determining the price of each object at all entity objects supplying the object;
根据所述实体对象集,确定所有可能的实体对象组合,所述所有可能的实体对象组合包括每一种能够供应所述对象集的实体对象组合;from the entity object set, determining all possible entity object combinations, the all possible entity object combinations including each entity object combination capable of supplying the object set;
根据每个对象在供应该对象的所有实体对象处的价格、实体对象的物流配送费和用于抵扣结算金额的虚拟资源,计算所有可能的所述实体对象组合中每种实体对象组合下的订单的总价格;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 price of each physical object combination in all possible combinations of the physical objects. the total price of the order;
将所述订单的总价格最低的实体对象组合确定为所述第一实体对象组合。The entity object combination with the lowest total price of the order is determined as the first entity object combination.
在一些实施例中,当所述实体对象组合为所述第二实体对象组合时,所述根据所述订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, when the entity object combination is the second entity object combination, the determining, according to the order settlement request, multiple entity object combinations that meet the conditions, including:
根据所述订单结算请求,确定至少供应所述对象集中的一个对象的实体对象集、所述实体对象集中每个所述实体对象的配送时长以及所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象;According to the order settlement request, determine the entity object set that supplies at least one object in the object set, the delivery time of each entity object in the entity object set, and the capacity of each entity object in the entity object set. an object in said set of objects offered;
根据所述实体对象集、所述配送时长以及所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定所述订单的总配送时长最短的第二实体对象集;According to the entity object set, the delivery duration, and the objects in the object set that each of the entity objects in the entity object set can supply, determine a second entity object set with the shortest total delivery duration of the order;
根据所述第二实体对象集确定所述第二实体对象组合。The second entity object combination is determined according to the second entity object set.
在一些实施例中,所述根据所述实体对象集、所述配送时长以及所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定所述订单的总配送时长最短的第二实体对象集,包括:In some embodiments, determining the total delivery duration of the order according to the entity object set, the delivery duration and the objects in the object set that each of the entity objects in the entity object set can supply The shortest set of second entity objects, including:
将所述实体对象集中的实体对象按照其配送时长升序排列,其中第一实体对象的配送时长最短;Arranging 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;
从所述第一实体对象开始,依次确认每个实体对象所能供应的所述对象集中的对象,重复该步骤直至所述对象集中的每个对象均被确认有实体对象能供应;Starting from the first entity object, sequentially confirming the objects in the object set that can be supplied by each entity object, and repeating this step until each object in the object set is confirmed to have an entity object that can be supplied;
将所述对象集中的每个对象均被确认有实体对象能供应时的实体对象及之前的实体对象确定为所述订单的总配送时长最短的第二实体对象集。The entity object when each object in the object set is confirmed to be available for supply and the previous entity object is determined as the second entity object set with the shortest total delivery time of the order.
在一些实施例中,所述从所述第一实体对象开始,依次确认每个实体对象所能供应的所述对象集中的对象,重复该步骤直至所述对象集中的每个对象均被确认有实体对象能供应,包括:In some embodiments, starting from the first entity object, sequentially confirming the objects in the object set that can be supplied by each entity object, and repeating this step until each object in the object set is confirmed to have Entity objects can be provisioned, including:
N为正整数,N=1;N is a positive integer, N=1;
确定步骤:确定所述第N实体对象所能供应的所述对象集中的对象,将所述第N实体对象所能供应的对象从所述对象集中删除;Determining step: determining the objects in the object set that the Nth entity object can supply, and deleting the objects that the Nth entity object can supply from the object set;
调整步骤:N=N+1;Adjustment steps: N=N+1;
重复执行所述确定步骤和所述调整步骤,直至所述对象集为空。The determining step and the adjusting step are repeatedly performed until the object set is empty.
在一些实施例中,所述根据所述第二实体对象集确定所述第二实体对象组合,包括:In some embodiments, the determining the second entity object combination according to the second entity object set includes:
根据所述第二实体对象集,确定所有可能的实体对象组合,所述所有可能的实体对象组合包括每一种能够供应所述对象集的实体对象组合;according to the second entity object set, determining all possible entity object combinations, the all possible entity object combinations including each entity object combination capable of supplying the object set;
从所述所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格;From all possible entity object combinations, calculate the total price of orders placed under each entity object combination;
将所述订单的总价格最低的实体对象组合确定为所述第二实体对象组合。The entity object combination with the lowest total price of the order is determined as the second entity object combination.
在一些实施例中,当所述实体对象组合为所述第三实体对象组合时,所述根据所述订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, when the entity object combination is the third entity object combination, the determining, according to the order settlement request, multiple entity object combinations that meet the conditions, including:
根据所述订单结算请求,确定至少供应所述对象集中的一个对象的实体对象集以及所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象;determining, according to the order settlement request, an entity object set that supplies at least one object in the object set and an object in the object set that each of the entity objects in the entity object set can supply;
根据实体对象集、所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定实体对象数量最少的第三实体对象集;According to the entity object set and the objects in the object set that each of the entity objects in the entity object set can supply, determine a third entity object set with the smallest number of entity objects;
根据所述第三实体对象集确定所述第三实体对象组合。The third entity object combination is determined according to the third entity object set.
在一些实施例中,所述根据实体对象集、所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定实体对象数量最少的第三实体对象集,包括:In some embodiments, determining 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 of the entity objects in the entity object set can supply, including:
将所述实体对象集中的供应所述对象集中的对象的数量最多的实体对象加入第三实体对象集,将该实体对象从所述实体对象集删除,以及将该实体对象所供应的所述对象集中的对象从所述对象集删除,重复该步骤直至所述对象集为空;adding the entity object in the entity object set that supplies the largest number of objects in the object set to a third entity object set, removing the entity object from the entity object set, and the object supplied by the entity object The objects in the set are deleted from the set of objects, and this step is repeated until the set of objects is empty;
将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。The third entity object set at this time is determined as the third entity object set with the smallest number of entity objects.
在一些实施例中,所述根据实体对象集、所述实体对象集中每个所述实体对象所能供应的所述对象集中的对象,确定实体对象数量最少的第三实体对象集,包括:In some embodiments, determining 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 of the entity objects in the entity object set can supply, including:
将所述实体对象集中的实体对象按照其供应的所述对象集中的对象的数量降序排列;arranging the entity objects in the entity object set in descending order according to the number of objects in the object set it supplies;
将排第一位的实体对象加入第三实体对象集,将该实体对象从所述实体对象集删除,以及将该实体对象所供应的所述对象集中的对象从所述对象集删除,重复该步骤直至所述对象集为空;adding the first-ranked entity object to a third entity object set, deleting the entity object from the entity object set, and deleting objects in the object set supplied by the entity object from the object set, repeating the process. steps until the object set is empty;
将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。The third entity object set at this time is determined as the third entity object set with the smallest number of entity objects.
在一些实施例中,所述根据所述第三实体对象集确定所述第三实体对象组合,包括:In some embodiments, the determining the third entity object combination according to the third entity object set includes:
根据所述第三实体对象集,确定所有可能的实体对象组合,所述所有可能的实体对象组合包括每一种能够供应所述对象集的实体对象组合;determining all possible entity object combinations according to the third entity object set, the all possible entity object combinations including each entity object combination capable of supplying the object set;
从所述所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格;From all possible entity object combinations, calculate the total price of orders placed under each entity object combination;
将所述订单的总价格最低的实体对象组合确定为所述第三实体对象组合。The entity object combination with the lowest total price of the order is determined as the third entity object combination.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further comprises:
第一发送模块,用于将所述第一实体对象组合的订单的总价格、所述第二实体对象组合的订单的总配送时长和/或所述第三实体对象组合的实体对象的数量发送给所述终端,以使所述终端显示所述实体对象组合时显示所述第一实体对象组合的订单的总价格、所述第二实体对象组合的订单的总配送时长和/或所述第三实体对象组合的实体对象的数量。A first sending module, configured to send 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 that when the terminal displays the entity object combination, it 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 first entity object combination. The number of entity objects combined with three entity objects.
在一些实施例中,所述虚拟实体对象通过如下步骤生成: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;
获取实体对象的多个第二对象的信息,得到第二对象集,其中所述实体对象为多个,每个所述实体对象关联有至少一个第二对象;obtaining information of multiple second objects of the entity object, and obtaining a second object set, wherein the entity objects are multiple, and each of the entity objects 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.
根据本发明实施例的第四方面,提供了一种订单提交装置,包括:According to a fourth aspect of the embodiments of the present invention, an order submission device is provided, comprising:
第二发送模块,用于在将虚拟实体对象中的多个对象加入购物车后,向服务器发送订单结算请求;The second sending module is configured to send an order settlement request to the server after adding multiple objects in the virtual entity object to the shopping cart;
显示模块,用于响应于显示满足条件的多种实体对象组合的其中一种所述实体对象组合的操作,显示所述实体对象组合,所述满足条件的多种实体对象组合为所述服务器根据所述订单结算请求确定并发送给所述终端,所述实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,所述对象集为所述订单中的所有对象的集合;The display module is configured to display the entity object combination in response to the operation of displaying one of the entity object combinations that meet the condition, and the entity object combination that meets the condition is the server according to the The order settlement request is determined and sent to the terminal, and the entity object combination indicates an entity object capable of supplying a complete set of objects and objects supplied by each entity object therein, and the object set is all objects in the order collection;
第三发送模块,用于响应于选择所述满足条件的多种实体对象组合的其中一种所述实体对象组合的操作,向所述服务器发送提交订单请求,以使所述服务器根据所述提交订单请求所指示的被选择的实体对象组合提交所述订单;所述提交订单请求指示被选择的实体对象组合。The third sending module is configured to send an order submission request to the server in response to the operation of selecting one of the entity object combinations that meet the conditions, so that the server can submit an order according to the submission The selected entity object combination indicated by the order request submits the order; the submit order request indicates the selected entity object combination.
在一些实施例中,所述满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,所述第一实体对象组合是所述订单的总价格最低的实体对象组合,所述第二实体对象组合是所述订单的总配送时长最短的实体对象组合,所述第三对象组合是为所述订单供应对象的所有所述实体对象的数量最少的实体对象组合。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.
在一些实施例中,所述显示模块还用于:In some embodiments, the display module is also used to:
接收所述服务器发送的所述第一实体对象组合的订单的总价格、所述第二实体对象组合的订单的总配送时长和/或所述第三实体对象组合的实体对象的数量;receiving 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 sent by the server;
显示所述实体对象组合时显示所述第一实体对象组合的订单的总价格、所述第二实体对象组合的订单的总配送时长和/或所述第三实体对象组合的实体对象的数量。When displaying the entity object combination, 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 are displayed.
在一些实施例中,所述虚拟实体对象由所述服务器通过如下步骤生成:In some embodiments, the virtual entity object is generated by the server through 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.
根据本发明实施例的第五方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;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 operations corresponding to the above-mentioned order submission method.
根据本发明实施例的第六方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行上述订单提交方法对应的操作。According to a sixth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, where at least one executable instruction is stored in the computer-readable storage medium, and the executable instruction enables a processor to execute the above order submission method corresponding to operation.
根据本发明实施例的订单提交方法,根据用户提交的订单结算请求确定满足条件的多种实体对象组合并在终端展示给用户,用户选择其中一种实体对象组合后,根据用户的选择提交订单。这样,通过系统自动计算帮助用户快速找到满足条件的下单实体对象组合,以使用户可以根据实际需求进行选择,提升了下单效率、操作便利性和计算的准确度。According to the order submission method of the embodiment of the present invention, multiple entity object combinations that meet the conditions are determined according to the order settlement request submitted by the user and displayed to the user on the terminal. After the user selects one of the entity object combinations, the order is submitted 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.
上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明实施例的具体实施方式。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 an order submission method 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 an order submission method provided by an embodiment of the present invention;
图5是本发明实施例提供的订单提交方法的流程图;5 is a flowchart of an order submission method provided by an embodiment of the present invention;
图6是本发明实施例提供的订单提交装置的结构示意图;6 is a schematic structural diagram of an order submission device provided by an embodiment of the present invention;
图7是本发明实施例提供的订单提交装置的结构示意图;7 is a schematic structural diagram of an order submission device provided by an embodiment of the present invention;
图8是本发明实施例提供的电子设备的结构示意图。FIG. 8 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 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 the user needs to select the supplier of each commodity according to his needs, the embodiment of the present invention also provides an order submission method, which determines a variety of conditions that meet the conditions according to the order settlement request submitted by the user. The entity objects are combined and displayed to the user at the terminal. After the user selects one of the entity object combinations, the order is submitted 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.
为便于理解,首先给出本发明实施例的应用场景。图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 an order submission method 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:
步骤201:用户侧终端将虚拟实体对象中的多个对象加入购物车。Step 201: The user-side terminal adds multiple objects in the virtual entity object to the shopping cart.
图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:
步骤301:用户侧终端响应于用户的操作,向平台服务器发送进入虚拟实体对象的页面的请求。Step 301: 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.
步骤302:平台服务器从标准对象库获取多个第一对象的信息,得到第一对象集。Step 302: The platform server obtains 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 the plurality of first objects, the first objects that meet the requirements of the platform 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 the 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.
本步骤的实施顺序不限,可以预先执行,从而预先得到并存储第一对象集,以备后续所需,后续在用户侧终端执行步骤301后,平台服务器直接获取预先存储的第一对象集。本领域技术人员应当连接,也可以在每次用户侧终端执行步骤301之后执行步骤302,或者在用户侧终端打开该商品零售实时配送的应用软件(Application,APP)后即执行步骤302,本发明对此不做限制。当然,预先执行步骤302且存储第一对象集,可以避免每次用户在请求进入虚拟实体对象时重复执行该步骤,提升系统效率。The order of implementation 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 301 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 302 may also be performed after each user-side terminal performs step 301, or step 302 is performed 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 302 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.
步骤303:平台服务器获取用户的配送位置信息。Step 303: 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.
步骤304:平台服务器根据配送位置信息确定配送范围覆盖配送位置的多个实体对象。Step 304: 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.
因此,步骤304中确定的实体对象为多个,且每个实体对象关联有至少一个第二对象。可以理解的是,此处“关联”是指该实体对象售卖该第二对象。通常情况下,单个实体对象关联有多个第二对象。实体对象及其关联的第二对象信息由实体对象侧的设备预先上传至平台服务器。Therefore, there are multiple entity objects determined in step 304, 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.
步骤305:平台服务器分别获取每个实体对象所关联的第二对象的信息,得到第二对象集。Step 305: The platform server obtains the information of the second object associated with each entity object respectively, and obtains the second object set.
本步骤中,根据步骤304确定的实体对象,平台服务器获取这些实体对象所关联的第二对象的信息,从而得到第二对象集。第二对象的信息同样包括第二对象的图片、名称、品牌、规格和图形码等。在获取多个第二对象的信息后,还可以通过选品等工作,筛选出满足平台要求的第二对象,加入第二对象集。第二对象集中的对象为可以为该用户的配送位置提供商品售卖和配送的实体对象中的对象。第二对象集中包括多个第二对象的上述信息。同一个对象的图形码具有唯一性,也即相同的第二对象的图形码相同,通过图形码可以对第二对象集中的对象去重。去重操作可以包括:In this step, according to the entity objects determined in step 304, 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 requirements of the platform through work such as product selection, and add them to the second object set. 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.
步骤306:平台服务器从第一对象集和第二对象集中,确定出既属于第一对象集又属于第二对象集的对象,得到第三对象集。Step 306: 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.
步骤306进一步包括:Step 306 further includes:
步骤3061:若第一对象集中的第一对象的图形码和第二对象集中的第二对象的图形码相同,将第一对象或第二对象确定为既属于第一对象集又属于第二对象集的对象。Step 3061: 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.
步骤306为对第一对象集和第二对象集中的对象进行取交集的过程,根据图形码对两个对象集取交集,确定出既属于第一对象集又属于第二对象集的对象,得到第三对象集。第三对象集中的对象为可以配送至该用户的配送位置的对象,且均属于标准对象库中的标准对象。第三对象集中包括多个对象的图片、名称、品牌、规格和图形码等信息。Step 306 is the process of taking the intersection of the objects in the first object set and the second object set, taking the intersection of the two object sets according to the graphic code, and determining the objects that belong to both the first object set and 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.
步骤307:平台服务器根据第三对象集,生成虚拟实体对象。Step 307: 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.
在一些实施例中,步骤307还包括:In some embodiments, step 307 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.
步骤308:用户侧终端显示虚拟实体对象的页面。Step 308: 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, merchant matching can be performed automatically by the platform 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.
用户侧终端可以将上述生成的虚拟实体对象中的多个对象加入购物车。The user-side terminal may add multiple objects in the above-generated virtual entity objects to the shopping cart.
步骤202:用户侧终端向平台服务器发送订单结算请求。Step 202: 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.
步骤203:平台服务器获取终端发送的订单结算请求,根据订单结算请求,确定满足条件的多种实体对象组合,将实体对象组合发送给终端。Step 203: 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, and can only be used after being exchanged for other red envelopes. 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.
例如,至少供应对象集中的一个对象的实体对象集包括实体对象T1、T2、T3、T4和T5,对象集中的对象包括G1~G11。T1能供应G1~G7,T2能供应G1、G4、G6~G10,T3能供应G3、G5~G7、G9~G11。For example, the entity object set that supplies at least one object in the object set includes entity objects T1, T2, T3, T4, and T5, and the objects in the object set include G1 to G11. T1 can supply G1~G7, T2 can supply G1, G4, G6~G10, T3 can supply G3, G5~G7, G9~G11.
通常对于同一配送位置,每个实体对象中任意对象的配送时长是固定的,因此此处直接获取实体对象集中每个实体对象的配送时长即可。当然,如果实体对象中对于同一配送位置不同对象的配送时长不同时,则需要获取该实体对象对于其所提供的每个对象各自的配送时长。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;
例如,至少供应对象集中的一个对象的实体对象集包括实体对象T1、T2、T3、T4和T5。其中第一实体对象为T1,第二实体对象为T2,以此类推。配送时长的长短关系为T1<T2<T3<T4<T5。For example, the entity object set that supplies at least one object in the object set includes entity objects T1, T2, T3, T4, and T5. The first entity object is T1, the second entity object is T2, and so on. The length relationship of delivery time is T1<T2<T3<T4<T5.
步骤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;
从T1开始,依次确认上述实体对象所能供应的对象,例如T1能供应G1~G6,T2能够供应G7~G9,T3能够供应G10~G11。则到T3时对象集中的每个对象均被确认有实体对象能供应。后续的T4和T5则不用再进行确认。Starting from T1, confirm the objects that can be supplied by the above-mentioned physical objects in sequence. For example, T1 can supply G1-G6, T2 can supply G7-G9, and T3 can supply G10-G11. Then by T3, each object in the object set is confirmed to have an entity object that can be supplied. Subsequent T4 and T5 do not need to be confirmed.
步骤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.
每个对象均被确认有实体对象能供应时的实体对象是T3,T3及之前的实体对象包括T1、T2和T3。订单的总配送时长最短的第二实体对象集包括T1~T3。The entity object when each object is confirmed to have the entity object available is T3, and the entity objects before T3 include T1, T2 and T3. The second entity object set with the shortest total delivery time of the order includes T1-T3.
通过上述按照其配送时长将实体对象排序,并依次确认每个实体对象所能供应的对象集中的对象的方式,可以较快确定第二实体对象集,当对象集中的每个对象均被确认有实体对象能供应就无需再确定剩余的实体对象供应的对象,节省了确定时间,提交系统效率。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, the third entity object set with the smallest quantity of all the entity objects that are the order supply objects can be accurately determined, and the third entity object combination that can be selected by the user can be determined therefrom.
其中,步骤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.
例如,至少供应对象集中的一个对象的实体对象集包括实体对象T1、T2、T3、T4和T5,对象集中的对象包括G1~G11。供应对象集中的对象的数量最多的实体对象为T1,T1能供应G1~G8,T1供应对象集中的对象的数量为8,将T1加入第三实体对象集,并将T1从上述实体对象集删除,实体对象集内的剩余实体对象为T2、T3、T4和T5,以及将T1所供应的G1~G8从对象集删除,对象集内的剩余对象为G9~G11。接下来实体对象集中供应对象集中的对象的数量最多的实体对象为T2,T2能供应G1、G4、G6~G10,T2供应对象集中的对象的数量为7,将T2加入第三实体对象集,并将T2从上述实体对象集删除,实体对象集内的剩余实体对象为T3、T4和T5,以及将T2所供应的G9~G10从对象集删除,对象集内的剩余对象为G11。接下来实体对象集中供应对象集中的对象的数量最多的实体对象为T3,T3能供应G3、G5~G7、G10~G11,T3供应对象集中的对象的数量为6,将T3加入第三实体对象集,并将T3从上述实体对象集删除,实体对象集内的剩余实体对象为T4和T5,以及将T3所供应的G11从对象集删除,对象集内的剩余对象为0,也即对象集为空。For example, the entity object set that supplies at least one object in the object set includes entity objects T1, T2, T3, T4, and T5, and the objects in the object set include G1 to G11. The entity object with the largest number of objects in the supply object set is T1, T1 can supply G1 to G8, and the number of objects in the T1 supply object set is 8, add T1 to the third entity object set, and delete T1 from the above entity object set , the remaining entity objects in the entity object set are T2, T3, T4 and T5, and the G1-G8 supplied by T1 are deleted from the object set, and the remaining objects in the object set are G9-G11. Next, the entity object with the largest number of objects in the supply object set in the entity object set is T2, T2 can supply G1, G4, G6~G10, and the number of objects in the supply object set in T2 is 7, and T2 is added to the third entity object set, T2 is deleted from the above entity object set, the remaining entity objects in the entity object set are T3, T4 and T5, and G9-G10 supplied by T2 is deleted from the object set, and the remaining object in the object set is G11. Next, the entity object with the largest number of objects in the supply object set in the entity object set is T3, T3 can supply G3, G5~G7, G10~G11, the number of objects in the T3 supply object set is 6, and T3 is added to the third entity object set, and delete T3 from the above entity object set, the remaining entity objects in the entity object set are T4 and T5, and delete G11 supplied by T3 from the object set, the remaining objects in the object set are 0, that is, 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.
此时,第三实体对象集包括实体对象T1、T2和T3,将其确定为实体对象数量最少的第三实体对象集。At this time, the third entity object set includes entity objects T1, T2 and T3, which are determined 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.
例如,至少供应对象集中的一个对象的实体对象集包括实体对象T1、T2、T3、T4和T5,对象集中的对象包括G1~G11。T1供应的对象集中的对象的数量为8,T2供应的对象集中的对象的数量为7、T3供应的对象集中的对象的数量为6、T4供应的对象集中的对象的数量为2,T5供应的对象集中的对象的数量为4,则按照供应的对象集中的对象的数量降序排列实体对象集中的实体对象:T1>T2>T3>T5>T4。For example, the entity object set that supplies at least one object in the object set includes entity objects T1, T2, T3, T4, and T5, and the objects in the object set include G1 to G11. The number of objects in the object set supplied by T1 is 8, the number of objects in the object set supplied by T2 is 7, the number of objects in the object set supplied by T3 is 6, the number of objects in the object set supplied by T4 is 2, and the number of objects in the object set supplied by T5 is 2. The number of objects in the object set is 4, then the entity objects in the entity object set are arranged in descending order according to the number of objects in the supplied object set: T1>T2>T3>T5>T4.
步骤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.
如前步骤e321a,将T1加入第三实体对象集,将该T3述实体对象集删除,以及将T3应的对象集中的对象从对象集删除……直至对象集为空。As in the previous step e321a, T1 is added to the third entity object set, the entity object set described in T3 is deleted, and the objects in the object set corresponding to T3 are deleted from the object set...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 methods 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, there is no need 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.
步骤204:用户侧终端响应于显示其中一种实体对象组合的操作,显示实体对象组合。Step 204: 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 various 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 an 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.
步骤205:用户侧终端响应于选择满足条件的多种实体对象组合的其中一种实体对象组合的操作,向服务器发送提交订单请求。Step 205: 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.
步骤206:平台服务器根据提交订单请求所指示的被选择的实体对象组合提交订单。Step 206: 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.
图4是本发明实施例提供的订单提交方法的流程图。该方法从平台服务器侧进行描述。该方法包括如下步骤:FIG. 4 is a flowchart of an order submission method 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 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;
步骤402:根据订单结算请求,确定满足条件的多种实体对象组合,将实体对象组合发送给终端,以使终端响应于显示其中一种实体对象组合的操作而显示实体对象组合,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合;Step 402: According to the order settlement request, determine multiple entity object combinations that meet the conditions, and send the entity object combination to the terminal, so that the terminal displays the entity object combination in response to the operation of displaying one of the entity object combinations, and the entity object combination indicates Entity objects capable of supplying a complete set of objects and the objects supplied by each entity object, the set of objects being the set of all objects in the order;
步骤403:获取终端发送的提交订单请求,提交订单请求指示被选择的实体对象组合;Step 403: Obtain the order submission request sent by the terminal, and the order submission request indicates the selected entity object combination;
步骤404:根据提交订单请求所指示的被选择的实体对象组合,提交订单。Step 404: Submit an order according to the selected entity object combination indicated by the order submission request.
在一些实施例中,满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,第一实体对象组合是订单的总价格最低的实体对象组合,第二实体对象组合是订单的总配送时长最短的实体对象组合,第三对象组合是为订单供应对象的所有实体对象的数量最少的实体对象组合。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.
在一些实施例中,当实体对象组合为第一实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, 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:
根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集,以及确定每个对象在供应该对象的所有实体对象处的价格;determining a set of entity objects for supplying at least one object in the set of objects, and determining the price of each object at all entity objects supplying the object according to the order settlement request;
根据实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合;According to the entity object set, determine all possible entity object combinations, all possible entity object combinations include each entity object combination that can supply the object set;
根据每个对象在供应该对象的所有实体对象处的价格、实体对象的物流配送费和用于抵扣结算金额的虚拟资源,计算所有可能的实体对象组合中每种实体对象组合下的订单的总价格;According to the price of each object at all the physical objects supplying the object, the logistics and delivery fee of the physical object, and the virtual resources used to deduct the settlement amount, calculate the price of an order placed under each combination of physical objects in all possible combinations of physical objects. Total cost;
将订单的总价格最低的实体对象组合确定为第一实体对象组合。The entity object combination with the lowest total price of the order is determined as the first entity object combination.
在一些实施例中,当实体对象组合为第二实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括: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:
根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集、实体对象集中每个实体对象的配送时长以及实体对象集中每个实体对象所能供应的对象集中的对象;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;
根据实体对象集、配送时长以及实体对象集中每个实体对象所能供应的对象集中的对象,确定订单的总配送时长最短的第二实体对象集;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, determine the second entity object set with the shortest total delivery time of the order;
根据第二实体对象集确定第二实体对象组合。The second entity object combination is determined according to the second entity object set.
在一些实施例中,根据实体对象集、配送时长以及实体对象集中每个实体对象所能供应的对象集中的对象,确定订单的总配送时长最短的第二实体对象集,包括:In some embodiments, the second entity object set with the shortest total delivery time of the order is determined 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, including:
将实体对象集中的实体对象按照其配送时长升序排列,其中第一实体对象的配送时长最短;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;
从第一实体对象开始,依次确认每个实体对象所能供应的对象集中的对象,重复该步骤直至对象集中的每个对象均被确认有实体对象能供应;Starting from the first entity object, confirm the objects in the object set that can be supplied by each entity object in turn, and repeat this step until each object in the object set is confirmed to be supplied by the entity object;
将对象集中的每个对象均被确认有实体对象能供应时的实体对象及之前的实体对象确定为订单的总配送时长最短的第二实体对象集。The entity object when each object in the object set is confirmed to be available for supply and the previous entity object is determined as the second entity object set with the shortest total delivery time of the order.
在一些实施例中,从第一实体对象开始,依次确认每个实体对象所能供应的对象集中的对象,重复该步骤直至对象集中的每个对象均被确认有实体对象能供应,包括:In some embodiments, starting from the first entity object, sequentially confirming the objects in the object set that can be supplied by each entity object, and repeating this step until each object in the object set is confirmed to be supplied by the entity object, including:
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 some embodiments, determining the second entity object combination according to the second entity object set includes:
根据第二实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合;According to the second 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;
从所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格;From all possible entity object combinations, calculate the total price of orders placed under each entity object combination;
将订单的总价格最低的实体对象组合确定为第二实体对象组合。The entity object combination with the lowest total price of the order is determined as the second entity object combination.
在一些实施例中,当实体对象组合为第三实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括: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:
根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集以及实体对象集中每个实体对象所能供应的对象集中的对象;According to the order settlement request, determine the entity object set that supplies 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;
根据实体对象集、实体对象集中每个实体对象所能供应的对象集中的对象,确定实体对象数量最少的第三实体对象集;Determine the third entity object set with the least 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;
根据第三实体对象集确定第三实体对象组合。The third entity object combination is determined according to the third entity object set.
在一些实施例中,根据实体对象集、实体对象集中每个实体对象所能供应的对象集中的对象,确定实体对象数量最少的第三实体对象集,包括:In some embodiments, determining 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, including:
将实体对象集中的供应对象集中的对象的数量最多的实体对象加入第三实体对象集,将该实体对象从实体对象集删除,以及将该实体对象所供应的对象集中的对象从对象集删除,重复该步骤直至对象集为空;adding the entity object in the entity object set with the largest number of objects in the supply object set to the third entity object set, deleting the entity object from the entity object set, and deleting the objects in the object set provided by the entity object from the object set, Repeat this step until the object set is empty;
将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。The third entity object set at this time is determined as the third entity object set with the smallest number of entity objects.
在一些实施例中,根据实体对象集、实体对象集中每个实体对象所能供应的对象集中的对象,确定实体对象数量最少的第三实体对象集,包括:In some embodiments, determining 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, including:
将实体对象集中的实体对象按照其供应的对象集中的对象的数量降序排列;Arrange the entity objects in the entity object set in descending order by the number of objects in the object set it supplies;
将排第一位的实体对象加入第三实体对象集,将该实体对象从实体对象集删除,以及将该实体对象所供应的对象集中的对象从对象集删除,重复该步骤直至对象集为空;Adding the first-ranked entity object to the third entity object set, deleting the entity object from the entity object set, and deleting the objects in the object set provided by the entity object from the object set, repeating the steps until the object set is empty ;
将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。The third entity object set at this time is determined as the third entity object set with the smallest number of entity objects.
在一些实施例中,根据第三实体对象集确定第三实体对象组合,包括:In some embodiments, determining the third entity object combination according to the third entity object set includes:
根据第三实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合;According to the third 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;
从所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格;From all possible entity object combinations, calculate the total price of orders placed under each entity object combination;
将订单的总价格最低的实体对象组合确定为第三实体对象组合。The entity object combination with the lowest total price of the order is determined as the third entity object combination.
在一些实施例中,方法还包括:将第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量发送给终端,以使终端显示实体对象组合时显示第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量。In some embodiments, the method further includes: sending 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 the entity objects of the third entity object combination to the terminal, 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 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;
获取实体对象的多个第二对象的信息,得到第二对象集,其中实体对象为多个,每个实体对象关联有至少一个第二对象;Obtain information of multiple second objects of the entity object, and obtain a second object set, wherein there are multiple entity objects, and each entity object is associated with at least one second object;
从第一对象集和第二对象集中,确定出既属于第一对象集又属于第二对象集的对象,得到第三对象集;From the first object set and the second object set, determine the objects that belong to both the first object set and the second object set, and obtain a third object set;
根据第三对象集,生成虚拟实体对象。Based on the third set of objects, virtual entity objects are generated.
本发明实施例的订单提交方法的具体实现过程和有益效果可参考前述图1-3所示的实施例,此处不再赘述。For the specific implementation process and beneficial effects of the order submission method according to the embodiment of the present invention, reference may be made to the foregoing embodiments shown in FIGS. 1-3 , which will not be repeated here.
图5是本发明实施例提供的订单提交方法的流程图。该方法从用户终端侧进行描述。该方法包括如下步骤:FIG. 5 is a flowchart of an order submission method 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: After adding multiple objects in the virtual entity object to the shopping cart, send an order settlement request to the server;
步骤502:响应于显示满足条件的多种实体对象组合的其中一种实体对象组合的操作,显示实体对象组合,满足条件的多种实体对象组合为服务器根据订单结算请求确定并发送给终端,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合;Step 502: In response to the operation of displaying one of the multiple entity object combinations that meet the conditions, display the entity object combination. The multiple entity object combinations that meet the conditions are determined by the server according to the order settlement request and sent to the terminal. The object combination indicates 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 set of all objects in the order;
步骤503:响应于选择满足条件的多种实体对象组合的其中一种实体对象组合的操作,向服务器发送提交订单请求,以使服务器根据提交订单请求所指示的被选择的实体对象组合提交订单;提交订单请求指示被选择的实体对象组合。Step 503: in response to the operation of selecting one of the entity object combinations that satisfy the condition, sending a submit order request to the server, so that the server submits the order according to the selected entity object combination indicated by the submit order request; The submit order request indicates the selected entity object combination.
在一些实施例中,满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,第一实体对象组合是订单的总价格最低的实体对象组合,第二实体对象组合是订单的总配送时长最短的实体对象组合,第三对象组合是为订单供应对象的所有实体对象的数量最少的实体对象组合。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 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.
在一些实施例中,方法还包括:In some embodiments, the method further includes:
接收服务器发送的第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量;receiving the total price of the order of the first entity object combination sent by the server, 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;
显示实体对象组合时显示第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量。When displaying the entity object combination, 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 are displayed.
在一些实施例中,虚拟实体对象由服务器通过如下步骤生成:In some embodiments, the virtual entity object is generated by the server through the following steps:
从标准对象库获取多个第一对象的信息,得到第一对象集;Obtain the information of multiple first objects from the standard object library, and obtain the first object set;
获取实体对象的多个第二对象的信息,得到第二对象集,其中实体对象为多个,每个实体对象关联有至少一个第二对象;Obtain information of multiple second objects of the entity object, and obtain a second object set, wherein there are multiple entity objects, and each entity object is associated with at least one second object;
从第一对象集和第二对象集中,确定出既属于第一对象集又属于第二对象集的对象,得到第三对象集;From the first object set and the second object set, determine the objects that belong to both the first object set and the second object set, and obtain a third object set;
根据第三对象集,生成虚拟实体对象。Based on the third set of objects, virtual entity objects are generated.
本发明实施例的订单提交方法的具体实现过程和有益效果可参考前述图1-3所示的实施例,此处不再赘述。For the specific implementation process and beneficial effects of the order submission method according to the embodiment of the present invention, reference may be made to the foregoing embodiments shown in FIGS. 1-3 , which will not be repeated here.
与前述订单提交方法实施例相对应,本发明实施例还提供了一种订单提交装置。该装置可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,该装置作为一个逻辑意义上的装置,是通过其所在设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。Corresponding to the foregoing order submission method embodiments, the embodiments of the present invention further provide an order submission apparatus. 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.
图6是本发明实施例提供的订单提交装置的结构示意图。该装置应用于平台服务器,如图6所示,该装置600包括:FIG. 6 is a schematic structural diagram of an order submission apparatus provided by an embodiment of the present invention. The apparatus is applied to a platform server, as shown in FIG. 6 , the apparatus 600 includes:
第一获取模块601,用于获取终端发送的订单结算请求,订单结算请求为终端将虚拟实体对象中的多个对象加入购物车后发送的请求;The first obtaining module 601 is configured to obtain 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;
确定模块602,用于根据订单结算请求,确定满足条件的多种实体对象组合,将实体对象组合发送给终端,以使终端响应于显示其中一种实体对象组合的操作而显示实体对象组合,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合;The determining module 602 is configured to determine a plurality of entity object combinations that meet the conditions according to the order settlement request, and send the entity object combination to the terminal, so that the terminal displays the entity object combination in response to the operation of displaying one of the entity object combinations. The object combination indicates 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 set of all objects in the order;
第二获取模块603,用于获取终端发送的提交订单请求,提交订单请求指示被选择的实体对象组合;The second obtaining module 603 is configured to obtain the request for submitting an order sent by the terminal, and the request for submitting an order indicates the selected entity object combination;
提交模块604,用于根据提交订单请求所指示的被选择的实体对象组合,提交订单。The submitting module 604 is configured to submit an order according to the selected entity object combination indicated by the submit order request.
在一些实施例中,满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,第一实体对象组合是订单的总价格最低的实体对象组合,第二实体对象组合是订单的总配送时长最短的实体对象组合,第三对象组合是为订单供应对象的所有实体对象的数量最少的实体对象组合。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.
在一些实施例中,当实体对象组合为第一实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括:In some embodiments, 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:
根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集,以及确定每个对象在供应该对象的所有实体对象处的价格;determining a set of entity objects for supplying at least one object in the set of objects, and determining the price of each object at all entity objects supplying the object according to the order settlement request;
根据实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合;According to the entity object set, determine all possible entity object combinations, all possible entity object combinations include each entity object combination that can supply the object set;
根据每个对象在供应该对象的所有实体对象处的价格、实体对象的物流配送费和用于抵扣结算金额的虚拟资源,计算所有可能的实体对象组合中每种实体对象组合下的订单的总价格;According to the price of each object at all the physical objects supplying the object, the logistics and delivery fee of the physical object, and the virtual resources used to deduct the settlement amount, calculate the price of an order placed under each combination of physical objects in all possible combinations of physical objects. Total cost;
将订单的总价格最低的实体对象组合确定为第一实体对象组合。The entity object combination with the lowest total price of the order is determined as the first entity object combination.
在一些实施例中,当实体对象组合为第二实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括: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:
根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集、实体对象集中每个实体对象的配送时长以及实体对象集中每个实体对象所能供应的对象集中的对象;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;
根据实体对象集、配送时长以及实体对象集中每个实体对象所能供应的对象集中的对象,确定订单的总配送时长最短的第二实体对象集;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, determine the second entity object set with the shortest total delivery time of the order;
根据第二实体对象集确定第二实体对象组合。The second entity object combination is determined according to the second entity object set.
在一些实施例中,根据实体对象集、配送时长以及实体对象集中每个实体对象所能供应的对象集中的对象,确定订单的总配送时长最短的第二实体对象集,包括:In some embodiments, the second entity object set with the shortest total delivery time of the order is determined 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, including:
将实体对象集中的实体对象按照其配送时长升序排列,其中第一实体对象的配送时长最短;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;
从第一实体对象开始,依次确认每个实体对象所能供应的对象集中的对象,重复该步骤直至对象集中的每个对象均被确认有实体对象能供应;Starting from the first entity object, confirm the objects in the object set that can be supplied by each entity object in turn, and repeat this step until each object in the object set is confirmed to be supplied by the entity object;
将对象集中的每个对象均被确认有实体对象能供应时的实体对象及之前的实体对象确定为订单的总配送时长最短的第二实体对象集。The entity object when each object in the object set is confirmed to be available for supply and the previous entity object is determined as the second entity object set with the shortest total delivery time of the order.
在一些实施例中,从第一实体对象开始,依次确认每个实体对象所能供应的对象集中的对象,重复该步骤直至对象集中的每个对象均被确认有实体对象能供应,包括:In some embodiments, starting from the first entity object, sequentially confirming the objects in the object set that can be supplied by each entity object, and repeating this step until each object in the object set is confirmed to be supplied by the entity object, including:
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 some embodiments, determining the second entity object combination according to the second entity object set includes:
根据第二实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合;According to the second 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;
从所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格;From all possible entity object combinations, calculate the total price of orders placed under each entity object combination;
将订单的总价格最低的实体对象组合确定为第二实体对象组合。The entity object combination with the lowest total price of the order is determined as the second entity object combination.
在一些实施例中,当实体对象组合为第三实体对象组合时,根据订单结算请求,确定满足条件的多种实体对象组合,包括: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:
根据订单结算请求,确定至少供应对象集中的一个对象的实体对象集以及实体对象集中每个实体对象所能供应的对象集中的对象;According to the order settlement request, determine the entity object set that supplies 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;
根据实体对象集、实体对象集中每个实体对象所能供应的对象集中的对象,确定实体对象数量最少的第三实体对象集;Determine the third entity object set with the least 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;
根据第三实体对象集确定第三实体对象组合。The third entity object combination is determined according to the third entity object set.
在一些实施例中,根据实体对象集、实体对象集中每个实体对象所能供应的对象集中的对象,确定实体对象数量最少的第三实体对象集,包括:In some embodiments, determining 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, including:
将实体对象集中的供应对象集中的对象的数量最多的实体对象加入第三实体对象集,将该实体对象从实体对象集删除,以及将该实体对象所供应的对象集中的对象从对象集删除,重复该步骤直至对象集为空;adding the entity object in the entity object set with the largest number of objects in the supply object set to the third entity object set, deleting the entity object from the entity object set, and deleting the objects in the object set provided by the entity object from the object set, Repeat this step until the object set is empty;
将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。The third entity object set at this time is determined as the third entity object set with the smallest number of entity objects.
在一些实施例中,根据实体对象集、实体对象集中每个实体对象所能供应的对象集中的对象,确定实体对象数量最少的第三实体对象集,包括:In some embodiments, determining 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, including:
将实体对象集中的实体对象按照其供应的对象集中的对象的数量降序排列;Arrange the entity objects in the entity object set in descending order by the number of objects in the object set it supplies;
将排第一位的实体对象加入第三实体对象集,将该实体对象从实体对象集删除,以及将该实体对象所供应的对象集中的对象从对象集删除,重复该步骤直至对象集为空;Adding the first-ranked entity object to the third entity object set, deleting the entity object from the entity object set, and deleting the objects in the object set provided by the entity object from the object set, repeating the steps until the object set is empty ;
将此时的第三实体对象集确定为实体对象数量最少的第三实体对象集。The third entity object set at this time is determined as the third entity object set with the smallest number of entity objects.
在一些实施例中,根据第三实体对象集确定第三实体对象组合,包括:In some embodiments, determining the third entity object combination according to the third entity object set includes:
根据第三实体对象集,确定所有可能的实体对象组合,所有可能的实体对象组合包括每一种能够供应对象集的实体对象组合;According to the third 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;
从所有可能的实体对象组合中,计算每种实体对象组合下的订单的总价格;From all possible entity object combinations, calculate the total price of orders placed under each entity object combination;
将订单的总价格最低的实体对象组合确定为第三实体对象组合。The entity object combination with the lowest total price of the order is determined as the third entity object combination.
在一些实施例中,装置还包括:In some embodiments, the apparatus further includes:
第一发送模块,用于将第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量发送给终端,以使终端显示实体对象组合时显示第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量。The first sending module is used to send 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 that the terminal When displaying the entity object combination, 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 are displayed.
在一些实施例中,虚拟实体对象通过如下步骤生成: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;
获取实体对象的多个第二对象的信息,得到第二对象集,其中实体对象为多个,每个实体对象关联有至少一个第二对象;Obtain information of multiple second objects of the entity object, and obtain a second object set, wherein there are multiple entity objects, and each entity object is associated with at least one second object;
从第一对象集和第二对象集中,确定出既属于第一对象集又属于第二对象集的对象,得到第三对象集;From the first object set and the second object set, determine the objects that belong to both the first object set and the second object set, and obtain a third object set;
根据第三对象集,生成虚拟实体对象。Based on the third set of objects, virtual entity objects are generated.
本发明实施例的订单提交装置600还包括其他用于执行上述方法实施例的各步骤的各个模块,此处不再一一赘述。The order submission apparatus 600 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.
图7是本发明另一实施例提供的订单提交装置的结构示意图。该装置应用于用户侧终端,如图7所示,该装置700包括:FIG. 7 is a schematic structural diagram of an order submission apparatus provided by another embodiment of the present invention. The apparatus is applied to a user-side terminal. As shown in FIG. 7 , the apparatus 700 includes:
第二发送模块701,用于在将虚拟实体对象中的多个对象加入购物车后,向服务器发送订单结算请求;The second sending module 701 is configured to send an order settlement request to the server after adding multiple objects in the virtual entity object to the shopping cart;
显示模块702,用于响应于显示满足条件的多种实体对象组合的其中一种实体对象组合的操作,显示实体对象组合,满足条件的多种实体对象组合为服务器根据订单结算请求确定并发送给终端,实体对象组合指示能够完整供应对象集的实体对象以及其中每个实体对象所供应的对象,对象集为订单中的所有对象的集合;The display module 702 is configured to display the entity object combination in response to the operation of displaying one of the multiple entity object combinations that meet the conditions, and the multiple entity object combinations that meet the conditions are determined and sent by the server according to the order settlement request. The terminal, the entity object combination indicates the entity objects that can completely supply the object set and the objects supplied by each of the entity objects, and the object set is a collection of all objects in the order;
第三发送模块703,用于响应于选择满足条件的多种实体对象组合的其中一种实体对象组合的操作,向服务器发送提交订单请求,以使服务器根据提交订单请求所指示的被选择的实体对象组合提交订单;提交订单请求指示被选择的实体对象组合。The third sending module 703 is configured to send an order submission request to the server in response to the operation of selecting one entity object combination of multiple entity object combinations that meet the conditions, so that the server can submit an order according to the selected entity indicated by the order submission request The object combination submits an order; the submit order request indicates the selected entity object combination.
在一些实施例中,满足条件的多种实体对象组合包括第一实体对象组合、第二实体对象组合和第三实体对象组合中的任意两种,第一实体对象组合是订单的总价格最低的实体对象组合,第二实体对象组合是订单的总配送时长最短的实体对象组合,第三对象组合是为订单供应对象的所有实体对象的数量最少的实体对象组合。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.
在一些实施例中,显示模块还用于:In some embodiments, the display module is also used to:
接收服务器发送的第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量;receiving the total price of the order of the first entity object combination sent by the server, 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;
显示实体对象组合时显示第一实体对象组合的订单的总价格、第二实体对象组合的订单的总配送时长和/或第三实体对象组合的实体对象的数量。When displaying the entity object combination, 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 are displayed.
在一些实施例中,虚拟实体对象由服务器通过如下步骤生成:In some embodiments, the virtual entity object is generated by the server through the following steps:
从标准对象库获取多个第一对象的信息,得到第一对象集;Obtain the information of multiple first objects from the standard object library, and obtain the first object set;
获取实体对象的多个第二对象的信息,得到第二对象集,其中实体对象为多个,每个实体对象关联有至少一个第二对象;Obtain information of multiple second objects of the entity object, and obtain a second object set, wherein there are multiple entity objects, and each entity object is associated with at least one second object;
从第一对象集和第二对象集中,确定出既属于第一对象集又属于第二对象集的对象,得到第三对象集;From the first object set and the second object set, determine the objects that belong to both the first object set and the second object set, and obtain a third object set;
根据第三对象集,生成虚拟实体对象。Based on the third set of objects, virtual entity objects are generated.
本发明实施例的虚拟实体对象的页面显示装置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 corresponding order submission method in any of the above method embodiments. operate.
图8是本发明实施例提供的电子设备的结构示意图,本发明具体实施例并不对电子设备的具体实现做限定,其可以是终端、服务器等设备。8 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.
如图8所示,该电子设备可以包括:处理器(processor)802、通信接口(Communications Interface)804、存储器(memory)806、以及通信总线808。As shown in FIG. 8 , 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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210157755.7ACN114549126B (en) | 2022-02-21 | 2022-02-21 | Order submission method, device, electronic device and computer-readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210157755.7ACN114549126B (en) | 2022-02-21 | 2022-02-21 | Order submission method, device, electronic device and computer-readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN114549126Atrue CN114549126A (en) | 2022-05-27 |
| CN114549126B CN114549126B (en) | 2025-01-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210157755.7AActiveCN114549126B (en) | 2022-02-21 | 2022-02-21 | Order submission method, device, electronic device and computer-readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN114549126B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI888881B (en)* | 2023-05-15 | 2025-07-01 | 韓商韓領有限公司 | Electronic apparatus and information management method thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102760144A (en)* | 2011-04-26 | 2012-10-31 | 乐活在线(北京)网络技术有限公司 | Information search method and system |
| CN103679516A (en)* | 2012-09-25 | 2014-03-26 | 付艳超 | Price comparison system based on shopping cart and method thereof |
| CN105654366A (en)* | 2016-02-05 | 2016-06-08 | 朱亮红 | Commodity transaction method and server |
| CN109360042A (en)* | 2018-09-03 | 2019-02-19 | 拉扎斯网络科技(上海)有限公司 | Order allocation method and device, electronic equipment and storage medium |
| US20190318337A1 (en)* | 2018-04-13 | 2019-10-17 | Violet.io, Inc. | System and method for concurrent multi-merchant on-line shopping with a single check-out transaction |
| US20210056608A1 (en)* | 2019-08-23 | 2021-02-25 | Shopify Inc. | Methods and systems for product searches |
| CN112884400A (en)* | 2021-01-29 | 2021-06-01 | 北京睿利众屹软件有限公司 | Shop inventory sharing method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102760144A (en)* | 2011-04-26 | 2012-10-31 | 乐活在线(北京)网络技术有限公司 | Information search method and system |
| CN103679516A (en)* | 2012-09-25 | 2014-03-26 | 付艳超 | Price comparison system based on shopping cart and method thereof |
| CN105654366A (en)* | 2016-02-05 | 2016-06-08 | 朱亮红 | Commodity transaction method and server |
| US20190318337A1 (en)* | 2018-04-13 | 2019-10-17 | Violet.io, Inc. | System and method for concurrent multi-merchant on-line shopping with a single check-out transaction |
| CN109360042A (en)* | 2018-09-03 | 2019-02-19 | 拉扎斯网络科技(上海)有限公司 | Order allocation method and device, electronic equipment and storage medium |
| US20210056608A1 (en)* | 2019-08-23 | 2021-02-25 | Shopify Inc. | Methods and systems for product searches |
| CN112884400A (en)* | 2021-01-29 | 2021-06-01 | 北京睿利众屹软件有限公司 | Shop inventory sharing method and system |
| Title |
|---|
| 任慧: "基于B2C的品牌服装虚拟商圈的数据化评估与研究", 《中国优秀硕士学位论文全文数据库经济与管理科学辑》, no. 6, 15 June 2018 (2018-06-15), pages 157 - 309* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI888881B (en)* | 2023-05-15 | 2025-07-01 | 韓商韓領有限公司 | Electronic apparatus and information management method thereof |
| Publication number | Publication date |
|---|---|
| CN114549126B (en) | 2025-01-28 |
| Publication | Publication Date | Title |
|---|---|---|
| US10163146B2 (en) | Method and system for displaying location based dining recommendation labels in a reduced image area of an interface | |
| JP2022514154A (en) | Inventory capture, image processing, and market descriptor pricing systems | |
| JP5577386B2 (en) | Information providing apparatus, information providing method, information providing program, and recording medium | |
| US20140114810A1 (en) | User segmentation for listings in online publications | |
| CN106164822A (en) | save the state of the communication session | |
| JP6442535B2 (en) | Information processing apparatus, information processing method, and information processing program | |
| CN113191834B (en) | Commodity object issuing and identifying method and device, electronic equipment and storage medium | |
| CN109711917B (en) | Information pushing method and device | |
| US10475109B2 (en) | Information processing device, information processing method, and information processing program | |
| US10223726B2 (en) | Information provisioning device, method, and medium for evaluating and estimating gift candidates | |
| CN114037451A (en) | Virtual resource using method and device, electronic equipment and storage medium | |
| CN106560853A (en) | Business processing method and device | |
| US20120066055A1 (en) | Generating a user interface based on predicted revenue yield | |
| US20160086189A1 (en) | Item Registration Services | |
| JP2002149945A (en) | Sales price determination method and apparatus, and storage medium storing sales price determination program | |
| JP2003091674A (en) | Product guide providing system and product guide providing method | |
| JP5620589B2 (en) | Product information search | |
| CN104732405A (en) | Sales shop processing method and computer readable storage medium using the same | |
| CN114549126B (en) | Order submission method, device, electronic device and computer-readable storage medium | |
| CN114997944A (en) | Entity object recommendation method, electronic device and computer-readable storage medium | |
| CN114549127B (en) | Order object replacement method, device, electronic equipment and computer 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 | |
| CN113379557B (en) | Intelligent gift matching method and system based on space station and storage medium |
| 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 |