CN110945552B - Product sales reporting method, payment method and terminal equipment - Google Patents
Product sales reporting method, payment method and terminal equipment Download PDFInfo
- Publication number
- CN110945552B CN110945552B CN201880049050.5A CN201880049050A CN110945552B CN 110945552 B CN110945552 B CN 110945552B CN 201880049050 A CN201880049050 A CN 201880049050A CN 110945552 B CN110945552 B CN 110945552B
- Authority
- CN
- China
- Prior art keywords
- information
- terminal device
- code
- product
- sales
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/326—Payment applications installed on the mobile devices
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
一种产品销量提报方法、支付方法和终端设备。该方法包括:终端设备响应于针对第一应用程序的操作,显示第一界面,第一界面中包含第一控件;终端设备响应于针对第一控件的操作,显示第二界面,第二界面中包括摄像头的预览画面;当预览画面中包含图形码时,终端设备识别图形码,得到至少一个产品码;其中,至少一个产品码用于标识已销售产品;终端设备响应于获得至少一个产品码,显示第三界面,第三界面中显示至少一个产品码、产品销售信息以及第二控件;产品销售信息包括销售店面信息、销售人员信息,终端设备响应于针对第二控件的操作,将至少一个产品码、销售店面信息和/或销售人员信息提交至服务器。这种方式,方便销售人员提交销售信息。
A product sales report method, payment method and terminal equipment. The method includes: the terminal device displays a first interface in response to an operation on the first application program, and the first interface contains a first control; the terminal device displays a second interface in response to an operation on the first control, and the second interface contains Including the preview screen of the camera; when the preview screen contains a graphic code, the terminal device recognizes the graphic code to obtain at least one product code; wherein, at least one product code is used to identify the sold product; the terminal device responds to obtaining at least one product code, A third interface is displayed, and at least one product code, product sales information, and a second control are displayed in the third interface; the product sales information includes sales storefront information and salesperson information, and the terminal device responds to the operation on the second control, at least one product Code, sales storefront information and/or salesperson information are submitted to the server. In this way, it is convenient for sales staff to submit sales information.
Description
技术领域technical field
本申请涉及信息技术领域,尤其涉及一种产品销量提报方法、支付方法和终端设备。The present application relates to the field of information technology, in particular to a method for reporting product sales, a payment method and terminal equipment.
背景技术Background technique
二维码(2-dimensional bar code)或条形码是用某种特定的几何图像按照一定规律在平面(二维方向上)分布的黑白相间的图形数据符号信息,可以通过图像输入设备或者光电扫描设备自动识读二维码或条形码以获取与二维码或条形码相关联的信息。Two-dimensional code (2-dimensional bar code) or barcode is black and white graphic data symbol information distributed in a plane (two-dimensional direction) according to certain rules with a specific geometric image, which can be input through image input equipment or photoelectric scanning equipment Automatically read QR codes or barcodes to obtain information associated with the QR codes or barcodes.
随着科学技术的发展,越来越多的信息以二维码或条形码的形式体现,例如二维码可作为登陆凭证,流量入口,身份凭证、支付凭证等,遍布各电商平台、商场、网站、甚至车票上,用户只需使用二维码扫码应用程序(APP)扫码二维码或条形码便可获取与二维码或条形码相关联的信息。With the development of science and technology, more and more information is reflected in the form of two-dimensional codes or barcodes. For example, two-dimensional codes can be used as login credentials, traffic portals, identity credentials, payment credentials, etc., all over various e-commerce platforms, shopping malls, On the website or even on the ticket, users only need to use the QR code scanning application (APP) to scan the QR code or bar code to obtain the information associated with the QR code or bar code.
以二维码是支付凭证为例,在扫码支付的过程中,用户往往更加关注支付的安全性。但目前,扫码支付的安全性较低。Taking the QR code as a payment voucher as an example, in the process of scanning the code for payment, users tend to pay more attention to the security of payment. But at present, the security of scan code payment is low.
发明内容Contents of the invention
本申请提供一种产品销量提报方法、支付方法和终端设备,用以解决现有技术中存在的扫码支付的安全性较低的问题。The present application provides a product sales report method, a payment method and a terminal device, which are used to solve the problem of low security of code scanning payment in the prior art.
第一方面,本申请实施例提供一种产品销量提报方法,该方法可以通过终端设备实现。该方法包括:In the first aspect, the embodiment of the present application provides a method for reporting product sales, which can be implemented by a terminal device. The method includes:
终端设备响应于用户针对第一应用程序的操作,在所述终端设备的显示屏上显示第一界面,所述第一界面中包含第一控件;所述终端设备响应于用户针对所述第一控件的操作,在所述显示屏上显示第二界面,所述第二界面中包括摄像头的预览画面;当所述预览画面中包含图形码时,所述终端设备识别所述图形码,得到所述图形码中关联的至少一个产品码;其中,所述至少一个产品码用于标识所述已销售产品;所述终端设备响应于获得所述至少一个产品码,所述终端设备在所述显示屏上显示第三界面,所述第三界面中显示所述至少一个产品码、产品销售信息以及第二控件;所述产品销售信息包括销售店面信息和/或销售人员信息;其中,所述销售店面信息关联于所述终端设备当前所处的地理位置信息,所述销售人员信息关联于所述终端设备登陆所述第一应用程序的账户信息;所述终端设备响应于用户针对所述第二控件的操作,所述终端设备将所述至少一个产品码、所述销售店面信息和/或销售人员信息提交至服务器。The terminal device displays a first interface on the display screen of the terminal device in response to the user's operation on the first application program, and the first interface includes a first control; the terminal device responds to the user's operation on the first The operation of the control is to display a second interface on the display screen, the second interface includes a preview screen of the camera; when the preview screen contains a graphic code, the terminal device recognizes the graphic code, and obtains the At least one product code associated with the graphic code; wherein, the at least one product code is used to identify the sold product; the terminal device responds to obtaining the at least one product code, and the terminal device displays the A third interface is displayed on the screen, and the at least one product code, product sales information, and a second control are displayed in the third interface; the product sales information includes sales storefront information and/or salesperson information; wherein, the sales The storefront information is associated with the current location information of the terminal device, and the salesperson information is associated with the account information of the terminal device logging into the first application program; the terminal device responds to the user's response to the second In the operation of the control, the terminal device submits the at least one product code, the sales storefront information and/or the salesperson information to the server.
在本申请实施例中,终端设备通过扫描图形码,得到图形码中关联的至少一个产品码,而且终端设备还可以显示销售店面信息和/或销售人员信息。然后,终端设备可以将至少一个产品码、销售店面信息和/或销售人员信息提交至服务器。这种方式中,销售人员可以通过终端设备实现产品销量提报的过程,无需提交纸制凭证,方便操作,提高效率。In the embodiment of the present application, the terminal device scans the graphic code to obtain at least one product code associated with the graphic code, and the terminal device can also display sales storefront information and/or salesperson information. Then, the terminal device may submit at least one product code, sales storefront information and/or salesperson information to the server. In this way, sales personnel can realize the process of reporting product sales through terminal equipment without submitting paper vouchers, which is convenient for operation and improves efficiency.
在一种可能的设计中,终端设备显示的第三界面中还包含所述图形码的第一图像,所述第一图像上的第一显示区域显示所述至少一个产品码。In a possible design, the third interface displayed by the terminal device further includes the first image of the graphic code, and the first display area on the first image displays the at least one product code.
在本申请实施例中,终端设备还可以显示图形码的图像,而且该图像中可以添加有至少一个产品码的水印。销售人员可以存储添加有水印的图像,以作为该销售人员此次销售行为的证据,防止虚假销售行为的发生。In this embodiment of the present application, the terminal device may also display an image of the graphic code, and at least one watermark of the product code may be added to the image. The salesperson can store the image with the watermark added as the evidence of the salesperson's sales behavior to prevent the occurrence of false sales behavior.
在一种可能的设计中,终端设备显示的第三界面中还包括输入框;所述终端设备检测到所述输入框中被输入第一信息后,在所述输入框中显示所述第一信息;当所述终端设备检测到针对所述第二控件的操作时,将所述输入框中显示的第一信息提交至服务器;其中,所述第一信息包括购买人员信息和/或销售时间。In a possible design, the third interface displayed by the terminal device further includes an input box; after the terminal device detects that the first information is input into the input box, it displays the first information in the input box. Information; when the terminal device detects an operation on the second control, submit the first information displayed in the input box to the server; wherein the first information includes purchaser information and/or sales time .
在本申请实施例中,销售人员可以在终端设备显示的输入框中输入购买人员信息、销售时间等,即销售人员可以通过终端设备实现产品销量提报的过程,无需提交纸制凭证,方便操作,提高效率。In the embodiment of this application, the salesperson can enter the purchaser information, sales time, etc. in the input box displayed on the terminal device, that is, the salesperson can realize the process of reporting product sales through the terminal device without submitting paper vouchers, which is convenient for operation ,Improve efficiency.
在一种可能的设计中,终端设备接收服务器发送的确认结果,所述终端设备显示第四界面,所述第四界面中包含提示信息,所述提示信息关联于所述确认结果;其中,所述提示信息用于提示用户所述至少一个产品码和所述产品销售信息是否上报成功。In a possible design, the terminal device receives the confirmation result sent by the server, and the terminal device displays a fourth interface, the fourth interface includes prompt information, and the prompt information is associated with the confirmation result; wherein, the The prompt information is used to prompt the user whether the at least one product code and the product sales information have been successfully reported.
在本申请实施例中,终端设备可以显示提示信息,来提示用户至少一个产品码和产品销售信息是否上报成功,有助于提高用户体验。In this embodiment of the present application, the terminal device may display prompt information to prompt the user whether at least one product code and product sales information has been successfully reported, which helps to improve user experience.
第二方面,本申请实施例提供一种销量报告生成方法,该方法可以通过服务器实现,该方法包括:In the second aspect, the embodiment of the present application provides a method for generating a sales report, which can be implemented by a server, and the method includes:
服务器接收终端设备提交的至少一个产品码和产品销售信息;其中,所述至少一个产品码用于标识已销售产品,所述产品销售信息包含销售店面信息和/或销售人员信息;其中,所述销售店面信息关联于所述终端设备当前所处的地理位置信息,所述销售人员信息关联于登陆所述终端设备中的第一应用程序的账户的账户信息;所述服务器基于至少一个产品码、销售店面信息和/或销售人员信息生成产品销量报告。The server receives at least one product code and product sales information submitted by the terminal device; wherein, the at least one product code is used to identify sold products, and the product sales information includes sales storefront information and/or salesperson information; wherein, the The sales storefront information is associated with the geographic location information where the terminal device is currently located, and the salesperson information is associated with the account information of the account that logs in to the first application program in the terminal device; the server bases on at least one product code, Sales storefront information and/or salesperson information to generate product sales reports.
在本申请实施例中,服务器接收终端设备提交的至少一个产品码和产品销售信息,然后基于至少一个产品码和产品销售信息生成销量报告。通过这种方式,销售人员可以通过终端设备实现产品销量提报的过程,无需提交纸制凭证,管理人员在统计销量时,也无需核对纸制凭证,方便操作,提高效率。In this embodiment of the present application, the server receives at least one product code and product sales information submitted by the terminal device, and then generates a sales report based on the at least one product code and product sales information. In this way, sales personnel can realize the process of reporting product sales through terminal equipment without submitting paper vouchers, and managers do not need to check paper vouchers when counting sales, which is convenient for operation and improves efficiency.
在一种可能的设计中,所述服务器判断所述至少一个产品码中第一产品码是否满足产品码命名规则;若所述第一产品码不满足产品码命名规则,所述服务器向所述终端设备发送确认结果,所述确认结果用于指示所述至少一个产品码无效,上报失败;或者所述服务器判断所述至少一个产品码中第一产品码是否与产品列表中第二产品的第二产品码相同,其中,所述产品列表中包含所有未销售产品的产品码;若所述第二产品码是否与产品列表中第一产品的第一产品码不相同,则所述服务器向所述终端设备发送确认结果,所述确认结果用于指示所述至少一个产品码无效,上报失败;其中,所述第一产品码是所述至少一个产品码中的任意一个产品码。In a possible design, the server judges whether the first product code in the at least one product code meets the product code naming rules; if the first product code does not meet the product code naming rules, the server sends the The terminal device sends a confirmation result, and the confirmation result is used to indicate that the at least one product code is invalid and the report fails; or the server judges whether the first product code in the at least one product code is the same as the first product code of the second product in the product list. The two product codes are the same, wherein the product list contains product codes of all unsold products; if the second product code is different from the first product code of the first product in the product list, the server sends a The terminal device sends a confirmation result, and the confirmation result is used to indicate that the at least one product code is invalid and the report fails; wherein, the first product code is any product code in the at least one product code.
在本申请实施例中,服务器可以通过判断至少一个产品码是否符合命名规则,或通过判断至少一个产品是否存在于产品列表中来确定至少一个产品码是否有效,提高销量报告的准确性。In this embodiment of the application, the server can determine whether at least one product code is valid by judging whether at least one product code conforms to the naming rules, or by judging whether at least one product exists in the product list, so as to improve the accuracy of the sales report.
在一种可能的设计中,所述产品销售信息中还包括产品图像,所述服务器通过分类器对所述产品图像进行翻拍鉴定;其中,所述分类器为通过将多个已知为翻拍图像的图像作为图像库对原始分类器进行训练后得到的分类器;若所述产品图像为翻拍图像,所述服务器向所述终端设备发送提示信息,所述提示信息用于提示用户上报失败。In a possible design, the product sales information also includes product images, and the server uses a classifier to identify remakes of the product images; The image is used as a classifier obtained after training the original classifier in the image library; if the product image is a remake image, the server sends a prompt message to the terminal device, and the prompt message is used to prompt the user to report failure.
在本申请实施例中,服务器可以判断产品图像是否为翻拍图像,若是,则服务器向终端设备发送提示信息,以提示用户上报失败。通过这种方式,有助于防止虚假销售信息的上报,提高销量统计的准确性。In the embodiment of the present application, the server may determine whether the product image is a duplicate image, and if so, the server sends a prompt message to the terminal device to prompt the user to report failure. In this way, it is helpful to prevent the reporting of false sales information and improve the accuracy of sales statistics.
第三方面,本申请实施例提供一种支付方法,所述方法应用于第一终端设备,所述第一终端设备关联于第一资金账户,所述方法包括:所述第一终端设备响应于用户针对第一应用程序的第一操作,在所述第一终端设备的显示屏上显示第一界面;其中,所述第一界面中包含摄像头的预览画面;当所述预览画面中包含图形码时,所述第一终端设备识别所述图形码,获得所述图形码中关联的第二地理位置和第二资金账户,所述图形码为二维码和/或条形码;所述第一终端设备响应于识别所述图形码,在所述显示屏上显示第二界面,所述第二界面中包含提示信息和第一控件;所述提示信息用于提示用户支付存在风险,所述提示信息为所述第一终端设备基于所述第二地理位置得到的;所述第一终端设备响应于用户针对所述第一控件的操作,将第一资金账户和所述第二资金账户发送给交易服务器。In a third aspect, an embodiment of the present application provides a payment method, the method is applied to a first terminal device, and the first terminal device is associated with a first fund account, and the method includes: the first terminal device responds to For the first operation of the first application program, the user displays a first interface on the display screen of the first terminal device; wherein, the first interface includes a preview image of the camera; when the preview image includes a graphic code , the first terminal device recognizes the graphic code, obtains the second geographic location and the second capital account associated in the graphic code, and the graphic code is a two-dimensional code and/or a barcode; the first terminal In response to identifying the graphic code, the device displays a second interface on the display screen, the second interface includes prompt information and a first control; the prompt information is used to remind the user that there is a risk in payment, and the prompt information obtained by the first terminal device based on the second geographic location; the first terminal device sends the first fund account and the second fund account to the transaction in response to the user's operation on the first control server.
在本申请实施例中,第一终端设备通过扫描图形码得到所述图形码中关联的第二地理位置和第二资金账户。然后,基于第二地理位置生成提示信息,以提示用户支付存在风险。若用户选择继续支付,则第一终端设备第一资金账户和所述第二资金账户发送给交易服务器。在这种方式中,用户可以通过提示信息判断支付是否安全,有助于提高支付的安全性。In this embodiment of the present application, the first terminal device scans the graphic code to obtain the second geographic location and the second fund account associated with the graphic code. Then, prompt information is generated based on the second geographic location to prompt the user that there is a risk in payment. If the user chooses to continue payment, the first terminal device sends the first capital account and the second capital account to the transaction server. In this way, the user can judge whether the payment is safe or not through the prompt information, which helps to improve the security of the payment.
在一种可能的设计中,所述第一终端设备响应于针对所述第一控件的操作,将第一资金账户和所述第二资金账户发送给交易服务器,包括:所述第一终端设备响应于针对所述第一控件的操作,在所述显示屏上显示第三界面,所述第三界面中包含密码输入区域;若所述密码输入区域被输入的第一密码与预设密码一致,所述第一终端设备将第一资金账户和所述第二资金账户发送给交易服务器。In a possible design, the first terminal device sends the first capital account and the second capital account to the transaction server in response to the operation on the first control, including: the first terminal device In response to the operation on the first control, a third interface is displayed on the display screen, and the third interface includes a password input area; if the first password entered in the password input area is consistent with the preset password , the first terminal device sends the first capital account and the second capital account to the transaction server.
在本申请实施例中,用户可以在第一终端设备的第三界面中输入密码。若密码正确,则第一终端设备将第一资金账户和所述第二资金账户发送给交易服务器,有助于提高支付的安全性。In this embodiment of the application, the user may input a password on the third interface of the first terminal device. If the password is correct, the first terminal device sends the first capital account and the second capital account to the transaction server, which helps to improve payment security.
在一种可能的设计中,第一终端设备将所述第一资金账户和所述第二资金账户的交易金额发送给所述交易服务器。In a possible design, the first terminal device sends the transaction amounts of the first capital account and the second capital account to the transaction server.
在本申请实施例中,当用户判断支付安全后,第一终端设备将第一资金账户和所述第二资金账户的交易金额发送给交易服务区。通过这种方式,有助于提高支付安全性。In this embodiment of the application, after the user judges that the payment is safe, the first terminal device sends the transaction amount of the first capital account and the second capital account to the transaction service area. In this way, it helps to increase payment security.
在一种可能的设计中,所述第一终端设备基于所述第二地理位置得到所述提示信息,包括:所述第一终端设备判断所述第二地理位置与第一地理位置之间的距离是否大于预设距离;其中,所述第一地理位置为所述第一终端设备当前所处的地理位置;当所述距离大于所述预设距离时,所述第一终端设备生成所述提示信息。In a possible design, the first terminal device obtaining the prompt information based on the second geographic location includes: the first terminal device judging the distance between the second geographic location and the first geographic location Whether the distance is greater than a preset distance; wherein, the first geographic location is the geographic location where the first terminal device is currently located; when the distance is greater than the preset distance, the first terminal device generates the Prompt information.
在本申请实施例中,当第二地理位置与第一地理位置之间的距离是否大于预设距离时,第一终端设备生成提示信息,提示用户支付存在风险。通过这种方式,有助于提高支付安全性。In the embodiment of the present application, when the distance between the second geographic location and the first geographic location is greater than a preset distance, the first terminal device generates prompt information to remind the user that payment is risky. In this way, it helps to increase payment security.
在一种可能的设计中,所述第二地理位置中包含商店地址。In a possible design, the second geographic location includes a store address.
在本申请实施例中,第二地理位置还可以包含商店地址,当第一终端设备确定当前的第一地理位置与商店地址之间的距离小于预设距离时,第一终端设备可以显示提示信息,以提示用户支付存在风险。通过这种方式,有助于提高支付安全性。In this embodiment of the application, the second geographic location may also include a store address, and when the first terminal device determines that the distance between the current first geographic location and the store address is less than a preset distance, the first terminal device may display a prompt message , to remind the user that payment is risky. In this way, it helps to increase payment security.
在一种可能的设计中,所述图形码还关联于第二账户信息,所述第二账户信息为登录第二终端设备中的第二应用程序的账户的信息,所述第二终端设备为生成所述图形码的设备。In a possible design, the graphic code is also associated with second account information, where the second account information is information about an account that logs in to a second application in the second terminal device, and the second terminal device is A device for generating said graphic code.
在本申请实施例中,第一终端设备扫描图形码后,还可以得到图形码中关联的第二账户信息。以微信为例,第一终端设备可以得到微信号,昵称等等。第一终端设备可以显示第二账户信息,以帮助第一终端设备的用户判断支付是否安全。In the embodiment of the present application, after the first terminal device scans the graphic code, it can also obtain the second account information associated with the graphic code. Taking WeChat as an example, the first terminal device can obtain WeChat ID, nickname and so on. The first terminal device may display the second account information to help the user of the first terminal device determine whether the payment is safe.
在一种可能的设计中,所述第二账户信息包括用户头像和/或用户昵称。In a possible design, the second account information includes a user avatar and/or a user nickname.
在本申请实施例中,第一终端设备扫描图形码后,可以得到图形码中关联的用户头像和/或用户昵称,还可以在显示屏上显示用户头像和/或用户昵称,以用户头像为例,用户可以判断显示的用户头像和商店服务人员是否为同一人,以帮助用户判断支付是否安全。In this embodiment of the application, after the first terminal device scans the graphic code, it can obtain the user avatar and/or user nickname associated with the graphic code, and can also display the user avatar and/or user nickname on the display screen, with the user avatar as the For example, the user can determine whether the displayed user avatar and the store service personnel are the same person, so as to help the user determine whether the payment is safe.
在一种可能的设计中,所述图形码还关联于包括商品信息。In a possible design, the graphic code is also associated with commodity information.
在本申请实施例中,第一终端设备扫描图形码后,得到该图形码关联的商品信息,可以将商品信息显示出来,以帮助用户判断显示的商品信息对应的商品是否为用户想要购买的商品,有助于提高支付安全性。In this embodiment of the application, after the first terminal device scans the graphic code, it obtains the product information associated with the graphic code, and can display the product information to help the user determine whether the product corresponding to the displayed product information is what the user wants to buy. Commodities, which help to increase payment security.
在一种可能的设计中,所述商品信息包括商品名称、商品价格、生产商中的一种或多种信息。In a possible design, the commodity information includes one or more of commodity name, commodity price, and manufacturer.
在本申请实施例中,商品信息还可以包含其它信息,以上几种只是举例,本申请实施例不作具体的限定。In the embodiment of the present application, the product information may also include other information, the above are just examples, and the embodiment of the present application does not specifically limit it.
第四方面,本申请实施例提供一种图形码生成方法,所述方法应用于第二终端设备,所述第二终端设备关联于第二资金账户,所述方法包括:所述第二终端设备响应于用户针对第二应用程序的操作,在所述第二终端设备的显示屏上显示第一界面,所述第一界面中包括第一控件;所述第二终端设备响应于用户针对所述第一控件的操作,生成图形码,其中,所述图形码中关联的所述第二终端设备当前所处的第二地理位置和所述第二资金账户,其中,所述图形码为二维码和/或条形码。In a fourth aspect, an embodiment of the present application provides a method for generating a graphic code, the method is applied to a second terminal device, and the second terminal device is associated with a second fund account, and the method includes: the second terminal device In response to the user's operation on the second application program, displaying a first interface on the display screen of the second terminal device, the first interface includes a first control; the second terminal device responds to the user's operation on the The operation of the first control generates a graphic code, wherein the second geographic location of the second terminal device and the second capital account associated with the graphic code, wherein the graphic code is a two-dimensional code and/or barcode.
在本申请实施例中,第二终端设备生成的图形码中关联于第二终端设备当前所处的第二地理位置和所述第二资金账户。当用户的第一终端设备扫描该图形码时,可以获得第二地理位置和第二资金账户,以帮助用户判断支付是否安全。In this embodiment of the present application, the graphic code generated by the second terminal device is associated with the second geographic location where the second terminal device is currently located and the second fund account. When the user's first terminal device scans the graphic code, the second geographical location and the second fund account can be obtained to help the user determine whether the payment is safe.
在一种可能的设计中,所述图形码中还关联于第二账户信息,所述第二账户信息为当前登录所述第二应用程序的账户的信息。In a possible design, the graphic code is further associated with second account information, and the second account information is information of an account currently logged into the second application program.
在本申请实施例中,第二终端设备生成的图形码中还可以关联于第二账户信息。以微信为例,第二账户信息是微信号,昵称等等。以便第一终端设备扫描图形码向第二终端设备支付费用时,在显示屏上显示第二账户信息,以帮助第一终端设备的用户判断支付是否安全。In this embodiment of the present application, the graphic code generated by the second terminal device may also be associated with the second account information. Taking WeChat as an example, the second account information is WeChat ID, nickname and so on. So that when the first terminal device scans the graphic code to pay the fee to the second terminal device, the second account information is displayed on the display screen, so as to help the user of the first terminal device judge whether the payment is safe.
在一种可能的设计中,所述第二账户信息包括用户头像和/或用户昵称。In a possible design, the second account information includes a user avatar and/or a user nickname.
在本申请实施例中,第二终端设备生成的图形码中还可以关联于用户头像和/或用户昵称。当第一终端设备扫描该图形码得到用户头像和/或用户昵称后,可以在显示屏上显示用户头像和/或用户昵称,以帮助第一终端设备的用户判断支付是否安全。In this embodiment of the present application, the graphic code generated by the second terminal device may also be associated with the user avatar and/or user nickname. After the first terminal device scans the graphic code to obtain the user avatar and/or user nickname, it can display the user avatar and/or user nickname on the display screen to help the user of the first terminal device judge whether the payment is safe.
在一种可能的设计中,所述图形码还关联于商品信息。In a possible design, the graphic code is also associated with commodity information.
在本申请实施例中,第二终端设备生成的图形码还可以关联于商品信息。当第一终端设备扫描该图形码时,可以将图形码中关联的商品信息显示出来,以帮助第一终端设备的用户判断显示的商品信息对应的商品是否为用户想要购买的商品,有助于提高支付安全性。In this embodiment of the application, the graphic code generated by the second terminal device may also be associated with commodity information. When the first terminal device scans the graphic code, it can display the associated product information in the graphic code to help the user of the first terminal device judge whether the product corresponding to the displayed product information is the product that the user wants to buy, which is helpful To improve payment security.
在一种可能的设计中,所述商品信息包括商品名称、商品价格、生产商中的一种或多种信息。In a possible design, the commodity information includes one or more of commodity name, commodity price, and manufacturer.
在本申请实施例中,商品信息还可以包含其它信息,以上几种只是举例,本申请实施例不作具体的限定。In the embodiment of the present application, the product information may also include other information, the above are just examples, and the embodiment of the present application does not specifically limit it.
第五方面,本申请实施例提供一种终端设备,包括处理器和存储器。其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得终端设备能够实现第一方面或者第一方面的任意一种可能的设计的方法。In a fifth aspect, the embodiment of the present application provides a terminal device, including a processor and a memory. Wherein, the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the terminal device can realize the first aspect or any possible design method of the first aspect .
第六方面,本申请实施例提供一种服务器,包括处理器和存储器。其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得终端设备能够实现第二方面或者第二方面的任意一种可能的设计的方法。In a sixth aspect, the embodiment of the present application provides a server, including a processor and a memory. Wherein, the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the terminal device can realize the second aspect or any possible design method of the second aspect .
第七方面,本申请实施例提供一种第一终端设备,包括处理器和存储器。其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得终端设备能够实现第三方面或者第三方面的任意一种可能的设计的方法。In a seventh aspect, the embodiment of the present application provides a first terminal device, including a processor and a memory. Wherein, the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the terminal device can realize the third aspect or any possible design method of the third aspect .
第八方面,本申请实施例提供一种第二终端设备,包括处理器和存储器。其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得终端设备能够实现第四方面或者第四方面的任意一种可能的设计的方法。In an eighth aspect, the embodiment of the present application provides a second terminal device, including a processor and a memory. Wherein, the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the terminal device can realize the fourth aspect or any possible design method of the fourth aspect .
第九方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在终端设备上运行时,使得所述终端设备执行第一方面或上述第一方面的任意一种可能的设计的方法。In the ninth aspect, the embodiments of the present application further provide a computer-readable storage medium, the computer-readable storage medium includes a computer program, and when the computer program runs on the terminal device, the terminal device executes the first aspect or Any possible design method of the first aspect above.
第十方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在服务器上运行时,使得所述服务器执行第二方面或上述第二方面的任意一种可能的设计的方法。In the tenth aspect, the embodiments of the present application further provide a computer-readable storage medium, the computer-readable storage medium includes a computer program, and when the computer program runs on the server, the server executes the second aspect or the above-mentioned first aspect. Either of two possible design approaches.
第十一方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在第一终端设备上运行时,使得所述第一终端设备执行第三方面或上述第三方面的任意一种可能的设计的方法。In the eleventh aspect, the embodiments of the present application further provide a computer-readable storage medium, the computer-readable storage medium includes a computer program, and when the computer program is run on the first terminal device, the first terminal device A method for implementing the third aspect or any possible design of the above-mentioned third aspect.
第十二方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在第二终端设备上运行时,使得所述第二终端设备执行第四方面或上述第四方面的任意一种可能的设计的方法。In a twelfth aspect, an embodiment of the present application further provides a computer-readable storage medium, the computer-readable storage medium includes a computer program, and when the computer program is run on the second terminal device, the second terminal device A method for implementing the fourth aspect or any possible design of the fourth aspect above.
第十三方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在终端设备上运行时,使得所述终端设备执行第一方面或上述第一方面的任意一种可能的设计的方法。In the thirteenth aspect, the embodiment of the present application also provides a computer program product that, when the computer program product is run on a terminal device, enables the terminal device to execute the first aspect or any one of the above-mentioned first aspects. method of design.
第十四方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在服务器上运行时,使得所述服务器执行第二方面或上述第二方面的任意一种可能的设计的方法。In the fourteenth aspect, the embodiment of the present application also provides a computer program product that, when the computer program product runs on a server, causes the server to execute the second aspect or any possible design of the second aspect above. Methods.
第十五方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在第一终端设备上运行时,使得所述第一终端设备执行第三方面或上述第三方面的任意一种可能的设计的方法。In the fifteenth aspect, the embodiment of the present application also provides a computer program product that, when the computer program product is run on the first terminal device, enables the first terminal device to execute the third aspect or the above-mentioned third aspect. Any one of the possible design methods.
第十六方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在第二终端设备上运行时,使得所述第二终端设备执行第四方面或上述第四方面的任意一种可能的设计的方法。In the sixteenth aspect, the embodiment of the present application also provides a computer program product that, when the computer program product is run on the second terminal device, enables the second terminal device to execute the fourth aspect or the above-mentioned fourth aspect. Any one of the possible design methods.
附图说明Description of drawings
图1为本申请一实施例提供的终端设备的结构示意图;FIG. 1 is a schematic structural diagram of a terminal device provided by an embodiment of the present application;
图2为本申请一实施例提供终端设备销量提报方法的流程图;FIG. 2 is a flowchart of a method for reporting sales of terminal equipment according to an embodiment of the present application;
图3A为本申请一实施例提供的终端设备销量提报过程中显示屏的状态示意图;FIG. 3A is a schematic diagram of the state of the display screen during the sales reporting process of terminal equipment provided by an embodiment of the present application;
图3B为本申请一实施例提供的终端设备销量提报过程中显示屏的状态示意图;FIG. 3B is a schematic diagram of the state of the display screen during the sales reporting process of terminal equipment provided by an embodiment of the present application;
图3C为本申请一实施例提供的终端设备销量提报过程中显示屏的状态示意图;FIG. 3C is a schematic diagram of the state of the display screen during the reporting process of terminal equipment sales provided by an embodiment of the present application;
图3D为本申请一实施例提供的终端设备销量提报过程中显示屏的状态示意图;FIG. 3D is a schematic diagram of the state of the display screen during the sales reporting process of terminal equipment provided by an embodiment of the present application;
图4A为本申请一实施例提供的终端设备显示第一种提示信息的示意图;FIG. 4A is a schematic diagram of a terminal device displaying a first type of prompt information provided by an embodiment of the present application;
图4B为本申请一实施例提供的终端设备显示第二种提示信息的示意图;FIG. 4B is a schematic diagram of a second prompt message displayed by a terminal device provided by an embodiment of the present application;
图4C为本申请一实施例提供的终端设备显示第三种提示信息的示意图;FIG. 4C is a schematic diagram of a third prompt message displayed by a terminal device provided by an embodiment of the present application;
图5为本申请一实施例提供的终端设备显示第四种提示信息的示意图;FIG. 5 is a schematic diagram of a fourth prompt message displayed by a terminal device provided by an embodiment of the present application;
图6为本申请一实施例提供的扫码支付方法的流程图;FIG. 6 is a flow chart of a code scanning payment method provided by an embodiment of the present application;
图7A为本申请一实施例提供的手机中的相机扫描收款码的示意图;FIG. 7A is a schematic diagram of scanning a collection code by a camera in a mobile phone provided by an embodiment of the present application;
图7B为本申请一实施例提供的手机中的相机扫描收款码的示意图;FIG. 7B is a schematic diagram of scanning a collection code by a camera in a mobile phone provided by an embodiment of the present application;
图8A为本申请一实施例提供的手机扫描便利店出示的微信收款码后,手机显示屏的示意图;Fig. 8A is a schematic diagram of the display screen of the mobile phone after the mobile phone scans the WeChat payment code presented by the convenience store according to an embodiment of the present application;
图8B为本申请一实施例提供的手机扫描便利店出示的微信收款码后,手机显示屏的示意图;Fig. 8B is a schematic diagram of the display screen of the mobile phone after the mobile phone scans the WeChat payment code presented by the convenience store according to an embodiment of the present application;
图8C为本申请一实施例提供的手机扫描便利店出示的微信收款码后,手机显示屏的示意图;Fig. 8C is a schematic diagram of the display screen of the mobile phone after the mobile phone scans the WeChat payment code presented by the convenience store according to an embodiment of the present application;
图9为本申请一实施例提供的手机扫描自动售货机的显示器上显示的收款码后,手机显示屏的示意图;9 is a schematic diagram of the mobile phone display screen after the mobile phone scans the payment code displayed on the display of the vending machine provided by an embodiment of the present application;
图10为本申请一实施例提供的一种终端设备的结构示意图;FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the present application;
图11为本申请一实施例提供的一种服务器的结构示意图;FIG. 11 is a schematic structural diagram of a server provided by an embodiment of the present application;
图12为本申请一实施例提供的一种第一终端设备的结构示意图;FIG. 12 is a schematic structural diagram of a first terminal device provided by an embodiment of the present application;
图13为本申请一实施例提供的一种第二终端设备的结构示意图。FIG. 13 is a schematic structural diagram of a second terminal device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。In the following, some terms used in the embodiments of the present application are explained, so as to facilitate the understanding of those skilled in the art.
1)、本申请实施例涉及的图形码,可以是二维码形式或者条形码形式,也可以是未来可能实现的三维码形式或其它形式。在本文的介绍中,主要以图形码是二维码形式为例进行说明。1) The graphic codes involved in the embodiments of the present application may be in the form of two-dimensional codes or barcodes, or in the form of three-dimensional codes or other forms that may be realized in the future. In the introduction of this article, the graphic code is mainly in the form of a two-dimensional code as an example for illustration.
2)、本申请实施例涉及的产品,可以是电子产品,也可以是其它产品例如服饰、日用品等,只要具有能够唯一标识该产品的产品码即可。以电子产品是手机为例,在实际应用过程中,每个产品具有能够唯一标识该产品的产品码例如国际移动设备身份码(international mobile equipment identity,IMEI)或序列号(serial number,SN)。销售商通常将该产品码隐藏于图形码中,并将图形码设置在产品内部或者产品的包装盒中,通过识别图形码可以识别出IMEI码或SN号,进而定位到具体是哪部手机。2) The product involved in the embodiment of this application can be an electronic product or other products such as clothing, daily necessities, etc., as long as it has a product code that can uniquely identify the product. Taking the electronic product as a mobile phone as an example, in actual application, each product has a product code that can uniquely identify the product, such as an international mobile equipment identity (IMEI) or a serial number (SN). The seller usually hides the product code in the graphic code, and sets the graphic code inside the product or in the packaging box of the product. By identifying the graphic code, the IMEI code or SN number can be identified, and then the specific mobile phone is located.
3)、本申请实施例涉及的终端设备,又可以称为用户设备(User Equipment,UE)为可以安装各种通信应用,或具有通信功能的设备。例如,智能手机、平板电脑、各类可穿戴设备、车载设备、计算机等。3) The terminal equipment involved in the embodiment of the present application may also be referred to as user equipment (User Equipment, UE), which is a device capable of installing various communication applications or having a communication function. For example, smartphones, tablets, various wearable devices, in-vehicle devices, computers, etc.
4)、本申请实施例涉及的应用程序,可以是设置在终端设备中用于实现特定的功能的APP,例如短信应用、彩信应用、各种邮箱应用、微信、腾讯聊天软件(QQ)、WhatsAppMessenger、连我(Line)、照片分享(instagram)、Kakao Talk、钉钉等。4), the application program involved in the embodiment of the present application may be an APP set in the terminal device for realizing specific functions, such as SMS application, MMS application, various mailbox applications, WeChat, Tencent chat software (QQ), WhatsAppMessenger , even me (Line), photo sharing (instagram), Kakao Talk, DingTalk, etc.
5)、本申请实施例涉及的服务器,是提供计算服务的设备。服务器可以响应终端设备的服务请求,并对服务请求进行处理,服务器通常具备更高的处理能力和存储空间,以及能够及时承担服务并且保障服务的能力。在本申请实施例中,服务器可以有多种类型,不同种类型的服务器可以提供的不同的服务类型,例如文件服务器,数据库服务器,应用程序服务器,WEB服务器等。5) The server involved in the embodiment of the present application is a device that provides computing services. The server can respond to the service request of the terminal device and process the service request. The server usually has higher processing capacity and storage space, and the ability to undertake and guarantee the service in a timely manner. In this embodiment of the present application, there may be multiple types of servers, and different types of servers may provide different types of services, such as file servers, database servers, application server, WEB servers, and so on.
6)、多个,是指两个或两个以上。6), multiple means two or more.
另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or imply order.
本申请实施例提供了一种信息获取方法及终端设备,该方法适用于终端设备中。图1示出了一种可能的终端设备的结构图。参阅图1所示,所述终端设备100包括:射频(Radio Frequency,RF)电路110、电源120、处理器130、存储器140、输入单元150、显示单元160、摄像头170、通信接口180、以及无线保真(Wireless Fidelity,WiFi)模块190等部件。本领域技术人员可以理解,图1中示出的终端设备的结构并不构成对终端设备的限定,本申请实施例提供的终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Embodiments of the present application provide an information acquisition method and a terminal device, and the method is applicable to the terminal device. Fig. 1 shows a structural diagram of a possible terminal device. 1, the
下面结合图1对所述终端设备100的各个构成部件进行具体的介绍:The components of the
所述RF电路110可用于通信或通话过程中,数据的接收和发送。特别地,所述RF电路110在接收到基站的下行数据后,发送给所述处理器130处理;另外,将待发送的上行数据发送给基站。通常,所述RF电路110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。The
此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。In addition, the
WiFi技术属于短距离无线传输技术,所述终端设备100通过WiFi模块190可以连接接入点(Access Point,AP),从而实现数据网络的访问。所述WiFi模块190可用于通信过程中,数据的接收和发送。The WiFi technology belongs to the short-distance wireless transmission technology, and the
所述终端设备100可以通过所述通信接口180与其他设备实现物理连接。可选的,所述通信接口180与所述其他设备的通信接口通过电缆连接,实现所述终端设备100和其他设备之间的数据传输。The
由于在本申请实施例中,所述终端设备100能够实现通信业务,向其他联系人发送信息,因此所述终端设备100需要具有数据传输功能,即所述终端设备100内部需要包含通信模块。虽然图1示出了所述RF电路110、所述WiFi模块190、和所述通信接口180等通信模块,但是可以理解的是,所述终端设备100中存在上述部件中的至少一个或者其他用于实现通信的通信模块(如蓝牙模块),以进行数据传输。Since in the embodiment of the present application, the
例如,当所述终端设备100为手机时,所述终端设备100可以包含所述RF电路110,还可以包含所述WiFi模块190;当所述终端设备100为计算机时,所述终端设备100可以包含所述通信接口180,还可以包含所述WiFi模块190;当所述终端设备100为平板电脑时,所述终端设备100可以包含所述WiFi模块。For example, when the
所述存储器140可用于存储软件程序以及模块。所述处理器130通过运行存储在所述存储器140的软件程序以及模块,从而执行所述终端设备100的各种功能应用以及数据处理。The
可选的,所述存储器140可以主要包括存储程序区和存储数据区。其中,存储程序区可存储操作系统、各种应用程序(比如通信应用)以及人脸识别模块等;存储数据区可存储根据所述终端设备的使用所创建的数据(比如各种图片、视频文件等多媒体文件,以及人脸信息模板)等。Optionally, the
此外,所述存储器140可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。In addition, the
所述输入单元150可用于接收用户输入的数字或字符信息,以及产生与所述终端设备100的用户设置以及功能控制有关的键信号输入。The
可选的,输入单元150可包括触控面板151以及其他输入设备152。Optionally, the
其中,所述触控面板151,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在所述触控面板151上或在所述触控面板151附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,所述触控面板151可以包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给所述处理器130,并能接收所述处理器130发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现所述触控面板151。Wherein, the
可选的,所述其他输入设备152可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Optionally, the
所述显示单元160可用于显示由用户输入的信息或提供给用户的信息以及所述终端设备100的各种菜单。所述显示单元160即为所述终端设备100的显示系统,用于呈现界面,实现人机交互。The
所述显示单元160可以包括显示面板161。可选的,所述显示面板161可以采用液晶显示屏(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-EmittingDiode,OLED)等形式来配置。The
进一步的,所述触控面板151可覆盖所述显示面板161,当所述触控面板151检测到在其上或附近的触摸操作后,传送给所述处理器130以确定触摸事件的类型,随后所述处理器130根据触摸事件的类型在所述显示面板161上提供相应的视觉输出。Further, the
虽然在图1中,所述触控面板151与所述显示面板161是作为两个独立的部件来实现所述终端设备100的输入和输入功能,但是在某些实施例中,可以将所述触控面板151与所述显示面板161集成而实现所述终端设备100的输入和输出功能。Although in FIG. 1, the
所述处理器130是所述终端设备100的控制中心,利用各种接口和线路连接各个部件,通过运行或执行存储在所述存储器140内的软件程序和/或模块,以及调用存储在所述存储器140内的数据,执行所述终端设备100的各种功能和处理数据,从而实现基于所述终端设备的多种业务。The
可选的,所述处理器130可包括一个或多个处理单元。可选的,所述处理器130可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到所述处理器130中。Optionally, the
所述摄像头170,用于实现所述终端设备100的拍摄功能,拍摄图片或视频。所述摄像头170还可以用于实现终端设备100的扫描功能,对扫描对象(二维码/条形码)进行扫描。The
所述终端设备100还包括用于给各个部件供电的电源120(比如电池)。可选的,所述电源120可以通过电源管理系统与所述处理器130逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The
尽管未示出,所述终端设备100还可以包括至少一种传感器、音频电路等,在此不再赘述。Although not shown, the
实施例一:Embodiment one:
产品在销售过程中,通常通过大量的销售人员进行销售。销售人员每销售一个产品后,需要提交已销售产品对应的销售信息(下文统称为产品销售信息),以方便管理人员统计销售人员的销售业绩。目前,二维码扫描技术已经应用在销售人员提交产品销售信息的过程中。具体过程如下:Products are usually sold through a large number of salespeople during the sales process. After selling a product, the salesperson needs to submit the sales information corresponding to the sold product (hereinafter collectively referred to as product sales information), so as to facilitate the management personnel to count the sales performance of the salesperson. At present, two-dimensional code scanning technology has been applied in the process of salesperson submitting product sales information. The specific process is as follows:
目前,销售人员提交产品销售信息的过程包括:线上提交和线下提交两个过程。线上提交的过程为,销售人员通过终端设备上安装的销量提报应用程序(APP)扫描已销售产品的图形码(可以为二维码形式,也可以为条形码形式)得到已销售产品的产品码(IMEI码或SN号),然后通过网络将扫描到的已销售产品的产品码发送到后台服务器。由于终端设备扫描产品的图形码得到的信息较为单一,即只能得到产品的产品码,销售人员只得通过线下提交纸质凭证的方式补充提交产品销售信息。线下提交过程为,销售人员周期性的(例如每周,每月)将自己销售的产品的纸质销售凭证(例如保修卡、售后保障卡等)提交给管理人员。纸质销售凭证上通常会记录销售产品的产品码、销售店面信息、销售人员信息等。管理人员海量收集并核对销售人员通过线上和线下提交的销售凭证,进而统计产品销售情况。例如管理人员收集每个销售人员提交的纸质销售凭证,将纸质销售凭证上记录的产品码和通过线上提交的产品码进行核对,以确定已销售产品的销售成功真实性,并统计每个销售店面以及每个销售人员的销售业绩,例如管理人员通过纸质销售凭证记录的信息,确定通过线上提交的1000个产品码对应的1000个产品真实销售后,进而通过对线下提交的1000张纸质销售凭证,来统计已销售的1000个产品中哪些是店面A销售的,哪些是店面B销售的,进而还可以统计出哪些是店面A中销售人员甲销售的,哪些是店面A中销售人员乙销售的。由此可见,目前的产品销售信息的提交方式过程繁琐,效率较低。At present, the process for sales personnel to submit product sales information includes two processes: online submission and offline submission. The process of online submission is that the salesperson scans the graphic code (which can be in the form of a QR code or a barcode) of the sold product through the sales reporting application (APP) installed on the terminal device to obtain the product information of the sold product. code (IMEI code or SN number), and then send the scanned product code of the sold product to the background server through the network. Since the information obtained by scanning the graphic code of the product by the terminal device is relatively simple, that is, only the product code of the product can be obtained, the salesperson has to submit the product sales information by submitting paper vouchers offline. The offline submission process is that the salesperson periodically (for example, weekly, monthly) submits the paper sales certificate (such as warranty card, after-sales guarantee card, etc.) of the products he sells to the management personnel. The product code, sales store information, salesperson information, etc. of the sales product are usually recorded on the paper sales voucher. Managers collect and check a large number of sales vouchers submitted by sales staff online and offline, and then make statistics on product sales. For example, managers collect the paper sales vouchers submitted by each salesperson, check the product codes recorded on the paper sales vouchers with the product codes submitted online to determine the authenticity of the sales success of the sold products, and count each The sales performance of each sales store and each salesperson, such as the information recorded by the management personnel through the paper sales voucher, after confirming that the 1,000 products corresponding to the 1,000 product codes submitted online are actually sold, and then through the offline submission. 1,000 paper sales vouchers to count which of the 1,000 sold products are sold by store A and which are sold by store B, and then can also be counted which are sold by salesperson A in store A and which are sold by store A The middle salesman B sells. It can be seen that the current method of submitting product sales information is cumbersome and inefficient.
图2示出,本申请实施例提供的产品销售信息的提交方法的流程图。在该方法中,无需进行线下提交过程,即可完成销售信息的统计工作,有助于节省劳动资源。该方法适用于上述图1所示的终端设备100。因此,在本申请实施例中,以终端设备100为例进行描述。Fig. 2 shows a flow chart of the method for submitting product sales information provided by the embodiment of the present application. In this method, the statistical work of sales information can be completed without an offline submission process, which helps to save labor resources. This method is applicable to the
S201:销售人员启动终端设备100中的销量提报应用程序。S201: The salesperson starts the sales report application program in the
可选的,销售人员可以通过终端设备100的通信接口180或输入单元150输入启动销量提报应用程序的指令。具体地,例如销售人员可以通过触控面板151触发终端设备100上安装的销量提报应用程序。Optionally, the salesperson may input an instruction to start the sales reporting application through the
在本申请实施例中,销量提报应用程序可以是单独的应用程序,例如每个销售商开发单独的销售提报应用程序以供该销售商内部销售人员上报产品销售信息。当然,销量提报应用程序也可以通过将销量提报功能模块集成在已有的应用程序中来实现。例如,将销量提报功能模块集成在微信、支付宝、腾讯聊天软件(QQ)、钉钉、照片分享(instagram)、Kakao Talk、连我(Line)等应用程序中实现。In this embodiment of the present application, the sales reporting application program may be an independent application program, for example, each seller develops a separate sales reporting application program for internal sales personnel of the seller to report product sales information. Of course, the sales report application program can also be realized by integrating the sales report function module into the existing application program. For example, the sales report function module is integrated in WeChat, Alipay, Tencent chat software (QQ), DingTalk, photo sharing (instagram), Kakao Talk, Line and other applications.
S202:终端设备100中的处理器130运行销量提报应用程序,打开销量提报应用程序,并在显示单元160的显示面板161上显示运行的产品销量提报界面。S202: The
可选的,销售人员可以通过触控面板151触发终端设备100上安装的销量提报应用程序后,终端设备100中的处理器130接收到触发指令后,运行存储在存储器140中的产品销量提报应用程序,然后通过显示单元160在显示面板161上显示运行的产品销量提报界面,该界面中可以包括有扫描控件或拍摄控件,该扫描控件或拍摄控件用于在被触发的情况下实现对已销售产品的图形码进行扫描或者拍摄。Optionally, after the salesperson triggers the sales report application program installed on the
S203:销售人员触发显示面板161上显示的销量提报界面中展示的拍摄控件或扫描控件。S203: The salesperson triggers the shooting control or the scanning control displayed on the sales reporting interface displayed on the
在本申请实施例中,销售人员可以触摸显示面板161中展示的产品销量提报界面中包含的扫描控件和/或拍摄控件,例如销售人员可以通过触控面板151使用一个或多个手指或者触摸笔来触摸显示面板161中展示的产品销量提报界面中包含的扫描控件或拍摄控件。In this embodiment of the application, the salesperson can touch the scanning control and/or the shooting control contained in the product sales reporting interface displayed on the
S204:终端设备100中的处理器130在接收到触摸产品销量提报界面中包含的扫描控件或拍摄控件的触摸指令后,启动摄像头170,销售人员将启动的摄像头170对准已销售产品的图形码进行扫描/拍摄,处理器130将通过摄像头170摄取得到已销售产品的产品码,处理器130将扫描或拍摄到的产品码显示于产品销量提报界面中。S204: The
若销售人员触发的是产品销量提报界面中的拍摄控件,则终端设备100中的处理器130启动摄像头170,此时终端设备100中的显示单元160将控制面板161显示拍摄预览界面,用于对已销售产品的图形码进行拍摄,摄像头170得到已销售产品的图形码的图像的同时,处理器130通过图像识别技术,识别出图像中的多个图形码,进而得到与图形码关联的至少一个产品码(IMEI码或SN号)。If the salesperson triggers the shooting control in the product sales report interface, the
通常,一个产品的产品码可以有多个,以手机为例,一个手机可以具备多个产品码,例如2个IMEI码和1个SN号。一个产品码通常以一种图形码来呈现,例如IMEI码以条形码形式呈现,而SN号可以以条形码形式呈现。通过多个产品码共同标识一个产品,可以提高产品识别的可靠性,不易作假。继续以手机为例,摄像头170对手机的图形码进行拍摄时,一张图像中可以包含多个图形码,例如二维码和条形码,处理器130可以通过图像识别技术,同时识别摄像头170摄取到的图像中的二维码和条形码,获得它们各自关联的产品码,提高产品码识别效率。Usually, a product can have multiple product codes. Taking a mobile phone as an example, a mobile phone can have multiple product codes, such as 2 IMEI codes and 1 SN number. A product code is usually presented as a graphic code, for example, the IMEI code is presented in the form of a barcode, and the SN number can be presented in the form of a barcode. Using multiple product codes to jointly identify a product can improve the reliability of product identification and prevent fraud. Continuing to take the mobile phone as an example, when the
若销售人员触发的是产品销量提报界面中的扫描控件,则终端设备100中的处理器130启动摄像头170,此时终端设备通过显示单元160控制显示面板161显示扫描取景框,用于对产品的图形码进行扫描,扫描之后,处理器130可以得到已销售产品的产品码(IMEI码或SN号)。如果产品具有多个图形码时,处理器130可以分别对每个图形码进行扫描,得到每个图形码关联的产品码。在这种方式下,终端设备100无需拍摄图像,可以节省内存空间。If the salesperson triggers the scan control in the product sales reporting interface, the
无论是终端设备100对已销售产品的图形码进行扫描还是对已销售产品的图形码进行拍摄,终端设备100中的处理器130得到已销售产品的产品码之后,都可以将产品码显示于显示面板161显示的产品销量提报界面中。Whether the
S205:销售人员通过输入单元150可以在显示面板161显示的销量提报界面中的产品销售信息输入框中输入产品销售信息。产品销售信息可以但不限于包括销售店面信息、销售人员信息、销售时间、购买人员信息、购买价格、地理位置信息等等。其中销售店面信息、销售人员信息、销售时间、地理位置信息可由系统自动生成。S205: The salesperson can input product sales information in the product sales information input box in the sales report interface displayed on the
前面提到过,在现有技术中,销售店面信息、销售人员信息、销售时间、购买人员信息、购买价格、地理位置信息等等的产品销售信息是销售人员填写在纸质凭证(保修卡或者售后保障卡)上,然后销售人员将纸质凭证提交给管理人员。而在本申请实施例中,销售人员无需填写纸质凭证然后再将纸质凭证提交管理人员,终端设备100中的处理器130运行的销量提报应用程序自动编写有产品销售信息的输入接口,这样处理器130将运行的销量提报应用程序产生的销量提报界面显示在显示面板161中时,显示的销量提报界面中自然就包含有产品销售信息的输入框,销售人员就可以在产品销售信息输入框中输入产品销售信息。As mentioned earlier, in the prior art, product sales information such as sales storefront information, salesperson information, sales time, purchaser information, purchase price, geographic location information, etc. are filled in by salespersons on paper vouchers (warranty card or After-sale guarantee card), and then the salesperson submits the paper voucher to the management personnel. However, in the embodiment of the present application, the salesperson does not need to fill in the paper voucher and then submit the paper voucher to the management personnel. The sales report application program run by the
作为一种示例,销售人员可以通过输入单元150,例如键盘、触摸笔等,在销量提报界面中的产品销售信息输入框中输入产品销售信息。举例来说,产品销售提报界面中显示店面信息输入框,销售人员可以通过触摸笔手写的方式在该店面信息输入框中输入销售店面信息,终端设备100中的处理器130在检测到输入销售店面信息的输入指令后,可以在该店面信息输入框中显示销售店面信息。As an example, the salesperson may input product sales information in the product sales information input box in the sales report interface through the
可选的,销售店面信息可以是销售店面的店面名称、店面地址等等,当然还可以包括店面的联系方式等。销售人员信息可以是销售人员的姓名、联系方式、家庭地址等等。购买人员信息可以是购买人员的姓名、联系方式等等。Optionally, the sales store information may be the store name, store address, etc. of the sales store, and of course, may also include the contact information of the store. The salesperson information may be the salesperson's name, contact information, home address, and so on. The purchaser information may be the purchaser's name, contact information, and so on.
作为另一种示例,销售人员还可以通过输入单元150触发一触发指令,该触发指令用于触发终端设备100自动获取产品销售信息,然后将获取的产品销售信息填充在产品销量提报界面中。这里所述的触发指令可以是触发特定操作产生的指令,特定的操作例如手势操作,或者触发销量提报界面中特定的操作控件的操作例如触发扫描/拍摄控件产生的触发指令等。由于产品销售信息的种类较多,下文将分别介绍终端设备100自动获取每种类型的产品销售信息的过程。As another example, the salesperson may also trigger a trigger instruction through the
一、产品销售信息包含销售店面信息。1. Product sales information includes sales store information.
前面提到过,每个销售人员可以下载并安装销量提报应用程序,当安装成功后,销售人员可以注册该应用程序的账户,在注册过程中销售人员可以填写基本资料,例如昵称、姓名、联系方式、工作单位(销售店面)等等。当然在实际应用过程中,若一个销售商有多家店面,为了方便统一管理,每个店面中的每个销售人员在注册应用程序的账户时,可以填写统一的基本信息。例如A店面中的销售人员B,注册该应用程序的账户时,可以在基本资料中填写:昵称、姓名:B,联系方式(邮箱、电话等),工作单位:店面A。As mentioned earlier, each salesperson can download and install the sales report application. After the installation is successful, the salesperson can register the account of the application. During the registration process, the salesperson can fill in basic information, such as nickname, name, Contact information, work unit (sales store) and so on. Of course, in the actual application process, if a seller has multiple stores, in order to facilitate unified management, each salesperson in each store can fill in unified basic information when registering an account of the application program. For example, salesperson B in store A, when registering an account of the application, can fill in the basic information: nickname, name: B, contact information (email, phone, etc.), work unit: store A.
因此,终端设备100中的处理器130可以获取登陆销量提报应用程序的登陆账户信息,从所述登陆账户信息中提取销售店面信息,然后将提取的销售店面信息自动填充到销量提报界面中销售店面输入框中。Therefore, the
二,产品销售信息包含销售人员信息。Second, product sales information includes salesperson information.
终端设备100中的处理器130获取登陆应用程序的登陆账户信息(参见前述内容),从所述登陆账户信息中提取销售人员信息,例如将提取的昵称或姓名作为销售人员信息。The
三、产品销售信息包含购买人员信息。3. Product sales information includes purchaser information.
终端设备100中的处理器130可以通过摄像头170采集购买人员面部图像、身份证图像等等。处理器130得到身份证图像后,可以自动识别得到身份证图像中的信息(例如姓名、身份证号、家庭住址等),然后将识别得到的购买人员信息自动显示在产品销量提报界面中包含的购买人员信息输入框中。The
四,产品销售信息包含销售时间。Fourth, product sales information includes sales time.
终端设备100中的处理器130在接收到用于获取产品销售信息的触发指令后,可以检测终端设备100中计时器当前的时间信息,将检测到的时间信息作为销售时间自动显示在产品销量提报界面中包含的购买时间输入框中。After the
五、产品销售信息包含产品图像:5. Product sales information includes product images:
若销售人员触发的是产品销量提报界面中的拍摄控件,则终端设备通过摄像头170拍摄产品的图形码(二维码和/或条形码),得到图形码的图像后,终端设备还可以直接将摄像头170拍摄得到的原始图像显示于产品销量提报界面中包含的产品图像显示区域中。或者,终端设备100中的处理器130还可以根据存储器140中预先存储的一些图像处理算法对摄像头170拍摄得到的原始图像进行处理,例如在得到的原始图像中的某一区域添加产品码或销售时间等信息,然后将处理后的图像显示于产品销量提报界面包含的产品图像显示区域中,销售人员当然也可以从产品销量提报界面中下载或保存处理后的图像。If the salesperson triggers the shooting control in the product sales report interface, the terminal device will take pictures of the graphic code (two-dimensional code and/or barcode) of the product through the
六、产品销售信息包含当前的地理位置信息。6. Product sales information includes current geographic location information.
可选的,产品销售提报界面中可以显示有定位启动标志,销售人员可以通过输入单元150,比如通过触控面板151触发该定位启动标志,这样处理器130在检测到该定位启动标志启动后,就可以启动终端设备100中携带的定位模块,例如GPS(图1中未示出)来定位终端设备100当前所在的地理位置信息,然后处理器130将定位模块定位到的地理位置信息自动写入到产品销售提报界面中显示的店面信息输入框中。Optionally, a positioning activation sign may be displayed in the product sales report interface, and the salesperson may trigger the positioning activation sign through the
S206:终端设备100的显示面板161显示的产品销量提报界面中显示产品销售信息。如前述内容可知,产品销售信息可以有多种,每种产品销售信息可以显示在产品销量提报界面中的不同显示区域中。S206: Display product sales information on the product sales report interface displayed on the
示例性的,图3A-3D示出了本申请实施例提供的产品销量提报界面的示意图。Exemplarily, FIGS. 3A-3D show a schematic diagram of a product sales reporting interface provided by an embodiment of the present application.
在图3A中,终端设备的显示界面中显示多个应用程序,其中,多个应用程序中包含销量提报应用程序30。销售人员可以触发启动销量提报应用程序30。终端设备检测到用于触发启动销量提报应用程序30的指令后,显示产品销量提报界面31,请参见图3B。In FIG. 3A , multiple application programs are displayed on the display interface of the terminal device, wherein the sales reporting application program 30 is included in the multiple application programs. The salesperson can trigger the sales reporting application 30 to start. After the terminal device detects the instruction for triggering the start of the sales report application program 30, it displays the product
在图3B中,产品销量提报界面31中包含拍摄控件311、产品码显示区域312、销售人员信息显示区域313、销售店面信息显示区域314、产品图像显示区域315、购买人员信息显示区域316以及上报控件317。In FIG. 3B, the product
在图3C中,若终端设备检测到用于触发拍摄控件311的触发指令后,可以启动摄像头,打开拍摄预览界面32,对产品的图形码(二维码和/或条形码)进行拍摄,如图3C所示,销售人员将终端设备中的摄像头对准产品的图形码,则拍摄预览界面32中,显示图形码的预览图像,当终端设备检测到拍摄完成指令(检测到销售人员触发拍摄预览界面32中的“拍摄”按钮321)后,得到产品图形码的图像,将该图像显示于产品销量提报界面31中的产品图像显示区域315中,并通过识别图像中的图形码,得到产品的产品码,例如识别出产品的IMEI码或SN号,同时将识别出的产品码自动填充在产品销量提报界面31中的产品码显示区域312中,例如SN为11DD000000000000,IMEI为6666666666666666。In FIG. 3C, if the terminal device detects the trigger instruction for triggering the
在图3D中,销售人员可以在产品销量提报界面31中输入其他产品销售信息后,产品销量提报界面31中可以进而在销售人员信息显示区域313中显示销售人员姓名“张三”,在销售店面信息显示区域314中显示“店面A”,在购买人员信息显示区域316中显示购买人员姓名“李四”等。In FIG. 3D , after the salesperson can input other product sales information in the product
S207:销售人员通过输入单元150触发产品销量提报界面中的上报控件,如图3B中的上报控件317。S207: The salesperson triggers the reporting control in the product sales reporting interface through the
前面提到过,产品销量提报界面中包含上报控件317,销售人员可以通过输入单元150或通信接口180触发产品销量提报界面中的上报控件317,该上报控件用于触发将上面显示的产品销量提报界面中已显示的信息提交至服务器。As mentioned earlier, the product sales reporting interface includes a
S208:终端设备100中的处理器130在检测到产品销量提报界面中的上报控件317被触发后,将上面显示的产品销售提报界面中已显示的信息通过RF电路110或WiFi模块190上报给服务器。S208: After detecting that the
如前述内容,产品销量提报界面中显示有销售店面信息、销售人员信息、销售时间、地理位置信息、购买人员信息、产品的图像等。当处理器130通过输入单元150接收到上报控件317被触发的指令后,如果通过无线方式,则可以通过RF电路110或WiFi模块190将产品销售提报界面中已显示的信息一并提交至服务器,如果通过有线方式,则可以通过通信接口180将产品销售提报界面中已显示的信息一并提交至服务器。As mentioned above, the product sales reporting interface displays sales store information, sales personnel information, sales time, geographic location information, purchase personnel information, product images, and the like. After the
服务器对接收的至少一个产品码和产品销售信息进行判断,然后向终端设备发送确认结果,终端设备接收到确认结果后,显示提示信息,该提示信息用于提示用户是否上报成功。关于服务器的判断过程,以及终端设备显示提示信息的内容将在后续介绍。The server judges the received at least one product code and product sales information, and then sends a confirmation result to the terminal device. After receiving the confirmation result, the terminal device displays a prompt message, which is used to prompt the user whether the report is successful. The judging process of the server and the prompt information displayed by the terminal device will be introduced later.
当终端设备100将产品销量提报界面中已显示的信息提交至服务器之后,服务器可以根据接收到的信息生成销量报告。After the
S209:服务器根据接收到的信息,生成销量报告。S209: The server generates a sales report according to the received information.
为了提高销量统计的准确性,服务器在执行S209之前,可以对接收到的信息的真实性进行判断,由前述内容可知,服务器接收到终端设备100上报的信息包含产品码和产品销售信息,所以服务器可以分别对产品码和产品销售信息的真实性进行判断,以下将分别进行介绍。In order to improve the accuracy of sales statistics, the server can judge the authenticity of the received information before executing S209. It can be seen from the foregoing that the information reported by the server received by the
一、服务器对接收到的产品码的真实性进行判断的方式。1. The way the server judges the authenticity of the received product code.
方式一:服务器判断接收到的产品码是否符合预设规则,若是,则确定接收到的产品码是真实产品码,所述预设规则为产品码的位数、命名要求等。Method 1: The server judges whether the received product code conforms to the preset rules, and if so, determines that the received product code is a real product code, and the preset rules include the number of digits of the product code, naming requirements, etc.
在本申请实施例中,销售商提供的产品的产品码可以按照预设规则来设计,例如,每个产品码为16位数,或者每个产品码的命名要求为字母加数字的组合例如前几位是字母,之后是数字等。服务器接收到产品码之后,可以判断该产品码是否符合预设规则。例如,接收到的产品码为13位数,而预设规则中规定产品码为16位,此时,服务器可以确定接收到的产品码为虚假产品码。In the embodiment of this application, the product code of the product provided by the seller can be designed according to preset rules, for example, each product code has 16 digits, or the naming requirement of each product code is a combination of letters and numbers, such as the preceding A few digits are letters, followed by numbers, etc. After receiving the product code, the server can judge whether the product code complies with the preset rules. For example, the received product code has 13 digits, but the preset rule stipulates that the product code is 16 digits. At this time, the server can determine that the received product code is a false product code.
当服务器确定终端设备100提交的产品码不符合预设规则时,可以向终端设备100发送提示信息。终端设备100接收到提示信息之后,可以通过显示单元160在显示面板161上显示该提示信息。When the server determines that the product code submitted by the
图4A示出了终端设备100显示提示信息的示意图。在图4A中,提示信息为“产品码不存在,请确认是否继续”。若终端设备100检测到触发“确认”控件的触发指令后,将确认继续的指示发送给服务器,服务器接收到该指示后,根据终端设备100提交的信息生成销量报告。若终端设备100检测到触发“取消”控件的触发指令后,终端设备100将确认取消提交的指示发送给服务器,服务器接收到该指示后,可以删除已接收到的终端设备100上报的信息。FIG. 4A shows a schematic diagram of prompt information displayed by the
方式二,若服务器确定接收到的产品码与产品列表中第一产品的第一产品码相同,则确定接收到的产品码是真实产品码,其中,所述产品列表包含店面中的所有未销售产品的产品码。Mode 2, if the server determines that the received product code is the same as the first product code of the first product in the product list, then determine that the received product code is a real product code, wherein the product list includes all unsold products in the store The product code for the product.
在本申请实施例中,服务器中可以存储有产品列表,该产品列表中包含店面中所有未销售产品的产品码。服务器接收到的产品码不在该产品列表中,说明终端设备100提交的产品码错误。一种可能的场景为,销售人员销售的产品不属于本店面的未销售产品。比如,销售商A中的销售人员将销售商B的销售产品的产品码输入到产品码输入框中,以作为该销售人员的业绩。再比如,销售商A的销售人员自己编撰一个产品码,并将编撰的产品码输入到产品码输入框中。对于这种情况,服务器确定终端设备100提交的产品销售信息为虚假销售信息,不作为该销售人员的业绩。In this embodiment of the application, a product list may be stored in the server, and the product list includes product codes of all unsold products in the store. The product code received by the server is not in the product list, indicating that the product code submitted by the
因此,在方式二中,服务器接收到终端设备100上报的产品码可以有多个。以三个为例,比如2个IMEI码和1个SN号,服务器可以分别确定这三个产品码中每个产品码是否正确。当确定所有的产品码均正确时,则确定上报的产品码属实,否则,确定上报的产品码是虚假信息。通过这种方式,可以更加提高销量统计的准确性。Therefore, in the second manner, the server may receive multiple product codes reported by the
当然,服务器确定接收到的产品码在该产品列表中后,还可以判断该产品码是否被重复提交。服务器中可以存储已经成功提交的产品的产品码,当服务器再次接收到该产品码时,确定该产品码被重复提交。Of course, after the server determines that the received product code is in the product list, it can also determine whether the product code has been repeatedly submitted. The server may store product codes of products that have been successfully submitted, and when the server receives the product code again, it is determined that the product code has been repeatedly submitted.
当服务器确定终端设备100提交的产品码被重复提交时,可以向终端设备100发送提示信息。终端设备100接收到提示信息之后,可以通过显示单元160在显示面板161上显示该提示信息。When the server determines that the product code submitted by the
图4B示出了终端设备100显示提示信息的示意图。在图4B中,提示信息为“产品码重复,请确认是否继续”。若终端设备100检测到触发“确认”控件的触发指令后,将确认继续的指示发送给服务器,服务器接收到该指示后,根据终端设备100提交的信息生成销量报告。若终端设备100检测到触发“取消”控件的触发指令后,终端设备100将确认取消提交的指示发送给服务器,服务器接收到该指示后,可以删除已接收到的终端设备100上报的信息。FIG. 4B shows a schematic diagram of displaying prompt information by the
当然,如果服务器判断产品码为虚假产品码后,可以直接向终端设备发送提示信息,该提示信息用于提示上报失败。图4C示出了终端设备100显示提示信息的示意图。在图4C中,提示信息为“产品码重复,提交失败”。Of course, if the server determines that the product code is a false product code, it can directly send a prompt message to the terminal device, and the prompt message is used to prompt that the report fails. FIG. 4C shows a schematic diagram of displaying prompt information by the
在本申请实施例中,销售商可以避免销售人员上报虚假产品码来作为该销售人员的业绩,虚假产品码例如非该销售商销售的产品的产品码,通过这种方式,有助于提高销量统计的准确性。In the embodiment of this application, the seller can prevent the salesperson from reporting false product codes as the performance of the salesperson. False product codes, such as product codes of products not sold by the seller, can help increase sales in this way. Statistical Accuracy.
如前述内容可知,一个产品的产品码可以有多个,以两个为例,若服务器接收到终端设备100上报的产品码有两个,例如IMEI码和SN号,服务器可以分别对每个产品码的真实性进行判断。当确定所有的产品码均为真实产品码后,服务器根据接收到的信息生成销量报告,通过这种方式,可以更加提高销量统计的准确性。As can be seen from the aforementioned content, there can be multiple product codes for a product. Taking two as an example, if the server receives two product codes reported by the
二、服务器对接收到的产品销售信息的真实性进行判断的方式。2. The way the server judges the authenticity of the received product sales information.
方式一、当产品销售信息包含终端设备100的地理位置时,服务器判断终端设备100的地理位置与店面地址之间的距离是否小于等于预设距离,若是,则确定产品销售信息为真实产品销售信息。Method 1. When the product sales information includes the geographic location of the
在实际应用过程中,一个店面通常具有固定的店面地址,服务器中可以存储该店面的店面地址,服务器接收到终端设备100上报的地理位置时,将该地理位置与店面地址进行对比,若二者之间的距离大于预设距离,则服务器确定该产品销售信息为虚假销售信息,否则,确定该产品销售信息为真实销售信息。预设距离的具体值,本申请实施例不作限定。In practical applications, a storefront usually has a fixed storefront address, and the storefront address of the storefront can be stored in the server. When the server receives the geographical location reported by the
举例来说,在实际应用中,销售人员可能在距离店面的店面地址较远的地点处,通过终端设备100中的销量提报应用程序上报该店面的产品的产品码和产品销售信息,为了避免这种场景出现,通过本申请实施例提供的技术方案可以较为准确的锁定提报产品销售信息的地理范围,将产品销售行为精准聚焦到销售店面内。For example, in practical applications, the salesperson may report the product code and product sales information of the product in the store through the sales report application program in the
可选的,服务器确定终端设备100的地理位置与店面地址之间的距离大于预设距离后,可以向终端设备100发送提示信息。图5示出了终端设备100显示提示信息的示意图。在图5中,提示信息为“当前地理位置超出销售地理范围,请确定是否继续提交”。若终端设备100检测到触发“确认”控件的触发指令后,确定继续提交,并将确认继续提交的指示发送给服务器,服务器接收到确认继续提交的指示后,根据终端设备100提交的信息生成销量报告。若终端设备100检测到触发“取消”控件的触发指令后,终端设备100将确认取消提交的指示发送给服务器,服务器可以删除已接收到的终端设备100上报的信息。Optionally, after the server determines that the distance between the geographic location of the
方式二、当产品销售信息包含产品图像时,服务器判断产品图像是否为虚假产品图像,若不是,则确定产品销售信息属实。Method 2: When the product sales information includes a product image, the server determines whether the product image is a false product image, and if not, determines that the product sales information is true.
可选的,服务器判断产品图像是否为虚假产品图像的方式可以有多种。比如,比如,服务器可以判断该产品图像是否为翻拍图像,若是,则确定图像为虚假产品图像。或者,服务器可以判断该产品图像是否经过复印,若是,则确定图像为虚假图像。Optionally, there may be multiple ways for the server to determine whether the product image is a false product image. For example, for example, the server can determine whether the product image is a duplicate image, and if so, determine that the image is a fake product image. Alternatively, the server can determine whether the product image has been copied, and if so, determine that the image is a fake image.
以服务器判断图像是否为翻拍图像为例。服务器可以从产品图像中提取特征向量,将图像的特征向量输入已经训练好的分类器,该分类器是将多个已知是否为翻拍图像的图像作为图像库对分类器进行训练后,得到的已经训练好的分类器,根据该分类器的输出结果判断该产品图像是否是翻拍图像。例如输出结果为是,则确定产品图像为翻拍图像,若输出结果为否,则确定产品图像不是翻拍图像。Take the server judging whether an image is a reproduced image as an example. The server can extract the feature vector from the product image, and input the feature vector of the image into the trained classifier, which is obtained after training the classifier with multiple images known to be remake images as the image library The trained classifier judges whether the product image is a remake according to the output result of the classifier. For example, if the output result is yes, it is determined that the product image is a remake image, and if the output result is no, it is determined that the product image is not a remake image.
若图像中包含产品的图形码时,服务器可以判断该图像中的图形码是否是经过复印后的图形码。通常,销售商将图形码粘贴到产品的包装盒外表面,终端设备100拍摄的图像是产品包装盒的图像时,服务器可以判断粘贴于包装盒外表面的图形码是否是经过复印后的图形码。若服务器确定产品的图像中的图形码是复印后的图形码,则判定终端设备提交的产品销售信息为虚假销售信息。If the image contains the graphic code of the product, the server can determine whether the graphic code in the image is a copied graphic code. Usually, the seller pastes the graphic code on the outer surface of the product packaging box. When the image captured by the
通过本申请实施例提供的技术方案,销售商可以避免销售人员在提交产品销售信息的过程中,提交虚假产品图像以此作为该销售人员的销售业绩的情况。通过这种方式,终端设备100可以获取未经翻拍或者复印的产品图像,即销售人员在销售产品的过程中现场拍摄的图像,有助于提供销量统计的准确性。Through the technical solution provided by the embodiment of the present application, the seller can avoid the situation that a salesperson submits a false product image as the sales performance of the salesperson in the process of submitting product sales information. In this way, the
当服务器对接收到的信息的真实性进行判断后,执行S209,即根据接收到的信息生成销量报告。例如,在销量报告中记录该产品码和产品销售信息,以便后续查阅。当然,服务器在生成销量报告的过程中,可以对虚假产品码或虚假产品销售信息作一定标识,例如备注。After the server judges the authenticity of the received information, it executes S209, that is, generates a sales report according to the received information. For example, record the product code and product sales information in the sales report for subsequent reference. Of course, during the process of generating the sales report, the server may mark the false product code or false product sales information, such as remarks.
通过图2所示的实施例的技术方案,产品销售信息的提交过程中,无需进行线下提交过程,销售人员可以通过终端设备将产品销售信息以及产品码一并上报服务器,由服务器进行销量信息的统计,有助于节省劳动资源。Through the technical solution of the embodiment shown in Figure 2, during the submission process of product sales information, no offline submission process is required, and the salesperson can report the product sales information and product code to the server through the terminal device, and the server will perform sales information Statistics help to save labor resources.
实施例二:Embodiment two:
在实施例一中,图形码(二维码/图形码)扫描技术应用在销售人员提交产品销售信息的过程中。实际上,目前图形码还逐渐应用于扫码支付的过程中。比如,第一终端设备(付款方设备)可以扫码第二终端设备(收款方设备)生成的图形码,或者图形码的照片,向收款方付款。在扫码支付的过程中,用户往往关注的是支付的安全性。而图形码自身通常难以被肉眼识别,所以用户无法通过图形码是否来自收款方,一旦收款方的图形码被替换,将造成付款方的经济损失。In the first embodiment, graphic code (two-dimension code/graphic code) scanning technology is applied in the process of salesperson submitting product sales information. In fact, at present, the graphic code is gradually applied in the process of scanning the code for payment. For example, the first terminal device (payer device) can scan the graphic code generated by the second terminal device (payee device), or a photo of the graphic code, to pay the payee. In the process of scanning the code to pay, users often pay attention to the security of payment. The graphic code itself is usually difficult to be recognized by the naked eye, so the user cannot check whether the graphic code is from the payee. Once the graphic code of the payee is replaced, it will cause economic losses to the payer.
为了解决该技术问题,本申请实施例提供一种支付方法。在该方法中,付款方设备或者收款方设备对图形码进行扫描之后,可以获取较多的信息,通过获得的信息综合判断扫描是否正确,有助于提高扫描支付的安全性。具体请参见图6,为本申请实施例提供的一种支付方法的流程图。如图6所示,该方法包括:In order to solve this technical problem, an embodiment of the present application provides a payment method. In this method, after the payer's device or the payee's device scans the graphic code, more information can be obtained, and the obtained information can be used to comprehensively judge whether the scanning is correct, which helps to improve the security of scanning payment. For details, please refer to FIG. 6 , which is a flow chart of a payment method provided by the embodiment of this application. As shown in Figure 6, the method includes:
S601:第一终端设备对图形码进行扫描,该图形码为第二终端设备中的第二应用程序产生的,该图形码中包含第二应用程序的标识信息、用户登录第二应用程序的用户ID、第二终端设备当前所处的地理位置信息,时间信息等。S601: The first terminal device scans the graphic code, the graphic code is generated by the second application program in the second terminal device, the graphic code contains the identification information of the second application program, the user who logs in to the second application program ID, current geographical location information of the second terminal device, time information, and the like.
在本申请实施例中,第一终端设备扫描第二终端设备产生的图形码,有多种可能的场景。比如,第一终端设备作为付款方设备,第二终端设备作为收款方设备,付款方设备扫描收款方设备产生的图形码。再比如,第一终端设备作为收款方设备,第二终端设备作为付款方设备,收款方设备扫描付款方设备产生的图形码。在不同场景下,第一终端设备和第二终端设备分别承担不同的角色。In the embodiment of the present application, there are many possible scenarios where the first terminal device scans the graphic code generated by the second terminal device. For example, the first terminal device serves as the payer device, the second terminal device serves as the payee device, and the payer device scans the graphic code generated by the payee device. For another example, the first terminal device serves as the payee device, the second terminal device serves as the payer device, and the payee device scans the graphic code generated by the payer device. In different scenarios, the first terminal device and the second terminal device assume different roles respectively.
一种可能的实施例为,第一终端设备作为收款方设备,第二终端设备作为付款方设备。以第一终端设备是收银扫码枪,第二终端设备是消费者的手机(或ipad)为例。A possible embodiment is that the first terminal device serves as the payee device, and the second terminal device serves as the payer device. Take the example where the first terminal device is a cash register scanner and the second terminal device is a consumer's mobile phone (or ipad).
消费者打开手机中的第二应用程序。其中,第二应用程序可以是手机中具有生成付款码功能的应用程序,比如微信、支付宝等。The consumer opens a second application in the phone. Wherein, the second application program may be an application program in the mobile phone that has the function of generating payment codes, such as WeChat, Alipay, and the like.
当然,不同的第二应用程序生成的付款码不同。以第二应用程序是微信为例。消费者触发微信的操作界面中的“收付款”控件后,手机可以获取微信的标识信息比如微信的图标、当前登录微信的用户ID比如微信号、昵称等、时间信息等。若手机检测到GPS当前处于开启状态,还可以获取当前所处的地理位置信息。Of course, the payment codes generated by different second application programs are different. Take the second application program being WeChat as an example. After the consumer triggers the "receipt and payment" control in the WeChat operation interface, the mobile phone can obtain WeChat identification information such as the WeChat icon, the user ID currently logged into WeChat such as WeChat ID, nickname, etc., time information, etc. If the mobile phone detects that the GPS is currently turned on, it can also obtain the current geographic location information.
当手机获取到这些信息之后,可以在本地基于这些信息中的至少一种信息生成付款码。比如,手机获取的信息有微信的标识信息、当前登录微信的用户ID、时间信息、地理位置信息。则手机可以基于其中的登录微信的用户ID和时间信息生成付款码,或者可以基于获得的全部信息生成付款码。具体的,手机可以将所述至少一种信息转换成数字矩阵。比如0、1数字矩阵,0表示“空”,1表示“点”,然后手机根据数字矩阵生成付款码的图形。After obtaining the information, the mobile phone can locally generate a payment code based on at least one of the information. For example, the information obtained by the mobile phone includes WeChat identification information, the user ID currently logged into WeChat, time information, and geographic location information. Then the mobile phone can generate a payment code based on the user ID and time information of the WeChat login therein, or can generate a payment code based on all information obtained. Specifically, the mobile phone can convert the at least one type of information into a digital matrix. For example, 0, 1 digital matrix, 0 means "empty", 1 means "dot", and then the mobile phone generates the graphics of the payment code according to the digital matrix.
当然,手机也可以将获得的信息中的至少一种信息发送给服务器。服务器基于接收到的信息生成数字矩阵。然后,服务器将数字矩阵发送给手机,手机基于接收到的数字矩阵生成付款码的图形,手机将该付款码显示于显示屏上。服务器也可以基于接收到的信息生成关联的验证信息后发送给手机,手机将验证信息转换成数字矩阵。Certainly, the mobile phone may also send at least one type of information in the obtained information to the server. The server generates a matrix of numbers based on the information received. Then, the server sends the digital matrix to the mobile phone, and the mobile phone generates a graphic of the payment code based on the received digital matrix, and the mobile phone displays the payment code on the display screen. The server can also generate associated verification information based on the received information and send it to the mobile phone, and the mobile phone converts the verification information into a digital matrix.
收银扫码枪的摄像头扫描手机显示屏上显示的付款码后,获得付款码中包含的信息,并将获得的信息显示于与收银扫码枪连接的显示器上。After the camera of the cash register scanner scans the payment code displayed on the mobile phone display, the information contained in the payment code is obtained, and the obtained information is displayed on the display connected to the cash register scanner.
另一种可能的实施例:第一终端设备作为付款方设备,第二终端设备作为收款方设备。以第一终端设备是消费者的手机,第二终端设备是商店工作人员的手机为例。Another possible embodiment: the first terminal device is used as the payer device, and the second terminal device is used as the payee device. Take the example where the first terminal device is a mobile phone of a consumer and the second terminal device is a mobile phone of a store worker.
通常,商店会展示多种收款码,以方便消费者扫码支付。其中,多种收款码可以是不同的第二应用程序产生的。比如第二应用程序是微信时,产生微信收款码。第二应用程序是支付宝时,产生支付宝收款码。因此,商店的工作人员的手机中的第二应用程序产生收款码时,该收款码中包含第二应用程序的标识信息、用户登录第二应用程序的用户ID、时间信息,地理位置信息等。以第二应用程序是微信为例,收款码中包含有微信的标识信息,当前登录微信的用户ID、当前所处的地理位置信息,时间信息等等。Usually, stores will display a variety of payment codes to facilitate consumers to scan and pay. Wherein, the various collection codes may be generated by different second application programs. For example, when the second application program is WeChat, a WeChat payment code is generated. When the second application program is Alipay, an Alipay receiving code is generated. Therefore, when the second application program in the mobile phone of the staff of the store generates a collection code, the collection code includes the identification information of the second application program, the user ID of the user logging into the second application program, time information, and geographic location information. wait. Taking the second application program as WeChat as an example, the payment code includes WeChat identification information, the user ID currently logged into WeChat, current geographic location information, time information, and the like.
消费者打开手机中的第一应用程序,该第一应用程序为终端设备中具有摄像头访问权限的应用程序,比如相机、微信、支付宝、淘宝、京东商城、腾讯QQ、钉钉、微博等。当第一应用程序启动的摄像头后,消费者将已启动的摄像头对准商店出示的收款码进行扫描。The consumer opens the first application program in the mobile phone. The first application program is an application program with camera access rights in the terminal device, such as camera, WeChat, Alipay, Taobao, JD.com, Tencent QQ, DingTalk, Weibo, etc. After the camera is activated by the first app, the consumer points the activated camera at the payment code presented by the store to scan.
如前述内容,商店通常会展示多个收款码,比如微信收款码,支付宝收款码。目前,消费者结账时,通常在多个收款码中选择一个收款码,然后打开手机中与该收款码对应的应用程序,通过该应用程序扫描选择的收款码。As mentioned above, stores usually display multiple collection codes, such as WeChat collection codes and Alipay collection codes. At present, when consumers check out, they usually select a collection code among multiple collection codes, then open the application corresponding to the collection code in the mobile phone, and scan the selected collection code through the application.
但在本申请实施例中,消费者可以启动手机中任一具有摄像头访问权限的应用程序,来扫描商店出示的收款码。以相机为例,消费者打开手机中的相机,启动摄像头,然后将已启动的摄像头对准商店展示的多个收款码中的任意一个收款码进行扫描,扫描之后,手机的显示屏上的显示界面跳转为与所述任意一个收款码对应的应用程序的操作界面。However, in this embodiment of the application, the consumer can start any application in the mobile phone that has access to the camera to scan the payment code presented by the store. Taking the camera as an example, the consumer turns on the camera in the mobile phone, activates the camera, and then points the activated camera at any one of the multiple payment codes displayed in the store to scan. After scanning, the display on the mobile phone The display interface jumps to the operation interface of the application program corresponding to any one of the collection codes.
一种可能的实现方式为,消费者打开相机,启动摄像头对商店出示的微信收款码进行扫描,得到扫描结果。扫描结果中包含微信的名称,比如扫码结果中包含关键字“weixin”。则手机启动搜索功能,寻找安装在手机中的微信,然后启动微信。One possible implementation is that the consumer turns on the camera, starts the camera to scan the WeChat payment code presented by the store, and obtains the scanning result. The name of WeChat is included in the scanning result, for example, the keyword "weixin" is included in the scanning result. Then the mobile phone starts the search function, searches for the WeChat installed in the mobile phone, and then starts the WeChat.
另一种可能的实现方式为,消费者打开相机,启动摄像头对商店出示的微信收款码进行扫描,得到扫描结果。扫描结果可以是序列号或链接。以序列号为例,比如获得的序列号为100987634321。序列号的前三位号码为“100”,手机可以根据序列号的前三位号码与应用程序的对应关系,确定与“100”对应的应用程序是微信。手机启动搜索功能,寻找安装于手机中的微信,然后启动微信。表1作为一种示例,示出了序列号的前三位号码与应用程序的对应关系。例如表1形式的数据可以存储在手机上或者服务器上,供手机查询。Another possible implementation is that the consumer turns on the camera, starts the camera to scan the WeChat payment code presented by the store, and obtains the scanning result. Scan results can be serial numbers or links. Take the serial number as an example, for example, the obtained serial number is 100987634321. The first three digits of the serial number are "100", and the mobile phone can determine that the application corresponding to "100" is WeChat according to the corresponding relationship between the first three digits of the serial number and the application. Start the search function on the mobile phone, find WeChat installed in the mobile phone, and then start WeChat. As an example, Table 1 shows the correspondence between the first three digits of the serial number and the application programs. For example, the data in the form of Table 1 can be stored on the mobile phone or on the server for query by the mobile phone.
表1Table 1
又一种可能的实现方式为,消费者打开相机,启动摄像头对商店出示的微信收款码进行扫描,得到扫描结果。扫描结果可以是序列号或链接。以序列号为例,手机将获得的序列号发送给服务器。服务器确定序列号的前三位号码是“100”,然后根据序列号的前三位号码与应用程序的对应关系(参见表1),确定与“100”对应的应用程序是微信。然后,服务器将微信的名称“weixin”发送给手机。手机获取到微信的名称后,启动搜索功能,寻找安装在手机中的微信,然后启动微信。Another possible implementation is that the consumer turns on the camera, starts the camera to scan the WeChat payment code presented by the store, and obtains the scanning result. Scan results can be serial numbers or links. Taking the serial number as an example, the mobile phone sends the acquired serial number to the server. The server determines that the first three digits of the serial number are "100", and then determines that the application corresponding to "100" is WeChat according to the correspondence between the first three digits of the serial number and the application (see Table 1). Then, the server sends the WeChat name "weixin" to the mobile phone. After the mobile phone obtains the name of WeChat, start the search function, find the WeChat installed in the mobile phone, and then start WeChat.
示例的,图7A-7B示出了手机中的相机扫描收款码的示意图。Exemplarily, FIGS. 7A-7B show a schematic diagram of scanning a payment code by a camera in a mobile phone.
在图7A中,以收款码是店面出示的微信收款码为例。消费者打开手机中的相机,启动摄像头,消费者将已启动的摄像头对准商店出示的微信收款码。即手机的显示屏上显示预览界面701,该预览界面701中显示收款码。消费者可以触发预览界面中“识别二维码”控件702,当终端设备检测到用于触发该控件702的触发指令后,识别收款码。然后,终端设备的显示界面跳转到微信的支付界面,请参见图7B所示。In FIG. 7A , the payment code is the WeChat payment code presented by the store as an example. The consumer turns on the camera in the mobile phone, activates the camera, and the consumer points the activated camera at the WeChat payment code presented by the store. That is, a
在图7B中,终端设备的显示屏上显示的是微信的支付界面703。消费者可以在该支付界面703中的金额输入框中输入金额,完成支付。In FIG. 7B , the
因此,在本申请实施例中,消费者无需在商店出示的多个图形码中选择一个图形码,然后在手机中寻找到与该图形码对应的应用程序,启动该应用程序,然后通过该应用程序对图形码进行扫描。消费者可以选择手机中的任意一个具有摄像头访问权限的应用程序,通过该应用程序扫码商店示出的某个图形码,手机便可跳转到与该图形码对应的应用程序的支付界面,过程简单,方便消费者操作。Therefore, in the embodiment of the present application, the consumer does not need to select a graphic code among the multiple graphic codes presented in the store, and then find the application program corresponding to the graphic code in the mobile phone, start the application program, and then pass the application program. The program scans the graphic code. Consumers can choose any application in the mobile phone that has access to the camera. By scanning a certain graphic code shown in the store through the application, the mobile phone can jump to the payment interface of the application corresponding to the graphic code. The process is simple and convenient for consumers to operate.
消费者的手机扫描商店出示的收款码之后,获得收款码中包含的信息,可以将获得的信息显示在手机的显示屏上。After the consumer's mobile phone scans the payment code presented by the store, the information contained in the payment code is obtained, and the obtained information can be displayed on the display screen of the mobile phone.
又一种可能的实施例为,第一终端设备作为付款方设备,第二终端设备作为收款方设备。以第一终端设备是消费者的手机,第二终端设备是自动售货机为例。Another possible embodiment is that the first terminal device is used as the payer device, and the second terminal device is used as the payee device. Take the example where the first terminal device is a consumer's mobile phone and the second terminal device is a vending machine.
消费者打开手机中的第一应用程序,该第一应用程序为终端设备中具有摄像头访问权限的应用程序。比如相机、微信、支付宝、淘宝、京东商城、腾讯QQ、钉钉、微博等。The consumer opens the first application program in the mobile phone, and the first application program is an application program with camera access authority in the terminal device. Such as camera, WeChat, Alipay, Taobao, JD.com, Tencent QQ, DingTalk, Weibo, etc.
当第一应用程序启动的摄像头后,消费者将已启动的摄像头对准收款码进行扫码,所述收款码为自动售货机生成的,并且所述收款码包含商品信息,比如商品名称、商品价格、生产商信息、销售商信息、自动售货机所处的地理位置信息以及、商品在自动售货机中的位置信息等。After the camera is activated by the first application program, the consumer will point the activated camera at the payment code to scan the code. The payment code is generated by the vending machine, and the payment code contains commodity information, such as commodity Name, commodity price, manufacturer information, seller information, geographic location information of the vending machine, and location information of the commodity in the vending machine, etc.
举例来说,消费者在自动售货机上购物时,当消费者选中某个商品时,自动售货机的显示器上显示一收款码。该收款码中包含消费者选中的商品的商品信息。该收款码可以是微信收款码或者支付宝收款码。For example, when a consumer is shopping on an automatic vending machine, when the consumer selects a product, a payment code will be displayed on the display of the automatic vending machine. The payment code includes product information of the product selected by the consumer. The payment code can be WeChat payment code or Alipay payment code.
以微信收款码为例,消费者打开手机中第一应用程序比如相机,扫描该收款码后,手机的显示屏跳转到微信的支付界面,该在支付界面中显示获取的与该收款码相关的信息。即消费者的手机上显示购买的商品的商品信息。Taking the WeChat payment code as an example, the consumer opens the first application in the mobile phone, such as the camera, and after scanning the payment code, the display screen of the mobile phone jumps to the payment interface of WeChat, and the payment interface obtained and the payment information should be displayed on the payment interface. Information about payment codes. That is, the product information of the purchased product is displayed on the consumer's mobile phone.
S602:第一终端设备获得所述图形码中包含的信息,并将获得的信息显示在显示屏上。S602: The first terminal device obtains the information contained in the graphic code, and displays the obtained information on a display screen.
一种可能的实施例为,收银扫码枪的摄像头扫描消费者的手机显示的付款码后,获得付款码中包含的信息。A possible embodiment is that after the camera of the cash register scanner scans the payment code displayed on the consumer's mobile phone, the information contained in the payment code is obtained.
一种可能的实现方式为,付款码本身携带有信息,即收银扫码枪扫描消费者的手机显示的付款码后,直接得到该付款码中包含的信息。以手机显示的是微信付款码为例,消费者的手机在生成微信付款码时,将当前登录微信的用户ID、时间信息、手机当前所处的地理位置信息等信息编译于付款码中。收银扫码枪扫描手机显示的微信付款码后,可以直接获得微信付款码中包含的信息。One possible implementation is that the payment code itself carries information, that is, after the cash register scanner scans the payment code displayed on the consumer's mobile phone, the information contained in the payment code is directly obtained. Taking the WeChat payment code displayed on the mobile phone as an example, when the consumer’s mobile phone generates the WeChat payment code, it compiles information such as the user ID currently logged into WeChat, time information, and the current geographic location of the mobile phone into the payment code. After the cash register scanner scans the WeChat payment code displayed on the mobile phone, you can directly obtain the information contained in the WeChat payment code.
举例来说,以消费者的手机显示的付款码是微信付款码为例。微信付款码中可以包含用户头像。即手机在生成微信付款码时,将用户头像编译于付款码中。收银扫码枪扫描消费者的手机显示的付款码后,获取付款码中所包含的用户头像。For example, take the example where the payment code displayed on the consumer's mobile phone is the WeChat payment code. The WeChat payment code can contain user avatars. That is, when the mobile phone generates a WeChat payment code, it compiles the user avatar into the payment code. After the cashier scanner scans the payment code displayed on the consumer's mobile phone, it obtains the user's avatar included in the payment code.
另一种可能的实现方式为,收银扫码枪扫描消费者的手机显示的付款码后,得到的是序列号或者链接,该序列号或者链接中携带有信息。以手机显示的是微信付款码为例。收银扫码枪扫描消费者的手机显示的付款码后,得到序列号或者链接。序列号或者链接中关联当前登录微信的用户ID、时间信息、手机当前所处的地理位置信息等信息。收银扫码枪将序列号或者链接发送给服务器。服务器对序列号或者链接进行解析,得到序列号或者链接中携带的信息。之后,服务器将获得的信息发送给收银扫码枪。Another possible implementation is that after the cash register scanner scans the payment code displayed on the consumer's mobile phone, the serial number or link is obtained, and the serial number or link carries information. Take the WeChat payment code displayed on the mobile phone as an example. The cash register scanner scans the payment code displayed on the consumer's mobile phone to obtain the serial number or link. The serial number or link is associated with information such as the user ID currently logged into WeChat, time information, and the current geographic location of the mobile phone. The cash register scanner sends the serial number or link to the server. The server parses the serial number or link to obtain the information carried in the serial number or link. After that, the server sends the obtained information to the cash register scanner.
举例来说,收银扫码枪扫描消费者的手机显示的付款码后,获取付款码中所包含的用户ID或者查询码。查询码用于查询用户信息,所述用户信息中可以包含用户头像。收银扫码枪将用户ID或查询码发送到服务器。服务器根据用户ID寻找与用户ID对应的用户信息。或者,服务器可以根据查询码与用户信息之间的对应关系,确定用户信息。服务器确定用户信息后,将用户信息中的用户头像发送给收银扫码枪。或者,服务器将全部的用户信息发给收银扫码枪,比如用户昵称、联系方式、用户头像等等。For example, after the cash register scanner scans the payment code displayed on the consumer's mobile phone, it obtains the user ID or query code contained in the payment code. The query code is used to query user information, which may include user avatars. The cash register scanner sends the user ID or query code to the server. The server searches for user information corresponding to the user ID according to the user ID. Alternatively, the server may determine the user information according to the correspondence between the query code and the user information. After the server determines the user information, it sends the user avatar in the user information to the cashier barcode scanner. Alternatively, the server sends all user information to the cashier barcode scanner, such as user nickname, contact information, user avatar, and so on.
收银扫码枪将获得的信息发送给与收银扫码枪连接的显示器,由该显示器显示获得的信息。商店收银人员可以通过显示器上显示的信息判断扫描是否正确。The code scanning gun at the cash register sends the obtained information to a display connected to the code scanning gun at the cash register, and the display displays the obtained information. The store cashier can tell whether the scan is correct or not by the information displayed on the monitor.
收银扫码枪可以将用户头像发送给与收取扫码枪连接的显示器。显示器上显示用户头像,商店收银人员可以对比显示器上显示的用户头像和消费者是否为同一人。The cashier scanner can send the user's avatar to the display connected to the cashier scanner. The user avatar is displayed on the monitor, and the store cashier can compare whether the user avatar displayed on the monitor and the consumer are the same person.
当然,收银扫码枪对消费者的手机呈现的付款码扫描之后,可以对扫码得到的信息的正确性进行判断,然后输出判断结果,并将判断结果显示于显示器上。商店收银人员可以通过显示器上显示的判断结果,判断是否继续交易。或者,收取扫码枪经过判断,确定扫码得到的信息不正确,可以在显示器上显示扫码不成功,无法交易的信息。Of course, after the cash register scanner scans the payment code presented by the consumer's mobile phone, it can judge the correctness of the information obtained by scanning the code, then output the judgment result, and display the judgment result on the display. The store cashier can judge whether to continue the transaction through the judgment result displayed on the monitor. Or, after receiving the code scanning gun, it is judged that the information obtained by scanning the code is incorrect, and the information that the code scanning is unsuccessful and cannot be traded can be displayed on the display.
举例来说,收银扫码枪对消费者出示的付款码扫描后,得到付款码中所包含的地理位置信息,可以判断获得的地理位置信息与商店的店面位置之间的距离是否大于预设距离,若大于,则显示器显示提示信息,以提示距离较远,存在风险。当然,提示信息还可以是语音信息。商店收银人员可以通过提示信息确定消费者出示的付款码是否正确。再比如,收银扫码枪对消费者出示的付款码扫描后,得到付款码中所包含的时间信息,可以判断获取的时间信息与当前的时间信息之间的时间差,若时间差大于预设时间差,则输出提示信息,以提示时间较长,存在风险。For example, after the cashier scanner scans the payment code presented by the consumer, the geographical location information contained in the payment code is obtained, and it can be judged whether the distance between the obtained geographical location information and the location of the store is greater than the preset distance , if it is greater than , the display will display a prompt message to indicate that the distance is too far and there is a risk. Of course, the prompt information may also be voice information. The store cashier can determine whether the payment code presented by the consumer is correct through the prompt information. For another example, the cash register scanner scans the payment code presented by the consumer to obtain the time information contained in the payment code, and can judge the time difference between the obtained time information and the current time information. If the time difference is greater than the preset time difference, Then a prompt message is output to prompt that the time is long and there is a risk.
另一种可能的实施例,消费者的手机扫描商店出示的收款码之后,获得收款码中包含的信息,将获得的信息显示在手机的显示屏上。In another possible embodiment, after the consumer's mobile phone scans the payment code presented by the store, the information contained in the payment code is obtained, and the obtained information is displayed on the display screen of the mobile phone.
以商店出示的收款码是微信收款码为例,消费者的手机扫描微信收款码之后,手机的显示屏上显示微信收款码中包含的信息。比如地理位置信息、用户登录微信的用户ID。消费者可以根据手机显示屏上显示的信息判断此次扫描支付是否安全。当然,本申请实施例中的地理位置信息可以是经纬度,也可以是商店的商店名称。Take the WeChat payment code shown by the store as an example. After the consumer’s mobile phone scans the WeChat payment code, the information contained in the WeChat payment code will be displayed on the screen of the mobile phone. For example, geographical location information, user ID of the user logging in to WeChat. Consumers can judge whether the scanning payment is safe or not according to the information displayed on the mobile phone display. Certainly, the geographic location information in the embodiment of the present application may be the latitude and longitude, or the store name of the store.
当然,消费者的手机扫描商店出示的收款码之后,也可以对获得的信息的真实性进行判断,然后输出判断结果。消费者可以通过手机显示屏上显示的判断结果,决定是否继续交易。或者,手机经过判断,确定扫描收款码后得到的信息不正确,可以在显示屏上出示扫码不成功,无法交易的信息。Of course, after the consumer's mobile phone scans the payment code presented by the store, he can also judge the authenticity of the obtained information, and then output the judgment result. Consumers can decide whether to continue the transaction through the judgment result displayed on the display screen of the mobile phone. Alternatively, after the mobile phone judges that the information obtained after scanning the payment code is incorrect, it can display the information on the display screen that the code scanning is unsuccessful and the transaction cannot be made.
以商店出示的收款码是微信收款码为例,消费者的手机扫描微信收款码之后,获得微信收款中包含的地理位置信息后,可以判断获得地理位置与手机自身当前所处的地理位置之间的距离差是否大于预设值,若是,输出提示信息,该提示信息用于提示距离较远,扫描存在风险。若不是,则输出微信支付界面。或者,消费者的手机扫描微信收款码之后,获得微信收款中包含的商店名称,可以判断商店的地理位置与手机自身当前所处的地理位置之间的距离是否大于预设值,若是,则输出提示信息,用以提示手机当前不在商店内,需谨慎支付。Take the WeChat payment code shown by the store as an example. After scanning the WeChat payment code with the mobile phone of the consumer, and obtaining the geographical location information contained in the WeChat payment, the consumer can determine the geographical location and the current location of the mobile phone itself. Whether the distance difference between the geographical locations is greater than a preset value, if so, output a prompt message, which is used to prompt that the distance is far away and there is a risk in scanning. If not, output the WeChat payment interface. Or, after the consumer's mobile phone scans the WeChat payment code, and obtains the store name contained in the WeChat payment, it can determine whether the distance between the geographical location of the store and the current geographical location of the mobile phone itself is greater than the preset value, and if so, A prompt message is then output to prompt that the mobile phone is not currently in the store, and it is necessary to pay carefully.
可选的,提示信息可以是显示于终端设备显示屏上的文字信息,也可以是终端设备话筒播放的语音信息。用户可以通过提示信息,判断此次扫描支付是否安全,有助于提高扫描支付的安全性。Optionally, the prompt information may be text information displayed on the display screen of the terminal device, or voice information played by the microphone of the terminal device. The user can judge whether the scanning payment is safe or not through the prompt information, which helps to improve the security of the scanning payment.
在本申请实施例中,图形码中还可以包含第二资金账户。通常,第一终端设备可以关联第一资金账户,第二终端设备可以关联第二资金账户,当所述第一终端设备扫描第二终端设备产生的图形码时,可以获得所述图形码中关联的第二资金账户。第一终端设备扫描图形码后,得到第二资金账户,或者与第二资金账户相关联的信息。终端设备显示支付界面,在所述支付界面中包含提示信息、交易金额(第一终端设备可以直接显示交易金额,比如第二终端设备产生的图形码中包含交易金额。或者,第一终端设备也可以显示金额输入框,在金额输入框中输入交易金额)和转账控件。若用户触发转账控件,则所述第一终端设备将交易金额、第一资金账户和第二资金账户发送给交易服务器。其中,交易服务器可以用于管理第一资金账户和第二资金账户。当交易服务区接收到第一终端设备发送的交易金额、第一资金账户和第二资金账户后,交易服务区可以在第一资金账户的余额中减去交易金额,在第二资金账户的余额中加上交易金额。In the embodiment of the present application, the graphic code may further include the second capital account. Usually, the first terminal device can be associated with the first fund account, and the second terminal device can be associated with the second fund account. When the first terminal device scans the graphic code generated by the second terminal device, it can obtain the information associated with the graphic code. of the second fund account. After scanning the graphic code, the first terminal device obtains the second fund account, or information associated with the second fund account. The terminal device displays a payment interface, which includes prompt information and transaction amount (the first terminal device can directly display the transaction amount, such as the graphic code generated by the second terminal device containing the transaction amount. Or, the first terminal device also Amount input box can be displayed, input transaction amount) and transfer control in the amount input box. If the user triggers the transfer control, the first terminal device sends the transaction amount, the first capital account and the second capital account to the transaction server. Wherein, the transaction server can be used to manage the first capital account and the second capital account. After the transaction service area receives the transaction amount, the first capital account and the second capital account sent by the first terminal device, the transaction service area can subtract the transaction amount from the balance of the first capital account, and the balance of the second capital account Add the transaction amount to .
示例性的,图8A-8C示出了消费者的手机的显示屏的示意图。图8A-8C是以消费者的手机扫描711便利店出示的微信收款码为例。Exemplarily, FIGS. 8A-8C show a schematic diagram of a display screen of a consumer's mobile phone. Figures 8A-8C are an example of scanning the WeChat payment code presented by a 711 convenience store with a consumer's mobile phone.
在图8A中,以应用程序是微信为例,消费者通过微信扫码711便利店出示的微信收款码。如图8A所示,手机80的显示屏上显示微信的操作界面,消费者可以触发该操作界面中的扫描控件(例如图8A中的“扫一扫”),手机80检测到触发扫描控件的触发指令后,启动摄像头,手机80的显示屏上显示扫描取景界面801,请参见图8B所示。In Figure 8A, taking WeChat as an example, the consumer scans the WeChat payment code shown by the 711 convenience store through WeChat. As shown in Figure 8A, the display screen of the
在图8B中,消费者将手机80中的已启动的摄像头对准711便利店出示的微信收款码802,扫描取景框801中显示该微信收款码802。手机80对微信收款码802进行扫描后,获得与该微信收款码802相关的信息,比如获得微信收款码802中包含的地理位置信息。之后,手机80将获得的地理位置与手机80自身当前所处的地理位置进行比较,得到二者之间的距离。当该距离大于预设距离时,输出提示信息803,请参见图8C所示。In FIG. 8B , the consumer points the activated camera of the
图8C中,手机80的显示屏上显示提示信息803,该提示信息用于提示扫描存在风险。在图8C中,提示信息为“距离711便利店100公里,存在风险,是否继续”。手机80检测到用户触发的“继续”控件的触发指令后,隐藏提示信息803,显示支付界面,消费者在支付界面的金额输入框中输入金额数字,触发转账控件(图中未示出),完成支付。In FIG. 8C , a
消费者的手机扫描商店出示的收款码后,获取与所述收款码相关的信息,例如商店所处的地理位置信息。若手机自身当前所处的地理位置与商店的地理位置之间的距离大于预设距离,则输出提示信息。消费者可以通过该提示信息判断此次扫描是否安全。例如商店和消费者当前均处于地点A,消费者的终端设备扫描商店出示的图形码后,终端设备的显示屏上显示商店地理位置为地点B,而地点A与地点B相距甚远,则消费者可以确定扫描的图形码错误,通过这种方式,可以提高扫码支付的安全性。After the consumer's mobile phone scans the payment code presented by the store, information related to the payment code, such as the geographical location information of the store, is obtained. If the distance between the current geographic location of the mobile phone itself and the geographic location of the store is greater than the preset distance, a prompt message is output. Consumers can judge whether the scan is safe or not through the prompt information. For example, both the store and the consumer are currently at location A. After the consumer's terminal device scans the graphic code presented by the store, the display on the terminal device shows that the location of the store is location B, and location A is far away from location B. The operator can determine that the scanned graphic code is wrong, and in this way, the security of payment by scanning the code can be improved.
另一种可能的实施例,消费者的手机扫描电子设备比如自动售货机显示的收款码后,消费者的手机的显示屏上显示购买的商品的商品信息。消费者可以判断显示屏上显示的商品信息是否正确,若正确,则支付费用。通常,消费者在自动售货机上选择购买的商品时,可以触发设置在自动售货机上的按钮,当用户触发某个按钮,即选中与该按钮对应的商品后,自动售货机上显示收款码,用户的手机扫描该收款码进行费用支付。In another possible embodiment, after the consumer's mobile phone scans the payment code displayed on an electronic device such as an automatic vending machine, the display screen of the consumer's mobile phone displays the product information of the purchased product. Consumers can judge whether the product information displayed on the display screen is correct, and if correct, pay the fee. Usually, when a consumer selects a product to purchase on a vending machine, he can trigger a button set on the vending machine. When the user triggers a button, that is, after selecting the product corresponding to the button, the payment receipt will be displayed on the vending machine. code, the user's mobile phone scans the collection code to pay the fee.
示例的,图9示出了手机扫描自动售货机的显示器上显示的收款码后,手机显示屏的示意图。As an example, FIG. 9 shows a schematic diagram of the display screen of the mobile phone after the mobile phone scans the payment code displayed on the display of the vending machine.
在图9中,消费者的手机的显示屏上显示微信支付界面901,在支付界面901中显示消费者购买的商品为水杯,生产商是“深圳**有限公司”,地点是在“**教学楼自动售货机”、时间是“2018.3.8”。消费者可以判断手机显示屏上显示的商品信息是否正确,若正确,则可以操作“确认支付”的控件901。若不正确,可以操作“取消支付”的控件902。In Figure 9, the display screen of the consumer's mobile phone displays a
当然,消费者在无人超市购物后,也可以通过手机扫描购买的商品上设置的收款码。收款码中携带有该商品的商品信息。手机获得收款码中包含的商品信息后,将获得的商品信息显示在手机显示屏上。手机显示屏的显示界面可以参见图9。当用户确认手机显示屏上显示的信息无误后,操作“确认支付”控件。Of course, after shopping in an unmanned supermarket, consumers can also scan the payment code set on the purchased goods with their mobile phones. The receipt code carries the product information of the product. After the mobile phone obtains the commodity information contained in the payment code, it displays the obtained commodity information on the display screen of the mobile phone. The display interface of the display screen of the mobile phone can be referred to in FIG. 9 . After the user confirms that the information displayed on the display screen of the mobile phone is correct, operate the "confirm payment" control.
本申请的各个实施方式可以任意进行组合,以实现不同的技术效果。Various implementations of the present application can be combined arbitrarily to achieve different technical effects.
上述本申请提供的实施例中,从终端设备作为执行主体的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的各功能,终端设备可以包括硬件结构和/或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行,取决于技术方案的特定应用和设计约束条件。In the above-mentioned embodiments provided in the present application, the method provided in the embodiments of the present application is introduced from the perspective of a terminal device serving as an execution subject. In order to realize the various functions in the method provided by the above embodiments of the present application, the terminal device may include a hardware structure and/or a software module, and realize the above-mentioned functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above-mentioned functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
基于相同的构思,图10所示为本申请提供的一种终端设备1000。如图10所示,终端设备1000包括:显示单元1001、处理单元1002、发送单元1003。Based on the same idea, FIG. 10 shows a
显示单元1001,用于在终端设备响应于用户针对第一应用程序的操作后,显示第一界面,所述第一界面中包含第一控件;The
所述显示单元1001还用于在所述终端设备响应于用户针对所述第一控件的操作后,显示第二界面,所述第二界面中包括摄像头的预览画面;The
处理单元1002,用于当所述预览画面中包含图形码时,识别所述图形码,得到所述图形码中关联的至少一个产品码;其中,所述至少一个产品码用于标识所述已销售产品;The
所述显示单元1001还用于在所述终端设备响应于获得所述至少一个产品码后,显示第三界面,所述第三界面中显示所述至少一个产品码、产品销售信息以及第二控件;所述产品销售信息包括销售店面信息和/或销售人员信息;其中,所述销售店面信息关联于所述终端设备当前所处的地理位置信息,所述销售人员信息关联于所述终端设备登陆所述第一应用程序的账户信息;The
发送单元1003用于在所述终端设备响应于用户针对所述第二控件的操作后,所将所述至少一个产品码、所述销售店面信息和/或销售人员信息提交至服务器。The sending
可选的,所述第三界面中还包含所述图形码的第一图像,所述第一图像上的第一显示区域显示所述至少一个产品码。Optionally, the third interface further includes a first image of the graphic code, and a first display area on the first image displays the at least one product code.
可选的,所述第三界面中还包括输入框;所述显示单元1001还用于在所述处理单元1002检测到所述输入框中被输入第一信息后,在所述输入框中显示所述第一信息;所述发送单元1003还用于当所述处理单元1002检测到针对所述第二控件的操作时,将所述输入框中显示的第一信息提交至服务器;其中,所述第一信息包括购买人员信息和/或销售时间。Optionally, the third interface further includes an input box; the
可选的,所述终端设备还包括接收单元;Optionally, the terminal device further includes a receiving unit;
所述接收单元,用于接收服务器发送的确认结果;The receiving unit is configured to receive the confirmation result sent by the server;
所述显示单元1001还用于显示第四界面,所述第四界面中包含提示信息,所述提示信息关联于所述确认结果;其中,所述提示信息用于提示用户所述至少一个产品码和所述产品销售信息是否上报成功。The
基于相同的构思,图11所示为本申请提供的一种服务器1100。如图11所示,服务器1100包括:接收单元1101、生成单元1102。Based on the same idea, FIG. 11 shows a
接收单元1101,用于接收终端设备提交的至少一个产品码和产品销售信息;其中,所述至少一个产品码用于标识已销售产品,所述产品销售信息包含销售店面信息和/或销售人员信息;其中,所述销售店面信息关联于所述终端设备当前所处的地理位置信息,所述销售人员信息关联于登陆所述终端设备中的第一应用程序的账户的账户信息;The receiving
生成单元1102,用于基于至少一个产品码、销售店面信息和/或销售人员信息生成产品销量报告。A
可选的,所述服务器还包括判断处理单元和发送单元,所述处理单元用于判断所述至少一个产品码中第一产品码是否满足产品码命名规则;所述发送单元,用于在所述第一产品码不满足产品码命名规则时,向所述终端设备发送确认结果,所述确认结果用于指示所述至少一个产品码无效,上报失败;或者Optionally, the server further includes a judging processing unit and a sending unit, the processing unit is used to judge whether the first product code in the at least one product code satisfies the product code naming rules; When the first product code does not meet the product code naming rules, send a confirmation result to the terminal device, the confirmation result is used to indicate that the at least one product code is invalid and the report fails; or
所述处理单元用于判断所述至少一个产品码中第一产品码是否与产品列表中第二产品的第二产品码相同,其中,所述产品列表中包含所有未销售产品的产品码;所述发送单元,用于在所述第二产品码是否与产品列表中第一产品的第一产品码不相同时,向所述终端设备发送确认结果,所述确认结果用于指示所述至少一个产品码无效,上报失败;其中,所述第一产品码是所述至少一个产品码中的任意一个产品码。The processing unit is used to determine whether the first product code in the at least one product code is the same as the second product code of the second product in the product list, wherein the product list includes product codes of all unsold products; The sending unit is configured to send a confirmation result to the terminal device when the second product code is different from the first product code of the first product in the product list, and the confirmation result is used to indicate that the at least one The product code is invalid, and the report fails; wherein, the first product code is any one of the at least one product code.
可选的,所述产品销售信息中还包括产品图像,所述处理单元还用于通过分类器对所述产品图像进行翻拍鉴定;其中,所述分类器为通过将多个已知为翻拍图像的图像作为图像库对原始分类器进行训练后得到的分类器;所述发送单元还用于在所述产品图像为翻拍图像时,向所述终端设备发送提示信息,所述提示信息用于提示用户上报失败。Optionally, the product sales information also includes a product image, and the processing unit is further configured to use a classifier to identify remakes of the product images; wherein, the classifier uses multiple known remake images The image of the original classifier is used as the classifier obtained after training the original classifier in the image library; the sending unit is also used to send prompt information to the terminal device when the product image is a remake image, and the prompt information is used to prompt User report failed.
基于相同的构思,图12所示为本申请提供的一种第一终端设备1200。如图11所示,第一终端设备1200包括:显示单元1201、处理单元1202、发送单元1203。Based on the same idea, FIG. 12 shows a
显示单元1201,用于在所述第一终端设备响应于用户针对第一应用程序的第一操作后,显示第一界面;其中,所述第一界面中包含摄像头的预览画面;The
处理单元1202,用于当所述预览画面中包含图形码时,识别所述图形码,获得所述图形码中关联的第二地理位置和第二资金账户,所述图形码为二维码和/或条形码;The processing unit 1202 is configured to identify the graphic code when the preview screen contains the graphic code, and obtain the second geographical location and the second fund account associated in the graphic code, the graphic code is a two-dimensional code and / or barcode;
所述显示单元1201还用于在所述第一终端设备响应于识别所述图形码后,显示第二界面,所述第二界面中包含提示信息和第一控件;所述提示信息用于提示用户支付存在风险,所述提示信息为所述处理单元1202基于所述第二地理位置得到的;The
发送单元1203,用于在所述第一终端设备响应于用户针对所述第一控件的操作后,将所述第一终端设备关联于第一资金账户和所述第二资金账户发送给交易服务器。A sending unit 1203, configured to send the first terminal device associated with the first fund account and the second fund account to the transaction server after the first terminal device responds to the user's operation on the first control .
可选的,发送单元1203在用于在所述第一终端设备响应于用户针对所述第一控件的操作后,将所述第一终端设备关联于第一资金账户和所述第二资金账户发送给交易服务器时,包括:Optionally, the sending unit 1203 is configured to associate the first terminal device with the first fund account and the second fund account after the first terminal device responds to the user's operation on the first control When sending to a trade server, include:
显示单元1201还用于在所述第一终端设备响应于针对所述第一控件的操作后,显示第三界面,所述第三界面中包含密码输入区域;The
发送单元1203在所述密码输入区域被输入的第一密码与预设密码一致时,将第一资金账户和所述第二资金账户发送给交易服务器。The sending unit 1203 sends the first capital account and the second capital account to the transaction server when the first password entered in the password input area is consistent with the preset password.
可选的,所述发送单元1203还用于将所述第一资金账户和所述第二资金账户的交易金额发送给所述交易服务器。Optionally, the sending unit 1203 is further configured to send the transaction amounts of the first capital account and the second capital account to the transaction server.
可选的,处理单元1202在基于所述第二地理位置得到所述提示信息时,具体用于:判断所述第二地理位置与第一地理位置之间的距离是否大于预设距离;其中,所述第一地理位置为所述第一终端设备当前所处的地理位置;当所述距离大于所述预设距离时,生成所述提示信息。Optionally, when the processing unit 1202 obtains the prompt information based on the second geographic location, it is specifically configured to: determine whether the distance between the second geographic location and the first geographic location is greater than a preset distance; wherein, The first geographic location is the current geographic location of the first terminal device; when the distance is greater than the preset distance, the prompt information is generated.
可选的,所述第二地理位置中包含商店地址。Optionally, the second geographic location includes a store address.
可选的,所述图形码还关联于第二账户信息,所述第二账户信息为当前登录所述第二应用程序的账户的信息。Optionally, the graphic code is further associated with second account information, and the second account information is information of an account currently logged into the second application program.
可选的,所述第二账户信息包括用户头像和/或用户昵称。Optionally, the second account information includes a user avatar and/or a user nickname.
可选的,所述图形码还关联于商品信息。Optionally, the graphic code is also associated with commodity information.
可选的,所述商品信息包括商品名称、商品价格、生产商中的一种或多种信息。Optionally, the commodity information includes one or more of commodity name, commodity price, and manufacturer.
基于相同的构思,图13所示为本申请提供的一种第二终端设备1300。如图13所示,第二终端设备1300包括:显示单元1301、生成单元1302。Based on the same idea, FIG. 13 shows a
显示单元1301,用于在所述第二终端设备响应于用户针对第二应用程序的操作后,显示第一界面,所述第一界面中包括第一控件;A
生成单元1302,用于在所述第二终端设备响应于用户针对所述第一控件的操作后,生成图形码,其中,所述图形码中关联的所述第二终端设备当前所处的第二地理位置和所述第二资金账户,其中,所述图形码为二维码和/或条形码。A generating unit 1302, configured to generate a graphic code after the second terminal device responds to the user's operation on the first control, where the graphic code is associated with the second terminal device where the second terminal device is currently located. Two geographic locations and the second capital account, wherein the graphic code is a two-dimensional code and/or a barcode.
可选的,所述图形码还关联于第二账户信息,所述第二账户信息为当前登录所述第二应用程序的账户的信息。Optionally, the graphic code is further associated with second account information, and the second account information is information of an account currently logged into the second application program.
可选的,所述第二账户信息包括用户头像和/或用户昵称。Optionally, the second account information includes a user avatar and/or a user nickname.
可选的,所述图形码还关联于商品信息。Optionally, the graphic code is also associated with commodity information.
可选的,所述商品信息包括商品名称、商品价格、生产商中的一种或多种信息。Optionally, the commodity information includes one or more of commodity name, commodity price, and manufacturer.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请实施例可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、电可擦可编程只读存储器(electrically erasable programmable read only memory,EEPROM)、只读光盘(compactdisc read-Only memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(digital subscriber line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本申请实施例所使用的,盘(disk)和碟(disc)包括压缩光碟(compact disc,CD)、激光碟、光碟、数字通用光碟(digital video disc,DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the above description of the implementation manners, those skilled in the art can clearly understand that the embodiments of the present application can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Take this as an example but not limited to: the computer-readable medium may include RAM, ROM, electrically erasable programmable read-only memory (electrically erasable programmable read only memory, EEPROM), read-only disc (compactdisc read-Only memory, CD-ROM) ) or other optical disk storage, magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. also. Any connection can suitably be a computer-readable medium. For example, if the Software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, Coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are then included in the fixation of the associated medium. As used in the embodiment of the present application, disk and disc include compact disc (compact disc, CD), laser disc, optical disc, digital video disc (digital video disc, DVD), floppy disc and Blu-ray disc, wherein Disks usually reproduce data magnetically, while discs use lasers to reproduce data optically. Combinations of the above should also be included within the scope of computer-readable media.
总之,以上所述仅为本申请的实施例而已,并非用于限定本申请的保护范围。凡根据本申请的揭露,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In a word, the above description is only an embodiment of the present application, and is not intended to limit the protection scope of the present application. All modifications, equivalent replacements, improvements, etc. based on the disclosure of this application shall be included within the scope of protection of this application.
Claims (17)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2018/080082 WO2019178817A1 (en) | 2018-03-22 | 2018-03-22 | Product sales volume extraction and reporting method, payment method, and terminal apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110945552A CN110945552A (en) | 2020-03-31 |
| CN110945552B true CN110945552B (en) | 2023-02-10 |
Family
ID=67988112
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201880049050.5A Active CN110945552B (en) | 2018-03-22 | 2018-03-22 | Product sales reporting method, payment method and terminal equipment |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110945552B (en) |
| WO (1) | WO2019178817A1 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200349620A1 (en) * | 2019-04-30 | 2020-11-05 | Shopify Inc. | Email address verification |
| CN113205636B (en) * | 2021-04-16 | 2023-06-27 | 嘉联支付有限公司 | Unmanned retail system and unmanned retail method |
| CN113257407A (en) * | 2021-05-31 | 2021-08-13 | 康键信息技术(深圳)有限公司 | Method, device and equipment for processing medical public account message and storage medium |
| CN115564439A (en) * | 2021-07-01 | 2023-01-03 | 广州腾讯科技有限公司 | Business processing method, device, device, and computer-readable storage medium |
| CN113810850B (en) * | 2021-08-11 | 2022-12-13 | 荣耀终端有限公司 | Method for creating positioning database and electronic equipment |
| CN113791834B (en) * | 2021-09-17 | 2023-11-03 | 北京百度网讯科技有限公司 | Information display equipment |
| CN114254991A (en) * | 2021-11-29 | 2022-03-29 | 青岛海尔科技有限公司 | Target object reporting method, device and equipment |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9373108B2 (en) * | 2011-01-21 | 2016-06-21 | Paypal, Inc. | Point of sale payment system |
| CN102842081A (en) * | 2011-06-23 | 2012-12-26 | 上海易悠通信息科技有限公司 | Method for generating two-dimensional code and implementing mobile payment by mobile phone |
| CN104143105A (en) * | 2013-09-22 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Graph recognition method, device and system and terminal device |
| CN105528698A (en) * | 2016-02-01 | 2016-04-27 | 宇龙计算机通信科技(深圳)有限公司 | Fast code-scanning payment method and device |
| CN105825379A (en) * | 2016-03-14 | 2016-08-03 | 广州衡昊数据科技有限公司 | Method and system preventing payment means from embezzlement |
| CN106446745B (en) * | 2016-10-18 | 2019-05-28 | 珠海市魅族科技有限公司 | Starting method, starter and the terminal of image scanning function |
| CN107134079A (en) * | 2017-04-25 | 2017-09-05 | 中国工商银行股份有限公司 | A kind of self-help charging devices, systems, and methods |
| CN107590654A (en) * | 2017-08-11 | 2018-01-16 | 深圳市金立通信设备有限公司 | A kind of method of on-line payment, terminal and computer-readable medium |
| CN207008685U (en) * | 2017-08-11 | 2018-02-13 | 陈哲晟 | A kind of Marketing Information Management System |
| CN107507007A (en) * | 2017-08-30 | 2017-12-22 | 努比亚技术有限公司 | One kind pays 2 D code verification method, terminal and computer-readable recording medium |
-
2018
- 2018-03-22 WO PCT/CN2018/080082 patent/WO2019178817A1/en not_active Ceased
- 2018-03-22 CN CN201880049050.5A patent/CN110945552B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019178817A1 (en) | 2019-09-26 |
| CN110945552A (en) | 2020-03-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110945552B (en) | Product sales reporting method, payment method and terminal equipment | |
| US20220270107A1 (en) | System and method for facilitating secure self payment transactions of retail goods | |
| US20240249273A1 (en) | Card Binding Method and Terminal | |
| EP3693911B1 (en) | Card linking method and terminal | |
| JP5932053B2 (en) | Network-accessible point-of-sale management device instance | |
| US11115422B2 (en) | Systems for providing electronic items having customizable locking mechanism | |
| CN104636921B (en) | On-line payment method based on communication group, payment system and server system | |
| US12021872B2 (en) | Systems and methods for providing electronic items | |
| CA3074856A1 (en) | A capturable code for automatically formatting and addressing a text message to apply for an offer | |
| CN114862385A (en) | Transaction method and device based on Near Field Communication (NFC) | |
| CN106503986B (en) | Virtual resource transfer method and device | |
| CN104580325A (en) | User pairing method and device, as well as data exchange method, device and system | |
| CN107230121A (en) | Transaction processing method, device and server | |
| US20190327246A1 (en) | Information Security Verification Method and Terminal | |
| KR20140010295A (en) | Payment method and mobile terminal using the same | |
| CN114004662B (en) | Resource verification and cancellation method and device, storage medium and computing equipment | |
| CA3060136A1 (en) | Seamless electronic system and method for application, acceptance of, authorizing access to, and tracking purchases made with a new credit account | |
| CN112288556A (en) | Method and device for resource transfer, and method and device for initiating resource transfer | |
| CN104966192A (en) | Data processing method and device | |
| CN116993333A (en) | Characteristic value transfer method and related device | |
| HK40000688B (en) | Identity authentication method, apparatus and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |
