This disclosure relates to the field of electronic payment technology, and in particular, to a payment information processing method, a wearable device, and a non-volatile computer-readable storage medium.
With the development of electronic payment technology, it is increasingly common to generate or scan payment identification codes such as QR codes and barcodes through smart devices. At present, some wearable device manufacturers integrate a mobile payment function in wearable devices. For example, when a payment request is received, a payment identification code can be generated for payment, or payment can be completed through a connected mobile terminal.
A payment information processing method is performed by a wearable device, the wearable device includes a first system and a second system, and the method includes the following.
A payment identification code is obtained through the first system when the wearable device is in a network connection state. The payment identification code is transmitted to the second system and the payment identification code is stored through the second system. When the wearable device meets a condition and receives a payment request, the stored payment identification code is obtained from the second system. The payment identification code is displayed.
A wearable device includes a memory, a first processor, and a second processor. The memory is configured to store a first computer program which, when executed by the first processor, is configured to cause the wearable device to operate a first system and store a second computer program which, when executed by the second processor, is configured to cause the wearable device to operate a second system, and the wearable device is configured to implement following operations.
A payment identification code is generated by a first system when the wearable device is in a network connection state. The payment identification code is transmitted to a second system and the payment identification code is stored through the second system. When the wearable device meets a condition and receives a payment request, the stored payment identification code is obtained from the second system. The payment identification code is displayed.
A non-volatile computer-readable storage medium stores a computer program executed by a processor of a wearable device to cause the processor to implement following operations.
A payment identification code is generated by a first system when the wearable device is in a network connection state. The payment identification code is transmitted to a second system and the payment identification code is stored through the second system. When the wearable device meets a condition and receives a payment request, the stored payment identification code is obtained from the second system. The payment identification code is displayed.
Details of one or more implementations of the disclosure are set forth in accompanying drawings and descriptions below. Other features, objects, and advantages of the present disclosure will become apparent from the descriptions, the accompanying drawings, and claims.
To describe technical solutions in implementations of the present disclosure or in the related art more clearly, the following briefly introduces accompanying drawings required for illustrating the implementations. Apparently, the accompanying drawings in the following description illustrate some implementations of the present disclosure. Those of ordinary skill in the art may also obtain other drawings based on these accompanying drawings without creative efforts.
In order to make objectives, technical solutions, and advantages of the present disclosure more clear, the present disclosure will be further described in detail below with reference to accompanying drawings and implementations. It should be understood that specific implementations are described herein for the purpose of explaining the disclosure rather than limiting the disclosure
It can be understood that, the terms “first”, “second”, etc., may be used herein to describe various elements and parameters, but these elements and parameters are not limited by these terms. For example, these terms may be used to distinguish a first element from another element. For example, a first system could be referred to as a second system, and, similarly, a second system could be referred to as a first system, without departing from the protection scope of the disclosure. Both the first system and the second system are systems, but they are not the same system.
In related art, the mobile payment function of wearable devices often relies on connections with wireless networks or mobile terminal. In application scenarios such as being unable to connect with wireless networks or mobile terminals, or a network signal is weak, the wearable device is unable to provide the convenient payment function. A payment information processing method, a wearable device, and a non-volatile computer-readable storage medium are provided in implementations of the present disclosure, which can provide a convenient payment function in different application scenarios.
For example, the wearable device may include one or more of: a heart rate sensor 121, an acceleration+gyroscope 122, an atmospheric pressure sensor 123, a touch sensor 124, a magnetic sensor 125, a micro-pressure difference sensor 126, or other sensors. The second processor 120 can be connected with sensors of the wearable device for obtaining data collected by the sensors. The second processor 120 can also be connected with a global positioning system (GPS) module 127 for obtaining positioning data received by a GPS antenna; and connected with a debug module 128 for outputting debug data of the wearable device.
The first processor 110 and the second processor 120 are connected through a serial peripheral interface (SPI), so that the first system and the second system can transmit communication data through the SPI bus. The display screen 130 is connected with the first processor 110 and the second processor 120 through a mobile industry processor interface (MIPI), and can display data output by the first processor 110 or the second processor 120. The first processor 110 also includes a sensor hub driver, which can be used to drive data collection and data processing of each sensor.
In one implementation, the wearable device can be operable in at least two working modes: a watch mode and a wristband mode. When the wearable device is in the watch mode, both the first system and the second system run, and the wearable device is under control of the first system. When the wearable device is in the bracelet mode, the first system is shut down, the second system runs, and the wearable device is under control of the second system.
At block 202, when the wearable device is in a network connection state, a payment identification code is obtained through the first system.
In some implementations, the network connection state means that the wearable device is connected with a wireless access point, and can wirelessly communicate with a server or a mobile terminal through a wireless network. The wireless access point can be a networking device that allows Wi-Fi devices to connect to a wired network. They form wireless local-area networks (WLANs). An access point acts as a central transmitter and receiver of wireless radio signals. The access point can be incorporated into a wired router or a stand-alone router. The WLAN may differ from Bluetooth in a distance range, a bandwidth, a speed, or the like. It can be understood that the first system has a network connection function and the wearable device can be connected with a wireless access point directly when the wearable device is under control of the first system. As such, the first system can generate the payment identification code when the first system is connected with a network. The payment identification code generated here is not limited to one code, and more than one payment identification code can be generated, and the specific number is related to usage time and storage space. For example, the specific number can be set to 10, 15, 20, etc. In some implementations, the second system does not have the network connection function (e.g. the second system is unable to be connected with a wireless access point directly) and is more secure. In one case, both the first system and the second system run, and the first system can be connected with a network; in another case, the first system does not run, and only the second system runs, and therefore the second system is unable to be connected with the network (e.g. the second system is unable to be connected with a wireless access point directly); and of course in other cases, the second system may not run while the first system runs, which can be set according to actual application requirements.
It should be noted that the payment identification code can refer to an identification code used to provide a payment entry. The payment identification code may be a barcode, a QR code, or the like.
In the implementation of the present disclosure, the wearable device can connect with the network through the first system to generate the payment identification code through the first system when the first system is running. For example, the wearable device is connected with a payment platform through the first system for network communication. In the network connection state, through the first system, the wearable device can obtain account information of the wearable device from the payment platform (such as Alipay™, WeChat™, etc.), and generate the payment identification code according to the account information. As another implementation, the wearable device can obtain the payment identification code generated by the payment platform through the first system.
At block 204, the payment identification code is transmitted to the second system and the payment identification code is stored through the second system.
Security of the second system is higher than that of the first system. For example, the first system is equivalent to a main operating system of the wearable device and can provide relatively complete functions of the wearable device, for example, high-speed data transmission with a connected mobile terminal, detection and analysis of biological data, accurate positioning, communication, etc. can be realized through the first system. The second system is equivalent to an auxiliary operating system of the wearable device, which can provide basic functions of the wearable device, such as time display, information reminder, sensor data collection, and low-speed data transmission with a connected mobile terminal, etc.
The wearable device can transmit the generated payment identification to the second system, and the second system stores the payment identification code, which can ensure security of the payment identification code.
At block 206, when the wearable device meets a condition and receives a payment request, the stored payment identification code is obtained from the second system.
The wearable device may obtain the stored payment identification code from the second system when the condition is met and the payment request is received. For example, the wearable device may obtain at least one of network information and power information of the wearable device upon receiving the payment request, and when the wearable device is determined to meet the condition according to at least one of the network information and the power information, the stored payment identification code is obtained from the second system. The network information includes a network status and a network signal strength, and the power information includes remaining power. According to different conditions, the wearable device may obtain the at least one of network information and power information of the wearable device to determine whether the condition is met. For example, when the condition is that the wearable device is in an offline state, the wearable device may obtain the network information to determine whether the condition is met.
The condition includes at least one of: the wearable device is in an offline state, a network signal strength of the wearable device is less than a value, or remaining power of the wearable device is less than a first power threshold. For example, the offline state is defined relative to the network connection state mentioned above. When the wearable device is in the offline state, the wearable device is unable to be connected with a network by being connected with a wireless access point. The offline state may include following cases. For example, the wearable device is under control of the first system and the wearable device is unable to be connected with a network by being connected with a wireless access point, due to no available wireless access points nearby. For another example, the wearable device is under control of the second system and the second system is unable to be connected with a wireless access point directly. For yet another example, the wearable device is unable to be connected with another mobile terminal with a network connection function. In other words, the condition that the wearable device is in an offline state may include at least one of that the wearable device is unable to be connected with a network under the control of the first system, the wearable device is under control of the second system, or the wearable device is not connected with a mobile terminal, and the like. For example, the condition may be that the wearable device is in the offline state, then the wearable device may obtain the stored payment identification code from the second system when the wearable device is determined to be in the offline state and receives the payment request. The condition may also be that network signal strength of the wearable device is less than the value, and the remaining power of the wearable device is less than the first power threshold, then when the wearable device receives the payment request, whether the wearable device meets the following condition is determined: whether the network signal strength is less than the value and whether the remaining power is less than the first power threshold value. If the network signal strength is less than the value and the remaining power is less than the first power threshold value, the stored payment identification code is obtained from the second system.
For example, when the wearable device is under control of the first system and the wearable device is unable to be connected with a network by being connected with a wireless access point, the first system can obtain the stored payment identification code from the second system when the first system receives a payment request. For another example, when the wearable device is under control of the second system, the second system can obtain the stored payment identification code when the second system receives a payment request.
It can be understood that the offline state refers to a state in which the wearable device has not established a connection with a wireless access point and is unable to realize a wireless communication function. When the network signal strength is less than the value, the payment identification code is generated too slowly or difficult to be generated. When the remaining power is less than the first power threshold, it indicates that the power is too low, if the first system continues to be used and the payment code is obtained from Internet, more power will be consumed. Therefore, in the above-mentioned situations, it is more appropriate to obtain the payment identification code pre-stored in the second system for payment. Of course, the offline state also includes a situation where the wearable device is currently under control of the second system, that is, only the second system is running, and then the payment code in the second system can be directly used without switching to the first system at this time. In addition, the payment request may be generated by pressing a button of the wearable device by the user, or may be generated by the user touching a control on the touch screen of the wearable device, etc. The wearable device may obtain and generate the payment request.
At block 208, the payment identification code is displayed.
The wearable device can display the obtained payment identification code on the display screen. The displayed payment identification code can be scanned by other devices, so that the other devices can obtain the payment entry of the account information corresponding to the wearable device, and complete a corresponding collection operation.
In implementations of the present disclosure, when the wearable device is in the network connection state, the payment identification code is generated through the first system and transmitted to the second system. The second system stores the payment identification code. When the wearable device meets the condition and receives the payment request, the stored payment identification code is obtained from the second system and displayed. In other words, the payment identification code can be generated through the first system in advance and stored in the second system. When the payment request is received in scenarios such as offline, weak network signal, low power, etc., the stored payment identification code can be obtained from the second system for payment. As such, a convenient payment function can be achieved in different application scenarios, and security of payment information can be ensured.
At block 302, when the wearable device is in a network connection state, a payment identification code is generated through the first system.
At block 304: the payment identification code is transmitted to the second system, the payment identification code is encrypted through the second system, and an encrypted payment identification code is stored through the second system.
The wearable device transmits the payment identification code generated through the first system to the second system, the payment identification code is encrypted through the second system, and the encrypted payment identification code is stored through the second system.
In one implementation, the second system may use an asymmetric encryption algorithm to encrypt the payment identification code. A pair of keys are required for the asymmetric encryption algorithm, that is, a public key and a private key. The private key can deduce the public key, but the public key is unable to deduce the private key. Data encrypted with the public key can only be decrypted with the corresponding private key; and data encrypted with the private key can only be decrypted with the corresponding public key. For example, the wearable device can generate a pair of private key and public key through the second system, so as to use the private key to encrypt the payment identification code and transmit the public key corresponding to the private key to the first system.
At block 306, when the wearable device meets a condition and receives a payment request, the stored payment identification code is obtained from the second system.
At block 308, the encrypted payment identification code is verified with pre-obtained verification information, and a verified payment identification code is displayed.
The pre-obtained verification information is corresponding to encrypted information, and can be used to verify the payment identification code. The wearable device can verify the encrypted payment identification code with the pre-obtained verification information.
In one implementation, the pre-obtained verification information is the public key corresponding to the private key with which the payment identification code is encrypted. The payment identification code can be decrypted according to the public key. If decryption is successful, the payment identification code is verified, and the verified payment identification code is displayed; if the decryption is unsuccessful, the payment identification code is not verified. As an implementation, when the payment identification code is not verified, the wearable device may re-obtain other stored payment identification codes from the second system.
In one implementation, in the payment information processing method provided, the payment identification code can also be encrypted through the first system. For example, the first system can generate a pair of a private key and a public key, and transmit the public key to the second system; when the first system generates the payment identification code, the first system encrypts the payment identification code according to the generated private key, and transmits an encrypted payment identification code to the second system to be stored through the second system; when the first system receives the payment request, the first system obtains the encrypted payment identification code from the second system, and determines the public key according to the held private key, and verifies the encrypted payment identification code; and when the second system receives the payment request, the second system can obtain the stored encrypted payment identification code, and verify the payment identification code according to the public key transmitted through the first system.
When receiving the payment identification code transmitted through the first system, the second system encrypts the payment identification code and stores the encrypted payment identification code. When a payment request is received, the stored encrypted payment identification code can be obtained, and the encrypted payment identification code is verified according to the pre-obtained verification information, and the verified payment identification code is displayed, which can improve the security of the payment information.
At block 402, when the wearable device meets a condition and receives a payment request, biometric information of a wearer of a wearable device is obtained.
The biometric information may be, but is not limited to, one or more of: fingerprint information, heart rate information, blood pressure information, face information, iris information, or the like of the wearer. The biometric information can be used to verify an identity of the wearer. When the wearable device is worn, the wearable device can obtain the biometric information of the wearer through a built-in sensor.
When the wearable device meets the condition and receives the payment request, the wearable device can obtain the biometric information of the wearer.
At block 404, the identity of the wearer is verified according to the biometric information.
The wearable device verifies the identity of the wearer according to the biometric information. For example, the wearable device has pre-stored biometric information of the owner of the wearable device. By comparing the biometric information of the owner with the biometric information of the wearer, it can be verified whether the wearer is the owner of the wearable device.
The biometric information of the owner may be entered into the wearable device in advance by the owner, or detected by the wearable device when the owner wears the wearable device. The owner of the wearable device can be one or more.
At block 406, the stored payment identification code is obtained from the second system once verification of the identity is passed.
When the verification of the identity is passed, it indicates that the current wearer is the owner of the wearable device, and the wearable device can obtain the stored payment identification code from the second system according to the obtained payment request. When the verification of the identity fails to be passed, it indicates the wearer is not the owner of the wearable device, and the wearable device may prompt no payment permission.
At block 408, the payment identification code is displayed.
The biometric information of the wearer is obtained when the payment request is received, the identity of the wearer is verified according to the biometric information, and the stored payment identification code is obtained and displayed when the verification is passed, as such, security of payment can be further improved.
In some implementations, in the provided payment information processing method, the payment identification code is obtained through the first system when the wearable device is in the network connection state as follows. When the wearable device is in the network connection state, a current moment is obtained; and at least one payment identification code is obtained through the first system when the current moment belongs to a time period.
The time period may be a period in which the wearable device is operated less frequently. For example, the time period may be 0:00-1:00; 5:00-6:00; 23:00-23:30, etc. When a current system of the wearable device is the first system and the current moment is within the time period, the wearable device can obtain the at least one payment identification code through the first system. The number of payment identification codes obtained by the wearable device can be set according to actual application requirements, which is not set here, for example, it may be 5, 10, 20, etc.
The network connection state means that the wearable device is connected with a wireless access point, and can wirelessly communicate with a server or a mobile terminal through a wireless network. The wireless access point can be a networking device that allows Wi-Fi devices to connect to a wired network. They form wireless local-area networks (WLANs). An access point acts as a central transmitter and receiver of wireless radio signals. The access point can be incorporated into a wired router or a stand-alone router. The wearable device can determine whether the wearable device is in an offline state or a network connection state according to a current network state.
In some implementations, when the wearable device is in the network connection state, at least one payment identification code is obtained through the first system according to a time interval. For example, the wearable device can obtain the network state of the wearable device, and when the network state is the network connection state, the at least one payment identification code is obtained according to the time interval to update payment identification codes in the second system. The time interval may be set according to valid time of a payment identification code. For example, the time interval is less than or equal to the valid time of the payment identification code. For example, when the valid time of the payment identification code is 60 minutes, the time interval may be 30 minutes, 40 minutes, 50 minutes, 60 minutes, or the like.
In some implementations, when the number of unused payment identification codes stored through the second system is less than a number and the wearable device is in the network connection state, at least one payment identification code is obtained through the first system. For example, the wearable device can also obtain through the first system the number of unused payment identification codes stored through the second system, and when the number is less than the number and the wearable device is in the network connection state, proceed to generating the payment identification code through the first system. The number may be 5, 8, 10, or the like. Different settings of the number will lead to different effects. Assuming that the second system stores 20 payment identification codes, when the number is set to 10, for example, each time the network is connected, a number detection is performed. When the number of unused payment identification codes is less than 10, an update is performed. The update may be an update of all payment identification codes, that is, to clear the unused payment identification codes in the second system, and obtain 20 payment identification codes through the first system. The update may also be an update of used payment identification code, that is, to obtain the same number of payment identification codes as the used payment identification codes through the first system. This method can update stored payment identification codes in real time.
Further, when the number is set to 1, that is, when all payment identification codes stored in the second system are used up and the wearable device is in the network connection state, at least one payment identification code is obtained through the first system. For example, if the number of all payment identification codes stored in the second system is 10, and when all 10 payment identification codes are used up, update at once, that is, the payment identification codes are obtained through the first system. Use of a payment identification code means that the wearable device obtains the payment identification code from the second system and displays it, that is, when the payment identification code is displayed, it is considered that the payment identification code has been used. The wearable device can set a displayed payment identification code as an invalid payment identification code in order to avoid repeated use, and the invalid payment identification code can no longer be displayed.
As an implementation, the wearable device can obtain the payment identification code from the second system according to generation time of the payment identification code. For example, the wearable device can preferentially obtain the payment identification code whose generation time is the longest from the current moment, that is, use an old one first.
The payment identification code is obtained through the first system when the current moment is within the time period, and transmitted to the second system for storage, which can avoid affecting other operations of the wearable device and ensure operation stability of the wearable device. By setting the time interval, validity of the payment identification code can be guaranteed, and by setting factors such as a usage number, the payment identification code can be updated in time for use.
In one implementation, the provided payment information processing method further includes: when the wearable device is in the network connection state and receives a payment request, a payment identification code is obtained through the first system, and the payment identification code is displayed.
When the wearable device is in the network connection state, the wearable device has a function of generating the payment identification code through the first system. Therefore, when the wearable device is in the network connection state and receives the payment request, the payment identification code can be obtained through the first system and displayed. In other words, the payment identification code can be obtained through the first system and displayed when the wearable device receives the payment request in the network connection state.
In one implementation, the payment information processing method further includes: when the wearable device is under control of the first system, remaining power of the wearable device is obtained; when the remaining power is less than a second power threshold, shut down the first system of the wearable device and switch to be under control of the second system; when the wearable device is under control of the second system and a payment request is received, the stored payment identification code is obtained through the second system, and the payment identification code is displayed.
The remaining power of the wearable device refers to a proportion of available power in the battery of the wearable device to a nominal capacity. The second power threshold may be determined according to actual usage requirements. For example, the second power threshold may be 10%, 15%, 20%, 30%, etc. but not limited thereto. The first system can provide relatively complete functions of the wearable device, and the second system provides basic functions of the wearable device, so power consumption of the wearable device operating the first system is greater than power consumption of the wearable device operating the second system. The wearable device can detect the remaining power in real time, and when the remaining power is less than a power threshold, shut down the first system of the wearable device and switch to be under control of the second system.
When the wearable device is under control of the first system, the payment request input by the user can be obtained through the touch screen or the key; when the first system is shut down and the wearable device is under control of the second system, the payment request input by the user can also be obtained through the touch screen or the key.
When the wearable device is under control of the second system, the payment request can be obtained through the second system, the stored payment identification code can be obtained according to the payment request, and the payment identification code can be displayed. The stored payment identification code is a payment identification code obtained through the first system and transmitted to the second system when the wearable device is in the network connection state.
When the wearable device is under control of the first system, the remaining power of the wearable device is obtained. When the remaining power is less than the second power threshold, shut down the first system of the wearable device and switch to be under control of the second system; when the wearable device is under control of the second system and receives the payment request, the stored payment identification code is obtained through the second system, and the payment identification code is displayed, which can realize a payment function in a low power consumption mode and ensure security of payment.
In one implementation, the processor corresponding to the first system and the processor corresponding to the second system are connected through a serial peripheral interface (SPI) bus. In the payment information processing method, the payment identification code is transmitted to the second system and the payment identification code is stored through the second system as follows. The payment identification code is transmitted to the processor corresponding to the second system through the SPI bus; and the payment identification code is stored by a memory corresponding to the second system.
The processor corresponding to the first system and the processor corresponding to the second system are connected through the SPI bus. For example, the processor corresponding to first system is a CPU processor, the processor corresponding to the second system is a MCU processor, and the CPU processor and the MCU processor can be connected through the SPI bus and perform data transmission through the SPI bus.
In this implementation, the wearable device can transmit the payment identification code obtained through the first system to the second system through the SPI bus to be stored in the memory of the second system. As an implementation, the memory may be a flash memory or other non-volatile memory, which is not limited herein.
At block 602, a payment request is received.
At block 604, a control system of the wearable device is determined; if the control system is the first system, proceed to operations at block 606; if the control system is the second system, proceed to operations at block 612.
At block 606, a network state of the wearable device is obtained; when the network state is the offline state, proceed to operations at block 608; when the network state is a network connection state, proceed to operations at block 610.
At block 608, a stored payment identification code is obtained from the second system, and proceed to operations at block 614.
At block 610, a payment identification code is generated through the first system, and proceed to operations at block 614.
At block 612, the stored payment identification code is obtained.
At block 614, the payment identification code is displayed.
It should be understood that although operations in the flowcharts of
These sub-operations are not necessarily at the same time. Alternatively, the order of execution of the stages is not necessarily sequential, but may be performed alternately or alternately with other operations or sub-operations of other operations or at least a portion of a stage.
The identification-code generating module 702 is configured to generate by a first system a payment identification code when a wearable device is in a network connection state.
The identification-code transmitting module 704 is configured to transmit the payment identification code to a second system and store through the second system the payment identification code.
The identification-code obtaining module 706 is configured to obtain the stored payment identification code from the second system when the wearable device meets a condition and receives a payment request.
The displaying module 708 is configured to display the payment identification code.
With the payment information processing apparatus provided in implementations, when the wearable device is in the network connection state, the payment identification code is generated through the first system and transmitted to the second system. The second system stores the payment identification code. When the wearable device meets the condition and receives the payment request, the stored payment identification code is obtained from the second system and displayed. In other words, the payment identification code can be generated through the first system in advance and stored in the second system. When the payment request is received under the condition, the stored payment identification code can be obtained from the second system for payment. As such, a convenient payment function can be achieved in different application scenarios such as being unable to connect with wireless networks or mobile terminals, or a network signal is weak, and security of payment information can be ensured.
In an implementation, the payment information processing apparatus further includes an encrypting module 710. The encrypting module 710 is configured to encrypt through the second system the payment identification code and store through the second system an encrypted payment identification code; the identification-code obtaining module 706 is further configured to verify the encrypted payment identification code with a pre-obtained verification information; and the displaying module 708 is configured to display a verified payment identification code.
In an implementation, the payment information processing apparatus further includes an identity verifying module 712. The identity verifying module 712 is configured to obtain biometric information of a wearer of the wearable device; and verify an identity of the wearer according to the biometric information.
In an implementation, the identification-code generating module 702 is further configured to: obtain a current moment when the wearable device is in the network connection state, and obtain through the first system at least one payment identification code when the current moment belongs to a time period.
In an implementation, the identification-code generating module 702 is further configured to obtain through the first system at least one payment identification code according to a time interval when the wearable device is in the network connection state.
In an implementation, the identification-code generating module 702 is further configured to generate through the first system at least one payment identification code when a number of unused payment identification codes stored through the second system is less than a number and the wearable device is in the network connection state.
In an implementation, the identification-code obtaining module 706 is further configured to: obtain at least one of network information and power information of the wearable device upon receiving the payment request; and obtain the stored payment identification code from the second system upon determining, according to the at least one of network information and power information, that the wearable device meets the condition.
In an implementation, the identification-code obtaining module 706 is configured to obtain the stored payment identification code from the second system when the wearable device receives a payment request and at least one of: the wearable device is in an offline state, a network signal strength of the wearable device is less than a value, or remaining power of the wearable device is less than a first power threshold.
In an implementation, the payment information processing apparatus further includes a system switching module 714. The system switching module 714 is configured to obtain remaining power of the wearable device when the wearable device is under control of the first system; shut down the first system when the remaining power is less than a second power threshold and switch to be under control of the second system. The displaying module 708 is further configured to obtain through the second system the stored payment identification code when the wearable device is under control of the second system and receives a payment request, and display the payment identification code.
In an implementation, the displaying module 708 is configured to: generate through the first system the payment identification code, when the wearable device is in the network connection state and receives a payment request, and display the payment identification code.
In an implementation, the identification-code transmitting module 702 is further configured to transmit the payment identification code to the processor corresponding to the second system through a serial peripheral interface bus; and store by a memory corresponding to the second system the payment identification code.
The division of each module in the above payment information processing apparatus is only for illustration. In other implementations, the payment information processing apparatus may be divided into different modules as required to complete all or part of functions of the above payment information processing apparatus.
For the specific limitation of the payment information processing apparatus, reference can be made to the limitation of the payment information processing method above, which will not be repeated herein. Each module in the above payment information processing device can be implemented in whole or in part by software, hardware or a combination thereof. The above modules may be embedded in or independent from the processor of the wearable device in the form of hardware, or may be stored in the memory of the wearable device in the form of software, so as to be called by the processor to execute operations corresponding to the above modules.
As is consistent with the above-mentioned implementations illustrated in
Implementations of the present disclosure also provide a computer-readable storage medium, that is a non-volatile computer-readable storage medium comprising one or more computer-executed instructions. The instructions, when executed by one or more processors, cause the processors to execute operations of the payment information processing method.
A computer program product, when running on a computer, cause the computer to execute the payment information processing method.
A memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. The non-volatile memory may include a read only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache memory. For purpose of illustration and not limitation, RAM is available in various forms such as a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synch link DRAM (SLDRAM), a Rambus, a direct RAM (RDRAM), a direct Rambus DRAM (DRDRAM), and a Rambus dynamic RAM (RDRAM).
The above implementations, which are described specifically and in detail, are mere some implementations of the present disclosure, but should not be construed as a limitation on the scope of the present disclosure. It should be noted that those skilled in the art may make modifications without departing from the concept of the present disclosure, all of which fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the attached claims.
Number | Date | Country | Kind |
---|---|---|---|
202010015233.4 | Jan 2020 | CN | national |
This application is a continuation of International Application No. PCT/CN2021/070551, filed Jan. 7, 2021, which claims priority to Chinese Patent Application No. 202010015233.4, filed Jan. 7, 2020, the entire disclosures of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2021/070551 | Jan 2021 | US |
Child | 17811205 | US |