Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
Fig. 1 is a schematic diagram of a display code broadcasting device in an embodiment of this specification.
As shown in fig. 1, the display code broadcasting device includes a display code sub-device 100 and a broadcasting sub-device 200. The code display sub-device 100 and the broadcast sub-device 200 may be used as 1 integral device, as shown in fig. 1 (a); or can be used separately and independently as 2 separate sub-devices, as shown in fig. 1 (b).
Referring to fig. 1(b), the code display sub-device 100 includes a first interface 101 (shown in the form of an electronic contact), and the broadcast sub-device 200 includes a second interface 201 (shown in the form of an electronic contact slot). Under the condition that the first interface 101 is connected with the second interface 201, the communication modules respectively arranged in the code display sub-device 100 and the broadcast sub-device 200 form a wired link, so that signal transmission can be realized through the wired link; in addition, the code display sub-device 100 and the broadcast sub-device 200 can be electrically connected, so that functions such as power sharing can be realized.
Fig. 2 is a schematic structural diagram of a code display sub-device in the embodiment of the present specification.
Based on the embodiment shown in fig. 1, as shown in fig. 2, the code display sub-device 100 further includes a display 102, the display 102 may be disposed inside the code display sub-device 100, and the display 1021 may be disposed on the surface of the code display sub-device 100. The position of the display screen 1021 shown in fig. 1 is only an example, and the embodiment of the present disclosure does not limit the position of the display screen 1021 on the surface of the display code sub-device 100.
The display 102 is configured to provide identification information of a merchant account for a consumer user, for example, after the display sub-device 100 binds a collection account of a merchant, the server may send relevant information of the collection account to the display broadcasting device, and then the display 102 displays a collection code carrying information of the collection account, and the user may scan the collection code to realize payment.
In an example, the display 102 may also be used to display a device graphic code of the code display sub-device 100, where the device graphic code may be in a form of a barcode, a two-dimensional code, and the like, and this embodiment of this specification is not limited. If the merchant wants to configure a network and/or bind a collection account for the display code broadcasting device, the configuration can be realized through the device graphic code. For example, the device graphic code displayed by the display 102 may include a device identifier of the display code broadcasting device, and the device identifier may be obtained through analysis according to the device graphic code, so as to bind the display code broadcasting device and the collection account; for another example, the device graphic code displayed by the display 102 may include wireless connection information of the display code broadcasting device, and the wireless connection information may be obtained through parsing according to the device graphic code, and the connection may be established with the display code broadcasting device, so that a network may be further configured for the display code broadcasting device.
In another example, the code-displaying sub-device 100 may further include a static identifier (not shown) disposed on a surface of the device, and the static identifier may be implemented by the merchant if the merchant wants to configure a network and/or a bound account for the code-displaying sub-device 100. For example, the static identifier may be a serial number of a display code broadcasting device, and the server may directly bind the serial number with a collection account; for another example, the static identifier may be a device graphic code, and the static identifier includes a device identifier and/or wireless connection information of the display code broadcast device, so that the device identifier may be obtained by analyzing the device graphic code, and the display code broadcast device is bound and connected.
In addition, in the above 2 examples, the code display sub-device 100 and the broadcast sub-device 200 of the code display and broadcast device may share the same device identifier and/or wireless connection information, or may have different device identifiers and/or wireless connection information, which is not limited in this embodiment of the specification.
Fig. 3 is a schematic structural diagram of a broadcast sub-device in an embodiment of the present specification.
Based on the embodiment shown in fig. 1, as shown in fig. 3, the broadcasting sub-device 200 further includes a speaker 202, the speaker 202 may be disposed inside the broadcasting sub-device 200, and the sound emitting hole 2021 thereof may be disposed on the surface of the broadcasting sub-device 200. The position of the speaker hole 2021 shown in fig. 1 is merely an example, and the position of the speaker hole 2021 on the surface of the newspaper transmitting sub-apparatus 200 is not limited in the embodiment of the present specification.
The code display sub-device 100 further includes a code display communication module 103, which is disposed inside the code display sub-device 100. The broadcasting sub-device 200 further includes a broadcasting communication module 203, which is disposed inside the broadcasting sub-device 200.
The display code communication module 103 and the broadcast communication module 203 support communication with the external of the sub-device through wireless and wired links. For example, as described above, in the case that the first interface 101 is connected to the second interface 201, a wired link is formed between the display code sub-device 100 and the broadcast sub-device 200, and the display code communication module 103 and the broadcast communication module 203 can communicate through the formed wired link; for another example, the code display communication module 103 may send a wireless signal to the outside of the code display sub-device 100, and the broadcast communication module 203 may send a wireless signal to the outside of the broadcast sub-device 200, so that the code display sub-device 100 and the broadcast sub-device 200 may detect and connect with each other or detect and connect with other terminal devices through the sent wireless signal; and so on.
In the above example, the wireless signal may be a Bluetooth signal, an NFC signal, and/or a Wi-Fi signal. For example, the code display communication module 103 and the broadcast communication module 203 may be Wi-Fi modules, and may communicate with the external devices through Wi-Fi technology; for another example, the code display communication module 103 and the broadcast communication module 203 may also be bluetooth modules, and may also communicate with the external devices through bluetooth technology; and so on. Of course, the code display communication module 103 and the broadcast communication module 203 may also be used as a general name of modules having communication functions, such as a Wi-Fi module, a bluetooth module, and an NFC module, which is not limited in this specification.
The code display sub-device 100 further includes a code display processing module 104, which is disposed inside the code display sub-device 100 and connected to the display 102 and the code display communication module 103. The broadcasting sub-device 200 further includes a broadcasting processing module 204, which is disposed inside the broadcasting sub-device 200 and connected to the speaker 202 and the broadcasting communication module 203. The display code processing module 104 and the broadcast processing module 204 may be an MCU (micro controller Unit), a CPU, an FPGA (Field-programmable gate Array), an SE (Secure Element), and the like, which are not limited in this specification.
Except that fig. 1 shows, it can also be provided with other accessories such as power key (master key), volume control button or knob, LED status indicator, USB interface, power input line to show the code and report sub-device 100 and report sub-device 200, above-mentioned other accessories can only set up in 1 of them sub-device, also can all set up in 2 sub-devices, and this specification embodiment does not limit this.
In addition, the code display sub-device 100 may further include a wireless button (not shown), so that the merchant may trigger the code display sub-device 100 to transmit a wireless signal to the outside through the wireless button. Specifically, the display code processing module 104 may drive the display code communication module 103 to send a wireless signal to the outside of the display code sub-device 100 when receiving the wireless connection notification triggered by the wireless button. It is understood that the wireless button may be a separately provided button dedicated to triggering the wireless function, or may be some operation of other 1 or more buttons. For example, the power key + volume (-) key can be used as a wireless button, that is, pressing the power key + volume (-) key simultaneously triggers the code display sub-device 100 to emit a wireless signal outwards; and the like, which can be flexibly set by developers according to actual needs, and is not limited by the embodiments of the present specification. The announcement sub-device 200 may also include wireless buttons similar to those described above and will not be described in detail herein.
The display code sub-device 100 may further include a memory 105, a non-volatile memory 106, and the like, and the broadcast sub-device 200 may further include a memory 205, a non-volatile memory 206, and the like, which is not limited in this embodiment of the specification.
In this embodiment, for example, the service provider is a merchant, and the merchant may bind the code display device with its collection account in advance. When receiving the display trigger signal, the display processing module 104 of the display sub-device 100 bound with the collection account number outputs a collection code signal to the display 102, so as to drive the display 102 to display the collection code of the merchant collection account number through the display 1021.
In the embodiment of the present specification, a user scans a collection code displayed on the display 1021 by using a client logged in based on a payment account, so as to send a payment request carrying information of the collection and payment accounts to a server, and the server processes the request and then issues a payment result to the broadcast sub-device 200 bound to the collection account according to binding performed in advance. When the broadcast processing module 204 of the broadcast sub-device 200 receives the trigger signal from the server through the broadcast communication module 203, the broadcast processing module can output a payment result voice signal to the speaker 202, so as to drive the speaker 202 to output the payment result voice through the speaker hole 2021, such as a payment amount.
As can be seen from the above description, the display code broadcasting device described in this specification includes two parts, namely, a display code sub-device 100 and a broadcasting sub-device 200. The code display sub-device 100 is controlled to display the cash register code instead of a static paper cash register code, so that the phenomenon that the cash register code is stolen and replaced to cause embezzlement can be avoided, and the safety of the payment process through scanning the cash register code is improved.
In addition, in order to facilitate the use of the merchant of the payee and the user of the payer at the same time, the function of displaying the cash register code is realized through the code display sub-device 100, the function of broadcasting the payment result is realized through the broadcasting sub-device 200, and the code display sub-device 100 and the broadcasting sub-device 200 can be used as a whole, and can also be used separately and independently, for example, the code display sub-device 100 is placed near the user, so that the user can scan the cash register code in the payment process, and the broadcasting sub-device 200 is placed near the merchant, so that the merchant can listen to the payment result, and thus, the user and the merchant can obtain the payment service in a convenient manner, and the electronic payment experience is.
Taking a service provider as an example of a merchant, a specific implementation process of the present specification is described in three aspects of network configuration of a display code broadcasting device, account binding of the display code broadcasting device, and payment service processing. It can be understood that, when various functions of the display code broadcasting device are described in the following description of this specification, the implementation flows of the functions will be described with emphasis, and the process of implementing the corresponding function by cooperation between the hardware modules in the device may refer to the related art, which is not described in detail in the following description.
Network configuration of display code broadcasting equipment
In this embodiment of the present description, before a merchant uses a display code broadcasting device, a network of the display code broadcasting device generally needs to be configured to access the display code broadcasting device to the internet, so that wireless communication between 2 sub-devices of the display code broadcasting device and with other terminal devices, a server, and the like can be achieved.
In the embodiment of the present specification, the code display communication module 103 of the code display sub-device 100 includes a bluetooth module. After the code display sub-device 100 is connected to the power supply, the merchant can trigger the wireless connection function of the code display sub-device 100 through the wireless button of the code display sub-device 100, send out a bluetooth signal and allow the terminal device to connect. As described above, the wireless button may be a button provided separately and dedicated to triggering the wireless function, or may be implemented by some operation of other 1 or more buttons.
For example, the terminal device used by the merchant is a mobile phone, and the code display sub-device 100 is provided with a special wireless button, so that after the merchant presses the wireless button, the code display processing module 104 of the code display sub-device 100 receives a wireless connection notification triggered by the wireless button, and drives the code display communication module 103 to send a bluetooth signal to the outside of the code display sub-device 100. The mobile phone of the merchant detects the code display sub-device 100 and displays the code display sub-device 100 in the connectable bluetooth device list of the mobile phone, so that the user can select and connect the code display sub-device 100 according to the device name provided by the manufacturer, and can further input the connection authentication password provided by the manufacturer.
In another embodiment of this specification, the code display sub-device 100 may send out a wireless signal after being powered on, and in a static identifier disposed on a surface of the device, or a device graphic code displayed on a display screen, the wireless connection information includes a wireless connection name and a connection authentication password corresponding to the device, and the terminal device of the merchant establishes a connection with the code display sub-device 100 after obtaining the wireless connection information according to the static identifier or the device graphic code.
For example, the code display sub-device 100 may send out a bluetooth signal after being powered on, and print the bluetooth name and the authentication password of the device on the lower surface of the device, or encode the device graphic code, and display the device graphic code through the display 102 after the code display sub-device 100 is powered on. The merchant can input the bluetooth name and the authentication password printed on the lower surface in the client of the mobile phone, or scan and analyze the device graph to obtain the code bluetooth name and the authentication password, so as to establish bluetooth connection with the code display sub-device 100.
After the mobile phone of the merchant successfully establishes the bluetooth connection with the code display sub-device 100, the network connection information of the code display sub-device 100, such as the SSID and the password of the router in the Wi-Fi network that the code display sub-device 100 needs to access, may be configured through the bluetooth connection. For example, after the bluetooth connection is successfully established with the code display sub-device 100, the merchant mobile phone may display a message that the device has been connected at the client corresponding to the code display broadcasting device, and the merchant may further configure the SSID and the password of the router for the code display sub-device 100 through the client.
The display code communication module 103 of the display code sub-device 100 may further include a Wi-Fi module, which supports an sta (station) mode. After receiving the SSID and the password configured by the client, the code display sub-device 100 accesses the corresponding Wi-Fi network based on the configured SSID and the password through an sta (station) mode of the Wi-Fi module, thereby accessing the internet.
After accessing the internet, the code display sub-device 100 may establish a long connection with the server based on a pre-configured server address to receive various information sent by the server. The server address is usually stored in the non-volatile memory 106, the message for establishing the long connection request is usually encapsulated by the code display processing module 104, and the sending and receiving are usually realized by the code display communication module 103, and the like.
In another embodiment of this specification, the code display communication module 103 of the code display sub-device 100 may also include a Wi-Fi module supporting an STA (station) mode + AP (access point) mode, and first switch the Wi-Fi module to the AP mode, so that the terminal device of the merchant accesses the Wi-Fi of the code display sub-device 100, configure the network connection information of the code display sub-device 100 through the client of the merchant terminal device, and then switch the Wi-Fi module to the STA mode, so as to access the internet through the configured network connection information.
In addition to the bluetooth module and the Wi-Fi module, the code display communication module 103 of the code display sub-device 100 may also include other wireless communication modules, and the terminal device of the merchant performs network configuration based on other wireless communication modes, which is not limited in this description embodiment.
The terminal device of the merchant establishes wireless connection with the code display sub-device 100, and the result that the code display sub-device 100 accesses the internet can also be indicated through the client of the terminal device of the merchant, the display 102 of the code display sub-device 100, and/or an indicator light configured by the code display sub-device 100.
The reporting sub-device 200 may be configured for network configuration in a manner similar to that described above, and the results of accessing the internet may also be indicated via the speaker 202 of the reporting sub-device 200. In addition, the network configuration sequence of the code display sub-device 100 and the broadcast sub-device 200 and whether the same network configuration mode is used are not limited in the embodiments of the present specification.
In another embodiment of the present specification, the code display sub-device 100 and the broadcast sub-device 200 may be bound, for example, after 2 sub-devices all send bluetooth signals, a bluetooth connection is established, or a wired connection is established through the first interface 101 and the second interface 201, specifically, the process of binding 2 sub-devices may be performed before leaving a factory, or performed by a merchant before network configuration, and the embodiment of the present specification does not limit the binding manner and time. After binding 2 sub-devices, if the wireless connection is successfully established with 1 of the sub-devices, the network configuration of the 2 sub-devices can be completed simultaneously or successively based on the connection.
Second, account binding of display code broadcasting equipment
Before the merchant uses the display code broadcasting device, the display code broadcasting device needs to be bound with the payment account of the merchant.
In this embodiment of the specification, as shown in fig. 4, the process of displaying the code and broadcasting the binding of the collection account by the device may include the following steps:
s401, the collection client obtains the device identification of the display code broadcasting device and sends an account binding request to the server; the account binding request carries the obtained equipment identification and account information corresponding to the client;
and S402, after receiving the account binding request of the receiving client, the server binds the display code broadcasting equipment with the account corresponding to the receiving client according to the equipment identification and the account information in the request.
The collection client can obtain the device identification of the display code broadcasting device in various modes.
In one example, the collection client detects a wireless signal sent by the device according to a wireless communication mode of the display code broadcasting device; establishing connection with a display code broadcasting device through the detected wireless signal; of course, the above 2 steps may be executed together when the network is configured for the broadcast display device to establish the wireless connection. After the connection with the display code broadcasting device is established, the display code broadcasting device can actively send the device identification of the device to the collection client side or send the device identification to the collection client side according to the trigger signal of the collection client side.
In order to avoid that the display code broadcasting device repeatedly sends a device identifier and binds a collection account, or is bound by other people with other collection accounts, in the embodiment of the specification, after a server receives an account binding request of a collection client, the server first detects whether the display code broadcasting device binds an account according to the device identifier in the request; if not, binding the display code broadcasting equipment with the account corresponding to the collection client according to the equipment identification and the account information in the request; if so, the bound collection account may be notified to unbind or handover the binding right first, and the like, which is not limited in this specification.
In another example, after receiving the code scanning operation trigger, the collection client calls a camera device to scan the device graphic code of the display code broadcasting device; the device graphic code is arranged on the surface of the display code broadcasting device or is displayed by a display of the display code broadcasting device; and acquiring the equipment identifier of the display code broadcasting equipment according to the scanning result.
In addition, as described above, after the collection client scans the device graphic codes of the code display broadcasting device, connection information, such as bluetooth connection information, NFC connection information, or Wi-Fi connection information, may also be obtained according to the scanning result; sending a connection request to a display code broadcasting device according to the obtained connection information; the method comprises the steps that Wi-Fi information used for configuring the network is sent to a display code broadcasting device under the condition that connection is successful, and after the display code broadcasting device receives the Wi-Fi information, network configuration is completed according to the Wi-Fi information; the display code broadcasting equipment after the internet is accessed can receive the account binding result sent by the server, and according to the received account binding result, the corresponding voice indication is output through the broadcasting sub-equipment 200, the corresponding picture indication is output through the display code sub-equipment, and/or the light indication is output through the indicating lamp arranged on the equipment.
It can be understood that, in the embodiment of the present specification, the device identifier obtained by the payment receiving client may be in the form of a unique device identifier of a display code broadcast device, or in other forms that bear the device identifier information. For example, the payee client scans the device graphic code, may analyze the device graphic code to obtain the device identifier therein, and may also send the device graphic code carrying the device identifier information to the server, and the server performs the analysis, which is not limited in this specification.
In the embodiment of the present specification, after receiving the device identifier sent by the cash receiving client of the merchant, the server may further detect whether the device corresponding to the device identifier is legal according to the pre-stored legal identifier data, and if so, perform the subsequent steps; if the rules are not legal, a safety prompt can be returned to prompt the merchant that the safety risk exists. And the server can synchronously or asynchronously monitor whether the display code broadcasting equipment has a security risk or not, and when the security risk is determined to exist, corresponding measures are taken so as to ensure that the benefits of the merchants are not damaged. For example, the binding relationship between the client and the collection account is automatically released, and a reminder is sent to the client.
In addition, the merchant can check the condition of the display code broadcasting device through the client, if the display code broadcasting device is bound or not, if the bound display code broadcasting device is online or not, the display code broadcasting device can be unbound through the client, the processing and implementation of the part can refer to the related technology, and the embodiment is not repeated here any more.
Third, payment service processing
In this embodiment of the present description, after the code display broadcasting device completes network configuration and binding with the collection account, the merchant may use the device to collect money.
As shown in fig. 5, the process of processing the payment service by the payment system including the code display broadcasting device may include the following steps:
s501, after receiving the code scanning operation trigger, the payment client calls a camera device to scan a collection code displayed by the code display sub-device and initiates a payment request to the server, wherein the payment request carries payment account information and collection account information acquired according to a scanning result;
when a user needs to pay for a merchant, the user may use a client installed in a terminal device such as a mobile phone held by the user, and trigger an operation through a code scanning in the client, so that the client invokes a camera device of the terminal device to scan a cash register displayed by the code display sub-device 100.
After the collection code is scanned, the client can obtain the information of the collection account according to the collection code, so that a payment request carrying the information of the collection account and the information of the local payment account is generated and sent to the server. In addition, after scanning the collection code, the client may also display a payment page facing the collection account number, so that the user can make a payment based on the payment page, for example: and inputting the consumption amount, confirming payment and the like, and sending payment information, such as the payment amount, the transaction time and the like, input by the user based on the payment page to the server through the payment request.
S502, after receiving a payment request of a payment client, a server processes the payment request according to payment account information and collection account information carried in the payment request, and sends a payment result to a reporting sub-device bound with a collection account in advance;
and S503, after the broadcasting sub-equipment receives the payment result sent by the server, broadcasting the corresponding payment result voice.
The payment result sent by the server to the broadcasting sub-device 200 can be a payment result voice, and the broadcasting sub-device 200 can directly play the received payment result voice; the reporting sub-device 200 may also obtain a corresponding payment result voice according to a Uniform Resource Locator (URL) of the payment result voice after receiving the URL, and then play the URL; for the payment result parameter, the reporting sub-device 200 may combine the pre-stored general voice segments according to the parameter after receiving the payment result parameter, to obtain a complete payment result voice, and then play the payment result voice, for example, the reporting sub-device 200 pre-stores the general voice segments such as "successful collection", "meta", "point", and "0", "1" … … "9", and the payment result sent by the server to the reporting sub-device 200 is the payment result parameter, and if the information of "successful collection 3 point 8 meta", the reporting sub-device 200 obtains the complete payment result voice of "successful collection 3 point 8 meta", according to the pre-stored general voice segments such as "3", "point", "8", "meta", and "successful collection", and then plays the payment result voice; and the like, which are not limited by the embodiments of the present specification.
In addition, the server may also send the corresponding payment result to the reporting sub-device 200 in the case of payment failure, so that the reporting sub-device 200 outputs the corresponding payment result voice, which is not limited in this description embodiment.
In this embodiment, the cash register displayed by the code display sub-device 100 may be dynamically updated according to a preset update rule. For example, the displayed cash register code may be updated according to a preset update period; the displayed collection code can be updated under the condition that the terminal equipment with the NFC function is detected, namely, when the condition that the terminal equipment such as a mobile phone with the NFC function of a user is close to the code display sub-equipment 100 and code scanning payment is carried out, the displayed collection code is updated for the user, so that the payment safety is improved; the displayed cash register code can be updated under the condition of receiving an update notification sent by the server; the update notification is sent after the payment request is processed by the server; or the displayed cash register code may be updated in the case of receiving an update notification sent by the broadcast sub-device 200; the update notification is sent by the reporting sub-device 200 after receiving the payment result of the server; and the like, as long as the purposes of dynamically updating the displayed cash register and improving the payment security can be achieved, the embodiment of the present specification does not limit the specific updating rule.
In addition, the collection code displayed by the code display sub-device 100 can be generated by the server and then sent to the code display sub-device 100, and one or more collection codes can be sent each time; the code display sub-device 100 may also generate one or more collection codes each time according to the collection account information and the collection code generation rule which are received and stored in advance; and the like, which are not limited by the embodiments of the present specification.
In addition, the receiving code displayed by the code display sub-device 100 may further include a security check code, such as a specific character string, after receiving the payment request, the server first checks whether the receiving account information acquired by the payment client is secure according to the security check code, that is, checks whether there is a security risk in the current payment, and if no security risk is detected, if the receiving account is an account in secure use and is an account currently bound to the code display sub-device 100, it is determined that there is no security risk, and the subsequent processing steps are continuously performed.
According to the foregoing, the code display sub-device 100 and the broadcast sub-device 200 may work separately and independently, so as to be convenient for the merchant and the user to use, and of course, may also work as a whole after being connected with the second interface through the first interface.
In this embodiment of the present specification, the code display sub-device 100 and the broadcast sub-device 200 switch the operating mode to the integral mode when detecting that the first interface is connected to the second interface; under the condition that the first interface is not connected with the second interface, the working mode is switched to a discrete mode;
for example, if the code display sub-device 100 detects that the first interface and the second interface are connected, the working mode of the code display sub-device 100 is switched to the integral mode, and the broadcast sub-device 200 is also switched to the integral mode through the wired link formed after connection; for another example, when the code display sub-device 100 detects that the first interface is not connected to the second interface, the operating mode of the code display sub-device 100 is switched to the discrete mode, and the broadcast sub-device 200 is notified to switch to the discrete mode through the wireless connection with the broadcast sub-device 200; for another example, the code display sub-device 100 and the broadcast sub-device 200 respectively switch their own working modes according to the detection result of whether they are connected; and the like, which are not limited by the embodiments of the present specification.
Wherein, the whole working mode is as follows: the signal and current between the code display sub-device 100 and the broadcast sub-device 200 are transmitted through the wired link constructed by the first interface and the second interface; the discrete operating modes are as follows: the signal and current between the code display sub-device 100 and the broadcast sub-device 200 are transmitted wirelessly.
The merchant can flexibly select to adopt an integral mode or a discrete mode according to the requirements and changes in use, so that the display code broadcasting equipment is more convenient to use.
Corresponding to the above method embodiment, an embodiment of the present specification further provides an account binding system based on the display code broadcast device, where the system includes: the system comprises a collection client, a display code broadcasting device and a server;
the collection client side obtains the device identification of the display code broadcasting device and sends an account binding request to the server side; the account binding request carries the obtained equipment identification and account information corresponding to the client;
and after receiving the account binding request of the receiving client, the server binds the display code broadcasting equipment with the account corresponding to the receiving client according to the equipment identification and the account information in the request.
An embodiment of the present specification further provides a payment service processing system based on the display code broadcasting device, where the system includes: the system comprises a payment client, a code display sub-device, a broadcast sub-device and a server;
after receiving the code scanning operation trigger, the payment client calls a camera system to scan a collection code displayed by the code display sub-device and initiates a payment request to the server, wherein the payment request carries payment account information and collection account information acquired according to a scanning result;
after receiving a payment request of a payment client, a server processes the payment request according to payment account information and collection account information carried in the payment request, and sends a payment result to a reporting sub-device bound with a collection account in advance;
and after the broadcasting sub-equipment receives the payment result sent by the server, broadcasting the corresponding payment result voice.
The implementation process of each function and action in the system is specifically described in the implementation process of the corresponding step in the method, and is not described herein again.
The embodiments of the present specification further provide a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the account binding method when executing the program. The method at least comprises the following steps:
the collection client side obtains the device identification of the display code broadcasting device and sends an account binding request to the server side; the account binding request carries the obtained equipment identification and account information corresponding to the client;
and after receiving the account binding request of the receiving client, the server binds the display code broadcasting equipment with the account corresponding to the receiving client according to the equipment identification and the account information in the request.
Embodiments of the present specification further provide a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the aforementioned payment transaction processing method when executing the program. The method at least comprises the following steps:
after receiving the code scanning operation trigger, the payment client calls a camera device to scan a collection code displayed by the code display sub-device and initiates a payment request to the server, wherein the payment request carries payment account information and collection account information acquired according to a scanning result;
after receiving a payment request of a payment client, a server processes the payment request according to payment account information and collection account information carried in the payment request, and sends a payment result to a reporting sub-device bound with a collection account in advance;
and after the broadcasting sub-equipment receives the payment result sent by the server, broadcasting the corresponding payment result voice.
Fig. 6 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present specification further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the account binding method described above. The method at least comprises the following steps:
the collection client side obtains the device identification of the display code broadcasting device and sends an account binding request to the server side; the account binding request carries the obtained equipment identification and account information corresponding to the client;
and after receiving the account binding request of the receiving client, the server binds the display code broadcasting equipment with the account corresponding to the receiving client according to the equipment identification and the account information in the request.
Embodiments of the present specification also provide a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the foregoing payment service processing method. The method at least comprises the following steps:
after receiving the code scanning operation trigger, the payment client calls a camera device to scan a collection code displayed by the code display sub-device and initiates a payment request to the server, wherein the payment request carries payment account information and collection account information acquired according to a scanning result;
after receiving a payment request of a payment client, a server processes the payment request according to payment account information and collection account information carried in the payment request, and sends a payment result to a reporting sub-device bound with a collection account in advance;
and after the broadcasting sub-equipment receives the payment result sent by the server, broadcasting the corresponding payment result voice.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.