技术领域technical field
本发明涉及物联网技术领域,尤其涉及一种基于网络商城的交易处理方法和装置。The invention relates to the technical field of the Internet of Things, in particular to a transaction processing method and device based on an online shopping mall.
背景技术Background technique
随着物联网和电子商务的快速扩展,电子商务平台已经得到快速发展和推广。With the rapid expansion of the Internet of Things and e-commerce, e-commerce platforms have been rapidly developed and promoted.
现有技术中,都是一个电商平台提供自己的物品进行交易;或者,类似与淘宝之类的电商平台,将多个个人商家在电商平台上注册之后,在电商平台上上传物品信息,然后进行销售。In the prior art, an e-commerce platform provides its own items for transactions; or, an e-commerce platform similar to Taobao, after registering multiple individual merchants on the e-commerce platform, uploads items on the e-commerce platform information, and sell.
然而现有技术中,所提供的两大类的电商平台的局限性很大,电商平台之间不会互相对接;用户通过不同的电商平台去进行物品的比较分析,去挑选出适合自己的物品。进而,如何用户提供一种可以进行电子商务对接,促进各种数据源、产品共享的电商平台,成为需要解决的问题。However, in the existing technology, the two types of e-commerce platforms provided have great limitations, and the e-commerce platforms will not be connected to each other; users compare and analyze items through different e-commerce platforms to select suitable items. own items. Furthermore, how to provide users with an e-commerce platform that can carry out e-commerce docking and promote the sharing of various data sources and products has become a problem that needs to be solved.
发明内容Contents of the invention
本发明提供一种基于网络商城的交易处理方法和装置,用以解决现有技术中如何用户提供一种可以进行电子商务对接,促进各种数据源、产品共享的电商平台的问题。The present invention provides a transaction processing method and device based on an online shopping mall to solve the problem in the prior art of how users can provide an e-commerce platform that can carry out e-commerce docking and promote the sharing of various data sources and products.
本发明的一方面是提供一种基于网络商城的交易处理方法,包括:One aspect of the present invention provides a transaction processing method based on an online shopping mall, including:
接收外部电商服务器发送的商品的商品信息;Receive the product information of the product sent by the external e-commerce server;
显示所述商品信息;Display the product information;
接收用户终端发送的下单请求,其中,所述下单请求中包括用户终端标识和至少一个商品的商品标识,所述下单请求为使用所述用户终端的用户根据所述商品信息发起的;receiving an order request sent by a user terminal, wherein the order request includes a user terminal identifier and a commodity identifier of at least one commodity, and the order request is initiated by a user using the user terminal according to the commodity information;
根据所述下单请求生成订单信息,其中,所述订单信息中包括用户信息和所述商品标识,所述用户信息中包括所述用户终端标识;generating order information according to the order request, wherein the order information includes user information and the commodity identifier, and the user information includes the user terminal identifier;
将所述订单信息发送给与所述商品标识对应的外部电商服务器,以使与所述商品标识对应的外部电商服务器对所述订单信息进行处理。Sending the order information to the external e-commerce server corresponding to the commodity identifier, so that the external e-commerce server corresponding to the commodity identifier processes the order information.
本发明的一方面是提供另一种基于网络商城的交易处理装置,包括:One aspect of the present invention provides another transaction processing device based on an online shopping mall, including:
第一接收模块,用于接收外部电商服务器发送的商品的商品信息;The first receiving module is used to receive the product information of the product sent by the external e-commerce server;
显示模块,用于显示所述商品信息;a display module, configured to display the commodity information;
第二接收模块,用于接收用户终端发送的下单请求,其中,所述下单请求中包括用户终端标识和至少一个商品的商品标识,所述下单请求为使用所述用户终端的用户根据所述商品信息发起的;The second receiving module is used to receive the order request sent by the user terminal, wherein the order request includes the user terminal identifier and the commodity identifier of at least one commodity, and the order request is based on the Initiated by the product information;
生成模块,用于根据所述下单请求生成订单信息,其中,所述订单信息中包括用户信息和所述商品标识,所述用户信息中包括所述用户终端标识;A generating module, configured to generate order information according to the order request, wherein the order information includes user information and the commodity identifier, and the user information includes the user terminal identifier;
第一发送模块,用于将所述订单信息发送给与所述商品标识对应的外部电商服务器,以使与所述商品标识对应的外部电商服务器对所述订单信息进行处理。The first sending module is configured to send the order information to the external e-commerce server corresponding to the commodity identifier, so that the external e-commerce server corresponding to the commodity identifier processes the order information.
本发明的技术效果是:通过接收外部电商服务器发送的商品的商品信息;显示商品信息;接收用户终端发送的下单请求,其中,下单请求中包括用户终端标识和至少一个商品的商品标识,下单请求为使用用户终端的用户根据商品信息发起的;根据下单请求生成订单信息,其中,订单信息中包括用户信息和商品标识,用户信息中包括用户终端标识;将订单信息发送给与商品标识对应的外部电商服务器,以使与商品标识对应的外部电商服务器对订单信息进行处理。提供了一种将各外部电商服务器结合起来的平台,可以将各电商通的商品进行统一的展示,完成多个电商平台之间互相对接,实现数据源、产品共享;使得用户不再通过不同的电商平台去进行物品的比较分析,去挑选出适合自己的物品,只需要在一个平台上购买物品即可,为用户提供了便捷。The technical effect of the present invention is: by receiving the product information of the product sent by the external e-commerce server; displaying the product information; receiving the order request sent by the user terminal, wherein the order request includes the user terminal identification and the product identification of at least one product , the order request is initiated by the user using the user terminal according to the product information; order information is generated according to the order request, wherein the order information includes user information and product identification, and the user information includes the user terminal identification; the order information is sent to the The external e-commerce server corresponding to the commodity identifier, so that the external e-commerce server corresponding to the commodity identifier processes the order information. Provides a platform that combines various external e-commerce servers, which can uniformly display the products of each e-commerce platform, complete the interconnection between multiple e-commerce platforms, and realize data source and product sharing; so that users no longer Through different e-commerce platforms to compare and analyze items, to select items that suit you, you only need to purchase items on one platform, which provides convenience for users.
附图说明Description of drawings
图1为本发明实施例一提供的基于网络商城的交易处理方法的流程图;FIG. 1 is a flowchart of a transaction processing method based on an online shopping mall provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的基于网络商城的交易处理方法的流程图;FIG. 2 is a flowchart of a transaction processing method based on an online shopping mall provided by Embodiment 2 of the present invention;
图3为本发明实施例三提供的基于网络商城的交易处理装置的结构示意图;3 is a schematic structural diagram of a transaction processing device based on an online mall provided by Embodiment 3 of the present invention;
图4为本发明实施例四提供的基于网络商城的交易处理装置的结构示意图。FIG. 4 is a schematic structural diagram of a transaction processing device based on an online mall provided by Embodiment 4 of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
图1为本发明实施例一提供的基于网络商城的交易处理方法的流程图,如图1所示,本实施例的方法包括:Fig. 1 is a flow chart of a transaction processing method based on an online shopping mall provided by Embodiment 1 of the present invention. As shown in Fig. 1 , the method of this embodiment includes:
步骤101、接收外部电商服务器发送的商品的商品信息。Step 101, receiving commodity information sent by an external e-commerce server.
在本实施例中,具体的,本实施例的执行主体可以是基于网络商城的交易处理装置、基于网络商城的交易处理平台、基于网络商城的交易处理系统或者其他可以执行本实施例的方法的服务器等。In this embodiment, specifically, the execution subject of this embodiment may be a transaction processing device based on an online mall, a transaction processing platform based on an online mall, a transaction processing system based on an online mall, or other devices that can execute the method of this embodiment server etc.
本实施例中以基于网络商城的交易处理平台为执行主体进行介绍说明。首先,平台需要接收各外部电商服务器发送的商品的商品信息,商品信息中包括以下的至少一种:图片、价格、介绍信息等等。In this embodiment, the transaction processing platform based on the online shopping mall is used as the execution subject for introduction and description. Firstly, the platform needs to receive product information sent by each external e-commerce server, and the product information includes at least one of the following: pictures, prices, introduction information, and the like.
步骤102、显示商品信息。Step 102, display commodity information.
在本实施例中,具体的,平台显示出各商品的商品信息。具体来说,平台可以以图文介绍的方式进行显示,将商品的图片、价格、介绍信息、评论信息等等展示出来。In this embodiment, specifically, the platform displays commodity information of each commodity. Specifically, the platform can display in the form of graphic and textual introductions, displaying product pictures, prices, introduction information, comment information, etc.
步骤103、接收用户终端发送的下单请求,其中,下单请求中包括用户终端标识和至少一个商品的商品标识,下单请求为使用用户终端的用户根据商品信息发起的。Step 103: Receive an order request sent by the user terminal, wherein the order request includes the user terminal identifier and the commodity identifier of at least one commodity, and the order request is initiated by the user using the user terminal according to commodity information.
在本实施例中,具体的,用户在平台上看到各商品的商品信息之后,用户可以对中意的商品下单购买。在用户选择了商品之后,用户终端可以向平台发送下单请求。In this embodiment, specifically, after the user sees the product information of each product on the platform, the user can place an order for the desired product. After the user selects the product, the user terminal can send an order request to the platform.
平台接收到各用户终端发送的下单请求。对于一个用户终端发送的下单请求来说,下单请求中包括至少一个商品的商品标识、以及用户终端标识。The platform receives the order request sent by each user terminal. For an order request sent by a user terminal, the order request includes at least one commodity identifier and the user terminal identifier.
步骤104、根据下单请求生成订单信息,其中,订单信息中包括用户信息和商品标识,用户信息中包括用户终端标识。Step 104: Generate order information according to the order request, wherein the order information includes user information and commodity identifiers, and the user information includes user terminal identifiers.
在本实施例中,具体的,平台根据下单请求生成订单信息,订单信息中包括至少一个商品的商品标识、用户信息;其中,用户信息中包括用户终端标识、用户名称、下单时间、下单地点以及收货地址等等。In this embodiment, specifically, the platform generates order information according to the order request, and the order information includes the commodity identifier of at least one commodity and user information; wherein, the user information includes the user terminal identifier, user name, order time, and Single location and delivery address, etc.
步骤105、将订单信息发送给与商品标识对应的外部电商服务器,以使与商品标识对应的外部电商服务器对订单信息进行处理。Step 105: Send the order information to the external e-commerce server corresponding to the commodity identifier, so that the external e-commerce server corresponding to the commodity identifier processes the order information.
在本实施例中,具体的,平台将订单信息发送给与当前的商品标识对应的外部电商服务器;从而与当前的商品标识对应的外部电商服务器,可以对订单信息进行处理,根据订单信息完成商品发送工作。In this embodiment, specifically, the platform sends the order information to the external e-commerce server corresponding to the current commodity identifier; thus, the external e-commerce server corresponding to the current commodity identifier can process the order information, and according to the order information Complete the delivery of goods.
本实施例通过接收外部电商服务器发送的商品的商品信息;显示商品信息;接收用户终端发送的下单请求,其中,下单请求中包括用户终端标识和至少一个商品的商品标识,下单请求为使用用户终端的用户根据商品信息发起的;根据下单请求生成订单信息,其中,订单信息中包括用户信息和商品标识,用户信息中包括用户终端标识;将订单信息发送给与商品标识对应的外部电商服务器,以使与商品标识对应的外部电商服务器对订单信息进行处理。提供了一种将各外部电商服务器结合起来的平台,可以将各电商通的商品进行统一的展示,完成多个电商平台之间互相对接,实现数据源、产品共享;使得用户不再通过不同的电商平台去进行物品的比较分析,去挑选出适合自己的物品,只需要在一个平台上购买物品即可,为用户提供了便捷。In this embodiment, by receiving the product information of the product sent by the external e-commerce server; displaying the product information; receiving the order request sent by the user terminal, wherein the order request includes the user terminal identification and the product identification of at least one product, and the order request Initiated by the user using the user terminal according to the product information; generate order information according to the order request, where the order information includes user information and product identification, and the user information includes the user terminal identification; send the order information to the corresponding product identification An external e-commerce server, so that the external e-commerce server corresponding to the commodity identifier processes the order information. Provides a platform that combines various external e-commerce servers, which can uniformly display the products of each e-commerce platform, complete the interconnection between multiple e-commerce platforms, and realize data source and product sharing; so that users no longer Through different e-commerce platforms to compare and analyze items, to select items that suit you, you only need to purchase items on one platform, which provides convenience for users.
图2为本发明实施例二提供的基于网络商城的交易处理方法的流程图,如图2所示,本实施例的方法包括:Fig. 2 is the flowchart of the transaction processing method based on the online shopping mall provided by Embodiment 2 of the present invention. As shown in Fig. 2, the method of this embodiment includes:
步骤201、接收外部电商服务器发送的共享请求,其中,共享请求中包括外部电商服务器的标识和密码信息;根据电商数据库,确定共享请求中的密码信息是否正确,其中,电商数据库中包括了电商服务器的标识与密码信息的对应关系;在确定共享请求中的密码信息正确时,执行步骤202。Step 201: Receive a sharing request sent by an external e-commerce server, wherein the sharing request includes the identification and password information of the external e-commerce server; determine whether the password information in the sharing request is correct according to the e-commerce database, wherein the e-commerce database contains It includes the correspondence between the identification of the e-commerce server and the password information; when it is determined that the password information in the sharing request is correct, step 202 is executed.
在本实施例中,具体的,平台接收外部电商服务器发送的共享请求,在共享请求中包括发送该共享请求的外部电商服务器的标识和密码信息。然后平台根据电商数据库,确定共享请求中的密码信息是否正确,其中,电商数据库中包括了电商服务器的标识与密码信息的对应关系。平台在确定共享请求中的密码信息正确的时候,执行步骤202。In this embodiment, specifically, the platform receives the sharing request sent by the external e-commerce server, and the sharing request includes the identification and password information of the external e-commerce server sending the sharing request. Then the platform determines whether the password information in the sharing request is correct according to the e-commerce database, wherein the e-commerce database includes the correspondence between the identifier of the e-commerce server and the password information. When the platform determines that the password information in the sharing request is correct, step 202 is performed.
在本实施例中,接口协议可以采用HTTPS协议;提交方式采用使用form的post表单提交;各接口可以采用如下代码方式进行实现。In this embodiment, the interface protocol may use the HTTPS protocol; the submission method may be post form submission using form; each interface may be implemented using the following codes.
1.1接口返回格式1.1 Interface return format
统一采用json格式进行数据解析,接口返回统一包含success、resultMessage、resultCode、result四个字段。The json format is uniformly used for data analysis, and the interface return uniformly includes four fields: success, resultMessage, resultCode, and result.
1.2调用代码1.2 Call code
在本实施例中,可以去获取接入的电商的Authorization Code,过程如下:In this embodiment, the Authorization Code of the accessed e-commerce company can be obtained, and the process is as follows:
1、地址1. Address
【APIURL】/authorize【APIURL】/authorize
2、输入2. Input
表1与外部电商服务器连接的接口的输入Table 1 Input of the interface connected to the external e-commerce server
3、输入参数正确后,跳转至接入的电商授权登录窗口3. After the input parameters are correct, jump to the access e-commerce authorization login window
4、输入平台的企业授权用户和密码4. Enter the enterprise authorized user and password of the platform
表2输入平台的企业授权用户和密码Table 2 Enter the enterprise authorized user and password of the platform
5、获取Access Token5. Obtain Access Token
5.1描述5.1 Description
获取到code值以后,使用接入的电商分配的client_id和client_secret,通过HttpPost方式,换取access token,access token即访问令牌,接口会返回以json文本的形式返回相应的值。After obtaining the code value, use the client_id and client_secret assigned by the connected e-commerce provider to exchange for an access token through HttpPost. The access token is the access token, and the interface will return the corresponding value in the form of json text.
5.2地址5.2 Address
【APIURL】/access_token【APIURL】/access_token
5.3输入5.3 Input
表3获取Access Token的输入Table 3 Get the input of Access Token
5.4输出5.4 Output
表4获取Access Token的输出Table 4 Get the output of Access Token
6、刷新Access Token6. Refresh Access Token
6.1描述6.1 Description
当access token过期时,使用refresh token进行刷新。When the access token expires, use the refresh token to refresh.
6.2地址6.2 Address
【APIURL】/refresh_token【APIURL】/refresh_token
6.3输入6.3 Input
表5刷新Access Token的输入Table 5 Refresh the input of Access Token
6.4输出6.4 Output
表6刷新Access Token的输出Table 6 Refresh the output of Access Token
步骤202、接收外部电商服务器发送的商品的商品信息。Step 202, receiving commodity information sent by an external e-commerce server.
步骤202具体包括:接收外部电商服务器确定的商品的商品信息;或者,针对预设的销售地区,获取外部电商服务器中的与该销售地区对应的商品的商品信息;或者,针对每一个外部电商服务器,获取外部电商服务器所对应的销售量大于预设销售阈值的商品的商品信息;或者,针对每一个外部电商服务器,获取外部电商服务器所对应的评价值大于预设评价阈值的商品的商品信息。Step 202 specifically includes: receiving the product information of the product determined by the external e-commerce server; or, for a preset sales area, obtaining the product information of the product corresponding to the sales area in the external e-commerce server; or, for each external The e-commerce server obtains the product information of the product corresponding to the external e-commerce server whose sales volume is greater than the preset sales threshold; or, for each external e-commerce server, obtains the evaluation value corresponding to the external e-commerce server greater than the preset evaluation threshold The product information of the product.
在本实施例中,具体的,平台获取各外部电商服务器的商品池中的商品的商品信息,商品信息中包括以下的至少一种:图片、价格、介绍信息。具体来说,平台可以是接收各外部电商服务器自行挑选的商品的商品信息;或者,针对预设的销售地区,平台获取外部电商服务器中的与该销售地区对应的商品的商品信息;或者,针对每一个外部电商服务器,平台获取外部电商服务器所对应的销售量大于预设销售阈值的商品的商品信息;或者,针对每一个外部电商服务器,平台获取外部电商服务器所对应的评价值大于预设评价阈值的商品的商品信息。In this embodiment, specifically, the platform acquires commodity information of commodities in the commodity pools of each external e-commerce server, and the commodity information includes at least one of the following: pictures, prices, and introduction information. Specifically, the platform may receive product information of products selected by each external e-commerce server; or, for a preset sales area, the platform may obtain product information of products corresponding to the sales area in the external e-commerce server; or , for each external e-commerce server, the platform obtains the product information corresponding to the external e-commerce server whose sales volume is greater than the preset sales threshold; or, for each external e-commerce server, the platform obtains the product information corresponding to the external e-commerce server Commodity information of products whose evaluation value is greater than the preset evaluation threshold.
在本实施例中,采用以下接口方式完成商品信息的获取。In this embodiment, the following interface methods are used to complete the acquisition of product information.
1、获取商品池编号接口1. Get the commodity pool number interface
1.1描述1.1 Description
获取接入的电商为联通提供的商品池信息。Obtain the commodity pool information provided by the connected e-commerce provider for China Unicom.
1.2地址1.2 Address
【APIURL】/getPageNum【APIURL】/getPageNum
1.3输入1.3 Input
表7获取商品池编号接口的输入Table 7 Get the input of commodity pool number interface
1.4输出1.4 output
表8获取商品池编号接口的输出Table 8 Get the output of the commodity pool number interface
2获取商品池内商品编号接口2 Get the product number interface in the product pool
2.1描述2.1 Description
根据商品池编号,获取商品池内的所有商品编号,每个池子最多300个商品。According to the product pool number, get all the product numbers in the product pool, and each pool has a maximum of 300 products.
2.2地址2.2 Address
【APIURL】/product/getSku【APIURL】/product/getSku
2.3输入2.3 Input
表9获取商品池的输入Table 9 Obtaining the input of the commodity pool
2.4输出2.4 output
表10获取商品池的输出Table 10 Get the output of commodity pool
2.5限制条件2.5 Restrictions
每个商品池中最多300个商品。Each commodity pool has a maximum of 300 commodities.
3获取商品详细信息接口3 Get product details interface
3.1描述3.1 Description
根据商品Sku编号,获取商品的详细信息。According to the product Sku number, get the detailed information of the product.
3.2地址3.2 Address
【APIURL】/product/getDetail【APIURL】/product/getDetail
3.3输入3.3 Input
表11获取商品详细信息接口的输入Table 11 The input of the interface for obtaining product detailed information
3.4输出3.4 Output
表12获取商品详细信息接口的输出Table 12 The output of the API for obtaining product details
其中:param返回的是规格参数;imagePath为商品的主图片地址,具体规则参考5.5获取图片路径接口。Among them: param returns the specification parameters; imagePath is the main image address of the product. For specific rules, refer to 5.5 Get Image Path Interface.
3.5限制条件3.5 Restrictions
每个商品池中最多300个商品。Each commodity pool has a maximum of 300 commodities.
4获取商品上下架状态接口4 Get the status interface of product on and off shelves
4.1描述4.1 Description
根据商品编号(sku)获取商品上下架状态,Staples商品缺省为上架商品According to the product number (sku), get the status of the product on the shelf, and the Staples product defaults to the on-shelf product
4.2地址4.2 Address
【APIURL】/product/skuState【APIURL】/product/skuState
4.3输入4.3 Input
表13获取商品上下架状态接口的输入Table 13 Get the input of the interface for getting the status of goods on and off shelves
4.4输出4.4 Output
表14获取商品上下架状态接口的输出Table 14 Get the output of the interface for getting the status of goods on and off shelves
4.5限制条件4.5 Restrictions
批量获取商品上下架状态一次最多支持100个商品Batch acquisition of product on and off shelves supports up to 100 products at a time
5获取所有图片信息接口5 Get all picture information interface
5.1描述5.1 Description
根据商品编号(sku)获取所有图片信息;请明确商品图片的前缀地址和对应各个小图的规则。Obtain all picture information according to the product number (sku); please specify the prefix address of the product picture and the rules corresponding to each small picture.
图片规则:Image rules:
(1)图片服务器地址:(1) Picture server address:
http://s01.stb001.cn/ftp_product_img/cn1100000994EA_1_enl.jpghttp://s01.stb001.cn/ftp_product_img/cn1100000994EA_1_enl.jpg
其中,前面域名是s01-s09.stb001.cnAmong them, the previous domain name is s01-s09.stb001.cn
(2)图片命名规则:文件名是cn+商品编码+EA_[1|2|3|4]_[enl|xnl|std|thb].jpg(2) Image naming rules: the file name is cn+commodity code+EA_[1|2|3|4]_[enl|xnl|std|thb].jpg
其 其中,1,2,3,4是图片的张数;Enl,xnl表示图片的尺寸;Enl:360*360;Xnl:600*600;Std:180*180;Thb:90*90。Among them, 1, 2, 3, 4 are the number of pictures; Enl, xnl represent the size of the picture; Enl:360*360; Xnl:600*600; Std:180*180; Thb:90*90.
5.2地址5.2 Address
【APIURL】/product/skuImage【APIURL】/product/skuImage
5.3输入5.3 Input
表15获取所有图片信息接口的输入Table 15 Get the input of all picture information interfaces
5.4输出5.4 Output
表16获取所有图片信息接口的输出Table 16 Get the output of all image information interfaces
5.5限制条件5.5 Restrictions
获取商品所有图片信息一次最多支持100个商品Get all the picture information of the product and support up to 100 products at a time
6商品好评度查询接口6Commodity praise rating query interface
6.1描述6.1 Description
根据商品编号(sku)获取商品好评信息Obtain product praise information according to the product number (sku)
6.2地址6.2 Address
【APIURL】/product/getCommentSummarys【APIURL】/product/getCommentSummarys
6.3输入6.3 Input
表17商品好评度查询接口的输入Table 17 Input of commodity praise rating query interface
6.4输出6.4 Output
表18商品好评度查询接口的输出1Table 18 Output 1 of the commodity praise rating query interface
表19商品好评度查询接口的输出2Table 19 The output 2 of the query interface for product praise rating
6.5限制条件6.5 Restrictions
获取商品好评度信息一次最多支持50个商品Obtaining product praise information supports up to 50 products at a time
7获取商品价格接口7Get commodity price interface
7.1描述7.1 Description
根据商品编号(sku)获取商品价格Get the price of the product according to the product number (sku)
7.2地址7.2 Address
【APIURL】/product/getPrice【APIURL】/product/getPrice
7.3输入7.3 Input
表20获取商品价格接口的输入Table 20 Get the input of commodity price interface
7.4输出7.4 Output
表21获取商品价格接口的输出1Table 21 Output 1 of the Get Commodity Price Interface
表22获取商品价格接口的输出2Table 22 Get the output 2 of commodity price interface
7.5限制条件7.5 Restrictions
根据商品编码(sku)获取商品价格信息一次最多支持100个商品Obtain product price information based on product code (sku) and support up to 100 products at a time
8获取库存信息8 Get inventory information
8.1描述8.1 Description
根据商品编码(sku)获取商品库存信息(所有库存只检查到一级地址(省))Obtain commodity inventory information according to the commodity code (sku) (all inventories are only checked to the first-level address (province))
8.2地址8.2 Address
【APIURL】/Product/getStockById【APIURL】/Product/getStockById
8.3输入8.3 Input
表23获取库存信息的输入Table 23 Input to obtain inventory information
8.4输出8.4 Output
表24获取库存信息的输出1Table 24 Get the output of inventory information 1
表25获取库存信息的输出2Table 25 Get the output of inventory information 2
8.5限制条件8.5 Restrictions
根据商品编码(sku)获取商品库存信息一次最多支持100个商品Obtain commodity inventory information based on commodity code (sku) Support up to 100 commodities at a time
步骤203、将外部电商服务器发送的商品的商品信息,放入商品池信息库中;向外部电商服务器发送接收应答信息,其中,接收应答信息表征接收外部电商服务器发送的商品的商品信息。Step 203: Put the product information of the product sent by the external e-commerce server into the product pool information database; send the receiving response information to the external e-commerce server, wherein the receiving response information represents receiving the product information of the product sent by the external e-commerce server .
在本实施例中,具体的,平台将各外部电商服务器发送的商品的商品信息,放入商品池信息库中;然后,平台向外部电商服务器发送接收应答信息,该接收应答信息表征接收外部电商服务器发送的商品的商品信息。In this embodiment, specifically, the platform puts the commodity information sent by each external e-commerce server into the commodity pool information database; then, the platform sends receiving response information to the external e-commerce server, and the receiving response information represents the received The product information of the product sent by the external e-commerce server.
步骤204、显示商品信息。Step 204, display commodity information.
在本实施例中,具体的,本步骤参加图1的步骤102。In this embodiment, specifically, this step refers to step 102 in FIG. 1 .
步骤205、接收用户终端发送的下单请求,其中,下单请求中包括用户终端标识和至少一个商品的商品标识,下单请求为使用用户终端的用户根据商品信息发起的。Step 205: Receive an order request sent by the user terminal, wherein the order request includes the user terminal identifier and the commodity identifier of at least one commodity, and the order request is initiated by the user using the user terminal according to commodity information.
在本实施例中,具体的,本步骤参加图1的步骤103。In this embodiment, specifically, this step refers to step 103 in FIG. 1 .
在本实施例中,采用如下接口实现。In this embodiment, the following interfaces are used for implementation.
1下预占库存订单接口1 interface for pre-occupied inventory orders
1.1描述1.1 Description
根据联通订单单号下预占库存订单。Place pre-occupied inventory orders based on the Unicom order number.
1.2地址1.2 Address
【APIURL】/order/submit【APIURL】/order/submit
1.3输入1.3 Input
表26下预占库存订单接口的输入The input of the pre-occupied inventory order interface under Table 26
1.4输出1.4 output
表27下预占库存订单接口的输出The output of the reserved inventory order interface under Table 27
2确认预占库存订单接口2Confirm the pre-occupied inventory order interface
2.1描述2.1 Description
根据接入的电商的订单单号确认预占库存订单Confirm the reserved inventory order according to the order number of the connected e-commerce company
2.2地址2.2 Address
【APIURL】/order/confirmOrder【APIURL】/order/confirmOrder
2.3输入2.3 Input
表28确认预占库存订单接口的输入Table 28 confirms the input of the reserved inventory order interface
2.4输出2.4 output
表29确认预占库存订单接口的输出Table 29 confirms the output of the reserved inventory order interface
3取消未确认预留库存订单接口3 Cancel the unconfirmed reserved inventory order interface
3.1描述3.1 Description
根据接入的电商的订单单号取消未确认预占库存订单Cancel the unconfirmed reserved inventory order according to the order number of the connected e-commerce company
3.2地址3.2 Address
【APIURL】/order/cancelPreOrder【APIURL】/order/cancelPreOrder
3.3输入3.3 Input
表30取消未确认预留库存订单接口的输入Table 30 Cancel the input of the unconfirmed reserved inventory order interface
3.4输出3.4 Output
表31取消未确认预留库存订单接口的输出Table 31 Cancel the output of the unconfirmed reserved inventory order interface
注:该接口仅能取消未确认的预占库存父订单单号,即接口文档6.1中,返回的订单号。不能取消已经确认的订单单号。Note: This interface can only cancel the unconfirmed pre-occupied inventory parent order number, that is, the order number returned in interface document 6.1. Confirmed order numbers cannot be canceled.
如果需要取消已确认的订单,可以调用取消确认订单接口进行取消操作,参数必须为子订单才能取消。If you need to cancel a confirmed order, you can call the cancel confirmation order interface to perform the cancellation operation, and the parameter must be a sub-order to cancel.
4取消确认订单接口4 Cancel confirmation order interface
4.1描述4.1 Description
根据接入的电商的订单单号取消确认订单Cancel confirmation of the order according to the order number of the connected e-commerce company
4.2地址4.2 Address
【APIURL】/order/cancelConfirmedOrder【APIURL】/order/cancelConfirmedOrder
4.3输入4.3 Input
表32取消确认订单接口的输入Table 32 Cancel confirmation order interface input
4.4输出4.4 Output
表33取消确认订单接口的输出Table 33 The output of cancel confirmation order interface
只能取消子订单。如果该订单接入的电商不支持取消,则返回无法取消Only child orders can be canceled. If the e-commerce provider connected to the order does not support cancellation, it will return Cannot be canceled
5查询接入的电商订单信息接口5 Query the access to the e-commerce order information interface
5.1描述5.1 Description
根据订单号查询接入的电商订单信息Query the accessed e-commerce order information based on the order number
5.2地址5.2 Address
【APIURL】/order/selectOrder【APIURL】/order/selectOrder
5.3输入5.3 Input
表34查询接入的电商订单信息接口的输入Table 34 Query and access the input of the e-commerce order information interface
5.4输出5.4 Output
如果该订单编号为父订单,则返回拆分订单信息;增加商品税率,商品裸价合计,商品税额合计,商品企业价合计,订单裸价合计,订单税额合计,订单企业价合计。If the order number is the parent order, return the split order information; increase the commodity tax rate, the total naked price of the commodity, the total tax amount of the commodity, the total enterprise price of the commodity, the total naked price of the order, the total tax amount of the order, and the total enterprise price of the order.
表35查询接入的电商订单信息接口的输出1Table 35 Query the output 1 of the e-commerce order information interface accessed
如果该订单编号为子订单,则返回子订单详细信息,如表36和表37。If the order number is a sub-order, return sub-order details, such as Table 36 and Table 37.
表36查询接入的电商订单信息接口的输出2Table 36 Query the output 2 of the e-commerce order information interface accessed
表37查询接入的电商订单信息接口的输出3Table 37 Query the output 3 of the e-commerce order information interface accessed
6查询配送信息接口6 Query delivery information interface
6.1描述6.1 Description
根据接入的电商订单号查询配送信息Query delivery information based on the connected e-commerce order number
6.2地址6.2 Address
【APIURL】/order/orderTrack【APIURL】/order/orderTrack
6.3输入6.3 Input
表38查询配送信息接口的输入Table 38 Query the input of the delivery information interface
6.4输出6.4 Output
表39查询配送信息接口的输出Table 39 Query the output of the delivery information interface
例如:E.g:
{"result":{"supplierOrderId":111111,,{"result":{"supplierOrderId":111111,,
"orderTrack":["orderTrack":[
{"msgTime":"2013-09-25 09:03:53","content":"您提交了订单,请等待系统确认","operator":"客户"}{"msgTime":"2013-09-25 09:03:53","content":"You have submitted the order, please wait for the system to confirm","operator":"Customer"}
]]
}}
7申请订单挂起接口7Apply for order pending interface
7.1描述7.1 Description
根据接入的电商订单号申请订单挂起Apply for order suspension based on the connected e-commerce order number
7.2地址7.2 Address
【APIURL】/hangUp/submit【APIURL】/hangUp/submit
7.3输入7.3 Input
表40申请订单挂起接口的输入Table 40 Application order pending interface input
7.4输出7.4 Output
表41申请订单挂起接口的输出Table 41 Output of application order pending interface
8获取挂起订单信息接口8 Get pending order information interface
8.1描述8.1 Description
根据接入的电商订单号获取挂起订单信息Obtain pending order information according to the connected e-commerce order number
8.2地址8.2 Address
【APIURL】/hangUp/select【APIURL】/hangUp/select
8.3输入8.3 Input
表42获取挂起订单信息接口的输入Table 42 Get the input of the pending order information interface
8.4输出8.4 Output
表43获取挂起订单信息接口的输出1Table 43 Output 1 of the API for obtaining pending order information
表44获取挂起订单信息接口的输出2Table 44 Get the output 2 of the pending order information interface
9申请取消挂起订单接口9Apply to cancel the pending order interface
9.1描述9.1 Description
根据接入的电商订单号申请取消挂起订单Apply to cancel the pending order based on the connected e-commerce order number
9.2地址9.2 Address
【APIURL】/hangUp/cancel【APIURL】/hangUp/cancel
9.3输入9.3 Input
表45申请取消挂起订单接口的输入Table 45 Application to cancel pending order interface input
9.4输出9.4 Output
表46申请取消挂起订单接口的输出Table 46 Application to cancel the output of the pending order interface
10提交差异订单接口10 Interface for submitting differential orders
10.1描述10.1 Description
根据接入的电商订单号提交差异订单Submit a difference order based on the connected e-commerce order number
10.2地址10.2 Address
【APIURL】/difference/submit【APIURL】/difference/submit
10.3输入10.3 Input
表47提交差异订单接口的输入Table 47 Submit the input of difference order interface
10.4输出10.4 Output
表48提交差异订单接口的输出Table 48 Submit the output of difference order interface
11信息推送接口11 Information push interface
11.1描述11.1 Description
推送订单信息接口Push order information interface
11.2地址11.2 Address
【APIURL】/message/get【APIURL】/message/get
11.3输入11.3 Input
表49信息推送接口的输入Table 49 Input of information push interface
11.4输出11.4 Output
表50信息推送接口的输出1Table 50 Output 1 of the information push interface
表51信息推送接口的输出2Table 51 Output 2 of the information push interface
12删除推送信息接口12 Delete push information interface
12.1描述12.1 Description
根据Id删除推送信息Delete push information based on Id
12.2地址12.2 Address
【APIURL】/messge/del【APIURL】/messge/del
12.3输入12.3 Input
表52删除推送信息接口的输入Table 52 Delete the input of the push information interface
12.4输出12.4 Output
表53删除推送信息接口的输出Table 53 Delete the output of the push information interface
步骤206、根据预设用户信息库,对下单请求进行审批;在审批通过时,执行步骤207。Step 206 , approve the order request according to the preset user information database; when the approval is passed, execute step 207 .
在本实施例中,具体的,平台根据预设用户信息库,对下单请求中的用户终端标识进行审批。在审批成功之后,再去根据下单请求生成订单信息。In this embodiment, specifically, the platform approves the user terminal identifier in the order request according to the preset user information database. After the approval is successful, the order information is generated according to the order request.
步骤207、根据下单请求生成订单信息,其中,订单信息中包括用户信息和商品标识,用户信息中包括用户终端标识。Step 207: Generate order information according to the order request, wherein the order information includes user information and commodity identifiers, and the user information includes user terminal identifiers.
在本实施例中,具体的,本步骤参加图1的步骤104。In this embodiment, specifically, this step refers to step 104 in FIG. 1 .
步骤208、将订单信息发送给与商品标识对应的外部电商服务器,以使与商品标识对应的外部电商服务器对订单信息进行处理。Step 208 , sending the order information to the external e-commerce server corresponding to the commodity identifier, so that the external e-commerce server corresponding to the commodity identifier processes the order information.
在本实施例中,具体的,本步骤参加图1的步骤105。In this embodiment, specifically, this step refers to step 105 in FIG. 1 .
步骤209、接收用户终端发送的签收请求,其中,签收请求中包括用户终端标识和至少一个商品的商品标识;将签收请求发送给外部电商服务器,以使外部电商服务器完成订单签收核对。Step 209: Receive the sign-in request sent by the user terminal, wherein the sign-in request includes the user terminal ID and the item ID of at least one item; send the sign-in request to the external e-commerce server, so that the external e-commerce server completes the order sign-in check.
在本实施例中,具体的,在外部电商服务器根据订单信息,完成商品发送工作以后。平台接收用户终端发送的签收请求,在签收请求中包括至少一个商品的商品标识、以及用户终端标识;然后,平台将签收请求发送给外部电商服务器,使得外部电商服务器完成订单签收核对。In this embodiment, specifically, after the external e-commerce server completes the delivery of commodities according to the order information. The platform receives the sign-in request sent by the user terminal, and the sign-in request includes at least one product identifier and the user terminal identifier; then, the platform sends the sign-in request to the external e-commerce server, so that the external e-commerce server completes the order sign-in check.
步骤210、接收外部电商服务器发送的结算请求,其中,结算请求表征针对预设时间段内的订单进行核算;根据结算请求,确定待结算订单的订单信息,并待结算订单的订单信息发送给外部电商服务器;Step 210: Receive the settlement request sent by the external e-commerce server, wherein the settlement request represents the calculation of orders within a preset time period; determine the order information of the order to be settled according to the settlement request, and send the order information of the order to be settled to external e-commerce server;
或者,or,
接收外部电商服务器发送的发票信息;根据发票信息库,对发票信息进行验证,其中,发票信息库包括与各订单对应的发票信息;在确定发票信息验证通过之后,向外部电商服务器发送资金,以完成资金支付。Receive the invoice information sent by the external e-commerce server; verify the invoice information according to the invoice information database, where the invoice information database includes the invoice information corresponding to each order; after confirming that the invoice information is verified, send funds to the external e-commerce server , to complete the fund payment.
在本实施例中,具体的,平台可以接收外部电商服务器发送的结算请求,结算请求表征针对预设时间段内的订单进行核算;然后,平台根据结算请求,确定需要结算的各订单的订单信息,并将需要结算的各订单的订单信息发送给外部电商服务器。In this embodiment, specifically, the platform may receive a settlement request sent by an external e-commerce server, and the settlement request represents the calculation of orders within a preset time period; then, the platform determines the order of each order that needs to be settled according to the settlement request information, and send the order information of each order that needs to be settled to the external e-commerce server.
1订单对账查询接口1 Order reconciliation query interface
1.1描述1.1 Description
根据日期区间及查询订单类别组合获取订单的状态信息Obtain the status information of the order according to the date range and query order category combination
1.2地址1.2 Address
【APIURL】/checking/checkOrder【APIURL】/checking/checkOrder
1.3输入1.3 Input
表54订单对账查询接口的输入Table 54 Input of order reconciliation query interface
1.4输出1.4 output
表55订单对账查询接口的输出1Table 55 Output 1 of the order reconciliation query interface
表56订单对账查询接口的输出2Table 56 Output 2 of the order reconciliation query interface
平台也可以接收外部电商服务器发送的发票信息;平台根据发票信息库,对发票信息进行验证,在发票信息库包括与各订单对应的发票信息。平台对发票信息验证通过之后,平台向外部电商服务器发送资金,以完成资金支付。The platform can also receive the invoice information sent by the external e-commerce server; the platform verifies the invoice information according to the invoice information database, and includes the invoice information corresponding to each order in the invoice information database. After the platform passes the verification of the invoice information, the platform sends funds to the external e-commerce server to complete the fund payment.
1申请开票接口1 Application and billing interface
1.1描述1.1 Description
申请开取发票接口Apply for an invoice interface
1.2地址1.2 Address
【APIURL】/invoice/submit【APIURL】/invoice/submit
1.3输入1.3 Input
表57申请开票接口的输入Table 57 Input of application billing interface
1.4输出1.4 output
2查询发票信息接口2 Query invoice information interface
2.1描述2.1 Description
查询发票信息Query invoice information
2.2地址2.2 Address
【APIURL】/invoice/select【APIURL】/invoice/select
2.3输入2.3 Input
表58查询发票信息接口的输入Table 58 Query invoice information interface input
2.4输出2.4 output
表59查询发票信息接口的输出1Table 59 Output 1 of query interface for invoice information
表60查询发票信息接口的输出2Table 60 Output 2 of query interface for invoice information
5发票跟踪接口5 Invoice Tracking Interface
5.1描述5.1 Description
查询发票寄送物流信息Query invoice delivery logistics information
5.2地址5.2 Address
【APIURL】/invoice/track【APIURL】/invoice/track
5.3输入5.3 Input
表61发票跟踪接口的输入Table 61 Inputs for the Invoice Tracking Interface
5.4输出5.4 Output
表62发票跟踪接口的输出Table 62 Output of the Invoice Tracking Interface
6发票提交验证结果接口6Invoice submission verification result interface
6.1描述6.1 Description
根据发票发票号码更新验证结果Update validation result based on invoice invoice number
6.2地址6.2 Address
【APIURL】/invoice/checking【APIURL】/invoice/checking
6.3输入6.3 Input
表63发票提交验证结果接口的输入Table 63 Invoice submission verification result interface input
6.4输出6.4 Output
表64发票提交验证结果接口的输出Table 64 Output of the invoice submission verification result interface
本实施例通过接收外部电商服务器发送的商品的商品信息;显示商品信息;接收用户终端发送的下单请求,其中,下单请求中包括用户终端标识和至少一个商品的商品标识,下单请求为使用用户终端的用户根据商品信息发起的;根据下单请求生成订单信息,其中,订单信息中包括用户信息和商品标识,用户信息中包括用户终端标识;将订单信息发送给与商品标识对应的外部电商服务器,以使与商品标识对应的外部电商服务器对订单信息进行处理。提供了一种将各外部电商服务器结合起来的平台,可以将各电商通的商品进行统一的展示,完成多个电商平台之间互相对接,实现数据源、产品共享;使得用户不再通过不同的电商平台去进行物品的比较分析,去挑选出适合自己的物品,只需要在一个平台上购买物品即可,为用户提供了便捷。并且,可以对不同的外部电商服务器所提供的商品进行不同方式的推荐,便于用户选择性价比更高的商品。In this embodiment, by receiving the product information of the product sent by the external e-commerce server; displaying the product information; receiving the order request sent by the user terminal, wherein the order request includes the user terminal identification and the product identification of at least one product, and the order request Initiated by the user using the user terminal according to the product information; generate order information according to the order request, where the order information includes user information and product identification, and the user information includes the user terminal identification; send the order information to the corresponding product identification An external e-commerce server, so that the external e-commerce server corresponding to the commodity identifier processes the order information. Provides a platform that combines various external e-commerce servers, which can uniformly display the products of each e-commerce platform, complete the interconnection between multiple e-commerce platforms, and realize data source and product sharing; so that users no longer Through different e-commerce platforms to compare and analyze items, to select items that suit you, you only need to purchase items on one platform, which provides convenience for users. Moreover, the commodities provided by different external e-commerce servers can be recommended in different ways, so that users can choose commodities with higher cost performance.
图3为本发明实施例三提供的基于网络商城的交易处理装置的结构示意图,如图3所示,本实施例提供的装置,包括:FIG. 3 is a schematic structural diagram of a transaction processing device based on an online shopping mall provided in Embodiment 3 of the present invention. As shown in FIG. 3 , the device provided in this embodiment includes:
第一接收模块31,用于接收外部电商服务器发送的商品的商品信息;The first receiving module 31 is used to receive the product information of the product sent by the external e-commerce server;
显示模块32,用于显示所述商品信息;A display module 32, configured to display the commodity information;
第二接收模块33,用于接收用户终端发送的下单请求,其中,所述下单请求中包括用户终端标识和至少一个商品的商品标识,所述下单请求为使用所述用户终端的用户根据所述商品信息发起的;The second receiving module 33 is configured to receive an order request sent by a user terminal, wherein the order request includes the user terminal identifier and the commodity identifier of at least one commodity, and the order request is for the user using the user terminal Initiated based on the product information;
生成模块34,用于根据所述下单请求生成订单信息,其中,所述订单信息中包括用户信息和所述商品标识,所述用户信息中包括所述用户终端标识;A generating module 34, configured to generate order information according to the order request, wherein the order information includes user information and the commodity identifier, and the user information includes the user terminal identifier;
第一发送模块35,用于将所述订单信息发送给与所述商品标识对应的外部电商服务器,以使与所述商品标识对应的外部电商服务器对所述订单信息进行处理。The first sending module 35 is configured to send the order information to the external e-commerce server corresponding to the commodity identifier, so that the external e-commerce server corresponding to the commodity identifier processes the order information.
本实施例的基于网络商城的交易处理装置可执行本发明实施例一提供的基于网络商城的交易处理方法,其实现原理相类似,此处不再赘述。The online shopping mall-based transaction processing device of this embodiment can execute the online shopping mall-based transaction processing method provided in Embodiment 1 of the present invention, and its implementation principles are similar, so details will not be repeated here.
本实施例通过接收外部电商服务器发送的商品的商品信息;显示商品信息;接收用户终端发送的下单请求,其中,下单请求中包括用户终端标识和至少一个商品的商品标识,下单请求为使用用户终端的用户根据商品信息发起的;根据下单请求生成订单信息,其中,订单信息中包括用户信息和商品标识,用户信息中包括用户终端标识;将订单信息发送给与商品标识对应的外部电商服务器,以使与商品标识对应的外部电商服务器对订单信息进行处理。提供了一种将各外部电商服务器结合起来的平台,可以将各电商通的商品进行统一的展示,完成多个电商平台之间互相对接,实现数据源、产品共享;使得用户不再通过不同的电商平台去进行物品的比较分析,去挑选出适合自己的物品,只需要在一个平台上购买物品即可,为用户提供了便捷。In this embodiment, by receiving the product information of the product sent by the external e-commerce server; displaying the product information; receiving the order request sent by the user terminal, wherein the order request includes the user terminal identification and the product identification of at least one product, and the order request Initiated by the user using the user terminal according to the product information; generate order information according to the order request, where the order information includes user information and product identification, and the user information includes the user terminal identification; send the order information to the corresponding product identification An external e-commerce server, so that the external e-commerce server corresponding to the commodity identifier processes the order information. Provides a platform that combines various external e-commerce servers, which can uniformly display the products of each e-commerce platform, complete the interconnection between multiple e-commerce platforms, and realize data source and product sharing; so that users no longer Through different e-commerce platforms to compare and analyze items, to select items that suit you, you only need to purchase items on one platform, which provides convenience for users.
图4为本发明实施例四提供的基于网络商城的交易处理装置的结构示意图,在实施例三的基础上,如图4所示,本实施例提供的装置,还包括:FIG. 4 is a schematic structural diagram of a transaction processing device based on an online shopping mall provided in Embodiment 4 of the present invention. On the basis of Embodiment 3, as shown in FIG. 4 , the device provided in this embodiment also includes:
确定模块41,用于在所述第一接收模块31接收外部电商服务器发送的商品的商品信息之前,接收外部电商服务器发送的共享请求,其中,所述共享请求中包括外部电商服务器的标识和密码信息;根据电商数据库,确定所述共享请求中的密码信息是否正确,其中,电商数据库中包括了电商服务器的标识与密码信息的对应关系;在确定所述共享请求中的密码信息正确时,执行所述第一接收模块。The determining module 41 is configured to receive the sharing request sent by the external e-commerce server before the first receiving module 31 receives the commodity information sent by the external e-commerce server, wherein the sharing request includes the information of the external e-commerce server. identification and password information; according to the e-commerce database, determine whether the password information in the sharing request is correct, wherein the e-commerce database includes the correspondence between the identification of the e-commerce server and the password information; When the password information is correct, execute the first receiving module.
所述第一接收模块31,具体用于:The first receiving module 31 is specifically used for:
接收外部电商服务器确定的商品的商品信息;Receive the product information of the product determined by the external e-commerce server;
或者,针对预设的销售地区,获取外部电商服务器中的与该销售地区对应的商品的商品信息;Or, for a preset sales region, obtain the product information of the product corresponding to the sales region in the external e-commerce server;
或者,针对每一个外部电商服务器,获取外部电商服务器所对应的销售量大于预设销售阈值的商品的商品信息;Or, for each external e-commerce server, obtain commodity information of commodities corresponding to the external e-commerce server whose sales volume is greater than a preset sales threshold;
或者,针对每一个外部电商服务器,获取外部电商服务器所对应的评价值大于预设评价阈值的商品的商品信息。Alternatively, for each external e-commerce server, the product information of the product whose evaluation value corresponding to the external e-commerce server is greater than a preset evaluation threshold is acquired.
该装置,还包括:The device, also includes:
第二发送模块42,用于在所述第一接收模块31接收外部电商服务器发送的商品的商品信息之后,将外部电商服务器发送的商品的商品信息,放入商品池信息库中;向外部电商服务器发送接收应答信息,其中,所述接收应答信息表征接收外部电商服务器发送的商品的商品信息。The second sending module 42 is used to put the commodity information of the commodity sent by the external electricity supplier server into the commodity pool information storehouse after the first receiving module 31 receives the commodity information of the commodity sent by the external electricity supplier server; The external e-commerce server sends receiving response information, wherein the receiving response information represents commodity information of the commodity sent by the external e-commerce server.
审批模块43,用于在所述生成模块34根据所述下单请求生成订单信息之前,根据预设用户信息库,对所述下单请求进行审批;在审批通过时,执行所述生成模块。The approval module 43 is configured to approve the order request according to the preset user information database before the generation module 34 generates order information according to the order request; and execute the generation module when the approval is passed.
第三接收模块44,用于在所述第一发送模块35将所述订单信息发送给与所述商品标识对应的外部电商服务器,以使与所述商品标识对应的外部电商服务器对所述订单信息进行处理之后,接收用户终端发送的签收请求,其中,所述签收请求中包括用户终端标识和至少一个商品的商品标识;The third receiving module 44 is configured to send the order information to the external e-commerce server corresponding to the commodity identifier in the first sending module 35, so that the external e-commerce server corresponding to the commodity identifier can After processing the order information, receive a sign-in request sent by the user terminal, wherein the sign-in request includes the user terminal identifier and the commodity identifier of at least one commodity;
将所述签收请求发送给外部电商服务器,以使外部电商服务器完成订单签收核对。Send the sign-in request to the external e-commerce server, so that the external e-commerce server completes the order sign-in verification.
该装置,还包括:The device, also includes:
结算模块45,用于在所述第一发送模块35将所述订单信息发送给与所述商品标识对应的外部电商服务器,以使与所述商品标识对应的外部电商服务器对所述订单信息进行处理之后,接收外部电商服务器发送的结算请求,其中,所述结算请求表征针对预设时间段内的订单进行核算;根据所述结算请求,确定待结算订单的订单信息,并待结算订单的订单信息发送给外部电商服务器;Settlement module 45, configured to send the order information to the external e-commerce server corresponding to the commodity identifier in the first sending module 35, so that the external e-commerce server corresponding to the commodity identifier can confirm the order information After the information is processed, the settlement request sent by the external e-commerce server is received, wherein the settlement request represents the calculation of the order within a preset time period; according to the settlement request, the order information of the order to be settled is determined, and the order to be settled The order information of the order is sent to the external e-commerce server;
或者,or,
支付模块46,用于在所述第一发送模块35将所述订单信息发送给与所述商品标识对应的外部电商服务器,以使与所述商品标识对应的外部电商服务器对所述订单信息进行处理之后,接收外部电商服务器发送的发票信息;根据所述发票信息库,对所述发票信息进行验证,其中,所述发票信息库包括与各订单对应的发票信息;在确定发票信息验证通过之后,向外部电商服务器发送资金,以完成资金支付。The payment module 46 is configured to send the order information to the external e-commerce server corresponding to the commodity identifier in the first sending module 35, so that the external e-commerce server corresponding to the commodity identifier can complete the order After the information is processed, receive the invoice information sent by the external e-commerce server; verify the invoice information according to the invoice information database, wherein the invoice information database includes the invoice information corresponding to each order; determine the invoice information After the verification is passed, send funds to the external e-commerce server to complete the fund payment.
本实施例的基于网络商城的交易处理装置可执行本发明实施例二提供的基于网络商城的交易处理方法,其实现原理相类似,此处不再赘述。The online shopping mall-based transaction processing device of this embodiment can execute the online shopping mall-based transaction processing method provided in Embodiment 2 of the present invention, and its implementation principles are similar, so details will not be repeated here.
本实施例通过接收外部电商服务器发送的商品的商品信息;显示商品信息;接收用户终端发送的下单请求,其中,下单请求中包括用户终端标识和至少一个商品的商品标识,下单请求为使用用户终端的用户根据商品信息发起的;根据下单请求生成订单信息,其中,订单信息中包括用户信息和商品标识,用户信息中包括用户终端标识;将订单信息发送给与商品标识对应的外部电商服务器,以使与商品标识对应的外部电商服务器对订单信息进行处理。提供了一种将各外部电商服务器结合起来的平台,可以将各电商通的商品进行统一的展示,完成多个电商平台之间互相对接,实现数据源、产品共享;使得用户不再通过不同的电商平台去进行物品的比较分析,去挑选出适合自己的物品,只需要在一个平台上购买物品即可,为用户提供了便捷。并且,可以对不同的外部电商服务器所提供的商品进行不同方式的推荐,便于用户选择性价比更高的商品。In this embodiment, by receiving the product information of the product sent by the external e-commerce server; displaying the product information; receiving the order request sent by the user terminal, wherein the order request includes the user terminal identification and the product identification of at least one product, and the order request Initiated by the user using the user terminal according to the product information; generate order information according to the order request, where the order information includes user information and product identification, and the user information includes the user terminal identification; send the order information to the corresponding product identification An external e-commerce server, so that the external e-commerce server corresponding to the commodity identifier processes the order information. Provides a platform that combines various external e-commerce servers, which can uniformly display the products of each e-commerce platform, complete the interconnection between multiple e-commerce platforms, and realize data source and product sharing; so that users no longer Through different e-commerce platforms to compare and analyze items, to select items that suit you, you only need to purchase items on one platform, which provides convenience for users. Moreover, the commodities provided by different external e-commerce servers can be recommended in different ways, so that users can choose commodities with higher cost performance.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710517202.7ACN107358499A (en) | 2017-06-29 | 2017-06-29 | Transaction processing method and device based on network shopping mall |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710517202.7ACN107358499A (en) | 2017-06-29 | 2017-06-29 | Transaction processing method and device based on network shopping mall |
| Publication Number | Publication Date |
|---|---|
| CN107358499Atrue CN107358499A (en) | 2017-11-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710517202.7APendingCN107358499A (en) | 2017-06-29 | 2017-06-29 | Transaction processing method and device based on network shopping mall |
| Country | Link |
|---|---|
| CN (1) | CN107358499A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108062661A (en)* | 2017-12-25 | 2018-05-22 | 山东星火科学技术研究院 | Five in one new energy sale demonstration centre information system based on cloud service |
| CN108389101A (en)* | 2018-01-10 | 2018-08-10 | 北京思特奇信息技术股份有限公司 | A kind of order relations management method and system |
| CN108664344A (en)* | 2018-05-14 | 2018-10-16 | 浪潮通用软件有限公司 | A kind of adaption system and method for supporting more electric business platform docking |
| CN110362583A (en)* | 2018-04-08 | 2019-10-22 | 北京京东尚科信息技术有限公司 | A kind of data processing method and device for multi-data source |
| CN110648209A (en)* | 2019-10-09 | 2020-01-03 | 成都途风国际旅行社有限公司 | Tourism order processing method |
| CN110852545A (en)* | 2018-08-21 | 2020-02-28 | 北京京东尚科信息技术有限公司 | Unified Service Management Approach and Platform |
| CN111061730A (en)* | 2019-11-29 | 2020-04-24 | 苏宁云计算有限公司 | Commodity data processing method and device |
| CN111127162A (en)* | 2019-12-25 | 2020-05-08 | 北京同邦卓益科技有限公司 | Commodity order processing method, commodity order processing device, commodity order processing equipment and storage medium |
| CN111445348A (en)* | 2019-01-16 | 2020-07-24 | 阿里巴巴集团控股有限公司 | Commodity manufacturing processing method and device and electronic equipment |
| CN111598507A (en)* | 2020-04-27 | 2020-08-28 | 上海容易网电子商务股份有限公司 | Method for generating inventory information based on inventory reservation |
| CN112134808A (en)* | 2020-07-21 | 2020-12-25 | 上海寻梦信息技术有限公司 | Speed-controlled issuing method and device for warehouse service, electronic equipment and storage medium |
| CN113055222A (en)* | 2021-01-27 | 2021-06-29 | 北京思特奇信息技术股份有限公司 | Cross-operator converged service handling method and system |
| CN113421080A (en)* | 2021-06-03 | 2021-09-21 | 中国联合网络通信集团有限公司 | Supermarket transaction checking method, transaction server and collaboration server |
| WO2025036310A1 (en)* | 2023-08-11 | 2025-02-20 | 深圳市世强元件网络有限公司 | Commodity information sharing method and system based on enterprise purchasing |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103854220A (en)* | 2014-03-28 | 2014-06-11 | 深圳市淘海科技有限公司 | Method and device for realizing cross-platform shopping |
| US20140172637A1 (en)* | 2008-02-19 | 2014-06-19 | Go Daddy Operating Company, LLC | Rating e-commerce transactions |
| CN104869175A (en)* | 2015-06-16 | 2015-08-26 | 腾讯科技(北京)有限公司 | Cross-platform account resource sharing implementation method, device and system |
| CN106097033A (en)* | 2016-05-30 | 2016-11-09 | 东软集团股份有限公司 | A kind of data processing method, client terminal device, server unit and system |
| CN106570673A (en)* | 2016-11-10 | 2017-04-19 | 广州市图吉信息科技有限公司 | Commercial concrete online ordering system based on intelligent mobile phone application |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140172637A1 (en)* | 2008-02-19 | 2014-06-19 | Go Daddy Operating Company, LLC | Rating e-commerce transactions |
| CN103854220A (en)* | 2014-03-28 | 2014-06-11 | 深圳市淘海科技有限公司 | Method and device for realizing cross-platform shopping |
| CN104869175A (en)* | 2015-06-16 | 2015-08-26 | 腾讯科技(北京)有限公司 | Cross-platform account resource sharing implementation method, device and system |
| CN106097033A (en)* | 2016-05-30 | 2016-11-09 | 东软集团股份有限公司 | A kind of data processing method, client terminal device, server unit and system |
| CN106570673A (en)* | 2016-11-10 | 2017-04-19 | 广州市图吉信息科技有限公司 | Commercial concrete online ordering system based on intelligent mobile phone application |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108062661A (en)* | 2017-12-25 | 2018-05-22 | 山东星火科学技术研究院 | Five in one new energy sale demonstration centre information system based on cloud service |
| CN108389101A (en)* | 2018-01-10 | 2018-08-10 | 北京思特奇信息技术股份有限公司 | A kind of order relations management method and system |
| CN110362583A (en)* | 2018-04-08 | 2019-10-22 | 北京京东尚科信息技术有限公司 | A kind of data processing method and device for multi-data source |
| CN108664344A (en)* | 2018-05-14 | 2018-10-16 | 浪潮通用软件有限公司 | A kind of adaption system and method for supporting more electric business platform docking |
| CN110852545A (en)* | 2018-08-21 | 2020-02-28 | 北京京东尚科信息技术有限公司 | Unified Service Management Approach and Platform |
| CN111445348A (en)* | 2019-01-16 | 2020-07-24 | 阿里巴巴集团控股有限公司 | Commodity manufacturing processing method and device and electronic equipment |
| CN111445348B (en)* | 2019-01-16 | 2023-06-09 | 阿里巴巴集团控股有限公司 | Commodity manufacturing processing method and device and electronic equipment |
| CN110648209A (en)* | 2019-10-09 | 2020-01-03 | 成都途风国际旅行社有限公司 | Tourism order processing method |
| CN111061730A (en)* | 2019-11-29 | 2020-04-24 | 苏宁云计算有限公司 | Commodity data processing method and device |
| CN111127162A (en)* | 2019-12-25 | 2020-05-08 | 北京同邦卓益科技有限公司 | Commodity order processing method, commodity order processing device, commodity order processing equipment and storage medium |
| CN111127162B (en)* | 2019-12-25 | 2024-04-09 | 北京同邦卓益科技有限公司 | Commodity order processing method, device, equipment and storage medium |
| CN111598507A (en)* | 2020-04-27 | 2020-08-28 | 上海容易网电子商务股份有限公司 | Method for generating inventory information based on inventory reservation |
| CN112134808A (en)* | 2020-07-21 | 2020-12-25 | 上海寻梦信息技术有限公司 | Speed-controlled issuing method and device for warehouse service, electronic equipment and storage medium |
| CN112134808B (en)* | 2020-07-21 | 2024-02-02 | 上海寻梦信息技术有限公司 | Method and device for issuing bin allocation service speed control, electronic equipment and storage medium |
| CN113055222A (en)* | 2021-01-27 | 2021-06-29 | 北京思特奇信息技术股份有限公司 | Cross-operator converged service handling method and system |
| CN113421080A (en)* | 2021-06-03 | 2021-09-21 | 中国联合网络通信集团有限公司 | Supermarket transaction checking method, transaction server and collaboration server |
| CN113421080B (en)* | 2021-06-03 | 2023-07-14 | 中国联合网络通信集团有限公司 | Supermarket transaction inventory method, transaction server and collaborative server |
| WO2025036310A1 (en)* | 2023-08-11 | 2025-02-20 | 深圳市世强元件网络有限公司 | Commodity information sharing method and system based on enterprise purchasing |
| Publication | Publication Date | Title |
|---|---|---|
| CN107358499A (en) | Transaction processing method and device based on network shopping mall | |
| US12073374B2 (en) | Systems, methods, and computer program products for providing an electronic receipt | |
| US9747598B2 (en) | Dynamic security code push | |
| US11727467B2 (en) | Systems and methods for secure management of a universal shopping cart | |
| US8799152B2 (en) | Universal merchant application, registration and boarding platform | |
| US20150178814A1 (en) | Methods and systems for conducting online transactions | |
| US11468432B2 (en) | Virtual-to-physical secure remote payment to a physical location | |
| US20150012371A1 (en) | Alternative payment implementation for electronic retailers | |
| US20130103584A1 (en) | Payment service that provides option to authenticate with external authentication service | |
| CN105027152A (en) | Systems and methods for simplifying checkout | |
| US11100485B2 (en) | Frictionless shopping method and system | |
| US20160140557A1 (en) | E-commerce based payment system with authentication of electronic invoices | |
| US20130198082A1 (en) | Payment service that provides option to authenticate with external authentication service | |
| KR101918749B1 (en) | Payment gateway processing apparatus capable of automatically inputting personal information based on a two-dimensional code and operating method thereof | |
| CN106462893A (en) | Method and device for searching for electronic transaction certificate, and network search engine | |
| JP2016148913A (en) | Settlement system, settlement method, and program | |
| US20150066741A1 (en) | Method and system for payment distribution for consigned items | |
| AU2014280914B2 (en) | Universal merchant application, registration and boarding platform | |
| TWM504292U (en) | Processing system for offline order | |
| KR101869822B1 (en) | Method and apparatus for unifying heterogeneous electronic payment services | |
| TW201624387A (en) | An electronic commerce offline order receiving method and the system thereof |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20171117 | |
| RJ01 | Rejection of invention patent application after publication |