WO2021072775A1 - 终端支付方法、装置、终端设备及计算机可读取存储介质 - Google Patents
终端支付方法、装置、终端设备及计算机可读取存储介质 Download PDFInfo
- Publication number
- WO2021072775A1 WO2021072775A1 PCT/CN2019/112031 CN2019112031W WO2021072775A1 WO 2021072775 A1 WO2021072775 A1 WO 2021072775A1 CN 2019112031 W CN2019112031 W CN 2019112031W WO 2021072775 A1 WO2021072775 A1 WO 2021072775A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- preset
- location
- hotspot
- target
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
Definitions
- This application relates to the field of wireless communication technology, and more specifically, to a terminal payment method, device, terminal device, and computer readable storage medium.
- terminal payments have been applied in more and more scenarios.
- terminal payment can be expressed as a payment method that allows users to use their terminal devices to pay for the goods or services they consume. Compared with traditional payment, terminal payment is more convenient and faster, so more and more consumers choose to use terminal payment for consumption.
- a user makes a terminal payment he often needs to perform multiple operations on the terminal device to complete a payment, and the operation steps are relatively cumbersome and the efficiency is not high.
- This application proposes a terminal payment method, device, terminal equipment, and computer readable storage medium to improve the above-mentioned drawbacks.
- the embodiment of the present application provides a terminal payment method, which is applied to a terminal device, and the method includes: detecting hotspot information; when detecting target hotspot information matching preset hotspot information, according to the target hotspot Information, determining the location information of the terminal device; when the location information meets a preset validity condition, controlling the terminal device to start the payment function corresponding to the target hot spot information.
- the embodiments of the present application also provide a terminal payment device, which is applied to a terminal device.
- the device includes: a hotspot detection module for detecting hotspot information; When the information matches the target hotspot information, the location information of the terminal device is determined according to the target hotspot information; the function activation module is used to control the startup of the terminal device and the terminal device when the location information meets preset valid conditions.
- the payment function corresponding to the target hot spot information.
- an embodiment of the present application also provides a terminal device, including: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory And is configured to be executed by the one or more processors, and the one or more programs are configured to execute the foregoing method.
- the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores program code, and the program code can be invoked by a processor to execute the foregoing method.
- the terminal payment method, device, terminal device, and computer readable storage medium provided in this application detect the hotspot information, and when the target hotspot information matching the preset hotspot information is detected, the location of the terminal device is determined according to the target hotspot information Information, and when the location information meets the preset validity conditions, the payment function corresponding to the target hot spot information is activated.
- the scene can be judged based on the hotspot information and location information, and the payment function to be activated can be determined and activated according to the scene, so that the user can activate the required payment function without manual operation, realize automatic payment selection, and greatly improve payment efficiency , Improve the user experience of terminal payment scenarios.
- FIG. 1 shows an application scenario diagram suitable for the terminal payment method provided by the embodiment of the present application
- Figure 2 shows a method flowchart of a terminal payment method provided by an embodiment of the present application
- FIG. 3 shows a schematic diagram of interaction between a terminal device and a reading device provided by an embodiment of the present application
- FIG. 4 shows a method flowchart of a terminal payment method provided by another embodiment of the present application.
- FIG. 5 shows a method flowchart of a terminal payment method provided by another embodiment of the present application.
- FIG. 6 shows a method flowchart of a terminal payment method according to another embodiment of the present application.
- FIG. 7 shows a method flowchart of a terminal payment method provided by still another embodiment of the present application.
- FIG. 8 shows a method flowchart of a terminal payment method according to yet another embodiment of the present application.
- FIG. 9 shows a method flowchart of a terminal payment method provided by yet another embodiment of the present application.
- FIG. 10 shows a method flowchart of a terminal payment method according to still another embodiment of the present application.
- FIG. 11 shows a method flowchart of a terminal payment method provided by another embodiment of the present application.
- FIG. 12 shows a block diagram of a terminal payment device provided by an embodiment of the present application.
- FIG. 13 shows a structural block diagram of a terminal device provided by an embodiment of the present application.
- FIG. 14 shows a storage unit for storing or carrying program codes for implementing the terminal payment method according to the embodiment of the present application according to an embodiment of the present application.
- FIG. 1 shows an application scenario diagram of the terminal payment method and device provided by the embodiments of the present application.
- the communication system 10 includes a terminal device 100 and a reading device 200, and the terminal device 100 and the reading device 200 is located in a wireless network or a wired network, the terminal device 100 includes a communication module, and the terminal device 100 performs data interaction with the reading device 200 based on the communication module.
- the communication system 10 further includes a server 300.
- the terminal device 100, the reading device 200, and the server 200 are located in a wireless network or a wired network, and the three can perform data interaction.
- the terminal device 100 may be a portable electronic device that also includes other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), and the like.
- portable electronic devices include, but are not limited to, portable electronic devices equipped with iOS, Android, Microsoft, or other operating systems.
- the above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
- the terminal device 100 supports wireless fidelity (WiFi, Wireless Fidelity) access to a wireless local area network (Wireless Local Area Net, WLAN) hotspot (ie, Hotspot) to achieve Internet access.
- the terminal device 100 may include a wireless network card or a WiFi chip Used to scan and detect hotspot information.
- the user can selectively turn on or turn off the WiFi function of the terminal device 100 through a preset WLAN function switch.
- the WiFi function of the terminal device 100 is in the on state, the terminal device 100 is in the detection state of the WiFi signal.
- the management program for WiFi connection and use can obtain the hotspot information of the WiFi signal detected by the WiFi chip by calling the driver of the terminal device 100.
- the hotspot information can include the Service Set Identifier (SSID) and the physical address (Media Access Control). , MAC) address, etc. at least one.
- SSID Service Set Identifier
- MAC Media Access Control
- the SSID and MAC are combined as hotspot information, and an index can be established according to the SSID first, and then a specific WIFI hotspot can be determined according to the MAC.
- WLAN function switch is only a word used in the embodiment of this application, and its representative meaning and function have been recorded in the embodiment of this application, and its name does not constitute any limitation to the embodiment of this application; it is understandable that In some other embodiments of the present application, the above words may also use other names, such as WiFi function switch.
- the reading device 200 may be an electronic device that has a communication function and can perform data transmission with the terminal device 100, such as a (Point of Sale POS) terminal.
- the reading device 200 may be an electronic device with a Near Field Communication (NFC) function.
- NFC Near Field Communication
- the terminal device 100 has a built-in NFC module, and can perform data interaction with the reading device 200 based on the NFC module.
- the reading device 200 exchanges data with the terminal device 100, the reading device 200 sends an Application Identifier (AID) instruction to the terminal device 100 within its communication range.
- AID Application Identifier
- the reading device 200 may also be an electronic device with a code scanning function.
- the terminal device 100 is installed with an application that can support scanning code payment. By responding to the user's operation on the application, the terminal device can be turned on.
- the application displays the scan code payment page for the reading device 200 to read, thereby completing the scan code payment process.
- reading devices such as (Point of Sale POS) terminals, which support at least one of payment methods such as scan code payment and NFC payment, so that users can communicate with the reader through the terminal device.
- the interaction with the device realizes convenient contactless payment.
- the inventor found in research that when a user needs to use a terminal device to make a payment, the user often needs to perform a series of operations before selecting the required payment method according to different scenarios.
- an embodiment of the present application provides a terminal payment method, which can be applied to the above-mentioned terminal device, as shown in FIG. 1. Specifically, the method includes: S111 to S113.
- the terminal device is equipped with a WLAN module.
- the user can selectively turn on or off the Wifi function of the terminal device through the WLAN function switch.
- the terminal device can control to turn on or off the WLAN module by detecting the trigger event of the WLAN function switch, and then turn on the WLAN
- the terminal device can detect hotspot information based on the WLAN module at this time.
- the hotspot information may include at least one of a service set identifier (SSID), a physical address (Media Access Control, MAC) address, and the like.
- SSID service set identifier
- MAC Media Access Control
- Free WiFi in public transportation is to install wireless hotspots on public transportation (such as subways, buses, etc.) for users to use for free, so that users can use public transportation. You can also connect to the Internet and watch online videos without using a data connection.
- the WLAN module of the user terminal device is working, when the user is waiting for a bus at a bus stop, subway station, or nearby, or is already on a bus or subway, the terminal device can scan and detect the WiFi signal of the bus or subway. Hot information.
- wireless hotspots are also used in many other scenes, such as bank scenes, shopping mall scenes, and so on.
- different wireless hotspots have different working ranges.
- the larger the working range the terminal device can detect the hotspot information of the wireless hotspot at a location farther from the wireless hotspot.
- the working range of a wireless hotspot is generally several tens of meters, so taking the bus scenario as an example, when a bus is entering a station, or when a user arrives at a subway station to wait for a train, if the user is waiting for a bus to enter the station at this time, then Regardless of whether the inbound bus is the route the user needs to take, the terminal device can be within the working range of the bus wireless hotspot.
- the terminal device will scan at least multiple times to scan and detect the wireless hotspot of the subway. Hot information.
- the WLAN module of the terminal device also includes the connected state and the non-connected state in the working state.
- the WLAN module of the terminal device When the terminal device is connected to the wireless hotspot and can surf the Internet based on the connected wireless hotspot, the WLAN module of the terminal device is in the connected state. Wireless hotspot, the WLAN module is not connected.
- the WLAN module in the disconnected state, can detect the hotspot information based on the default interval time, for example, every 15 seconds, the default interval time can be fixed or customized adjustment).
- the detection frequency is higher than in a sleep state.
- the terminal device can scan the wireless hotspot of the bus or subway before the bus/metro arrives/stops, and detects the hotspot information of the wireless hotspot.
- S112 When the target hotspot information matching the preset hotspot information is detected, determine the location information of the terminal device according to the target hotspot information.
- the preset hotspot information is hotspot information stored in advance.
- the preset hotspot information may include the SSID of the wireless hotspot, or part of the character string in the SSID of the wireless hotspot.
- the SSID may be such as BUS-freeWiFi, SUBWAY-WiFi, CCB-WiFi, BC-WiFi , Mall-Wifi, etc.
- the preset hotspot information can be the aforementioned SSID, or a partial string of the aforementioned SSID such as BUS, SUBWAY, CCB, BC, Mall.
- the target hotspot information can be determined through partial keyword matching, which improves the coverage of the preset hotspot information for hotspot information matching, and improves usability.
- the SSID of the hotspot information can determine the hotspot attributes such as the usage scenario of the wireless hotspot corresponding to the SSID. For example, based on the foregoing example, it can be determined that the wireless hotspot corresponding to the SSID is used for public transportation according to the SSID such as BUS-freeWifi.
- SUBWAY-WiFi it can be determined that its corresponding wireless hotspot is used for subways, according to CB-WiFi, it can be determined that its corresponding wireless hotspot is used for banks, and according to Mall-WiFi, its corresponding wireless hotspot can be determined for use in shopping malls.
- the preset hotspot information may include the SSID and MAC address of the wireless hotspot, and the detected hotspot information also includes the SSID and MAC address. Based on the SSID and MAC address, the scene of the wireless hotspot corresponding to the SSID can be determined. And in some examples, based on big data collection, the wireless hotspot's MAC address can also be used to determine the geographic location of the wireless hotspot, the unit to which it belongs and other hotspot attributes. As an implementation manner, the terminal device may be based on Google's Google Mobile Service (GMS), and request the GMS to obtain the hotspot attribute corresponding to the hotspot information according to the hotspot information of the wireless hotspot. As another implementation manner, a database can also be built locally on the terminal device or on the server, so as to obtain the hot spot attributes corresponding to the hot spot information according to the hot spot information.
- GMS Google's Google Mobile Service
- the terminal stores a preset database locally, the preset database includes at least one preset hotspot information, and the preset database may also include hotspot attributes corresponding to each preset hotspot information.
- the preset database includes at least one preset hotspot information and a hotspot attribute corresponding to each preset hotspot information. Therefore, based on the matching with the preset hotspot information, the terminal device can obtain the information corresponding to the preset hotspot information. Hot spot attributes.
- the preset hotspot information may include the SSID of the preset hotspot, such as EGOBUS-WiFi, and the hotspot attribute corresponding to the preset hotspot information may include the city where the preset hotspot is located, such as Shenzhen. Therefore, When the terminal device detects that the hotspot information includes the SSID such as EGOBUS-WiFi, by matching with the preset hotspot information, it can be determined that the city of the target hotspot corresponding to the target hotspot information is Shenzhen. Thereby, by storing the preset database in the terminal device to quickly query and match even when the network quality is poor, the efficiency of query and matching is improved
- the terminal device stores at least one preset hotspot information.
- the hotspot information may include the SSID such as SZBUS-WiFi. "SZBUS" in the SSID, the hotspot attribute of the hotspot information can be obtained.
- the city of the wireless hotspot corresponding to the SSID is Shenzhen.
- only storing preset hotspot information can also implement this method.
- the efficiency of query and matching is improved, and the storage pressure of the terminal device is also reduced, which is beneficial to improve the operation and processing efficiency of the terminal device.
- the server is pre-built with a preset database, and the preset database includes at least one preset hotspot information, and may also include hotspot attributes corresponding to each preset hotspot information.
- the terminal device detects hotspot information, it can send a query request to the server.
- the server queries whether there is preset hotspot information matching the hotspot information according to the hotspot information, and returns the query result to the terminal device, and the terminal device receives the query returned by the server As a result, it can be determined whether the detected hotspot information matches the preset hotspot information, and the successfully matched hotspot information is used as the target hotspot information.
- the query result may include the result of whether the query is found, and when the query is found, the query result may also include the hotspot attribute of the matched preset hotspot information. Since the preset database is stored with the server, the terminal device performs query matching through the server, which can reduce the storage pressure on the terminal device, and when the preset database is stored on the server, it is convenient to update the preset database, which can continuously cover more and more comprehensive Hotspot information to improve usability.
- the terminal device When the terminal device matches the detected hotspot information with the preset hotspot information and the matching is successful, it may use the successfully matched hotspot information as target hotspot information, and determine the location information of the terminal device according to the target hotspot information.
- the location information may be the relative distance between the terminal device and the target hot spot corresponding to the target hot spot information, or it may be an absolute distance.
- the location information of the terminal device may be the relative distance between the terminal device and the target hot spot.
- the signal strength corresponding to the terminal device detecting the target hot spot information can be determined, and the relative distance between the terminal device and the target hot spot can be determined according to the signal strength, and the relative distance can be regarded as the terminal device's relative distance. location information.
- the location information of the terminal device may also be the absolute distance between the terminal device and the target hot spot.
- the terminal device can obtain the geographic location of the terminal device, such as latitude and longitude coordinates, as location information based on the positioning function.
- the terminal device can also obtain the MAC address of the target hotspot based on the target hotspot information, and determine the geographic location of the target hotspot based on the MAC address. Location, thereby obtaining the geographic location of the terminal device and the target hot spot, determining the absolute distance between the terminal device and the target hot spot, and using the absolute distance as the location information of the terminal device. Specific implementation manners can also be seen in the following embodiments, which will not be repeated here.
- the location information of the terminal device may also be determined according to the geographic location of the terminal device.
- the terminal device obtains its geographic location, such as latitude and longitude coordinates, and uses the geographic location as the location information of the terminal device.
- the way of determining whether the location information meets the preset valid condition is also different.
- the location information of the terminal device can be used to characterize the distance between the terminal device and the target hot spot corresponding to the target hot spot information. Regardless of the relative distance or the absolute distance, when the distance meets a certain distance range, the payment function corresponding to the target hot spot information can be activated, which can effectively avoid errors. Trigger, improve the accuracy of the user's intention to determine whether the payment function needs to be activated, and it is understandable that the smaller the set distance range, the less location information covered by the preset effective conditions, the more cautious the activation, and the false triggering The lower the probability.
- the terminal device can support a variety of payment functions. Each payment function can correspond to different payment applications, and different payment applications can correspond to different scenarios. For example, in a public transportation scenario, a public transportation payment application needs to be used to realize the public transportation payment function. Since the terminal device detects the target hotspot information that matches the preset hotspot information, and when the location information meets the preset valid conditions, it can be considered that the user needs to make a payment is likely to be high. At this time, the terminal device starts the target hotspot information corresponding to the The payment function can not only accurately determine the user's intention to initiate payment, but also automatically initiate the payment function corresponding to the target hotspot information, avoiding tedious operations, and automatically selecting payment without manual operation by the user.
- the target hotspot information includes SSID such as BUS-freeWiFi.
- SSID such as BUS-freeWiFi.
- the terminal device can determine the current scene based on the hotspot information and control the payment function corresponding to the startup scene, which realizes the automatic control of the switching of the payment function without manual operation by the user, which greatly improves the payment efficiency.
- each payment function may also include one or more payment modes.
- the payment function may include a bus payment function, a bank payment function, etc.
- the bus payment function includes one or more bus payment modes
- the bank payment function includes one Or multiple bank payment modes.
- the bus payment mode can correspond to the bus card.
- the bus card can be Shenzhen Tong , Yangchengtong
- the public transportation payment function can include the public transportation payment mode based on Shenzhentong
- the public transportation payment mode based on Yangchengtong.
- the terminal device can be used for multiple payment methods, such as QR code payment, NFC payment, etc., based on different payment methods, depending on the terminal device payment method, the payment mode is different, for example, based on two
- the bus payment mode can correspond to the QR code corresponding to different bus cards; the payment mode based on NFC payment, the bus payment mode can correspond to the radio frequency card simulated by the NFC module based on the bus card.
- the terminal device can be used for QR code payment.
- the terminal device needs to display the QR code for payment, and the reading device can scan the QR code displayed on the screen of the terminal device.
- Dimension code interacts with the payment process.
- the specific implementation of starting the payment function corresponding to the target hotspot information may include: determining the payment application corresponding to the target hotspot information, and displaying the payment page of the payment application. To be read by the reading device for payment.
- the terminal device detects that the target hotspot information that matches the preset hotspot information includes SSID such as BUS-freeWiFi, it can be considered that the user is currently in a public transportation scene and may need to ride in a car, and then obtain the location information of the terminal device, and the location information meets the preset When the conditions are valid, it can be considered that the user needs to pay by car.
- the bus payment function corresponding to the target hot spot information can be activated, that is, the payment page of the bus payment application corresponding to the target hot spot information can be displayed for the reading device to read and complete Paid.
- the user’s scene can be judged based on the hotspot information, combined with the location information of the terminal device to determine whether the user needs to pay, and when the location information meets the preset valid conditions, it is determined that the user needs to start the scenario Payment function.
- the payment function corresponding to the target hot spot information is activated to realize automatic payment preparation. There is no need to manually select the required payment function before the user pays, so as to quickly complete the payment process and improve payment efficiency.
- the terminal device can be used for NFC payment.
- one or more radio frequency cards can be simulated through the NFC module (for ease of expression, hereinafter referred to as analog cards) to support different
- the terminal device can simulate multiple bus cards to support different bus payment modes through the NFC module, and simulate multiple bank cards to support different bank payment modes.
- the terminal device can interact with the reading device that supports NFC payment based on the analog card to complete the payment.
- the secure module is used to securely store sensitive information and provide a secure execution environment for transaction transactions, which can be integrated In the processor of the terminal device, or the Subscriber Identification Module (SIM) card, or the Secure Digital Memory Card (SD) of the terminal device, it can also be an independent chip, etc.; the second is based on Host Card Emulation (HCE), you can use APP (Application) on the host to simulate various cards to realize the function of host card emulation; the third is based on Universal Integrated Circuit Card (UICC) .
- the NFC module stores routing information, including the corresponding routing location based on at least one form of card simulation described above. After receiving the AID instruction, the NFC module can send the AID instruction to the corresponding routing location based on the routing information, so that the module of the routing location Execute the operation corresponding to the instruction.
- the foregoing security module may also be replaced with an Embedded Secure Element (eSE).
- eSE is more secure than the SE, and the hardware security level of the eSE reaches EAL6+ or higher. Therefore, the terminal equipment adopts eSE to make the payment security of the terminal equipment higher.
- eSE can be installed with various forms of card emulation applications. When eSE receives the AID instruction sent by the NFC module, it can start the corresponding card emulation application (APPLet) and activate the emulation card in the card emulation application for payment .
- APPLet card emulation application
- the terminal device includes an NFC module and a security Module, host processor (Host CPU), optionally, the security module can be eSE, the host processor is used to implement card emulation based on the HCE form, the security module and the host processor run card emulation applications, and the reading device supports NFC Function, can send an AID instruction to the terminal device, the terminal device can obtain the AID instruction based on the NFC module, and route the AID instruction to the security module or the host processor to start the function of the card simulation application in the security module or the host processor , For example, start the payment function of the payment application in the security module.
- host processor Host CPU
- the security module can be eSE
- the host processor is used to implement card emulation based on the HCE form
- the security module and the host processor run card emulation applications
- the reading device supports NFC Function
- can send an AID instruction to the terminal device the terminal device can obtain the AID instruction based on the NFC module, and route the AID instruction to the
- the terminal device includes an NFC module and a security module, such as an NFC module and an eSE.
- the eSE is installed with a card simulation application for public transportation payment, such as a public transportation payment application.
- a card simulation application for public transportation payment such as a public transportation payment application.
- the terminal device detects that the target hotspot information that matches the preset hotspot information includes SSID such as BUS-freeWiFi, it can be considered that the user is currently in a public transportation scene and may need to ride in a car, and then obtain the location information of the terminal device, and the location information meets the preset When the conditions are valid, it can be considered that the user needs to pay by car.
- SSID such as BUS-freeWiFi
- the default route of the NFC module can be switched to eSE, and the eSE can be controlled to start the bus payment application to realize the bus payment function, and activate the bus card in the bus payment application to activate the bus payment Mode, such as activating Shenzhen Tong can activate the Shenzhen Tong payment mode, thereby starting the bus payment function based on the bus payment mode, so that when the terminal device is close to the reading device, the payment can be made based on the Shenzhen Tong payment mode of the bus payment function.
- the user is often required to determine the analog card to be selected according to the specific scenario, and the operation steps performed in the terminal device in this process are relatively cumbersome, which reduces the interaction capability between the terminal device and the user, and the payment The efficiency is low. Therefore, the user’s scene is judged based on the hotspot information, combined with the location information of the terminal device to determine whether the user needs to pay, and when the location information meets the preset valid conditions, it is judged that the user needs to activate the payment function in the scenario.
- control the eSE to start the payment function corresponding to the target hotspot information, so as to complete the default route switch and start the payment function corresponding to the target hotspot information before the user pays, activate the payment mode corresponding to the target hotspot information, and realize safe automatic "card selection" payment , There is no need to manually select the required payment function before the user pays, so as to quickly complete the payment process and improve payment efficiency.
- the terminal device may not include a security module, and the payment function is initiated based on HCE or HICC.
- the reading device supports HCE or UICC, the method provided in the embodiment of the present application can still be applied.
- this embodiment controls the automatic activation of the payment function corresponding to the hotspot information to realize payment by judging the scene based on the hotspot information. Therefore, the user does not need to manually operate to make a selection, and solves the problem of manual selection encountered in NFC payment.
- the payment function corresponding to the target hot spot information can be activated before the user pays, so as to realize automated payment preparation, so as to quickly complete the payment process and improve the user experience of the existing mobile bus payment scenario.
- FIG. 4 shows a terminal payment method provided by an embodiment of the present application, and the method includes: S401 to S407.
- S402 When detecting target hotspot information matching the preset hotspot information, determine location information of the terminal device according to the target hotspot information.
- the specific implementation of determining the location information of the terminal device according to the target hotspot information may include: when it is detected that it matches the preset hotspot information The signal strength of the target hotspot information is acquired when the target hotspot information is selected; the location information of the terminal device is determined according to the signal strength.
- the terminal device when the terminal device detects the target hot spot information, it can obtain the signal strength corresponding to the target hot spot information. According to the signal strength, it can determine the distance between the terminal device and the target hot spot, that is, the distance between the terminal device and the target hot spot. Use the relative distance as the position information of the terminal device.
- a mapping relationship between signal strength and relative distance may be stored in advance, and the relative distance corresponding to the signal strength may be determined according to the signal strength, so as to determine the location information of the terminal device.
- the terminal device does not need to turn on the positioning or does not have the positioning function, but can still obtain the location information of the terminal device to determine whether to activate the payment function, which can reduce power consumption, and because it is not necessary to calculate the distance between the device location and the hotspot location , Reduce computational complexity and improve computational efficiency.
- the specific implementation manner of determining the location information of the terminal device according to the target hotspot information may include: when the preset hotspot information is detected When matching target hotspot information, obtain the hotspot location of the target hotspot information; determine the location information of the terminal device according to the hotspot location.
- the terminal device may be based on GSM and obtain the hotspot location of the target hotspot information according to the MAC address of the target hotspot information, where the hotspot location is the geographic location of the target hotspot corresponding to the target hotspot information.
- the terminal device obtains the current geographic location as the location information of the terminal device, and can obtain the absolute distance between the target hot spot and the terminal device according to the location of the hotspot and the location information of the terminal device, and uses the absolute distance as the location information of the terminal device.
- using the absolute distance between the target hot spot and the terminal device as the position information of the terminal device can improve the accuracy of judging whether the position information meets the preset valid conditions, and also improve the accuracy of starting the payment function corresponding to the target hot spot information rate.
- the specific embodiment of determining the location information of the terminal device according to the target hotspot information may include: judging whether the hotspot location is in the first The location of the hot spot remains unchanged within the preset duration; if the location of the hot spot remains unchanged within the first preset duration, the location information of the terminal device is determined according to the location of the hot spot.
- the subsequent steps may not be performed, and the hot spot information may continue to be detected, so that when the hot spot location is constantly changing, the target hot spot information corresponding to the target hot spot information may not be activated.
- Payment function Take the public transportation scenario as an example.
- the terminal device may detect the hotspot information of the bus that is running on the road. At this time, the bus may just pass by without stopping downloading passengers. Therefore, the location information of the terminal device is determined by judging whether the location of the hot spot remains unchanged within the first preset duration, and when it remains unchanged.
- the subsequent steps may not be executed, thereby reducing the probability of false triggers, saving equipment power consumption, and improving system availability .
- the specific implementation manners for obtaining the category corresponding to the target hotspot information include: judging whether the location information meets the preset validity condition; if the location information meets the preset validity condition, obtaining the target The category corresponding to the hotspot information. In some embodiments, if the location information does not meet the preset valid condition, the detection of hotspot information can also be executed back, thereby saving power consumption.
- the category is used to characterize the scene category corresponding to the hotspot information, and may be a category identifier used to characterize the scene category.
- the terminal device can determine the category corresponding to the category identifier by obtaining the category identifier of the target hotspot information, thereby obtaining the category corresponding to the target hotspot information.
- the hotspot information includes an SSID
- the category corresponding to the target hotspot information can be obtained according to the SSID of the target hotspot information.
- the category corresponding to the target hotspot information can be determined as the public transportation category according to the "BUS" of the bus in the SSID.
- the category corresponding to the target hotspot information can be determined as the bank category according to the "Bank" representing the bank in the SSID.
- the terminal device can also obtain the subcategory of the target hotspot information according to the SSID of the target hotspot information.
- the bank category also includes the subcategories corresponding to major banks.
- the terminal device can query whether the SSID exists and the subcategory When identifying the corresponding identifier, the sub-category of the target hotspot information can be determined, that is, the specific corresponding bank.
- the category is stored in a preset database. Specifically, at least one preset hot spot information and a category corresponding to each preset hot spot information are pre-stored in the preset database, and the terminal device is based on the preset database, When searching for target hotspot information that matches the preset hotspot information, the category corresponding to the matched preset hotspot information can be obtained as the category corresponding to the target hotspot information.
- S404 Determine whether the category is a public transportation category.
- the category can be a category identifier used to characterize the category of the scene. According to whether the category identifier matches the category identifier of the public transportation category, it can be determined whether the category is a public transportation category.
- the terminal device obtains the category corresponding to the target hotspot information according to the SSID of the target hotspot information.
- it can directly determine whether the category is a public transportation category based on the SSID, and according to the SSID of the target hotspot information Whether it matches with the public transportation category, determine whether the category is a public transportation category.
- the terminal device obtains the category corresponding to the target hotspot information based on a preset database. At this time, it can be determined whether the category is a public transportation category according to the category of the target hotspot information. By judging whether the target hotspot information category is consistent with the public transportation category, it can be determined whether the category is a public transportation category, and when the category is consistent, the category can be determined as the public transportation category, and when it is inconsistent, the category can be determined as not being the public transportation category.
- the payment function corresponding to the category can be activated according to the judgment result, which can specifically include:
- step S405 may be executed;
- step S407 may be executed.
- S405 Acquire the hot spot attribute of the target hot spot information.
- the hot spot attribute can be used to determine the effective use area of the target hot spot corresponding to the target hot spot information, and the effective use area can correspond to different cities or provinces.
- the bus systems of different cities or provinces are independent, and the bus cards that can support payment in different cities or provinces cannot be used universally.
- the hotspot attribute of the target hotspot information can obtain the effective use area corresponding to the target hotspot information.
- the SSID of the hotspot information may include characters or strings that characterize the effective use area.
- the hotspot attributes of the target hotspot information can be determined according to the SSID of the target hotspot information.
- the SSID is SZBUS-WiFi. "The effective use area that can obtain target hotspot information is Shenzhen, and the effective use area is regarded as the hotspot attribute.
- the preset database stores the hotspot attributes corresponding to the preset hotspot information
- the terminal device can obtain the hotspot attributes corresponding to the preset hotspot information corresponding to the target hotspot information based on the preset database, and add this
- the hot spot attribute is used as the hot spot attribute of the target hot spot information.
- the terminal device may obtain the geographic location of the target hotspot information, obtain the area corresponding to the geographic location as the effective use area, and use the effective use area as the hotspot attribute of the target hotspot information. Therefore, the effective use area is determined according to the actual geographic location of the target hotspot information.
- the target hotspot information includes the MAC address and SSID of the target hotspot such as SZBUS-WiFi.
- the terminal device can obtain the target hotspot information based on the MAC address of the target hotspot based on GSM.
- the geographic location of the target hotspot corresponding to the target hotspot information is used as the geographic location of the target hotspot information.
- the area corresponding to the geographic location can be obtained as Shenzhen, and Shenzhen can be used effectively area.
- the area corresponding to the geographic location can be determined according to the existing cities or provinces of the public transport system, and the geographic location is matched with the public transport system, and the matched city or province is regarded as the area of the geographic location and regarded as the effective area.
- the use area is the hotspot attribute of the target hotspot information.
- Public payment functions include one or more public payment modes. Different public payment modes can correspond to different analog cards and correspond to different hotspot attributes.
- public payment modes can include, but are not limited to, Shenzhentong payment-based Shenzhentong payment mode , Its corresponding hotspot attribute is Shenzhen; based on the Yangchengtong payment mode of Yangchengtong, its corresponding hotspot attribute is Guangzhou.
- the terminal device may include: according to the hotspot attribute, determine the public transportation payment mode corresponding to the hotspot attribute, and based on the public transportation payment mode, activate the public transportation payment function to The simulation card corresponding to the public transportation payment mode is automatically selected to wait for payment to be executed. For example, if the hotspot attribute of the target hotspot information corresponds to "Shenzhen", the bus payment mode corresponding to "Shenzhen" can be determined to be the Shenzhentong payment mode.
- the bus payment function is activated, and the target hotspot information is classified as In the public transportation category, combining the hot attributes and categories of the target hotspot information, the payment function corresponding to the category is activated.
- the locally supported payment mode can be accurately selected, and the user does not need to manually switch the payment mode, realizing automatic and Accurate selection in order to quickly complete the payment process and improve the user experience of terminal equipment in public transit scenarios.
- the hotspot attribute includes the geographic location of the target hotspot information.
- a specific implementation manner of activating the payment function corresponding to the category is: activating the payment function corresponding to the category according to the geographic location.
- the geographic location corresponds to a longitude and latitude coordinate located in Nanshan, Shenzhen
- the area corresponding to the geographic location can be obtained as Shenzhen
- Shenzhen is used as the effective use area
- the public transportation payment function is activated based on Shenzhen's corresponding Shenzhen Tong payment mode.
- the terminal device can directly determine the bus payment mode under the bus payment function according to the location of the target hotspot information, and can automatically switch different bus payment modes under the bus payment function according to the location of the target hotspot information, for example, the user
- the bus payment function can be activated based on the Yangchengtong payment mode, so that the user can take the bus in Guangzhou without manual operation. Automatically activate the bus payment function corresponding to Yangchengtong, which greatly improves the convenience and efficiency of user terminal payment and enhances terminal payment experience.
- the payment function corresponding to the category is activated.
- the payment function corresponding to the category is activated, which is different from the particularity of the bus scene.
- the category is activated.
- the corresponding payment function is sufficient. For example, if the SSID of the target hotspot information is CCB-WiFi, and its category is the bank category, not the public transportation category, the payment function corresponding to the bank category can be activated and recorded as the bank payment function.
- the bank payment function includes one or more payment modes, which are recorded as bank payment modes, and different bank payment modes correspond to different banks or bank cards.
- the terminal payment method provided in this embodiment on the basis of the foregoing embodiment, considers that the bus systems of different cities or provinces are independent. Therefore, when detecting hotspot information of public transportation types, and detecting hotspot information of non-public transportation types When the terminal device activates the payment function corresponding to the target hotspot information, there is a difference.
- the category corresponding to the target hotspot information is obtained to determine the payment function that needs to be activated, and to determine whether the category is public transportation
- it is a public transportation category based on the hotspot attributes that characterize the effective use area of the target hotspot, determine the payment mode under the payment function that needs to be activated, and activate the payment function corresponding to the public transportation category to realize automatic bus payment.
- "Card selection" payment does not require manual operation by the user, and when the category is not a public transportation category, the corresponding payment function is directly activated according to the category. This supports multiple scenarios and further optimizes the terminal payment experience.
- FIG. 5 shows a terminal payment method provided by an embodiment of the present application, and the method includes: S501 to S504.
- S502 When detecting target hotspot information matching the preset hotspot information, determine location information of the terminal device according to the target hotspot information.
- S503 Determine whether the location information is within a preset location range.
- the preset location range is used to determine whether the terminal device is close enough to the target hot spot corresponding to the target hot spot information.
- the preset location range may be within 30 meters of the target hot spot. If the location information is within the preset location range, the terminal device is relatively close to the target hot spot at this time, and if the location information is not within the preset location range, the terminal device is far away from the target hot spot at this time.
- the payment function corresponding to the target hot spot information is activated.
- the terminal device Since the terminal device is far away from the target hotspot, the user is less likely to perform the payment function corresponding to the target hotspot information, so it can effectively reduce the probability of false triggers, improve the accuracy of starting the payment function and switch functions, and avoid frequent switching , Can reduce power consumption.
- the method further includes:
- step S504 may be executed;
- step 401 If the location information is not within the preset location range, return to step 401 and continue to detect hotspot information.
- S504 Start the payment function corresponding to the target hot spot information.
- the payment function corresponding to the target hot spot information is activated.
- step S504 can refer to step S113, step S403 to step S407 in the foregoing embodiment, which will not be repeated here.
- the terminal payment method provided in this embodiment determines whether the location information meets the preset valid condition by first determining whether the location information is within the preset location range and is within the preset location range.
- the payment function corresponding to the target hotspot information is activated, since the terminal device is far away from the target hotspot, the user is less likely to perform the payment function corresponding to the target hotspot information, so by judging whether the location information is within the preset location range .
- To determine whether to activate the payment function corresponding to the target hot spot information which can effectively reduce the probability of false triggers, improve the accuracy of starting the payment function and switch functions, and avoid frequent switching, which can reduce power consumption.
- the location of the hotspot when determining whether the location information meets the preset valid condition, can be determined before the location information of the terminal device is obtained, and the location information of the terminal device can be determined only when the location of the hotspot does not change. Whether it is within the preset position range, so as to avoid the power consumption caused by the following steps when the bus is only passing by without stopping, which can further improve the system availability.
- FIG. 6, which shows a terminal payment method provided by an embodiment of the present application. Specifically, the method includes: S601 to S606.
- S602 When detecting target hotspot information matching the preset hotspot information, determine the location information of the terminal device according to the target hotspot information.
- S603 Acquire the hot spot location of the target hot spot information.
- the hot spot location of the target hot spot information can be obtained based on the GSM provided by Google and the MAC address of the target hot spot information.
- S604 Determine whether the location of the hot spot remains unchanged within the first preset duration.
- the method further includes:
- step S605 may be performed
- step S601 If the location of the hot spot does not remain unchanged within the first preset duration, return to step S601 to continue to detect hot spot information.
- S605 Determine whether the location information is within a preset location range.
- the location of the hot spot remains unchanged within the first preset duration, it is determined whether the location information is within the preset location range.
- the method further includes:
- step S606 may be executed
- step S601 If the location information is not within the preset location range, return to step S601 to continue to detect hotspot information.
- S606 Start the payment function corresponding to the target hotspot information.
- the payment function corresponding to the target hot spot information is activated.
- the location information of the terminal device when determining whether the location information satisfies the preset valid conditions, the location information of the terminal device may be obtained first, and if the location information is within the preset location range, the location information of the terminal device may be obtained again.
- the payment function corresponding to the target hotspot information is activated only when the stay time is over, and the payment function corresponding to the target hotspot information is activated. This can improve the accuracy of the judgment of the user’s payment intent, and can prevent the user from passing through the bus station and not in the bus.
- the station intends to wait for the bus, the false trigger caused by the payment function corresponding to the target hot spot information is still activated, avoiding unnecessary power consumption and improving usability.
- FIG. 7, shows a terminal payment method provided by an embodiment of the present application, and the method includes: S701 to S706.
- S702 When detecting target hotspot information that matches the preset hotspot information, determine location information of the terminal device according to the target hotspot information.
- S703 Determine whether the location information is within a preset location range.
- the method further includes:
- step S704 may be executed;
- step S701 If the location information is not within the preset location range, return to step S701 to continue detecting hotspot information.
- S704 Acquire the duration of time that the location information is within the preset location range, and use it as the stay time.
- the duration of the location information within the preset location range is acquired as the stay time.
- the length of the stay time can represent the length of time the user stays within the preset position range. For example, in a public transportation scenario, if the terminal device detects the hotspot information of the bus and the terminal device is within the preset location range, it can be considered that the terminal device is near the bus, and the longer the terminal device stays within the preset location range , It can be considered that the longer the user stays near the bus.
- the terminal device can obtain its own geographic location as location information based on a positioning module such as a GPS module.
- a positioning module such as a GPS module.
- the terminal device can obtain its own location information in real time, and after judging whether the location information is within the preset location range, start at the first moment when the location information is within the preset location range, and the cumulative duration is Accumulate the stay time until the time when the position information is not within the preset position range is monitored, the current accumulation is ended, and the accumulated stay time this time is obtained.
- the terminal device may also obtain location information at specified time intervals and intervals, and determine whether the location information obtained each time is within a preset location range, and obtain the first position information that is not within the preset location range. At the second time, the duration between the first time and the second time is further obtained as the stay time.
- this accumulation can be ended early and the subsequent steps can be executed.
- S705 Determine whether the stay time exceeds a preset time threshold.
- the preset time threshold may be preset by the program or customized by the user.
- the preset time threshold may be 1 minute, 5 minutes, etc., which is not limited here. Since the payment function corresponding to the target hotspot information is activated when the stay time exceeds the preset time threshold, it can be understood that the longer the preset time threshold, the more cautious the judgment to activate the payment function corresponding to the target hotspot information, and the user will be judged The higher the accuracy of whether there is an intention to pay. In addition, with the decrease of the preset time threshold, the judgment efficiency can be improved while ensuring the judgment rate of the payment intention, so that the payment function corresponding to the target hot spot information can be activated more quickly.
- the method further includes:
- step S706 may be executed
- step S701 If the stay time does not exceed the preset time threshold, return to step S701 to continue detecting hotspot information.
- the payment function corresponding to the target hotspot information can be activated to improve the user's payment intention. Judgment accuracy, and can avoid false triggers caused by starting the payment function corresponding to the target hotspot information when the user just passes the bus station and has no intention of waiting for the bus at the bus stop, avoiding unnecessary power consumption and improving usability .
- the location information of the terminal device when determining whether the location information satisfies the preset valid condition, the location information of the terminal device may be obtained first, and if the location information is within the preset location range, the hot spot location of the target hot spot information may be obtained again. And when the hot spot location is not moving, the terminal device's stay time within the preset location range is obtained, and when the stay time out, the payment function corresponding to the target hot spot information is activated. Therefore, by determining whether the hot spot position of the target hot spot information remains unchanged for a specified duration before judging whether the user stays overtime, and then obtains the stay time when it remains unchanged to determine whether the stay timeout, the cause can be avoided.
- FIG. 8 shows a terminal payment method provided by an embodiment of the present application, and the method includes: S801 to S808.
- S802 When detecting target hotspot information that matches the preset hotspot information, determine the location information of the terminal device according to the target hotspot information.
- S803 Determine whether the location information is within a preset location range.
- the method further includes:
- step S804 may be performed;
- step S801 If the location information is not within the preset location range, return to step S801 to continue to detect hotspot information.
- S804 Acquire the duration of time that the location information is within the preset location range, and use it as the stay time.
- the duration of the location information within the preset location range is acquired as the stay time.
- S805 Acquire the hot spot location of the target hot spot information.
- S806 Determine whether the location of the hot spot remains unchanged within the first preset duration.
- the method further includes:
- step S807 may be executed
- step S801 can be returned to continue to detect hot spot information.
- S807 Determine whether the stay time exceeds a preset time threshold.
- the method further includes:
- step S806 may be executed
- step S801 If the stay time does not exceed the preset time threshold, return to step S801 to continue to detect hotspot information.
- the payment function corresponding to the target hot spot information is activated.
- the method when determining whether the location information meets the preset valid conditions, after obtaining the location information of the terminal device, it is also possible to first determine whether the location information remains unchanged for a period of time, and remains unchanged for a period of time. When the time changes, it is determined whether the location information is within the preset location range, and when the location information is within the preset location range, the payment function corresponding to the target hot spot information is activated. Therefore, when the target hotspot information matching the preset hotspot information is detected, it can avoid the false triggering caused by the situation that the user starts the payment function corresponding to the target hotspot information just passing by the vicinity of the target hotspot, and also reduces the risk of frequent activation. The resulting power consumption improves system availability.
- FIG. 9 shows a terminal payment method provided by an embodiment of the present application. Specifically, the method includes: S901 to S905.
- S902 When detecting target hotspot information matching the preset hotspot information, determine the location information of the terminal device according to the target hotspot information.
- S903 Determine whether the location information remains unchanged within the second preset duration.
- the method further includes:
- step S904 may be executed
- step S901 can be returned to continue to detect hotspot information.
- S904 Determine whether the location information is within a preset location range.
- the method further includes:
- step S905 may be executed;
- step S901 If the location information is not within the preset location range, return to step S901 to continue to detect hotspot information.
- the terminal device can also determine the relative distance between the terminal device and the target hot spot according to the signal strength of the target hot spot information, as the position information of the terminal device, and determine whether the position information is in the preset state according to the signal strength. Set the location within the range, if you are at the time, start the payment function corresponding to the target hotspot information. Therefore, it is not necessary to calculate the absolute distance between the terminal device and the target hot spot, which reduces the computational complexity and improves the computational efficiency.
- FIG. 10 shows a terminal payment method provided by an embodiment of the present application, and the method includes: S1001 to S1005.
- the terminal device can obtain the signal strength of the target hotspot information.
- S1003 Determine the location information of the terminal device according to the signal strength.
- the mapping relationship between the signal strength and the distance value is stored in advance, and the distance value corresponding to the signal strength can be determined according to the signal strength, and the distance value is used as the location information of the terminal device.
- the distance value corresponding to the signal strength represents the relative distance between the terminal device and the target hot spot.
- S1004 Determine whether the signal strength exceeds a preset signal strength.
- the preset signal strength may be a program preset or user-defined, and the preset signal strength may be used to determine the scale of the judgment of the scene or the user's payment intention. After the signal strength exceeds the preset signal strength, the payment function corresponding to the target hot spot information is activated, so it can be understood that, on the one hand, the higher the preset signal strength, the closer the terminal device is to the target hot spot, which can increase the user's intention to pay On the other hand, the lower the preset signal strength, the farther the terminal device is from the target hot spot, which can speed up the judgment efficiency.
- the preset signal strength may be determined according to the distance value corresponding to the preset location range, so that whether the location information is within the preset location range can be determined by determining whether the signal strength exceeds the preset signal strength.
- the preset location range is within 10 meters from the target hot spot, and the corresponding distance value is 10 meters.
- the preset signal strength may be the signal strength that the terminal device can detect at a distance of 10 meters from the target hot spot, such as -60dbm.
- the method further includes:
- step S1005 may be executed
- step S1001 If the signal strength does not exceed the preset signal strength, return to step S1001 to continue to detect hot spot information.
- FIG. 11 shows a method flowchart of a terminal payment method provided by an embodiment of the present application, and the method includes: S1101 to S1105.
- S1102 Acquire environment information when detecting target hotspot information that matches the preset hotspot information.
- S1103 Determine whether the environmental information matches the target hotspot information.
- the environmental information includes an environmental sound signal, where the environmental sound signal may include a specific sound signal related to the scene.
- the specific sound signal may be the sound of a bus opening the door, such as "dididi" Wait. , Sound signals of buses passing by, etc.
- the specific implementation for determining whether the environmental information matches the target hotspot information is: determining whether the environmental sound signal matches the target hotspot information; if the environmental sound signal matches the target hotspot information, determining whether the environmental information matches the target hotspot information.
- the terminal device For example, if the SSID of the target hotspot information is BUS-WiFi, it can be considered that the terminal device is currently in a public transportation scene, obtains the ambient sound signal, and matches the specific sound signal corresponding to the target hotspot information. If there is a matching target specific sound signal, it can be determined The environmental information matches the target hotspot information, so that when the hotspot information of the bus is detected, the environmental sound signal can be obtained to further determine that the terminal device is currently in the bus scene, improve the accuracy of the scene judgment, and further improve the judgment of whether to start Efficiency, to improve payment efficiency when startup is needed, and reduce device power consumption when startup is not needed.
- the preset database may also store a specific sound signal corresponding to the preset hotspot information. After obtaining the environmental sound signal, it can be determined whether there is a specific sound signal corresponding to the target hotspot information. The signal matches the specific sound signal.
- the environmental information includes the environmental sound signal and the intensity change curve of the environmental sound signal.
- the specific implementation for judging whether the environmental information matches the target hot spot information is: judging whether the environmental sound signal matches the target hot spot information; if the environmental sound signal matches the target hot spot information, judging whether the intensity change curve matches the preset intensity change curve Matching; if the intensity change curve matches the preset intensity change curve, it is determined that the environmental information does not match the target hot spot information; if the intensity change curve does not match the preset intensity change curve, it is determined that the environmental information matches the target hot spot information.
- the environmental sound signal Because when the terminal device detects the hotspot information of the bus, the bus may just pass by the user.
- the user may not have the need to ride the bus, that is, there is no intention or need to pay for the bus. Therefore, through the environmental sound signal and the target hotspot When the information is matched, it continues to judge whether the intensity change curve of the environmental sound signal matches the preset intensity change curve, and when matching, for example, when the intensity change curve conforms to the change rule from weak to strong and then weak, or from strong to weak , It is determined that the environmental information does not match the target hotspot information, and the subsequent steps of starting the payment function corresponding to the target hotspot information are not executed, thereby improving the accuracy of determining the user's intention, avoiding false triggers, further reducing power consumption, and improving overall usability.
- the specific implementation manner for judging whether the environmental sound signal matches the target hot spot information may be: performing voice recognition on the environmental sound signal to obtain the voice recognition result corresponding to the environmental sound signal; judging the voice recognition result and the target Whether the hotspot information matches.
- the terminal device can perform voice recognition on the environmental sound signal based on the existing voice recognition model, and obtain the voice recognition result.
- the preset database can store text information corresponding to the target hotspot information. The text information can include but not limited to "xxx has arrived", "please bring your luggage with you” and other bus scenes.
- S1104 If the environment information matches the target hotspot information, obtain the location information of the terminal device.
- the terminal payment device 1200 may include a hotspot detection module 1210, a location determination module 1220, and a function activation module 1230.
- the hot spot detection module 1210 is used to detect hot spot information
- the location determining module 1220 is configured to determine the location information of the terminal device according to the target hot spot information when the target hot spot information that matches the preset hot spot information is detected;
- the function activation module 1230 is configured to control the terminal device to activate the payment function corresponding to the target hotspot information when the location information meets a preset validity condition.
- the function initiation module 1230 may include: a category acquisition sub-module, a function determination sub-module, and a function initiation sub-module, wherein:
- the category acquisition sub-module is used to acquire the category corresponding to the target hotspot information
- the function determining sub-module is configured to determine the payment function corresponding to the target hot spot information according to the category corresponding to the target hot spot information;
- the function activation sub-module is used to control the terminal device to activate the payment function corresponding to the target hotspot information.
- the location determining module 1220 may include: a public transportation judgment sub-module and a public transportation initiation sub-module, wherein:
- the bus judgment sub-module is used to judge whether the category is a public transportation category
- the bus activation sub-module is used to activate the payment function corresponding to the category according to the judgment result.
- bus activation sub-module includes: a hotspot attribute acquisition unit, a first category activation unit, and a second category activation unit, wherein:
- a hotspot attribute obtaining unit configured to obtain the hotspot attribute of the target hotspot information if the category is a public transportation category
- the first category activation unit is configured to activate the payment function corresponding to the category according to the hotspot attribute.
- the second category activation unit is used to activate the payment function corresponding to the category if the category is not a public transportation category
- the hotspot attribute includes the geographic location of the target hotspot information
- the first category activation unit includes: a geographic location activation subunit, configured to activate the payment function corresponding to the category according to the geographic location.
- the location determining module 1220 includes: a hotspot location acquiring sub-module, a first location determining sub-module, a signal strength acquiring sub-module, a second location determining sub-module, an environmental information acquiring sub-module, an environmental information matching sub-module, and a location information acquiring sub-module Sub-modules, where:
- the hotspot location acquisition sub-module is used to obtain the hotspot location of the target hotspot information
- the first location determining sub-module is configured to determine location information of the terminal device according to the location of the hotspot.
- the signal strength acquisition sub-module is used to acquire the signal strength of the target hot spot information when the target hot spot information matching the preset hot spot information is detected;
- the second location determining sub-module is configured to determine location information of the terminal device according to the signal strength.
- the environmental information acquisition sub-module is used to acquire environmental information when the target hotspot information matching the preset hotspot information is detected;
- the environmental information matching sub-module is used to determine whether the environmental information matches the target hotspot information
- the location information acquisition sub-module is used to match the environment information with the target hotspot information to acquire the location information of the terminal device.
- the environmental information includes environmental sound signals
- the environmental information matching sub-module includes: a sound signal matching unit and a sound signal judging unit, wherein:
- the sound signal matching unit is used to determine whether the environmental sound signal matches the target hot spot information
- the sound signal determining unit is configured to determine that the environmental information matches the target hot spot information if the environmental sound signal matches the target hot spot information.
- the environmental information includes an environmental sound signal and an intensity change curve of the environmental sound signal
- the environmental information matching sub-module may further include: an intensity curve matching unit, an intensity curve matching unit, a first curve determination unit, and a second curve Judgment unit, where:
- An intensity curve matching unit configured to determine whether the intensity change curve matches a preset intensity change curve if the environmental sound signal matches the target hot spot information
- the first curve determination unit is configured to determine that the environmental information does not match the target hot spot information if the intensity change curve matches a preset intensity change curve;
- the second curve determination unit is configured to determine that the environment information matches the target hot spot information if the intensity change curve does not match the preset intensity change curve.
- the sound signal matching unit includes: an environmental voice recognition subunit and an environmental voice matching subunit, wherein:
- the environmental voice recognition subunit is configured to perform voice recognition on the environmental sound signal, and obtain a voice recognition result corresponding to the environmental sound signal;
- the environmental voice matching subunit is used to determine whether the voice recognition result matches the target hot spot information.
- the first location determination sub-module includes: a hot-spot location determination sub-module and a hot-spot location determination sub-module, wherein:
- the hotspot location judging sub-module is used to determine whether the hotspot location remains unchanged within the first preset duration
- the hotspot location determining sub-module is configured to determine the location information of the terminal device according to the hotspot location if the hotspot location remains unchanged within the first preset duration.
- the function activation module 1230 may include: a range judgment sub-module and a range determination sub-module, wherein:
- the range judgment sub-module is used to judge whether the position information is within a preset position range
- the range activation sub-module is configured to control the terminal device to activate the payment function corresponding to the target hotspot information if the location information is within the preset location range.
- the range judgment sub-module includes: a hot spot location acquisition unit, a first hot spot judgment unit, a second hot spot judgment unit, a first signal strength unit, and a second signal strength unit, wherein:
- a hotspot location acquiring unit for acquiring the hotspot location of the target hotspot information
- the first hot spot determining unit is configured to determine whether the location information is within a preset location range when the location of the hot spot remains unchanged for a first preset duration.
- the second hot spot judging unit is configured to judge whether the location information is within a preset location range when the location information remains unchanged for a second preset duration.
- the first signal strength unit is configured to determine that the location information is within a preset location range when the signal strength exceeds a preset signal strength
- the second signal strength unit is configured to determine that the location information is not within the preset location range when the signal strength does not exceed the preset signal strength.
- the range activation sub-module includes: a stay time acquisition unit, a stay time judgment unit, and a stay timeout activation unit, wherein:
- the stay time acquisition unit is configured to, if the location information is within the preset location range, acquire the duration of the location information within the preset location range as the stay time;
- the stay time judging unit is used to judge whether the stay time exceeds a preset time threshold
- the stay overtime activation unit is configured to control the terminal device to activate the payment function corresponding to the target hotspot information if the stay time exceeds a preset time threshold.
- the staying time judging unit includes: a hotspot location acquisition subunit and a staying time judging subunit, wherein:
- the staying time judging subunit is used for judging whether the staying time exceeds a preset time threshold when the location of the hot spot remains unchanged within the first preset duration.
- the terminal payment device provided in the embodiment of the present application is used to implement the corresponding terminal payment method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
- the coupling between the modules may be electrical, mechanical or other forms of coupling.
- each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
- the above-mentioned integrated modules can be implemented in the form of hardware or software function modules.
- the terminal device 1300 may be a terminal device capable of running application programs, such as a smart phone, a tablet computer, or a wearable electronic device.
- the terminal device 1300 in this application may include one or more of the following components: a processor 1310, a memory 1320, and one or more application programs, where one or more application programs may be stored in the memory 1320 and configured to be configured by One or more processors 1310 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
- the processor 1310 may include one or more processing cores.
- the processor 1310 uses various interfaces and lines to connect various parts of the entire terminal device 1300, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1320, and calling data stored in the memory 1320.
- the processor 1310 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PLA Programmable Logic Array
- the processor 1310 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
- the CPU mainly processes the operating system, user interface, and application programs;
- the GPU is used for rendering and drawing of display content;
- the modem is used for processing wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1310, but may be implemented by a communication chip alone.
- the memory 1320 may include random access memory (RAM) or read-only memory (Read-Only Memory).
- the memory 1320 may be used to store instructions, programs, codes, code sets, or instruction sets.
- the memory 1320 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions used to implement the following various method embodiments, etc.
- the storage data area can also store data created by the terminal device 1300 during use (such as phone book, audio and video data, chat record data) and the like.
- each unit in the terminal payment device shown in FIG. 12 is used as a function module such as a program package, each unit in the terminal payment device is stored in the memory 1320 and can be called by the processor to perform corresponding functions.
- FIG. 14 shows a structural block diagram of a computer readable storage medium provided by an embodiment of the present application.
- the computer readable storage medium 1400 stores program code, and the program code can be invoked by a processor to execute the method described in the foregoing method embodiment.
- the computer readable storage medium 1400 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
- the computer-readable storage medium 1400 includes a non-transitory computer-readable storage medium.
- the computer readable storage medium 1400 has storage space for the program code 1410 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products.
- the program code 1410 may be compressed in a suitable form, for example.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (20)
- 一种终端支付方法,应用于终端设备,其特征在于,包括:检测热点信息;当检测到与预设热点信息匹配的目标热点信息时,根据所述目标热点信息,确定所述终端设备的位置信息;在所述位置信息满足预设有效条件时,控制所述终端设备控制所述终端设备启动与所述目标热点信息对应的支付功能。
- 根据权利要求1所述的方法,其特征在于,所述控制所述终端设备启动与所述目标热点信息对应的支付功能,包括:获取所述目标热点信息对应的类别;根据所述目标热点信息对应的类别,确定所述目标热点信息对应的支付功能;控制所述终端设备启动与所述目标热点信息对应的支付功能。
- 根据权利要求2所述的方法,其特征在于,所述根据所述目标热点信息对应的类别,确定所述目标热点信息对应的支付功能,包括:判断所述类别是否为公共交通类别;根据判断结果,启动所述类别对应的支付功能。
- 根据权利要求3所述的方法,其特征在于,所述根据判断结果,启动所述类别对应的支付功能,包括:若所述类别为公共交通类别,获取所述目标热点信息的热点属性;根据所述热点属性,启动所述类别对应的支付功能。
- 根据权利要求4所述的方法,其特征在于,所述热点属性包括所述目标热点信息的地理位置,所述根据所述热点属性,启动所述类别对应的支付功能,包括:根据所述地理位置,启动所述类别对应的支付功能。
- 根据权利要求3所述的方法,其特征在于,所述根据判断结果,启动所述类别对应的支付功能,包括:若所述类别不为公共交通类别,启动所述类别对应的支付功能。
- 根据权利要求1至6任一所述的方法,其特征在于,所述当检测到与预设热点信息匹配的目标热点信息时,根据所述目标热点信息,确定所述终端设备的位置信息,包括:获取目标热点信息的热点位置;根据所述热点位置,确定所述终端设备的位置信息。
- 根据权利要求7所述的方法,其特征在于,所述根据所述热点位置,确定所述终端设备的位置信息,包括:判断所述热点位置是否在第一预设持续时间内保持不变;若所述热点位置在第一预设持续时间内保持不变,根据所述热点位置,确定所述终端设备的位置信息。
- 根据权利要求1至6任一所述的方法,其特征在于,所述当检测到与预设热点信息匹配的目标热点信息时,根据所述目标热点信息,确定所述终端设备的位置信息,包括:当检测到与预设热点信息匹配的目标热点信息时,获取所述目标热点信息的信号强度;根据所述信号强度,确定所述终端设备的位置信息。
- 根据权利要求1至9任一所述的方法,其特征在于,所述在所述位置信息满足预设有效条件时,控制所述终端设备启动与所述目标热点信息对应的支付功能,包括:判断所述位置信息是否处于预设位置范围内;若所述位置信息处于预设位置范围内,控制所述终端设备启动与所述目标热点信息对应的支付功能。
- 根据权利要求10所述的方法,其特征在于,所述判断所述位置信息是否处于预设位置范围内,包括:获取所述目标热点信息的热点位置;在所述热点位置在第一预设持续时间内保持不变时,判断所述位置信息是否处于预设位置范围内。
- 根据权利要求10或11所述的方法,其特征在于,所述若所述位置信息处于预设位置范围内,控制所述终端设备启动与所述目标热点信息对应的支付功能,包括:若所述位置信息处于预设位置范围内,获取所述位置信息处于预设位置范围内的持续时间,作为停留时间;判断所述停留时间是否超过预设时间阈值;若所述停留时间超过预设时间阈值,控制所述终端设备启动与所述目标热点信息对应的支付功能。
- 根据权利要求10所述的方法,其特征在于,所述判断所述位置信息是否处于预设位置范围内,包括:在所述位置信息在第二预设持续时间内保持不变时,判断所述位置信息是否处于预设位置范围内。
- 根据权利要求10所述的方法,其特征在于,所述判断所述位置信息是否处于预设位置范围内,包括:在所述信号强度超过预设信号强度时,判定所述位置信息处于预设位置范围内;在所述信号强度未超过预设信号强度时,判定所述位置信息不处于预设位置范围内。
- 根据权利要求1所述的方法,其特征在于,所述当检测到与预设热点信息匹配的目标热点信息时,根据所述目标热点信息,确定所述终端设备的位置信息,包括:当检测到与预设热点信息匹配的目标热点信息时,获取环境信息;判断所述环境信息与所述目标热点信息是否匹配;若所述环境信息与所述目标热点信息匹配,获取所述终端设备的位置信息。
- 根据权利要求15所述的方法,其特征在于,所述环境信息包括环境声音信号,所述判断所述环境信息与所述目标热点信息是否匹配,包括:判断所述环境声音信号与所述目标热点信息是否匹配;若所述环境声音信号与所述目标热点信息匹配,判定所述环境信息与所述目标热点信息匹配。
- 根据权利要求15所述的方法,其特征在于,所述环境信息包括环境声音信号和所述环境声音信号的强度变化曲线,所述判断所述环境信息与所述目标热点信息是否匹配,包括:判断所述环境声音信号与所述目标热点信息是否匹配;若所述环境声音信号与所述目标热点信息匹配,判断所述强度变化曲线与预设强度变化曲线是否匹配;若所述强度变化曲线与预设强度变化曲线匹配,判定所述环境信息与所述目标热点信息不匹配;若所述强度变化曲线与预设强度变化曲线不匹配,判定所述环境信息与所述目标热点信息匹配。
- 一种终端支付装置,应用于终端设备,其特征在于,包括:热点检测模块,用于检测热点信息;位置确定模块,用于当检测到与预设热点信息匹配的目标热点信息时,根据所述目标热点信息,确定所述终端设备的位置信息;功能启动模块,用于在所述位置信息满足预设有效条件时,控制所述终端设备启动与所述目标热点信息对应的支付功能。
- 一种终端设备,其特征在于,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-17任一项所述的方法。
- 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-17任一项所述的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201980099149.0A CN114223222B (zh) | 2019-10-18 | 2019-10-18 | 终端支付方法、装置、终端设备及计算机可读取存储介质 |
PCT/CN2019/112031 WO2021072775A1 (zh) | 2019-10-18 | 2019-10-18 | 终端支付方法、装置、终端设备及计算机可读取存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/112031 WO2021072775A1 (zh) | 2019-10-18 | 2019-10-18 | 终端支付方法、装置、终端设备及计算机可读取存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021072775A1 true WO2021072775A1 (zh) | 2021-04-22 |
Family
ID=75538196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/112031 WO2021072775A1 (zh) | 2019-10-18 | 2019-10-18 | 终端支付方法、装置、终端设备及计算机可读取存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114223222B (zh) |
WO (1) | WO2021072775A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113298212A (zh) * | 2021-05-25 | 2021-08-24 | 艾酷软件技术(上海)有限公司 | 图形码显示方法及装置 |
CN115668989A (zh) * | 2021-04-23 | 2023-01-31 | 荣耀终端有限公司 | 一种场景识别方法及电子设备 |
WO2023045628A1 (zh) * | 2021-09-22 | 2023-03-30 | Oppo广东移动通信有限公司 | 模拟卡激活方法、装置、终端和存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327444A (zh) * | 2012-03-23 | 2013-09-25 | 联想(北京)有限公司 | 一种基于位置信息的解锁方法和移动电子设备 |
CN106127555A (zh) * | 2016-06-24 | 2016-11-16 | 付韶明 | 一种多功能电子商务终端设备 |
CN107833041A (zh) * | 2017-09-28 | 2018-03-23 | 高斯贝尔数码科技股份有限公司 | 一种基于智能手机的公交支付系统 |
CN108093367A (zh) * | 2017-12-13 | 2018-05-29 | 广东欧珀移动通信有限公司 | 基于定位模块的控制方法、装置、存储介质及移动终端 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600262A (zh) * | 2016-11-21 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | 一种根据不同wifi自动调整支付方式的系统及方法 |
CN108604342B (zh) * | 2017-01-20 | 2022-04-12 | 华为技术有限公司 | 基于nfc进行数据传输的方法及移动设备 |
CN108288154B (zh) * | 2018-01-09 | 2021-01-08 | 维沃移动通信有限公司 | 一种支付应用程序的启动方法、装置及移动终端 |
CN109979045B (zh) * | 2018-12-21 | 2021-08-06 | 维沃移动通信有限公司 | 一种信息输出方法及终端设备 |
-
2019
- 2019-10-18 WO PCT/CN2019/112031 patent/WO2021072775A1/zh active Application Filing
- 2019-10-18 CN CN201980099149.0A patent/CN114223222B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327444A (zh) * | 2012-03-23 | 2013-09-25 | 联想(北京)有限公司 | 一种基于位置信息的解锁方法和移动电子设备 |
CN106127555A (zh) * | 2016-06-24 | 2016-11-16 | 付韶明 | 一种多功能电子商务终端设备 |
CN107833041A (zh) * | 2017-09-28 | 2018-03-23 | 高斯贝尔数码科技股份有限公司 | 一种基于智能手机的公交支付系统 |
CN108093367A (zh) * | 2017-12-13 | 2018-05-29 | 广东欧珀移动通信有限公司 | 基于定位模块的控制方法、装置、存储介质及移动终端 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115668989A (zh) * | 2021-04-23 | 2023-01-31 | 荣耀终端有限公司 | 一种场景识别方法及电子设备 |
CN115668989B (zh) * | 2021-04-23 | 2024-04-02 | 荣耀终端有限公司 | 一种场景识别方法及电子设备 |
CN113298212A (zh) * | 2021-05-25 | 2021-08-24 | 艾酷软件技术(上海)有限公司 | 图形码显示方法及装置 |
WO2023045628A1 (zh) * | 2021-09-22 | 2023-03-30 | Oppo广东移动通信有限公司 | 模拟卡激活方法、装置、终端和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN114223222A (zh) | 2022-03-22 |
CN114223222B (zh) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111432339A (zh) | 近场通信卡片的切换方法、装置、存储介质及电子设备 | |
EP2790385B1 (en) | Electronic device and method for receiving geo-fence service with low power consumption | |
WO2021072775A1 (zh) | 终端支付方法、装置、终端设备及计算机可读取存储介质 | |
KR101844395B1 (ko) | 가상 현실 어플리케이션 | |
WO2019134591A1 (zh) | 一种电子交易的方法及终端 | |
WO2018133178A1 (zh) | 基于nfc进行数据传输的方法及移动设备 | |
US20200043490A1 (en) | Electronic device and method for determining electronic device to perform speech recognition | |
US20230098616A1 (en) | Method for Invoking NFC Application, Electronic Device, and NFC Apparatus | |
JP2017510104A (ja) | ワイヤレスネットワークのアクセスポイントに関連したエンティティの識別 | |
US10039079B2 (en) | Disabling access point notifications | |
KR20140092114A (ko) | 휴대단말에서 엔에프씨 기능 운용 방법 및 장치 | |
CN109101498B (zh) | 翻译方法、装置及移动终端 | |
US9565289B2 (en) | Mobile terminal and method of controlling the same | |
CN106503986B (zh) | 虚拟资源转移方法及装置 | |
CN108064024A (zh) | 基于定位模块的控制方法、装置、存储介质及移动终端 | |
CN108064023A (zh) | 基于定位模块的控制方法、装置、存储介质及移动终端 | |
KR102192157B1 (ko) | 검색 장소에 대한 관련 정보를 제공하는 전자 장치 및 방법 | |
WO2019223484A1 (zh) | 信息显示方法、装置、移动终端以及存储介质 | |
JP2014011546A (ja) | 情報提供システム、情報提供方法、プログラム、情報処理サーバ及び携帯端末 | |
US20140221047A1 (en) | Method and apparatus for providing short-cut number in user device | |
JP5782444B2 (ja) | セキュリティ制御機能を備えた情報通信端末、通信システム、及び当該端末が行う通信方法 | |
CN104320760B (zh) | 一种位置请求处理设备和方法和位置信息获取设备和方法 | |
CN105530332B (zh) | 位置信息的处理方法及装置 | |
WO2018076613A1 (zh) | 无线网络连接的流量控制方法、装置及可读取存储介质 | |
CN102957741A (zh) | 用于访问基于位置的服务的方法和设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19948981 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19948981 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19948981 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07/10/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19948981 Country of ref document: EP Kind code of ref document: A1 |