[go: up one dir, main page]

HK1247394B - Offline transaction implementation method and device - Google Patents

Offline transaction implementation method and device Download PDF

Info

Publication number
HK1247394B
HK1247394B HK18106450.0A HK18106450A HK1247394B HK 1247394 B HK1247394 B HK 1247394B HK 18106450 A HK18106450 A HK 18106450A HK 1247394 B HK1247394 B HK 1247394B
Authority
HK
Hong Kong
Prior art keywords
user account
credit
user
information
transaction service
Prior art date
Application number
HK18106450.0A
Other languages
Chinese (zh)
Other versions
HK1247394A1 (en
Inventor
俞纹雯
李浩荣
王曦
Original Assignee
创新先进技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 创新先进技术有限公司 filed Critical 创新先进技术有限公司
Publication of HK1247394A1 publication Critical patent/HK1247394A1/en
Publication of HK1247394B publication Critical patent/HK1247394B/en

Links

Description

线下交易的实现方法和装置Method and device for implementing offline transactions

技术领域Technical Field

本说明书涉及互联网技术领域,尤其涉及一种线下交易的实现方法和装置。This specification relates to the field of Internet technology, and in particular to a method and device for implementing offline transactions.

背景技术Background Art

随着互联网技术的快速发展,线下实体商户越来越多的运用互联网技术来解决生产、经营过程中的问题,比如:开通电子支付功能,允许用户消费后通过网络进行支付等。然而,线下实体商户依然面临着人力成本高、利润低下等问题。With the rapid development of internet technology, offline brick-and-mortar businesses are increasingly leveraging it to solve production and operational problems. For example, they are enabling electronic payment functions, allowing users to pay online after purchase. However, offline brick-and-mortar businesses still face challenges such as high labor costs and low profits.

发明内容Summary of the Invention

有鉴于此,本说明书提供一种线下交易的实现方法和装置。In view of this, this specification provides a method and device for implementing offline transactions.

具体地,本说明书是通过如下技术方案实现的:Specifically, this specification is implemented through the following technical solutions:

一种线下交易的实现方法,应用于服务端,包括:A method for implementing offline transactions, applied to a server, includes:

接收到商户交易管理系统采集到的用户生物特征;Receiving the user's biometrics collected by the merchant's transaction management system;

判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;Determining whether the user account bound to the biometric feature has activated a credit transaction service, where the credit transaction service is activated if the credit information of the user account meets the conditions;

若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;If it is determined that the user account has opened a credit transaction service, returning the index identifier of the user account to the merchant transaction management system;

接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;Receive billing information uploaded by the merchant transaction management system, wherein the billing information carries the index identifier of the user account;

基于所述索引标识指向的用户账号执行账单支付操作。A bill payment operation is performed based on the user account pointed to by the index identifier.

一种自助贩卖机,包括:第一采集模块、第一通信模块、第一售卖模块;A self-service vending machine includes: a first acquisition module, a first communication module, and a first vending module;

其中,所述第一采集模块,用于采集用户生物特征;Wherein, the first acquisition module is used to collect user biometrics;

所述第一通信模块,用于发送所述生物特征到服务端,以供服务端判断所述生物特征绑定的用户账号是否已开通信用交易服务,并接收服务端在确定已开通信用交易服务时返回的所述用户账号的索引标识;The first communication module is configured to send the biometric feature to a server for the server to determine whether the user account bound to the biometric feature has activated a credit transaction service, and receive an index identifier of the user account returned by the server when the server determines that the credit transaction service has been activated;

所述第一售卖模块,用于在接收到所述索引标识后,响应用户的购买指令并向用户售卖对应的货品;The first selling module is configured to respond to a user's purchase instruction and sell the corresponding product to the user after receiving the index identifier;

所述第一通信模块,还用于在售卖结束后,发送携带所述索引标识的账单信息给服务端,以供服务端基于所述索引标识指向的用户账号执行账单支付操作。The first communication module is further configured to send bill information carrying the index identifier to the server after the sale is completed, so that the server can perform a bill payment operation based on the user account pointed to by the index identifier.

一种无人超市的管理系统,包括:第二采集模块、第二通信模块、门禁控制模块、结算模块;A management system for an unmanned supermarket, comprising: a second acquisition module, a second communication module, an access control module, and a settlement module;

其中,所述第二采集模块,用于采集用户生物特征;Wherein, the second collection module is used to collect user biometrics;

所述第二通信模块,用于发送所述生物特征到服务端,以供服务端判断所述生物特征绑定的用户账号是否已开通信用交易服务,并接收服务端在确定已开通信用交易服务时返回的所述用户账号的索引标识;The second communication module is configured to send the biometric feature to the server so that the server can determine whether the user account bound to the biometric feature has activated the credit transaction service, and receive the index identifier of the user account returned by the server when the server determines that the credit transaction service has been activated;

所述门禁控制模块,用于在所述第二通信模块接收到所述索引标识后,控制超市的大门开启,以允许用户进入;The access control module is configured to control the supermarket door to open after the second communication module receives the index identifier, so as to allow the user to enter;

所述结算模块,用于在确定用户离店后,生成携带所述索引标识的账单信息;The settlement module is configured to generate billing information carrying the index identifier after determining that the user has left the store;

所述第二通信模块,还用于将所述账单信息发送给服务端,以供服务端基于所述索引标识指向的用户账号执行账单支付操作。The second communication module is further configured to send the bill information to a server, so that the server can perform a bill payment operation based on the user account pointed to by the index identifier.

一种线下交易的实现装置,应用于服务端,包括:An offline transaction implementation device, applied to a server, comprising:

特征采集单元,接收到商户交易管理系统采集到的用户生物特征;A feature collection unit receives user biometric features collected by the merchant transaction management system;

开通判断单元,判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;an activation judgment unit for judging whether the user account bound to the biometric feature has activated a credit transaction service, wherein the credit transaction service is activated when the credit information of the user account meets the conditions;

索引返回单元,若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;an index returning unit, which returns the index identifier of the user account to the merchant transaction management system if it is determined that the user account has opened a credit transaction service;

账单接收单元,接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;A bill receiving unit receives bill information uploaded by the merchant transaction management system, wherein the bill information carries an index identifier of the user account;

账单支付单元,基于所述索引标识指向的用户账号执行账单支付操作。The bill payment unit performs a bill payment operation based on the user account pointed to by the index identifier.

一种线下交易的实现装置,包括:A device for implementing offline transactions, comprising:

处理器;processor;

用于存储机器可执行指令的存储器;memory for storing machine-executable instructions;

其中,通过读取并执行所述存储器存储的与线下交易的实现控制逻辑对应的机器可执行指令,所述处理器被促使:Wherein, by reading and executing the machine executable instructions corresponding to the offline transaction implementation control logic stored in the memory, the processor is prompted to:

接收到商户交易管理系统采集到的用户生物特征;Receiving the user's biometrics collected by the merchant's transaction management system;

判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;Determining whether the user account bound to the biometric feature has activated a credit transaction service, where the credit transaction service is activated if the credit information of the user account meets the conditions;

若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;If it is determined that the user account has opened a credit transaction service, returning the index identifier of the user account to the merchant transaction management system;

接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;Receive billing information uploaded by the merchant transaction management system, wherein the billing information carries the index identifier of the user account;

基于所述索引标识指向的用户账号执行账单支付操作。A bill payment operation is performed based on the user account pointed to by the index identifier.

由以上描述可以看出,本实施例用户在信用信息满足条件时,可以通过生物特征实现线下交易,无需使用终端设备,方便快捷。对于商户而言,由于用户的信用信息已满足条件,后续可以通过服务端返回的用户账号索引标识进行请款,无需投入人力监督用户是否付款,节省了大量的人力成本。As can be seen from the above description, in this embodiment, users can use biometrics to conduct offline transactions when their credit information meets the requirements, without the need for a terminal device, making it convenient and fast. For merchants, since the user's credit information already meets the requirements, they can subsequently request payment using the user account index identifier returned by the server, eliminating the need to manually monitor user payment, thus saving significant labor costs.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本说明书一示例性实施例示出的一种线下交易的实现方法的流程示意图。FIG1 is a flow chart of a method for implementing an offline transaction shown in an exemplary embodiment of this specification.

图2是本说明书一示例性实施例示出的一种信用交易服务开通的流程示意图。FIG2 is a flow chart of a credit transaction service activation process shown in an exemplary embodiment of this specification.

图3是本说明书一示例性实施例示出的另一种线下交易的实现方法的流程示意图。FIG3 is a flow chart of another method for implementing offline transactions according to an exemplary embodiment of this specification.

图4是本说明书一示例性实施例示出的一种自助贩卖机的示意图。FIG4 is a schematic diagram of a self-service vending machine shown in an exemplary embodiment of this specification.

图5是本说明书一示例性实施例示出的一种用于线下交易的实现装置的一结构示意图。FIG5 is a schematic structural diagram of an implementation device for offline transactions shown in an exemplary embodiment of this specification.

图6是本说明书一示例性实施例示出的一种线下交易的实现装置的框图。FIG6 is a block diagram of an offline transaction implementation device shown in an exemplary embodiment of this specification.

具体实施方式DETAILED DESCRIPTION

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with this specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of this specification, as detailed in the appended claims.

在本说明书使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书。在本说明书和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. As used in this specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本说明书可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information without departing from the scope of this specification. Depending on the context, the term "if" as used herein may be interpreted as "when," "when," or "in response to determining."

图1是本说明书一示例性实施例示出的一种线下交易的实现方法的流程示意图。FIG1 is a flow chart of a method for implementing an offline transaction shown in an exemplary embodiment of this specification.

请参考图1,所述线下交易的实现方法可以应用在服务端,包括以下步骤:Referring to FIG1 , the offline transaction implementation method can be applied on the server side and includes the following steps:

步骤102,接收到商户交易管理系统采集到的用户生物特征。Step 102: Receive the user's biometric features collected by the merchant transaction management system.

在本实施例中,所述商户交易管理系统通常由线下的实体商户部署,包括有可以采集用户生物特征的生物特征采集装置。所述生物特征可以包括:指纹、掌纹、人脸图像、虹膜等。In this embodiment, the merchant transaction management system is usually deployed by an offline physical merchant and includes a biometric feature collection device that can collect user biometric features. The biometric features may include fingerprints, palm prints, facial images, irises, etc.

商户交易管理系统在采集到用户生物特征后,可以通过有线、无线等网络传输方式将采集到的生物特征上传到服务端。以掌纹为例,用户在放置掌纹后,商户交易管理系统可以采集到掌纹的主线、皱褶、三角点、细节点等特征信息。以人脸为例,商户交易系统可以采集到人脸特征信息。商户交易管理系统将采集到的生物特征的特征信息上传到服务端。After collecting user biometrics, the merchant's transaction management system can upload these features to the server via wired or wireless network transmission methods. For example, after a user places their palm print, the merchant's transaction management system can collect information such as the main lines, wrinkles, triangulation points, and minutiae of the palm print. For example, for a face, the merchant's transaction management system can also collect facial features. The merchant's transaction management system then uploads this biometric feature information to the server.

步骤104,判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通。Step 104 , determining whether the user account bound to the biometric feature has activated a credit transaction service. The credit transaction service is activated when the credit information of the user account meets the conditions.

步骤106,若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统。Step 106: If it is determined that the user account has opened a credit transaction service, the index identifier of the user account is returned to the merchant transaction management system.

在本实施例中,所述用户账号的索引标识可以是用户账号ID,也可以是与用户账号具有对应关系的临时账号ID等,本实施例对此不作特殊限制。In this embodiment, the index identifier of the user account may be a user account ID, or a temporary account ID corresponding to the user account, etc. This embodiment does not impose any special restrictions on this.

步骤108,接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识。Step 108: Receive the billing information uploaded by the merchant transaction management system, wherein the billing information carries the index identifier of the user account.

在本实施例中,用户在线下的实体商户进行购物、用餐等消费行为后,商户交易管理系统可以将用户本次消费行为所产生的账单金额和用户账号的索引标识携带在账单信息中发送给服务端,所述账单信息中通常还包括:账单时间、账单编号等信息。In this embodiment, after a user performs consumption activities such as shopping and dining at an offline physical merchant, the merchant transaction management system can carry the bill amount generated by the user's consumption behavior and the index identifier of the user account in the bill information and send it to the server. The bill information usually also includes: bill time, bill number and other information.

步骤110,基于所述索引标识指向的用户账号执行账单支付操作。Step 110: Perform a bill payment operation based on the user account pointed to by the index identifier.

基于前述步骤108,在接收到所述账单信息后,可以查找用户账号索引标识指向的用户账号,然后基于查找到的用户账号执行账单支付操作,比如:在所述用户账号中扣除账单金额以支付给商户。Based on the aforementioned step 108, after receiving the bill information, the user account pointed to by the user account index identifier can be searched, and then the bill payment operation can be performed based on the found user account, such as: deducting the bill amount from the user account to pay the merchant.

由以上描述可以看出,本实施例用户在信用信息满足条件时,可以通过生物特征实现线下交易,无需使用终端设备,方便快捷。对于商户而言,由于用户的信用信息已满足条件,后续可以通过服务端返回的用户账号索引标识进行请款,无需投入人力监督用户是否付款,节省了大量的人力成本。As can be seen from the above description, in this embodiment, users can use biometrics to conduct offline transactions when their credit information meets the requirements, without the need for a terminal device, making it convenient and fast. For merchants, since the user's credit information already meets the requirements, they can subsequently request payment using the user account index identifier returned by the server, eliminating the need to manually monitor user payment, thus saving significant labor costs.

下面分别通过信用交易服务的开通、基于信用交易服务的线下交易两个方面来描述本说明书的实现过程。The following describes the implementation process of this specification through two aspects: the activation of the credit transaction service and the offline transaction based on the credit transaction service.

一、信用交易服务的开通1. Activation of Credit Trading Services

图2是本说明书一示例性实施例示出的一种信用交易服务开通的流程示意图。FIG2 is a flow chart of a credit transaction service activation process shown in an exemplary embodiment of this specification.

请参考图2,所述信用交易服务的开通可以包括以下步骤:Referring to FIG2 , the activation of the credit transaction service may include the following steps:

步骤202,接收到信用交易服务的开通请求。Step 202: Receive a credit transaction service activation request.

在本实施例中,用户可以通过终端设备中装载的客户端软件(APP,Application)发起信用交易服务的开通请求,用户也可以通过PC机的浏览器发起信用交易服务的开通请求。In this embodiment, the user can initiate a credit transaction service activation request through the client software (APP) loaded in the terminal device, and the user can also initiate a credit transaction service activation request through the browser of the PC.

步骤204,判断发起所述开通请求的用户账号的信用信息是否满足条件。Step 204: Determine whether the credit information of the user account that initiated the activation request meets the conditions.

基于前述步骤202,服务端在接收到所述信用交易服务的开通请求后,可以判断发起该开通请求的用户账号的信用信息是否满足预设的条件,比如:判断用户账号的信用评分是否大于等于预设的评分阈值。所述评分阈值可以由开发人员预先进行设置。一般而言,用户账号的信用评分越高,代表用户的信用越好,用户违约、欺诈的概率就越低。Based on the aforementioned step 202, after receiving the credit transaction service activation request, the server can determine whether the credit information of the user account initiating the activation request meets preset conditions, such as determining whether the user account's credit score is greater than or equal to a preset score threshold. The score threshold can be pre-set by the developer. Generally speaking, a higher user account's credit score indicates better creditworthiness and a lower probability of default or fraud.

步骤206,若所述用户账号的信用信息满足所述条件,则为所述用户账号开通信用交易服务,并将基于该用户账号上传的生物特征与该用户账号绑定。Step 206: If the credit information of the user account meets the conditions, a credit transaction service is opened for the user account, and the biometric feature uploaded based on the user account is bound to the user account.

基于前述步骤204的判断结果,在用户账号的信用信息满足条件时,可以为所述用户账号开通信用交易服务,并提示用户上传用于使用该信用交易服务的生物特征。Based on the judgment result of the aforementioned step 204, when the credit information of the user account meets the conditions, a credit transaction service can be opened for the user account, and the user is prompted to upload biometrics for using the credit transaction service.

用户在上传用于使用该信用交易服务的生物特征后,服务端可以将该生物特征和用户账号绑定,比如:将该生物特征的特征信息和用户账号的账号标识绑定等。After the user uploads the biometric feature for using the credit transaction service, the server can bind the biometric feature to the user account, for example, binding the feature information of the biometric feature to the account ID of the user account.

在一个例子中,可以通过为用户账号添加信用交易服务标记的方式来实现信用交易服务的开通。其中,所述信用交易服务标记可以为特定的字符、字符串等。举例来说,可以为每个用户账号设置信用交易服务标志位,该标志位的初始值可以为0,用于表示未开通信用交易服务,在为某用户账号开通信用交易服务时,可以将其标志位由0修改为1,1代表信用服务标记,表示已开通信用交易服务。In one example, the credit transaction service can be activated by adding a credit transaction service flag to a user account. The credit transaction service flag can be a specific character, string, or the like. For example, a credit transaction service flag can be set for each user account. The initial value of this flag can be 0, indicating that the credit transaction service is not activated. When the credit transaction service is activated for a user account, the flag can be changed from 0 to 1, indicating that the credit transaction service is activated.

在另一例子中,可以通过将生物特征与用户账号之间的绑定关系保存至指定信用库中来实现信用交易服务的开通。其中,所述信用库的实现方式可以为数据库、数据表等。比如:服务端可以设置一个信用库,在开通信用交易服务时,可以将用户上传的生物特征与用户账号之间的绑定关系存储到该信用库中。又比如:服务端可以为每个地区设置一个信用库,在开通信用交易服务时,可以将用户上传的生物特征与用户账号之间的绑定关系存储到用户账号所在地区的信用库中,从而可以将不同地区的绑定关系存储到不同的信用库中,提高后续查询的效率。其中,地区的划分原则可以是省级划分、市级划分等,本实施例对此不作特殊限制。In another example, the activation of a credit transaction service can be achieved by saving the binding relationship between the biometric feature and the user account in a designated credit library. The credit library can be implemented as a database, a data table, etc. For example, the server can set up a credit library, and when activating a credit transaction service, the binding relationship between the biometric feature uploaded by the user and the user account can be stored in the credit library. For another example, the server can set up a credit library for each region, and when activating a credit transaction service, the binding relationship between the biometric feature uploaded by the user and the user account can be stored in the credit library of the region where the user account is located, so that the binding relationships of different regions can be stored in different credit libraries, thereby improving the efficiency of subsequent queries. The principle of regional division can be provincial division, municipal division, etc., and this embodiment does not impose any special restrictions on this.

在本实施例中,用户账号的信用信息通常随着用户账号的使用情况不断发生变化,服务端针对已开通信用交易服务的用户账号,可以采用定期或事件触发的方式检查该用户账号的信用信息是否依然满足条件。若依然满足条件,则可以维持该用户账号信用交易服务的开通状态;若不满足条件,则可以关闭该用户账号的信用交易服务,比如:将该用户账号的信用交易服务标志位由1修改为0,或者在指定信用库中删除用户生物特征与用户账号之间的绑定关系等。其中,检查周期可以由开发人员进行设置,比如:1个月、2个月等。所述事件触发可以包括:用户账号信用信息的更新,比如:当用户账号的信用信息有更新时,可以检查该用户账号的信用信息是否依然满足条件等。In this embodiment, the credit information of a user account typically changes continuously with the usage of the user account. For user accounts that have activated the credit transaction service, the server can periodically or through event triggering to check whether the credit information of the user account still meets the conditions. If the conditions are still met, the activation status of the credit transaction service for the user account can be maintained; if the conditions are not met, the credit transaction service for the user account can be disabled, for example, by changing the credit transaction service flag of the user account from 1 to 0, or deleting the binding relationship between the user's biometric features and the user account in the designated credit library. The checking period can be set by the developer, such as 1 month, 2 months, etc. The event triggering can include: updating the credit information of the user account, for example, when the credit information of the user account is updated, it can be checked whether the credit information of the user account still meets the conditions.

在本实施例中,若确定用户账号的信用信息不满足条件,则不为该用户账号开通信用交易服务,比如:维持信用交易服务标志位的取值0等。服务端还可以将信用信息不满足条件的结果以及提高信用信息的方法返回,以供用户参考。In this embodiment, if it is determined that the credit information of the user account does not meet the conditions, the credit transaction service will not be enabled for the user account, for example, the credit transaction service flag will be kept at 0. The server can also return the result that the credit information does not meet the conditions and the method for improving the credit information for the user's reference.

二、基于信用交易服务的线下交易II. Offline transactions based on credit transaction services

基于图1所示的实施例,在一个例子中,以用户开通信用交易服务时上传的生物特征是掌纹为例,请参考图3,用户在线下使用信用交易服务的过程可以包括:Based on the embodiment shown in FIG1 , in one example, taking the palm print as an example of the biometric feature uploaded by the user when opening a credit transaction service, please refer to FIG3 . The process of the user using the credit transaction service offline may include:

步骤301,用户在商户交易管理系统中输入掌纹。Step 301: The user enters the palm print in the merchant transaction management system.

在本实施例中,用户可以在商户交易管理系统提供的掌纹采集装置中输入自己的掌纹。In this embodiment, the user can input his or her palm print into the palm print collection device provided by the merchant transaction management system.

步骤302,商户交易管理系统将采集到的掌纹发送到服务端。Step 302: The merchant transaction management system sends the collected palm prints to the server.

步骤303,服务端判断用户是否已开通信用交易服务。In step 303, the server determines whether the user has activated the credit transaction service.

在本实施例中,针对信用交易服务开通的不同实现方式,可以对应采样不同的方式判断用户是否已开通信用交易服务。In this embodiment, for different implementation methods of activating the credit transaction service, different sampling methods may be used to determine whether the user has activated the credit transaction service.

针对为用户账号添加信用交易服务标记的实现方式,服务端可以查看该掌纹绑定的用户账号的信用交易服务标志位的取值,若取值为0,则可以确定用户未开通信用交易服务;若取值为1,则可以确定已开通信用交易服务。Regarding the implementation method of adding a credit transaction service mark to the user account, the server can check the value of the credit transaction service flag of the user account bound to the palm print. If the value is 0, it can be determined that the user has not activated the credit transaction service; if the value is 1, it can be determined that the credit transaction service has been activated.

针对将生物特征与用户账号之间的绑定关系保存至指定信用库的实现方式,若指定信用库是全局唯一的信用库,则可以在该信用库中查询是否存在该掌纹绑定的用户账号,若查找到绑定的用户账号,则可以确定该用户已开通信用交易服务;若未查找到绑定的用户账号,则可以确定未开通信用交易服务。Regarding the implementation method of saving the binding relationship between the biometric feature and the user account in the designated credit library, if the designated credit library is the only one in the world, it is possible to query in the credit library whether there is a user account bound to the palm print. If the bound user account is found, it can be determined that the user has activated the credit transaction service; if the bound user account is not found, it can be determined that the credit transaction service has not been activated.

若指定信用库是对应所述用户账号所在地区的信用库,则可以先确定商户交易管理系统的所在地区,然后该商户交易管理系统所在地区对应的当地信用库中查找该掌纹绑定的用户账号。举例来说,假设该商户交易管理系统在杭州,考虑到用户在其所在地进行线下交易的概率较高,可以优先在杭州本地信用库中查找该掌纹绑定的用户账号,以提高查找速率。如果未查找到,则可以在杭州之外的其他地方的信用库中查找该账号绑定的用户账号。若在查找其他所有信用库之后,仍未查找到该掌纹绑定的用户账号,则可以确定该用户未开通信用交易服务。If the designated credit database is the one corresponding to the region where the user account is located, the region of the merchant transaction management system can be determined first. Then, the local credit database corresponding to the region where the merchant transaction management system is located can be searched for the user account bound to the palm print. For example, assuming the merchant transaction management system is in Hangzhou, given the high probability of users conducting offline transactions in that region, the user account bound to the palm print can be searched first in the local credit database in Hangzhou to increase the search speed. If no such user account is found, the user account bound to the palm print can be searched in credit databases in other regions outside of Hangzhou. If the user account bound to the palm print is still not found after searching all other credit databases, it can be determined that the user has not activated the credit transaction service.

在本实施例中,在确定掌纹绑定的用户账号时,可以将商户交易管理系统发送的掌纹的特征信息与各用户账号绑定的掌纹特征进行匹配,若匹配,则可以确定掌纹绑定的用户账号。在本例中,可以基于掌纹的点特征与线特征、纹理特征、子空间分析和分级特征融合等掌纹识别算来进行掌纹的匹配,本实施例对此不作特殊限制。In this embodiment, when determining the user account bound to a palmprint, the palmprint feature information sent by the merchant transaction management system can be matched with the palmprint features bound to each user account. If a match is found, the user account bound to the palmprint can be determined. In this example, palmprint matching can be performed based on palmprint recognition algorithms such as point and line features, texture features, subspace analysis, and hierarchical feature fusion, and this embodiment does not impose any specific limitations on this.

在另一个例子中,以生物特征是人脸为例,人脸匹配的算法可以为:特征脸算法(Eigenface)、局部二值模式算法(Local Binary Patterns,LBP)等,本实施例对此不作特殊限制。可选的,在进行人脸匹配之前,还可以先进行人脸活体识别。人脸活体识别可以采用多种方式,比如说主动式人脸活体检测技术和被动式人脸活体检测技术。主动式人脸活体检测技术要求用户在进行人脸识别时根据指令,配合完成特定的活体动作,如眨眼、转头、张嘴等,从而活体检测模块可以根据操作者是否准确地完成了活体动作,判定操作者是否是活体。被动式人脸活体检测技术不需要用户配合完成活体动作,用户体验较好,但技术难度高,主要依赖输入的单帧图像信息或者其他设备传感器信息进行活体检测。比如说使用活体与非活体的人脸采集图像对于单一的深度学习模型进行监督式训练,然后使用训练后的模型针对输入的单帧图像进行人脸活体预测。另外,还可以利用两个深度学习模型进行人脸活体检测。In another example, taking the face as the biometric feature, the face matching algorithm can be: Eigenface algorithm, Local Binary Patterns algorithm (LBP), etc., and this embodiment does not impose any special restrictions on this. Optionally, before performing face matching, face liveness recognition can be performed first. Face liveness recognition can be performed in a variety of ways, such as active face liveness detection technology and passive face liveness detection technology. Active face liveness detection technology requires the user to cooperate with the instructions to complete specific liveness actions, such as blinking, turning the head, opening the mouth, etc. when performing face recognition, so that the liveness detection module can determine whether the operator is alive based on whether the operator has accurately completed the liveness action. Passive face liveness detection technology does not require the user to cooperate to complete the liveness action, and the user experience is better, but the technical difficulty is high, and it mainly relies on the input of single-frame image information or other device sensor information for liveness detection. For example, a single deep learning model can be trained in a supervised manner using live and non-live face images, and then the trained model can be used to predict live faces based on a single input image. Alternatively, two deep learning models can be used for live face detection.

此外,若服务端确定该掌纹未绑定任何用户账号,则也可以确定该用户未开通信用交易服务。In addition, if the server determines that the palm print is not bound to any user account, it can also be determined that the user has not activated the credit transaction service.

步骤304,服务端在确定该用户已开通信用交易服务后,将用户账号的索引标识返回给商户交易管理系统。In step 304, after determining that the user has activated the credit transaction service, the server returns the index identifier of the user account to the merchant transaction management system.

在一个例子中,服务端可以将用户账号的ID作为其索引标识返回给商户交易管理系统。In one example, the server may return the ID of the user account as its index identifier to the merchant transaction management system.

在另一个例子中,为确保用户账号安全,服务端可以动态生成用户账号的索引标识并返回给商户交易管理系统,比如:服务端可以生成绑定该用户账号的随机码或临时账号,然后将该随机码或临时账号返回给商户交易管理系统。其中,所述随机码或临时账号对应有预设的失效时长,比如:6个小时、12个小时等,在到达该预设的失效时长后,解除该随机码或临时账号与该用户账号之间的绑定关系。In another example, to ensure user account security, the server can dynamically generate an index identifier for the user account and return it to the merchant's transaction management system. For example, the server can generate a random code or temporary account number bound to the user account and then return the random code or temporary account number to the merchant's transaction management system. The random code or temporary account number has a preset expiration time, such as 6 hours or 12 hours. After the preset expiration time, the random code or temporary account number is unbound from the user account.

步骤305,商户交易管理系统允许用户自由采购,并在采购后离店。Step 305: The merchant transaction management system allows the user to purchase freely and leave the store after purchase.

在本实施例中,商户交易管理系统在接收到服务端返回的用户账号的索引标识后,可以确定用户已开通信用交易服务,进而可以允许用户进行消费,比如:控制商户门店的大门开启,用户在消费后离店,无需人工监督用户是否已付款。In this embodiment, after receiving the index identifier of the user account returned by the server, the merchant transaction management system can determine that the user has activated the credit transaction service, and then allow the user to make purchases, such as controlling the door of the merchant store to open, and the user leaves the store after consumption, without the need for manual supervision to determine whether the user has paid.

步骤306,商户交易管理系统将用户本次消费的账单消息发送给服务端,该账单信息中携带上述索引标识。In step 306, the merchant transaction management system sends the billing information of the user's current consumption to the server, and the billing information carries the above-mentioned index identifier.

在本实施例中,用户在消费后,商户交易管理系统可以计算用户本次消费的账单金额,然后将账单金额、用户账号的索引标识等信息携带在账单信息中发送给服务端。In this embodiment, after the user makes a purchase, the merchant transaction management system can calculate the bill amount of the user's purchase, and then send the bill amount, the index identifier of the user account and other information to the server in the bill information.

在本实施例中,商户交易管理系统可以通过视频监测、计时等方式确定用户的账单金额,本实施例对此不作特殊限制。In this embodiment, the merchant transaction management system can determine the user's bill amount through video monitoring, timing, etc., and this embodiment does not impose any special restrictions on this.

步骤307,服务端基于索引标识指向的用户账号执行账单支付操作。In step 307, the server performs a bill payment operation based on the user account pointed to by the index identifier.

基于前述步骤306,在接收到商户交易管理系统发送的账单信息后,可以查找账单信息中携带的索引标识指向的用户账号,然后基于查找到的用户账号执行账单支付操作,比如:基于该用户账号扣除账单金额,并将扣除的账单金额支付给商户交易管理系统绑定的账号等。Based on the aforementioned step 306, after receiving the bill information sent by the merchant transaction management system, the user account pointed to by the index identifier carried in the bill information can be searched, and then the bill payment operation can be performed based on the found user account, such as: deducting the bill amount based on the user account, and paying the deducted bill amount to the account bound to the merchant transaction management system, etc.

在本实施例中,账单支付操作通常发生在用户消费离店后,为确保用户账号安全,服务端在执行账单支付操作之前,可以先检查商户交易管理系统上传的账单信息是否符合预设的安全策略,若符合,则可以执行账单支付操作;若不符合,则可暂停账单支付操作,并将所述账单信息发送给所述索引标识指向的用户账号,以供用户进行确认,若用户确认该账单,则可以执行支付操作,若用户对该账单产生异议,则可以请求商户对该账单进行确认等,以确保用户的财产安全。In this embodiment, the bill payment operation usually occurs after the user makes a purchase and leaves the store. To ensure the security of the user's account, the server can first check whether the bill information uploaded by the merchant's transaction management system complies with the preset security policy before executing the bill payment operation. If it does, the bill payment operation can be executed; if it does not, the bill payment operation can be suspended, and the bill information can be sent to the user account pointed to by the index identifier for the user to confirm. If the user confirms the bill, the payment operation can be executed. If the user has an objection to the bill, the merchant can be requested to confirm the bill, etc., to ensure the safety of the user's property.

在一个例子中,上述安全策略可以包括:商户交易管理系统发送用户掌纹的时间与账单时间的时差在时差阈值内,其中,所述时差阈值可以由开发人员根据消费场景进行设置。一般而言,用户在输入掌纹后进行消费的时长通常在一定的时长内,比如:用户就餐的时长通常不会超过3个小时,用户在超市购物的时长通常不会超过2个小时等。若商户交易管理系统发送用户掌纹的时间与账单时间的时差超过该时差阈值,则说明本次账单可能存在异常,为确保用户的资金安全,可以暂停账单支付操作,并将账单信息发送给用户进行确认。In one example, the above security policy may include: the time difference between the time when the merchant transaction management system sends the user's palm print and the billing time is within a time difference threshold, wherein the time difference threshold can be set by the developer according to the consumption scenario. Generally speaking, the time length for a user to consume after entering the palm print is usually within a certain time length, for example: the time length for a user to dine out is usually not more than 3 hours, the time length for a user to shop in a supermarket is usually not more than 2 hours, etc. If the time difference between the time when the merchant transaction management system sends the user's palm print and the billing time exceeds the time difference threshold, it means that there may be an abnormality in this bill. In order to ensure the safety of the user's funds, the bill payment operation can be suspended and the bill information can be sent to the user for confirmation.

在另一个例子中,上述安全策略还可以包括:账单金额满足所述索引标识指向的用户账号的信用交易金额限定,其中,限定的信用交易金额可以由用户自行进行设置,比如:用户在开通信用交易服务后,可以设置限定的信用交易金额。举例来说,假设用户设置的信用交易金额是500元,若账单金额未超过500元,则可以执行账单支付操作;若账单金额超过500元,则可以暂停账单支付操作,并将账单信息发送给用户进行确认。In another example, the security policy may further include: the bill amount meets the credit transaction amount limit of the user account pointed to by the index identifier, wherein the credit transaction amount limit can be set by the user. For example, after activating the credit transaction service, the user can set the credit transaction amount limit. For example, assuming the credit transaction amount set by the user is 500 yuan, if the bill amount does not exceed 500 yuan, the bill payment operation can be executed; if the bill amount exceeds 500 yuan, the bill payment operation can be suspended and the bill information can be sent to the user for confirmation.

在另一个例子中,上述安全策略可以与用户终端的位置有关联。基于图1和图3所示的实施例,采用信用交易服务,用户可以实现免终端的线下交易,而在实际的应用中,用户即便采用免终端的信用交易服务实现线下交易,通常也会随身携带手机等终端设备。在本例中,与上述服务端进行交互的客户端软件可以定期上报终端的位置信息,该客户端软件可基于用户账号登录。服务端在接收到客户端上报的位置信息后,可以保存位置信息和上报时间的对应关系,其中,客户端上报位置信息的周期可以由开发人员进行设置,比如:1小时、2小时等。In another example, the above security policy can be associated with the location of the user terminal. Based on the embodiments shown in Figures 1 and 3, by using a credit transaction service, users can realize offline transactions without terminals. However, in actual applications, even if users use a terminal-free credit transaction service to realize offline transactions, they usually carry terminal devices such as mobile phones with them. In this example, the client software that interacts with the above-mentioned server can regularly report the location information of the terminal, and the client software can be logged in based on the user account. After receiving the location information reported by the client, the server can save the correspondence between the location information and the reporting time, wherein the period for the client to report the location information can be set by the developer, such as: 1 hour, 2 hours, etc.

请参考表1的示例,表1示出了用户1终端设备中装载的客户端软件上报的位置信息和上报时间。该客户端软件基于用户1的用户账号1登录。Please refer to the example of Table 1, which shows the location information and reporting time reported by the client software loaded in the terminal device of User 1. The client software is logged in based on User Account 1 of User 1.

上报时间Reporting time 位置信息Location information 2017/6/19 10:00:002017/6/19 10:00:00 位置1Position 1 2017/6/19 11:00:00June 19, 2017, 11:00:00 AM 位置2Position 2 2017/6/19 12:00:002017/6/19 12:00:00 位置3Position 3

表1Table 1

基于表1的示例,服务端在接收到商户交易管理系统发送的账单信息后,可以获取账单时间,假设账单时间为2017/6/19 12:42:28,该账单信息携带的索引表示指向用户账号1,则服务端可以获取到用户账号1登录的客户端最近一次的上报位置信息的时间为2017/6/19 12:00:00,距离账单时间的时差是42分28秒。该客户端最近一次上报的位置是位置3,服务端可以计算位置3与商户交易管理系统所在位置的距离差,假设,位置3位于北京,而商户交易管理系统所在位置在三亚,在42分28秒内,用户1无法从北京赶到三亚,所以商户交易管理系统的位置信息与获取到的终端位置信息的距离差不符合上述时差对应的位置变化差异,可以确定账单信息异常,为确保用户的资金安全,可以暂停本次账单支付操作,并将账单信息发送给用户进行确认。Based on the example in Table 1, after receiving billing information from the merchant transaction management system, the server can obtain the billing time. Assuming the billing time is 2017/6/19 12:42:28, and the index carried in the billing information points to user account 1, the server can obtain the time of the most recently reported location information of the client logged in by user account 1 as 2017/6/19 12:00:00, with a time difference of 42 minutes and 28 seconds from the billing time. The client's most recently reported location is location 3. The server can calculate the distance difference between location 3 and the location of the merchant transaction management system. Assuming location 3 is in Beijing, while the merchant transaction management system is located in Sanya, user 1 cannot travel from Beijing to Sanya within 42 minutes and 28 seconds. Therefore, the distance difference between the merchant transaction management system's location information and the obtained terminal location information does not match the location change difference corresponding to the time difference. Therefore, the billing information is determined to be abnormal. To ensure the security of the user's funds, the bill payment operation can be suspended and the bill information can be sent to the user for confirmation.

在实际应用中,可以结合上述三种安全策略进行安全检测,也可以采用上述一种或任意两种安全策略进行安全检测,当然,也可以采用其他的安全策略进行安全检测,本实施例对此不作特殊限制。In practical applications, the above three security policies may be combined for security detection, or one or any two of the above security policies may be used for security detection. Of course, other security policies may also be used for security detection, and this embodiment does not impose any special restrictions on this.

步骤308,服务端在账单支付成功后,根据账单支付信息正向更新用户账号的信用信息。Step 308: After the bill payment is successful, the server updates the credit information of the user account according to the bill payment information.

在本实施例中,若账单支付成功,可以对用户账号的信用信息进行正向更新,比如记录用户的信用事件;又比如相应增加用户账号的信用评分等。在实际实现中,可以在账单支付成功后进行信用信息的更新,也可以等到信用信息的更新时间点时,进行信用信息的更新,本实施例对此不作特殊限制。In this embodiment, if the bill payment is successful, the credit information of the user account can be positively updated, such as recording the user's credit event; another example is to increase the user account's credit score accordingly. In actual implementation, the credit information can be updated after the bill payment is successful, or it can be updated at the credit information update time point, and this embodiment does not impose any specific limitations on this.

在另一个例子中,服务端在账单支付失败后,可以发送支付失败的消息给用户,比如:将支付失败的消息推送到上述索引标识指向的用户账号,基于该用户账号登录的客户端可以展示所述支付失败的消息,比如:客户端可以在首页展示消息“您于2017-5-18在**店铺消费的账单扣款失败,请点击重新进行支付”。基于展示的支付失败消息,用户可以手动重新进行支付。In another example, after a bill payment fails, the server can send a payment failure message to the user. For example, the server can push the payment failure message to the user account identified by the index identifier. The client logged in using that user account can then display the payment failure message. For example, the client can display the message "The charge for your purchase at ** store on May 18, 2017, failed. Please click to retry payment" on the homepage. Based on the displayed payment failure message, the user can manually retry payment.

可选的,若用户在预定的期限内未手动重新进行支付,服务端可以再次尝试自动支付,比如:在24小时后再次尝试扣款。Optionally, if the user does not manually re-pay within a predetermined period, the server may retry the automatic payment, for example, retrying the deduction after 24 hours.

当然,服务端在账单支付失败后,也可以再尝试若干次自动支付,若均失败,则可以发送支付失败的消息给用户,本实施例对此不作特殊限制。Of course, after the bill payment fails, the server can also try to make automatic payments several times. If all attempts fail, a payment failure message can be sent to the user. This embodiment does not impose any special restrictions on this.

在本例中,若账单支付失败的次数达到预定次数,比如:3次、5次等,并且到达支付截止日期仍未能支付时,服务端可以负向更新用户的信用信息,还可以将用户加入信用负面名单,比如:将用户加入信用黑名单。其中,所述支付截止日期可以由商户进行设置,比如:10天、15天等。可选的,服务端还可以将该信用负面名单提供给有需要的商户、企业等,以协助相关商户、企业降低风险。In this example, if a bill payment fails a predetermined number of times (e.g., three, five, etc.), and payment is still unsuccessful by the payment deadline, the server can negatively update the user's credit information and add the user to a negative credit list, such as a credit blacklist. The payment deadline can be set by the merchant, such as 10 or 15 days. Optionally, the server can also provide this negative credit list to merchants and businesses in need to help them mitigate risk.

由以上描述可以看出,用户在开通信用交易服务后,可以通过生物特征实现线下交易,无需使用终端设备,方便快捷。对于商户而言,后续可以通过服务端返回的用户账号索引标识进行请款,无需投入人力监督用户是否付款,节省了大量的人力成本。As can be seen from the above description, after users activate the credit transaction service, they can conduct offline transactions using their biometrics, without the need for a terminal device, making it convenient and fast. Merchants can then request payment using the user account index returned by the server, eliminating the need to manually monitor user payment and saving significant labor costs.

上述图1或图3所示实施例记载的线下交易实现方案可以应用在自助贩卖机、无人超市、自助KTV等场景中。下面以自助贩卖机和无人超市为例进行描述。The offline transaction implementation scheme described in the embodiment shown in Figure 1 or Figure 3 can be applied in scenarios such as self-service vending machines, unmanned supermarkets, and self-service KTVs. The following description will be made using self-service vending machines and unmanned supermarkets as examples.

一、自助贩卖机1. Self-service vending machines

在一个例子中,用户在自助贩卖机购买货品时,可以先选择想要购买的货品,自助贩卖机可以输出用户本次消费的金额,用户可以采用现金、银行卡、第三方支付平台等多种方式进行付款,付款成功后,自助贩卖机可以投放将用户选择的货品。In one example, when a user purchases goods at a self-service vending machine, he or she can first select the goods he or she wants to buy. The self-service vending machine can then output the amount of the user's current consumption. The user can pay using various methods, such as cash, bank cards, and third-party payment platforms. After successful payment, the self-service vending machine can dispense the goods selected by the user.

在另一个例子中,请参考图4,自助贩卖机可以包括第一采集模块、第一通信模块以及第一售卖模块。In another example, referring to FIG. 4 , a self-service vending machine may include a first acquisition module, a first communication module, and a first vending module.

其中,所述第一采集模块,可以为生物特征采集模块,用于采集用户生物特征。The first acquisition module may be a biometrics acquisition module for acquiring biometrics of the user.

所述第一通信模块,用于发送所述生物特征到服务端,以供服务端判断所述生物特征绑定的用户账号是否已开通信用交易服务,并接收服务端在确定已开通信用交易服务时返回的所述用户账号的索引标识;The first communication module is configured to send the biometric feature to a server for the server to determine whether the user account bound to the biometric feature has activated a credit transaction service, and receive an index identifier of the user account returned by the server when the server determines that the credit transaction service has been activated;

所述第一售卖模块,用于在接收到所述索引标识后,响应用户的购买指令并向用户售卖对应的货品;The first selling module is configured to respond to a user's purchase instruction and sell the corresponding product to the user after receiving the index identifier;

所述第一通信模块,还用于在售卖结束后,发送携带所述索引标识的账单信息给服务端,以供服务端基于所述索引标识指向的用户账号执行账单支付操作。The first communication module is further configured to send bill information carrying the index identifier to the server after the sale is completed, so that the server can perform a bill payment operation based on the user account pointed to by the index identifier.

在本例中,仍以掌纹为例,用户在自助贩卖机购买货品时,可以先通过第一采集模块输入自己的掌纹,第一通信模块可以将该掌纹发送到服务端,若服务端确定该掌纹绑定的用户账号已开通信用交易服务,并返回了用户账号的索引标识,则售卖模块可以允许用户选择货品,用户在选择货品后,售卖模块就投放对应的货品,用户拿起货品即可离开。In this example, still taking palm prints as an example, when a user purchases goods at a self-service vending machine, he or she can first input his or her palm print through the first acquisition module. The first communication module can send the palm print to the server. If the server determines that the user account bound to the palm print has opened a credit transaction service and returns the index identifier of the user account, the sales module can allow the user to select goods. After the user selects the goods, the sales module will place the corresponding goods, and the user can pick up the goods and leave.

对于自助贩卖机而言,第一通信模块可以发送对应的账单信息给服务端,该账单信息中携带服务端返回的用户账号的索引标识以及本次货品的账单金额。服务端可以基于所述索引标识指向的用户账号执行账单支付操作。For a self-service vending machine, the first communication module can send corresponding bill information to the server. The bill information contains the index identifier of the user account returned by the server and the bill amount of the current goods. The server can perform the bill payment operation based on the user account pointed to by the index identifier.

可选的,为确保未开通信用交易服务的用户也可以使用该自助贩卖机,自助贩卖机还可以设置有第一提示模块,所述第一提示模块可以包括显示屏幕。服务端在确定用户掌纹未绑定任何用户账号或者用户掌纹绑定的用户账号未开通信用交易服务时,可以返回错误消息。所述第一提示模块可以基于该错误消息生成对应的错误提示,此外,所述第一提示模块还可以提示用户采用传统支付方式进行账单支付,比如:让用户先选购货品,选购之后提示用户付款,并在用户付款成功后投放对应的货品等,本例对此不作特殊限制。Optionally, to ensure that users who have not activated the credit transaction service can also use the self-service vending machine, the self-service vending machine may also be provided with a first prompt module, which may include a display screen. Upon determining that the user's palm print is not bound to any user account or that the user account bound to the user's palm print has not activated the credit transaction service, the server may return an error message. The first prompt module may generate a corresponding error prompt based on the error message. Furthermore, the first prompt module may also prompt the user to use a traditional payment method to pay the bill, such as allowing the user to select the goods first, prompting the user to pay after the purchase, and delivering the corresponding goods after the user successfully pays. This example does not impose any special restrictions on this.

二、无人超市2. Unmanned Supermarket

在本例中,商家可以在机场、写字楼等地部署无人超市并部署无人超市的管理系统。该管理系统可以包括:第二采集模块、第二通信模块、门禁控制模块以及结算模块。所述第二采集模块用于采集用户的生物特征,所述第二采集模块可以设置在无人超市的门外。以掌纹为例,可以在无人超市的门口设置掌纹采集装置(第二采集模块),用户想要进入无人超市时,可以输入自己的掌纹,无人超市的第二通信模块可以将采集到的掌纹上传到服务端,若服务端确定该掌纹绑定的用户账号已开通信用交易服务,则返回用户账号的索引标识。门禁控制模块可以在第二通信模块接收到该索引标识后,控制无人超市的大门开启,以允许用户进入超市内选购货品。用户可以在无人超市内自由选购货品,在选购结束后即可自行离开。In this example, merchants can deploy unmanned supermarkets in airports, office buildings, and other locations, and also deploy a management system for the unmanned supermarkets. This management system may include: a second acquisition module, a second communication module, an access control module, and a settlement module. The second acquisition module is used to collect users' biometrics and can be located outside the door of the unmanned supermarket. Taking palm prints as an example, a palm print acquisition device (second acquisition module) can be installed at the entrance of the unmanned supermarket. When a user wishes to enter the unmanned supermarket, they can enter their palm print. The unmanned supermarket's second communication module can upload the collected palm print to the server. If the server determines that the user account bound to the palm print has activated the credit transaction service, it will return an index identifier of the user account. After the second communication module receives the index identifier, the access control module can control the opening of the unmanned supermarket's door, allowing the user to enter the supermarket and purchase goods. Users can freely purchase goods in the unmanned supermarket and leave on their own after completing their purchases.

在本例中,结算模块,用于在根据账单金额,生成携带所述索引标识的账单信息。具体地,商家可以在门口部署监控设备,在检测到用户离开无人超市时,比如:用户在无人超市内开启大门,可以通过监控设备确定用户购买的货品,然后计算用户本次购物行为涉及的账单金额。当然,商家还可以采用其他方式确定用户本次购物行为涉及的账单金额,比如:用户扫描商品码的方式等,本实施例对此不作特殊限制。In this example, the settlement module is used to generate bill information carrying the index identifier based on the bill amount. Specifically, the merchant can deploy monitoring equipment at the door. When it detects that a user is leaving an unmanned supermarket, for example, when a user opens the door inside an unmanned supermarket, the merchant can use the monitoring equipment to determine the items purchased by the user and then calculate the bill amount involved in the user's shopping behavior. Of course, the merchant can also use other methods to determine the bill amount involved in the user's shopping behavior, such as: the user scanning the product code, etc., which is not particularly limited in this embodiment.

在本例中,在生成账单信息后,第二通信模块可以发送所述账单信息到服务端。服务端可以基于所述索引标识指向的用户账号执行账单支付操作。In this example, after generating the bill information, the second communication module may send the bill information to the server, and the server may perform a bill payment operation based on the user account pointed to by the index identifier.

在上述过程中,用户通过掌纹即可实现线下交易,对于用户而言,无需携带终端设备,方便快捷。对于商家而言,无需部署人力进行货品的售卖、结算,大大节省了人力成本。In the above process, users can complete offline transactions through palm prints. For users, there is no need to carry terminal devices, which is convenient and fast. For merchants, there is no need to deploy manpower for the sale and settlement of goods, which greatly saves labor costs.

在另一个例子中,当无人超市内有用户正在购物时,可以阻止其他用户入内。具体地,所述第二采集模块,还用于在确定用户未离开超市时,停止采集用户生物特征,从而使得第二通信模块无法接收到服务端发送的索引标识,门禁控制模块不会控制超市的大门开启。其中,用户离店的判定方式可以为无人超市的大门由内部触发开启,比如:用户购物结束后,在无人超市内按下开门按钮,则可以控制大门开启,并确定用户离店。当然,还可以采用其他方式确定用户是否离店,比如:视频监控等,本实施例对此不作特殊限制。In another example, when a user is shopping in an unmanned supermarket, other users can be prevented from entering. Specifically, the second acquisition module is also used to stop collecting the user's biometric features when it is determined that the user has not left the supermarket, so that the second communication module cannot receive the index identifier sent by the server, and the access control module will not control the supermarket door to open. Among them, the method of determining whether the user has left the store can be that the door of the unmanned supermarket is opened by an internal trigger. For example, after the user finishes shopping, he presses the door opening button in the unmanned supermarket, which can control the door to open and determine that the user has left the store. Of course, other methods can also be used to determine whether the user has left the store, such as video surveillance, etc., and this embodiment does not impose any special restrictions on this.

可选的,无人超市的管理系统还可以设置有第二提示模块,所述第二提示模块可以包括显示屏幕。服务端在确定用户掌纹未绑定任何用户账号或者用户掌纹绑定的用户账号未开通信用交易服务时,可以返回错误消息。所述第二提示模块可以基于该错误消息生成对应的错误提示,比如:在显示屏中输出“您尚未开通信用支付服务,请先开通”等。Optionally, the unmanned supermarket management system may further include a second prompt module, which may include a display screen. Upon determining that the user's palm print is not bound to any user account or that the user account bound to the user's palm print has not activated the credit transaction service, the server may return an error message. Based on this error message, the second prompt module may generate a corresponding error prompt, such as displaying "You have not activated the credit payment service. Please activate it first."

与无人超市类似,自助KTV也可以采用上述方式来实现,本说明书在此不再一一赘述。Similar to unmanned supermarkets, self-service KTV can also be implemented using the above methods, which will not be described in detail in this manual.

与前述线下交易的实现方法的实施例相对应,本说明书还提供了线下交易的实现装置的实施例。Corresponding to the aforementioned embodiments of the method for implementing offline transactions, this specification also provides embodiments of an apparatus for implementing offline transactions.

本说明书线下交易的实现装置的实施例可以应用在服务器上。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在服务器的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图5所示,为本实施例线下交易的实现装置所在服务器的一种硬件结构图,除了图5所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的服务器通常根据该服务器的实际功能,还可以包括其他硬件,对此不再赘述。The embodiments of the offline transaction implementation device of this specification can be applied on a server. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of the server where it is located reading the corresponding computer program instructions in the non-volatile memory into the memory and running them. From the hardware level, as shown in Figure 5, it is a hardware structure diagram of the server where the offline transaction implementation device of this embodiment is located. In addition to the processor, memory, network interface, and non-volatile memory shown in Figure 5, the server where the device is located in the embodiment can usually include other hardware according to the actual function of the server, which will not be described in detail.

图6是本说明书一示例性实施例示出的一种线下交易的实现装置的框图。FIG6 is a block diagram of an offline transaction implementation device shown in an exemplary embodiment of this specification.

请参考图6,所述线下交易的实现装置500可以应用在前述图5所示的服务器中,包括有:特征采集单元501、开通判断单元502、索引返回单元503、账单接收单元504、账单支付单元505、服务开通单元506、信用检查单元507、安全检查单元508以及位置保存单元509。Please refer to Figure 6. The offline transaction implementation device 500 can be applied to the server shown in Figure 5 above, including: a feature collection unit 501, an activation judgment unit 502, an index return unit 503, a bill receiving unit 504, a bill payment unit 505, a service activation unit 506, a credit check unit 507, a security check unit 508 and a location storage unit 509.

其中,特征采集单元501,接收到商户交易管理系统采集到的用户生物特征;The feature collection unit 501 receives the user's biometric features collected by the merchant transaction management system;

开通判断单元502,判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;An activation determination unit 502 determines whether the user account bound to the biometric feature has activated a credit transaction service. The credit transaction service is activated when the credit information of the user account meets the conditions;

索引返回单元503,若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;The index returning unit 503 returns the index identifier of the user account to the merchant transaction management system if it is determined that the user account has opened a credit transaction service;

账单接收单元504,接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;The bill receiving unit 504 receives bill information uploaded by the merchant transaction management system, wherein the bill information carries the index identifier of the user account;

账单支付单元505,基于所述索引标识指向的用户账号执行账单支付操作。The bill payment unit 505 performs a bill payment operation based on the user account pointed to by the index identifier.

服务开通单元506:接收到信用交易服务的开通请求;Service activation unit 506: receives a credit transaction service activation request;

判断发起所述开通请求的用户账号的信用信息是否满足条件;Determining whether the credit information of the user account that initiated the activation request meets the conditions;

若所述用户账号的信用信息满足所述条件,则为所述用户账号开通信用交易服务,并将基于该用户账号上传的生物特征与该用户账号绑定。If the credit information of the user account meets the conditions, a credit transaction service is opened for the user account, and the biometric feature uploaded based on the user account is bound to the user account.

可选的,所述服务开通单元506为所述用户账号开通信用交易服务,包括:Optionally, the service activation unit 506 activates a credit transaction service for the user account, including:

为所述用户账号添加信用交易服务标记;Adding a credit transaction service mark to the user account;

所述开通判断单元502:判断所述生物特征绑定的用户账号是否具有信用交易服务标记;The activation determination unit 502 determines whether the user account bound to the biometric feature has a credit transaction service mark;

若具有所述信用交易服务标记,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the credit transaction service mark is present, it is determined that the user account bound to the biometric feature has activated the credit transaction service.

可选的,所述服务开通单元506为所述用户账号开通信用交易服务,包括:Optionally, the service activation unit 506 activates a credit transaction service for the user account, including:

将所述用户账号上传的生物特征与所述用户账号之间的绑定关系保存至指定信用库中;Saving the binding relationship between the biometric feature uploaded by the user account and the user account in a designated credit library;

所述开通判断单元502:在所述指定信用库中查找所述生物特征绑定的用户账号;The activation determination unit 502 searches for the user account bound to the biometric feature in the designated credit database;

若查找到绑定的用户账号,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the bound user account is found, it is determined that the user account bound to the biometric feature has activated the credit transaction service.

可选的,所述指定信用库是对应所述用户账号所在地区的信用库;Optionally, the designated credit database is a credit database corresponding to the region where the user account is located;

所述开通判断单元502:在采集所述生物特征的商户交易管理系统所在地区对应的当地信用库中查找所述生物特征绑定的用户账号;The activation determination unit 502 searches for the user account bound to the biometric feature in a local credit database corresponding to the region where the merchant transaction management system that collected the biometric feature is located;

若未查找到绑定的用户账号,则在除所述当地信用库之外的信用库中查找所述生物特征绑定的用户账号;If the bound user account is not found, searching for the user account bound to the biometric feature in a credit database other than the local credit database;

若仍未查找到绑定的用户账号,则确定所述生物特征绑定的用户账号未开通信用交易服务。If the bound user account is still not found, it is determined that the user account bound to the biometric feature has not activated the credit transaction service.

可选的,所述开通判断单元502,还在确定所述生物特征未绑定任何用户账号时,向所述商户交易管理系统返回错误消息。Optionally, the activation determination unit 502 further returns an error message to the merchant transaction management system when determining that the biometric feature is not bound to any user account.

信用检查单元507,采用定期或事件触发的方式检查已开通信用交易服务的用户账号的信用信息是否满足所述条件;The credit checking unit 507 checks whether the credit information of the user account that has opened the credit transaction service meets the conditions in a regular or event-triggered manner;

若不满足所述条件,则关闭所述用户账号的信用交易服务。If the conditions are not met, the credit transaction service of the user account will be closed.

可选的,所述账单支付单元505,还在账单支付成功时,根据账单支付信息正向更新所述用户账号的信用信息;Optionally, the bill payment unit 505 further updates the credit information of the user account according to the bill payment information when the bill payment is successful;

所述事件触发包括:用户账号信用信息的更新。The event triggering includes: updating of user account credit information.

安全检查单元508,在基于所述索引标识指向的用户账号执行账单支付操作之前,检查所述账单信息是否符合安全策略;若所述账单信息不符合所述安全策略,则暂停账单支付操作,并将所述账单信息发送给所述索引标识指向的用户账号,以供用户进行确认;a security checking unit 508 that checks whether the bill information complies with a security policy before executing a bill payment operation based on the user account pointed to by the index identifier; if the bill information does not comply with the security policy, suspends the bill payment operation and sends the bill information to the user account pointed to by the index identifier for user confirmation;

所述账单支付单元505,在所述账单信息符合所述安全策略时,基于所述索引标识指向的用户账号执行账单支付操作。The bill payment unit 505 performs a bill payment operation based on the user account pointed to by the index identifier when the bill information complies with the security policy.

可选的,所述账单支付单元505,在账单支付失败时,发送失败消息给用户;和/或并在账单支付失败的次数达到预定次数并且到达支付截止日期仍未支付时,将用户加入信用负面名单。Optionally, the bill payment unit 505 sends a failure message to the user when the bill payment fails; and/or adds the user to a negative credit list when the number of bill payment failures reaches a predetermined number and the payment is still not made by the payment deadline.

可选的,所述安全策略包括:发送所述生物特征的时间与账单时间的时差在时差阈值内。Optionally, the security policy includes: the time difference between the time of sending the biometric feature and the billing time is within a time difference threshold.

可选的,所述安全策略包括:账单金额满足所述索引标识指向的用户账号的信用交易金额限定。Optionally, the security policy includes: the bill amount meets the credit transaction amount limit of the user account pointed to by the index identifier.

位置保存单元509,保存基于所述用户账号登录的客户端定期上报的终端位置信息和上报时间;The location storage unit 509 stores the terminal location information and reporting time periodically reported by the client logged in based on the user account;

所述安全检查单元508:The security check unit 508:

获取基于所述索引标识指向的用户账号登录的客户端最近一次上报的终端位置信息和上报时间;Obtain the terminal location information and reporting time most recently reported by the client logged in by the user account pointed to by the index identifier;

根据账单时间与获取到的上报时间的时差,判断商户交易管理系统的位置信息与获取到的终端位置信息的距离差是否符合所述时差对应的位置变化差异,若符合,则确定所述账单信息符合安全策略。Based on the time difference between the billing time and the obtained reporting time, determine whether the distance difference between the location information of the merchant transaction management system and the obtained terminal location information meets the position change difference corresponding to the time difference. If so, determine that the billing information complies with the security policy.

可选的,所述条件包括:用户账号的信用评分大于等于评分阈值。Optionally, the condition includes: the credit score of the user account is greater than or equal to a score threshold.

可选的,所述用户账号的索引标识是动态变化的。Optionally, the index identifier of the user account changes dynamically.

上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying any creative work.

上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email transceiver, game console, tablet computer, wearable device, or any combination of these devices.

与前述线下交易的实现的实施例相对应,本说明书还提供一种线下交易的实现装置,该线下交易的实现装置包括:处理器以及用于存储机器可执行指令的存储器。其中,处理器和存储器通常借由内部总线相互连接。在其他可能的实现方式中,所述设备还可能包括外部接口,以能够与其他设备或者部件进行通信。Corresponding to the aforementioned embodiments for implementing offline transactions, this specification also provides an offline transaction implementation device, comprising a processor and a memory for storing machine-executable instructions. The processor and memory are typically interconnected via an internal bus. In other possible implementations, the device may also include an external interface to enable communication with other devices or components.

在本实施例中,通过读取并执行所述存储器存储的与线下交易的实现控制逻辑对应的机器可执行指令,所述处理器被促使:In this embodiment, by reading and executing the machine-executable instructions corresponding to the offline transaction implementation control logic stored in the memory, the processor is prompted to:

接收到商户交易管理系统采集到的用户生物特征;Receiving the user's biometrics collected by the merchant's transaction management system;

判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;Determining whether the user account bound to the biometric feature has activated a credit transaction service, where the credit transaction service is activated if the credit information of the user account meets the conditions;

若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;If it is determined that the user account has opened a credit transaction service, returning the index identifier of the user account to the merchant transaction management system;

接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;Receive billing information uploaded by the merchant transaction management system, wherein the billing information carries the index identifier of the user account;

基于所述索引标识指向的用户账号执行账单支付操作。A bill payment operation is performed based on the user account pointed to by the index identifier.

可选的,在开通信用交易服务时,所述处理器被促使:Optionally, when opening the credit transaction service, the processor is caused to:

接收到信用交易服务的开通请求;Receive a request to activate the credit transaction service;

判断发起所述开通请求的用户账号的信用信息是否满足条件;Determining whether the credit information of the user account that initiated the activation request meets the conditions;

若所述用户账号的信用信息满足所述条件,则为所述用户账号开通信用交易服务,并将基于该用户账号上传的生物特征与该用户账号绑定。If the credit information of the user account meets the conditions, a credit transaction service is opened for the user account, and the biometric feature uploaded based on the user account is bound to the user account.

可选的,在为所述用户账号开通信用交易服务时,所述处理器被促使:Optionally, when opening a credit transaction service for the user account, the processor is prompted to:

为所述用户账号添加信用交易服务标记;Adding a credit transaction service mark to the user account;

在判断所述生物特征绑定的用户账号是否已开通信用交易服务时,所述处理器被促使:When determining whether the user account bound to the biometric feature has activated a credit transaction service, the processor is prompted to:

判断所述生物特征绑定的用户账号是否具有信用交易服务标记;Determining whether the user account bound to the biometric feature has a credit transaction service mark;

若具有所述信用交易服务标记,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the credit transaction service mark is present, it is determined that the user account bound to the biometric feature has activated the credit transaction service.

可选的,在为所述用户账号开通信用交易服务时,所述处理器被促使:Optionally, when opening a credit transaction service for the user account, the processor is prompted to:

将所述用户账号上传的生物特征与所述用户账号之间的绑定关系保存至指定信用库中;Saving the binding relationship between the biometric feature uploaded by the user account and the user account in a designated credit library;

在判断所述生物特征绑定的用户账号是否已开通信用交易服务时,所述处理器被促使:When determining whether the user account bound to the biometric feature has activated a credit transaction service, the processor is prompted to:

在所述指定信用库中查找所述生物特征绑定的用户账号;Searching for the user account bound to the biometric feature in the designated credit database;

若查找到绑定的用户账号,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the bound user account is found, it is determined that the user account bound to the biometric feature has activated the credit transaction service.

可选的,所述指定信用库是对应所述用户账号所在地区的信用库;Optionally, the designated credit database is a credit database corresponding to the region where the user account is located;

在判断所述生物特征绑定的用户账号是否已开通信用交易服务时,所述处理器被促使:When determining whether the user account bound to the biometric feature has activated a credit transaction service, the processor is prompted to:

在采集所述生物特征的商户交易管理系统所在地区对应的当地信用库中查找所述生物特征绑定的用户账号;Searching for the user account bound to the biometric feature in a local credit database corresponding to the region where the merchant transaction management system that collected the biometric feature is located;

若未查找到绑定的用户账号,则在除所述当地信用库之外的信用库中查找所述生物特征绑定的用户账号;If the bound user account is not found, searching for the user account bound to the biometric feature in a credit database other than the local credit database;

若仍未查找到绑定的用户账号,则确定所述生物特征绑定的用户账号未开通信用交易服务。If the bound user account is still not found, it is determined that the user account bound to the biometric feature has not activated the credit transaction service.

可选的,所述处理器还被促使:Optionally, the processor is further caused to:

若确定所述生物特征未绑定任何用户账号,则向所述商户交易管理系统返回错误消息。If it is determined that the biometric feature is not bound to any user account, an error message is returned to the merchant transaction management system.

可选的,所述处理器还被促使:Optionally, the processor is further caused to:

采用定期或事件触发的方式检查已开通信用交易服务的用户账号的信用信息是否满足所述条件;Checking whether the credit information of user accounts that have opened credit transaction services meets the conditions in a regular or event-triggered manner;

若不满足所述条件,则关闭所述用户账号的信用交易服务。If the conditions are not met, the credit transaction service of the user account will be closed.

可选的,所述处理器还被促使:Optionally, the processor is further caused to:

若账单支付成功,则根据账单支付信息正向更新所述用户账号的信用信息;If the bill payment is successful, the credit information of the user account is positively updated according to the bill payment information;

所述事件触发包括:用户账号信用信息的更新。The event triggering includes: updating of user account credit information.

可选的,所述处理器还被促使:Optionally, the processor is further caused to:

若账单支付失败,则发送支付失败的消息给用户;和/或If the bill payment fails, a payment failure message is sent to the user; and/or

若账单支付失败的次数达到预定次数并且到达支付截止日期仍未支付,则将用户加入信用负面名单。If the bill payment fails a predetermined number of times and the payment is still not made by the payment deadline, the user will be added to the negative credit list.

可选的,所述处理器还被促使:Optionally, the processor is further caused to:

在基于所述索引标识指向的用户账号执行账单支付操作之前,检查所述账单信息是否符合安全策略;Before performing a bill payment operation based on the user account pointed to by the index identifier, checking whether the bill information complies with the security policy;

若所述账单信息符合所述安全策略,则基于所述索引标识指向的用户账号执行账单支付操作;If the bill information complies with the security policy, performing a bill payment operation based on the user account pointed to by the index identifier;

若所述账单信息不符合所述安全策略,则暂停账单支付操作,并将所述账单信息发送给所述索引标识指向的用户账号,以供用户进行确认。If the bill information does not comply with the security policy, the bill payment operation is suspended, and the bill information is sent to the user account pointed to by the index identifier for confirmation by the user.

可选的,所述安全策略包括:发送所述生物特征的时间与账单时间的时差在时差阈值内。Optionally, the security policy includes: the time difference between the time of sending the biometric feature and the billing time is within a time difference threshold.

可选的,所述安全策略包括:账单金额满足所述索引标识指向的用户账号的信用交易金额限定。Optionally, the security policy includes: the bill amount meets the credit transaction amount limit of the user account pointed to by the index identifier.

可选的,所述处理器还被促使:Optionally, the processor is further caused to:

保存基于所述用户账号登录的客户端定期上报的终端位置信息和上报时间;Saving the terminal location information and reporting time regularly reported by the client logged in based on the user account;

在检查所述账单信息是否符合安全策略时,所述处理器被促使:When checking whether the billing information complies with a security policy, the processor is caused to:

获取基于所述索引标识指向的用户账号登录的客户端最近一次上报的终端位置信息和上报时间;Obtain the terminal location information and reporting time most recently reported by the client logged in by the user account pointed to by the index identifier;

根据账单时间与获取到的上报时间的时差,判断商户交易管理系统的位置信息与获取到的终端位置信息的距离差是否符合所述时差对应的位置变化差异,若符合,则确定所述账单信息符合安全策略。Based on the time difference between the billing time and the obtained reporting time, determine whether the distance difference between the location information of the merchant transaction management system and the obtained terminal location information meets the position change difference corresponding to the time difference. If so, determine that the billing information complies with the security policy.

可选的,所述条件包括:用户账号的信用评分大于等于评分阈值。Optionally, the condition includes: the credit score of the user account is greater than or equal to a score threshold.

可选的,所述用户账号的索引标识是动态变化的。Optionally, the index identifier of the user account changes dynamically.

与前述线下交易的实现方法的实施例相对应,本说明书还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:Corresponding to the embodiment of the method for implementing offline transactions described above, this specification also provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the following steps are implemented:

接收到商户交易管理系统采集到的用户生物特征;Receiving the user's biometrics collected by the merchant's transaction management system;

判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;Determining whether the user account bound to the biometric feature has activated a credit transaction service, where the credit transaction service is activated if the credit information of the user account meets the conditions;

若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;If it is determined that the user account has opened a credit transaction service, returning the index identifier of the user account to the merchant transaction management system;

接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;Receive billing information uploaded by the merchant transaction management system, wherein the billing information carries the index identifier of the user account;

基于所述索引标识指向的用户账号执行账单支付操作。A bill payment operation is performed based on the user account pointed to by the index identifier.

可选的,所述信用交易服务的开通过程包括:Optionally, the process of activating the credit transaction service includes:

接收到信用交易服务的开通请求;Receive a request to activate the credit transaction service;

判断发起所述开通请求的用户账号的信用信息是否满足条件;Determining whether the credit information of the user account that initiated the activation request meets the conditions;

若所述用户账号的信用信息满足所述条件,则为所述用户账号开通信用交易服务,并将基于该用户账号上传的生物特征与该用户账号绑定。If the credit information of the user account meets the conditions, a credit transaction service is opened for the user account, and the biometric feature uploaded based on the user account is bound to the user account.

可选的,所述为所述用户账号开通信用交易服务,包括:Optionally, opening a credit transaction service for the user account includes:

为所述用户账号添加信用交易服务标记;Adding a credit transaction service mark to the user account;

所述判断所述生物特征绑定的用户账号是否已开通信用交易服务,包括:The determining whether the user account bound to the biometric feature has activated a credit transaction service includes:

判断所述生物特征绑定的用户账号是否具有信用交易服务标记;Determining whether the user account bound to the biometric feature has a credit transaction service mark;

若具有所述信用交易服务标记,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the credit transaction service mark is present, it is determined that the user account bound to the biometric feature has activated the credit transaction service.

可选的,所述为所述用户账号开通信用交易服务,包括:Optionally, opening a credit transaction service for the user account includes:

将所述用户账号上传的生物特征与所述用户账号之间的绑定关系保存至指定信用库中;Saving the binding relationship between the biometric feature uploaded by the user account and the user account in a designated credit library;

所述判断所述生物特征绑定的用户账号是否已开通信用交易服务,包括:The determining whether the user account bound to the biometric feature has activated a credit transaction service includes:

在所述指定信用库中查找所述生物特征绑定的用户账号;Searching for the user account bound to the biometric feature in the designated credit database;

若查找到绑定的用户账号,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the bound user account is found, it is determined that the user account bound to the biometric feature has activated the credit transaction service.

可选的,所述指定信用库是对应所述用户账号所在地区的信用库;Optionally, the designated credit database is a credit database corresponding to the region where the user account is located;

所述判断所述生物特征绑定的用户账号是否已开通信用交易服务,包括:The determining whether the user account bound to the biometric feature has activated a credit transaction service includes:

在采集所述生物特征的商户交易管理系统所在地区对应的当地信用库中查找所述生物特征绑定的用户账号;Searching for the user account bound to the biometric feature in a local credit database corresponding to the region where the merchant transaction management system that collected the biometric feature is located;

若未查找到绑定的用户账号,则在除所述当地信用库之外的信用库中查找所述生物特征绑定的用户账号;If the bound user account is not found, searching for the user account bound to the biometric feature in a credit database other than the local credit database;

若仍未查找到绑定的用户账号,则确定所述生物特征绑定的用户账号未开通信用交易服务。If the bound user account is still not found, it is determined that the user account bound to the biometric feature has not activated the credit transaction service.

可选的,还包括:Optionally, also include:

若确定所述生物特征未绑定任何用户账号,则向所述商户交易管理系统返回错误消息。If it is determined that the biometric feature is not bound to any user account, an error message is returned to the merchant transaction management system.

可选的,还包括:Optionally, also include:

采用定期或事件触发的方式检查已开通信用交易服务的用户账号的信用信息是否满足所述条件;Checking whether the credit information of user accounts that have opened credit transaction services meets the conditions in a regular or event-triggered manner;

若不满足所述条件,则关闭所述用户账号的信用交易服务。If the conditions are not met, the credit transaction service of the user account will be closed.

可选的,还包括:Optionally, also include:

若账单支付成功,则根据账单支付信息正向更新所述用户账号的信用信息;If the bill payment is successful, the credit information of the user account is positively updated according to the bill payment information;

所述事件触发包括:用户账号信用信息的更新。The event triggering includes: updating of user account credit information.

可选的,还包括:Optionally, also include:

若账单支付失败,则发送支付失败的消息给用户;和/或If the bill payment fails, a payment failure message is sent to the user; and/or

若账单支付失败的次数达到预定次数并且到达支付截止日期仍未支付,则将用户加入信用负面名单。If the bill payment fails a predetermined number of times and the payment is still not made by the payment deadline, the user will be added to the negative credit list.

可选的,还包括:Optionally, also include:

在基于所述索引标识指向的用户账号执行账单支付操作之前,检查所述账单信息是否符合安全策略;Before performing a bill payment operation based on the user account pointed to by the index identifier, checking whether the bill information complies with the security policy;

若所述账单信息符合所述安全策略,则基于所述索引标识指向的用户账号执行账单支付操作;If the bill information complies with the security policy, performing a bill payment operation based on the user account pointed to by the index identifier;

若所述账单信息不符合所述安全策略,则暂停账单支付操作,并将所述账单信息发送给所述索引标识指向的用户账号,以供用户进行确认。If the bill information does not comply with the security policy, the bill payment operation is suspended, and the bill information is sent to the user account pointed to by the index identifier for confirmation by the user.

可选的,所述安全策略包括:发送所述生物特征的时间与账单时间的时差在时差阈值内。Optionally, the security policy includes: the time difference between the time of sending the biometric feature and the billing time is within a time difference threshold.

可选的,所述安全策略包括:账单金额满足所述索引标识指向的用户账号的信用交易金额限定。Optionally, the security policy includes: the bill amount meets the credit transaction amount limit of the user account pointed to by the index identifier.

可选的,还包括:Optionally, also include:

保存基于所述用户账号登录的客户端定期上报的终端位置信息和上报时间;Saving the terminal location information and reporting time regularly reported by the client logged in based on the user account;

所述检查所述账单信息是否符合安全策略,包括:The checking whether the billing information complies with the security policy includes:

获取基于所述索引标识指向的用户账号登录的客户端最近一次上报的终端位置信息和上报时间;Obtain the terminal location information and reporting time most recently reported by the client logged in by the user account pointed to by the index identifier;

根据账单时间与获取到的上报时间的时差,判断商户交易管理系统的位置信息与获取到的终端位置信息的距离差是否符合所述时差对应的位置变化差异,若符合,则确定所述账单信息符合安全策略。Based on the time difference between the billing time and the obtained reporting time, determine whether the distance difference between the location information of the merchant transaction management system and the obtained terminal location information meets the position change difference corresponding to the time difference. If so, determine that the billing information complies with the security policy.

可选的,所述条件包括:用户账号的信用评分大于等于评分阈值。Optionally, the condition includes: the credit score of the user account is greater than or equal to a score threshold.

可选的,所述用户账号的索引标识是动态变化的。Optionally, the index identifier of the user account changes dynamically.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims (33)

1.一种线下交易的实现方法,应用于服务端,包括:1. A method for implementing offline transactions, applied on the server side, comprising: 接收到商户交易管理系统采集到的用户生物特征;Receives user biometric data collected by the merchant transaction management system; 判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;Determine whether the user account linked to the biometrics has activated the credit transaction service, which is activated when the user account's credit information meets the conditions. 若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;If it is determined that the user account has activated credit transaction service, the index identifier of the user account is returned to the merchant transaction management system; 接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;The system receives billing information uploaded by the merchant transaction management system, the billing information carrying the index identifier of the user account; 基于所述索引标识指向的用户账号执行账单支付操作;Execute the bill payment operation based on the user account pointed to by the index identifier; 采用定期或事件触发的方式检查已开通信用交易服务的用户账号的信用信息是否满足所述条件;The credit information of user accounts that have activated credit transaction services is checked periodically or by event-triggered checks to see if they meet the conditions. 若不满足所述条件,则关闭所述用户账号的信用交易服务;If the conditions are not met, the credit transaction service for the user account will be closed. 所述条件包括:用户账号的信用评分大于等于评分阈值。The conditions include: the user account's credit score is greater than or equal to the scoring threshold. 2.根据权利要求1所述的方法,所述信用交易服务的开通过程包括:2. The method according to claim 1, wherein the credit transaction service activation process includes: 接收到信用交易服务的开通请求;Received a request to activate the credit transaction service; 判断发起所述开通请求的用户账号的信用信息是否满足条件;Determine whether the credit information of the user account that initiated the activation request meets the conditions; 若所述用户账号的信用信息满足所述条件,则为所述用户账号开通信用交易服务,并将基于该用户账号上传的生物特征与该用户账号绑定。If the credit information of the user account meets the conditions, then credit transaction services will be enabled for the user account, and the biometric features uploaded by the user account will be bound to the user account. 3.根据权利要求2所述的方法,所述为所述用户账号开通信用交易服务,包括:3. The method according to claim 2, wherein opening credit transaction services for the user account includes: 为所述用户账号添加信用交易服务标记;Add a credit transaction service tag to the user account; 所述判断所述生物特征绑定的用户账号是否已开通信用交易服务,包括:The determination of whether the user account linked to the biometrics has activated the credit transaction service includes: 判断所述生物特征绑定的用户账号是否具有信用交易服务标记;Determine whether the user account linked to the biometric features has a credit transaction service tag; 若具有所述信用交易服务标记,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the user account associated with the credit transaction service is identified, it is determined that the user account linked to the biometrics has activated the credit transaction service. 4.根据权利要求2所述的方法,所述为所述用户账号开通信用交易服务,包括:4. The method according to claim 2, wherein opening credit transaction services for the user account includes: 将所述用户账号上传的生物特征与所述用户账号之间的绑定关系保存至指定信用库中;The binding relationship between the biometric features uploaded by the user account and the user account is saved to a designated credit database; 所述判断所述生物特征绑定的用户账号是否已开通信用交易服务,包括:The determination of whether the user account linked to the biometrics has activated the credit transaction service includes: 在所述指定信用库中查找所述生物特征绑定的用户账号;Search the user account linked to the biometric feature in the designated credit database; 若查找到绑定的用户账号,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the linked user account is found, it is determined that the user account linked to the biometrics has activated the credit transaction service. 5.根据权利要求4所述的方法,所述指定信用库是对应所述用户账号所在地区的信用库;5. The method according to claim 4, wherein the designated credit database is a credit database corresponding to the region where the user account is located; 所述判断所述生物特征绑定的用户账号是否已开通信用交易服务,包括:The determination of whether the user account linked to the biometrics has activated the credit transaction service includes: 在采集所述生物特征的商户交易管理系统所在地区对应的当地信用库中查找所述生物特征绑定的用户账号;Search the user account linked to the biometrics in the local credit database corresponding to the region where the merchant transaction management system that collects the biometrics is located; 若未查找到绑定的用户账号,则在除所述当地信用库之外的信用库中查找所述生物特征绑定的用户账号;If the bound user account is not found, then search for the user account bound to the biometric feature in a credit database other than the local credit database. 若仍未查找到绑定的用户账号,则确定所述生物特征绑定的用户账号未开通信用交易服务。If the bound user account is still not found, it is determined that the user account bound to the biometrics has not activated the credit transaction service. 6.根据权利要求1所述的方法,还包括:6. The method according to claim 1, further comprising: 若确定所述生物特征未绑定任何用户账号,则向所述商户交易管理系统返回错误消息。If it is determined that the biometric feature is not linked to any user account, an error message is returned to the merchant transaction management system. 7.根据权利要求1所述的方法,还包括:7. The method according to claim 1, further comprising: 若账单支付成功,则根据账单支付信息正向更新所述用户账号的信用信息;If the bill payment is successful, the credit information of the user account will be updated in a positive direction based on the bill payment information; 所述事件触发包括:用户账号信用信息的更新。The event triggers include: updates to user account credit information. 8.根据权利要求1所述的方法,还包括:8. The method according to claim 1, further comprising: 若账单支付失败,则发送支付失败的消息给用户;和/或If the bill payment fails, a payment failure message will be sent to the user; and/or 若账单支付失败的次数达到预定次数并且到达支付截止日期仍未支付,则将用户加入信用负面名单。If a user fails to pay a bill a predetermined number of times and still fails to pay by the payment deadline, the user will be added to a negative credit list. 9.根据权利要求1所述的方法,还包括:9. The method according to claim 1, further comprising: 在基于所述索引标识指向的用户账号执行账单支付操作之前,检查所述账单信息是否符合安全策略;Before performing a bill payment operation based on the user account pointed to by the index identifier, check whether the bill information complies with the security policy; 若所述账单信息符合所述安全策略,则基于所述索引标识指向的用户账号执行账单支付操作。If the billing information conforms to the security policy, then the bill payment operation is performed based on the user account pointed to by the index identifier. 10.根据权利要求9所述的方法,所述安全策略包括:发送所述生物特征的时间与账单时间的时差在时差阈值内。10. The method according to claim 9, wherein the security strategy includes: the time difference between the time of sending the biometric data and the time of the billing is within a time difference threshold. 11.根据权利要求9所述的方法,所述安全策略包括:账单金额满足所述索引标识指向的用户账号的信用交易金额限定。11. The method according to claim 9, wherein the security policy includes: the bill amount meets the credit transaction amount limit of the user account pointed to by the index identifier. 12.根据权利要求9所述的方法,还包括:12. The method according to claim 9, further comprising: 保存基于所述用户账号登录的客户端定期上报的终端位置信息和上报时间;Store the terminal location information and reporting time periodically reported by the client that logs in based on the user account; 所述检查所述账单信息是否符合安全策略,包括:The process of checking whether the billing information complies with the security policy includes: 获取基于所述索引标识指向的用户账号登录的客户端最近一次上报的终端位置信息和上报时间;Obtain the terminal location information and reporting time most recently reported by the client that logged in based on the user account pointed to by the index identifier; 根据账单时间与获取到的上报时间的时差,判断商户交易管理系统的位置信息与获取到的终端位置信息的距离差是否符合所述时差对应的位置变化差异,若符合,则确定所述账单信息符合安全策略。Based on the time difference between the billing time and the reported time, determine whether the distance difference between the location information of the merchant transaction management system and the obtained terminal location information matches the location change difference corresponding to the time difference. If it matches, then determine that the billing information complies with the security policy. 13.根据权利要求1所述的方法,所述用户账号的索引标识是动态变化的。13. The method according to claim 1, wherein the index identifier of the user account is dynamically changing. 14.一种自助贩卖机,包括:第一采集模块、第一通信模块、第一售卖模块;14. A vending machine, comprising: a first data collection module, a first communication module, and a first vending module; 其中,所述第一采集模块,用于采集用户生物特征;The first acquisition module is used to acquire user biometrics; 所述第一通信模块,用于发送所述生物特征到服务端,以供服务端判断所述生物特征绑定的用户账号是否已开通信用交易服务,并接收服务端在确定已开通信用交易服务时返回的所述用户账号的索引标识;The first communication module is used to send the biometric features to the server so that the server can determine whether the user account bound to the biometric features has activated credit transaction service, and receive the index identifier of the user account returned by the server when it is determined that the credit transaction service has been activated; 所述第一售卖模块,用于在接收到所述索引标识后,响应用户的购买指令并向用户售卖对应的货品;The first sales module is used to respond to the user's purchase instruction and sell the corresponding goods to the user after receiving the index identifier; 所述第一通信模块,还用于在售卖结束后,发送携带所述索引标识的账单信息给服务端,以供服务端基于所述索引标识指向的用户账号执行账单支付操作;The first communication module is also used to send bill information carrying the index identifier to the server after the sale is completed, so that the server can perform bill payment operation based on the user account pointed to by the index identifier; 其中,所述服务端采用定期或事件触发的方式检查已开通信用交易服务的用户账号的信用信息是否满足条件;The server checks whether the credit information of user accounts that have activated credit transaction services meets the conditions by periodically or through event-triggered methods. 若不满足所述条件,则关闭所述用户账号的信用交易服务;If the conditions are not met, the credit transaction service for the user account will be closed. 所述条件包括:用户账号的信用评分大于等于评分阈值。The conditions include: the user account's credit score is greater than or equal to the scoring threshold. 15.根据权利要求14所述的自助贩卖机,15. The vending machine according to claim 14, 所述第一通信模块,还用于接收服务端在确定所述生物特征未绑定任何用户账号或所述生物特征绑定的用户账号未开通信用交易服务时返回的错误消息;The first communication module is also used to receive an error message returned by the server when it determines that the biometric feature is not bound to any user account or the user account bound to the biometric feature has not activated the credit transaction service; 所述自助贩卖机还包括:第一提示模块;The self-service vending machine also includes: a first prompt module; 所述第一提示模块,用于根据所述错误消息生成对应的错误提示。The first prompting module is used to generate a corresponding error prompt based on the error message. 16.根据权利要求15所述的自助贩卖机,16. The vending machine according to claim 15, 所述第一提示模块,还用于在生成对应的错误提示后,提示用户采用传统支付方式进行账单支付。The first prompt module is also used to prompt the user to pay the bill using a traditional payment method after generating the corresponding error message. 17.一种无人超市的管理系统,包括:第二采集模块、第二通信模块、门禁控制模块、结算模块;17. A management system for an unmanned supermarket, comprising: a second data acquisition module, a second communication module, an access control module, and a settlement module; 其中,所述第二采集模块,用于采集用户生物特征;The second acquisition module is used to acquire user biometrics. 所述第二通信模块,用于发送所述生物特征到服务端,以供服务端判断所述生物特征绑定的用户账号是否已开通信用交易服务,并接收服务端在确定已开通信用交易服务时返回的所述用户账号的索引标识;The second communication module is used to send the biometric features to the server so that the server can determine whether the user account bound to the biometric features has activated credit transaction service, and receive the index identifier of the user account returned by the server when it is determined that credit transaction service has been activated; 所述门禁控制模块,用于在所述第二通信模块接收到所述索引标识后,控制超市的大门开启,以允许用户进入;The access control module is used to control the supermarket door to open after the second communication module receives the index identifier, so as to allow the user to enter; 所述结算模块,用于在确定用户离店后,生成携带所述索引标识的账单信息;The settlement module is used to generate bill information carrying the index identifier after determining that the user has left the store; 所述第二通信模块,还用于将所述账单信息发送给服务端,以供服务端基于所述索引标识指向的用户账号执行账单支付操作;The second communication module is also used to send the bill information to the server so that the server can perform a bill payment operation based on the user account pointed to by the index identifier; 其中,所述服务端采用定期或事件触发的方式检查已开通信用交易服务的用户账号的信用信息是否满足条件;The server checks whether the credit information of user accounts that have activated credit transaction services meets the conditions by periodically or through event-triggered methods. 若不满足所述条件,则关闭所述用户账号的信用交易服务;If the conditions are not met, the credit transaction service for the user account will be closed. 所述条件包括:用户账号的信用评分大于等于评分阈值。The conditions include: the user account's credit score is greater than or equal to the scoring threshold. 18.根据权利要求17所述的系统,18. The system according to claim 17, 所述第二采集模块,还用于在确定用户未离开超市时,停止采集用户生物特征。The second data collection module is also used to stop collecting user biometrics when it is determined that the user has not left the supermarket. 19.根据权利要求17所述的系统,19. The system according to claim 17, 所述第二通信模块,还用于接收服务端在确定所述生物特征未绑定任何用户账号或所述生物特征绑定的用户账号未开通信用交易服务时返回的错误消息;The second communication module is also used to receive an error message returned by the server when it determines that the biometric feature is not bound to any user account or the user account bound to the biometric feature has not activated the credit transaction service; 所述系统还包括:The system also includes: 第二提示模块,用于根据所述错误消息生成对应的错误提示。The second prompt module is used to generate a corresponding error prompt based on the error message. 20.一种线下交易的实现装置,应用于服务端,包括:20. An apparatus for implementing offline transactions, applied on a server side, comprising: 特征采集单元,接收到商户交易管理系统采集到的用户生物特征;The feature acquisition unit receives user biometric features collected by the merchant transaction management system; 开通判断单元,判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;The activation judgment unit determines whether the user account bound to the biometrics has activated the credit transaction service. The credit transaction service is activated when the credit information of the user account meets the conditions. 索引返回单元,若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;If the index return unit determines that the user account has activated credit transaction service, it returns the index identifier of the user account to the merchant transaction management system. 账单接收单元,接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;The bill receiving unit receives bill information uploaded by the merchant transaction management system, wherein the bill information carries an index identifier of the user account; 账单支付单元,基于所述索引标识指向的用户账号执行账单支付操作;The bill payment unit performs a bill payment operation based on the user account pointed to by the index identifier; 信用检查单元,采用定期或事件触发的方式检查已开通信用交易服务的用户账号的信用信息是否满足所述条件;The credit check unit checks whether the credit information of user accounts that have activated credit transaction services meets the conditions, either periodically or by event triggering. 若不满足所述条件,则关闭所述用户账号的信用交易服务;If the conditions are not met, the credit transaction service for the user account will be closed. 所述条件包括:用户账号的信用评分大于等于评分阈值。The conditions include: the user account's credit score is greater than or equal to the scoring threshold. 21.根据权利要求20所述的装置,还包括:21. The apparatus of claim 20, further comprising: 服务开通单元:接收到信用交易服务的开通请求;Service Activation Unit: Receives a request to activate the credit transaction service; 判断发起所述开通请求的用户账号的信用信息是否满足条件;Determine whether the credit information of the user account that initiated the activation request meets the conditions; 若所述用户账号的信用信息满足所述条件,则为所述用户账号开通信用交易服务,并将基于该用户账号上传的生物特征与该用户账号绑定。If the credit information of the user account meets the conditions, then credit transaction services will be enabled for the user account, and the biometric features uploaded by the user account will be bound to the user account. 22.根据权利要求21所述的装置,所述服务开通单元为所述用户账号开通信用交易服务,包括:22. The apparatus according to claim 21, wherein the service activation unit activates credit transaction services for the user account, comprising: 为所述用户账号添加信用交易服务标记;Add a credit transaction service tag to the user account; 所述开通判断单元:判断所述生物特征绑定的用户账号是否具有信用交易服务标记;The activation judgment unit: determines whether the user account bound to the biometric feature has a credit transaction service mark; 若具有所述信用交易服务标记,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the user account associated with the credit transaction service is identified, it is determined that the user account linked to the biometrics has activated the credit transaction service. 23.根据权利要求21所述的装置,所述服务开通单元为所述用户账号开通信用交易服务,包括:23. The apparatus according to claim 21, wherein the service activation unit activates credit transaction services for the user account, comprising: 将所述用户账号上传的生物特征与所述用户账号之间的绑定关系保存至指定信用库中;The binding relationship between the biometric features uploaded by the user account and the user account is saved to a designated credit database; 所述开通判断单元:在所述指定信用库中查找所述生物特征绑定的用户账号;The activation judgment unit: searches for the user account bound to the biometric feature in the designated credit database; 若查找到绑定的用户账号,则确定所述生物特征绑定的用户账号已开通信用交易服务。If the linked user account is found, it is determined that the user account linked to the biometrics has activated credit transaction services. 24.根据权利要求23所述的装置,所述指定信用库是对应所述用户账号所在地区的信用库;24. The apparatus according to claim 23, wherein the designated credit database is a credit database corresponding to the region where the user account is located; 所述开通判断单元:在采集所述生物特征的商户交易管理系统所在地区对应的当地信用库中查找所述生物特征绑定的用户账号;The activation judgment unit: searches for the user account bound to the biometric feature in the local credit database corresponding to the region where the merchant transaction management system that collects the biometric feature is located; 若未查找到绑定的用户账号,则在除所述当地信用库之外的信用库中查找所述生物特征绑定的用户账号;If the bound user account is not found, then search for the user account bound to the biometric feature in a credit database other than the local credit database. 若仍未查找到绑定的用户账号,则确定所述生物特征绑定的用户账号未开通信用交易服务。If the bound user account is still not found, it is determined that the user account bound to the biometrics has not activated the credit transaction service. 25.根据权利要求20所述的装置,25. The apparatus according to claim 20, 所述开通判断单元,还在确定所述生物特征未绑定任何用户账号时,向所述商户交易管理系统返回错误消息。The activation judgment unit also returns an error message to the merchant transaction management system when it determines that the biometric feature is not bound to any user account. 26.根据权利要求20所述的装置,26. The apparatus according to claim 20, 所述账单支付单元,还在账单支付成功时,根据账单支付信息正向更新所述用户账号的信用信息;The bill payment unit also updates the user account's credit information in a positive direction based on the bill payment information when the bill payment is successful. 所述事件触发包括:用户账号信用信息的更新。The event triggers include: updates to user account credit information. 27.根据权利要求20所述的装置,27. The apparatus according to claim 20, 所述账单支付单元,还在账单支付失败时,发送失败消息给用户;和/或The bill payment unit also sends a failure message to the user when the bill payment fails; and/or 在账单支付失败的次数达到预定次数并且到达支付截止日期仍未支付时,将用户加入信用负面名单。If a user fails to pay their bill a predetermined number of times and still hasn't paid by the payment deadline, they will be added to a negative credit list. 28.根据权利要求20所述的装置,还包括:28. The apparatus of claim 20, further comprising: 安全检查单元,在基于所述索引标识指向的用户账号执行账单支付操作之前,检查所述账单信息是否符合安全策略;The security check unit checks whether the bill information complies with the security policy before performing the bill payment operation based on the user account pointed to by the index identifier. 所述账单支付单元,在所述账单信息符合所述安全策略时,基于所述索引标识指向的用户账号执行账单支付操作。When the bill information conforms to the security policy, the bill payment unit performs a bill payment operation based on the user account pointed to by the index identifier. 29.根据权利要求28所述的装置,所述安全策略包括:发送所述生物特征的时间与账单时间的时差在时差阈值内。29. The apparatus of claim 28, wherein the security strategy comprises: the time difference between the time of sending the biometric data and the time of the billing is within a time difference threshold. 30.根据权利要求28所述的装置,所述安全策略包括:账单金额满足所述索引标识指向的用户账号的信用交易金额限定。30. The apparatus of claim 28, wherein the security policy includes: the bill amount satisfies the credit transaction amount limit of the user account pointed to by the index identifier. 31.根据权利要求28所述的装置,还包括:31. The apparatus of claim 28, further comprising: 位置保存单元,保存基于所述用户账号登录的客户端定期上报的终端位置信息和上报时间;The location storage unit stores the terminal location information and reporting time periodically reported by the client that logs in based on the user account; 所述安全检查单元:The security inspection unit: 获取基于所述索引标识指向的用户账号登录的客户端最近一次上报的终端位置信息和上报时间;Obtain the terminal location information and reporting time most recently reported by the client that logged in based on the user account pointed to by the index identifier; 根据账单时间与获取到的上报时间的时差,判断商户交易管理系统的位置信息与获取到的终端位置信息的距离差是否符合所述时差对应的位置变化差异,若符合,则确定所述账单信息符合安全策略。Based on the time difference between the billing time and the reported time, determine whether the distance difference between the location information of the merchant transaction management system and the obtained terminal location information matches the location change difference corresponding to the time difference. If it matches, then determine that the billing information complies with the security policy. 32.根据权利要求20所述的装置,所述用户账号的索引标识是动态变化的。32. The device according to claim 20, wherein the index identifier of the user account is dynamically changing. 33.一种线下交易的实现装置,包括:33. An apparatus for realizing offline transactions, comprising: 处理器;processor; 用于存储机器可执行指令的存储器;Memory used to store machine-executable instructions; 其中,通过读取并执行所述存储器存储的与线下交易的实现控制逻辑对应的机器可执行指令,所述处理器被促使:Specifically, the processor is prompted to: read and execute machine-executable instructions stored in the memory corresponding to the implementation control logic of offline transactions. 接收到商户交易管理系统采集到的用户生物特征;Receives user biometric data collected by the merchant transaction management system; 判断所述生物特征绑定的用户账号是否已开通信用交易服务,所述信用交易服务是在所述用户账号的信用信息满足条件的情况下开通;Determine whether the user account linked to the biometrics has activated the credit transaction service, which is activated when the user account's credit information meets the conditions. 若确定所述用户账号已开通信用交易服务,则将所述用户账号的索引标识返回给所述商户交易管理系统;If it is determined that the user account has activated credit transaction service, the index identifier of the user account is returned to the merchant transaction management system; 接收到商户交易管理系统上传的账单信息,所述账单信息中携带用户账号的索引标识;The system receives billing information uploaded by the merchant transaction management system, the billing information carrying the index identifier of the user account; 基于所述索引标识指向的用户账号执行账单支付操作;Execute the bill payment operation based on the user account pointed to by the index identifier; 采用定期或事件触发的方式检查已开通信用交易服务的用户账号的信用信息是否满足所述条件;The credit information of user accounts that have activated credit transaction services is checked periodically or by event-triggered checks to see if they meet the conditions. 若不满足所述条件,则关闭所述用户账号的信用交易服务;If the conditions are not met, the credit transaction service for the user account will be closed. 所述条件包括:用户账号的信用评分大于等于评分阈值。The conditions include: the user account's credit score is greater than or equal to the scoring threshold.
HK18106450.0A 2017-06-23 2018-05-17 Offline transaction implementation method and device HK1247394B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710484450 2017-06-23
CN201710484450.6 2017-06-23

Publications (2)

Publication Number Publication Date
HK1247394A1 HK1247394A1 (en) 2018-09-21
HK1247394B true HK1247394B (en) 2021-07-02

Family

ID=

Similar Documents

Publication Publication Date Title
TWI690871B (en) Method and device for realizing offline transaction
US12493883B2 (en) Systems for detecting biometric response to attempts at coercion
US11776038B2 (en) Transaction modification based on modeled profiles
CA3018682C (en) Automated sensor-based customer identification and authorization systems within a physical environment
CN113065908B (en) Rental method, rental device, rental platform and storage medium
US20150170148A1 (en) Real-time transaction validity verification using behavioral and transactional metadata
WO2019154115A1 (en) Resource transferring monitoring method and device
US20140067656A1 (en) Method and system for fraud risk estimation based on social media information
CN111985703B (en) User identity state prediction method, device and equipment
US20170161747A1 (en) Systems and methods for dynamically processing e-wallet transactions
CN110050286A (en) System and method for mobile wallet remittance
US20230082046A1 (en) Information processing device, information processing system, information processing method, and program
CN107392614B (en) Method and device for realizing offline transactions
US20180330384A1 (en) Systems and methods for processing customer purchase transactions using biometric data
US20150067890A1 (en) Identification system
CN109166027A (en) A kind of loaning bill contract processing method and processing device
EP4453813A1 (en) Deduplication of accounts using account data collision detected by machine learning models
US20230088840A1 (en) Dynamic assessment of cryptocurrency transactions and technology adaptation metrics
JP7582308B2 (en) Store system, information processing device, information processing method, and program
CN108074186B (en) Health card account opening processing method and device
CN111447082B (en) Determination method and device of associated account and determination method of associated data object
HK1247394B (en) Offline transaction implementation method and device
HK1247415B (en) Offline transaction realization method and device
CN111340548A (en) User registration method, device, system, electronic device and storage medium