CN109660949B - Wireless scanning control method, device, mobile terminal and storage medium - Google Patents

Wireless scanning control method, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN109660949B
CN109660949B CN201910105424.7A CN201910105424A CN109660949B CN 109660949 B CN109660949 B CN 109660949B CN 201910105424 A CN201910105424 A CN 201910105424A CN 109660949 B CN109660949 B CN 109660949B
Authority
CN
China
Prior art keywords
mobile terminal
payment
wireless
broadcast data
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910105424.7A
Other languages
Chinese (zh)
Other versions
CN109660949A (en
Inventor
黄亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910105424.7A priority Critical patent/CN109660949B/en
Publication of CN109660949A publication Critical patent/CN109660949A/en
Application granted granted Critical
Publication of CN109660949B publication Critical patent/CN109660949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/325Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a wireless scanning control method, a wireless scanning control device, a mobile terminal and a storage medium. The method comprises the following steps: acquiring geographical position information of a mobile terminal; acquiring position characteristic information of a payment machine; determining the coverage range of the payment tool according to the position characteristic information; judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data. According to the method, whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not is judged, and whether the wireless module of the mobile terminal is started to scan the wireless broadcast data or not is determined according to the judgment result, so that the starting time length and the scanning time length of the wireless module can be reduced, and the power consumption of the mobile terminal is reduced.

Description

Wireless scanning control method, device, mobile terminal and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a wireless scanning control method and apparatus, a mobile terminal, and a storage medium.
Background
With the rapid development of communication technology, many new technologies emerge in the mobile payment industry, payment can be completed rapidly by opening the wireless module of the mobile phone, user operation during payment is omitted, and great convenience is brought to users for using mobile payment functions. However, improper control of the wireless module can cause power consumption problems for the handset.
Disclosure of Invention
In view of the foregoing, the present application provides a wireless scanning control method, apparatus, mobile terminal and storage medium to achieve an improvement of the foregoing problems.
In a first aspect, an embodiment of the present application provides a wireless scanning control method, which is applied to a mobile terminal, and the method includes: acquiring geographical position information of a mobile terminal; acquiring position characteristic information of a payment machine; determining the coverage range of the payment tool according to the position characteristic information; judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data.
In a second aspect, an embodiment of the present application provides a wireless scanning control apparatus, which operates in a mobile terminal, and the apparatus includes: the first acquisition module is used for acquiring the geographical position information of the mobile terminal; the second acquisition module is used for acquiring the position characteristic information of the payment machine; the range determining module is used for determining the coverage range of the payment machine tool according to the position characteristic information; the judging module is used for judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; and the wireless control module is used for controlling the mobile terminal to start the wireless module to scan the wireless broadcast data if the matching is judged.
In a third aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of the first aspect described above.
In a fourth aspect, the present application provides a computer-readable storage medium having program code stored therein, wherein the method of the first aspect is performed when the program code is executed.
According to the wireless scanning control method, the wireless scanning control device, the mobile terminal and the storage medium, geographical position information of the mobile terminal is obtained; then obtaining position characteristic information of the payment machine tool; then determining the coverage range of the payment machine tool according to the position characteristic information; then judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data. According to the method, whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not is judged, and whether the wireless module of the mobile terminal is started to scan the wireless broadcast data or not is determined according to the judgment result, so that the starting time length and the scanning time length of the wireless module can be reduced, and the power consumption of the mobile terminal is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows an application environment diagram of a wireless scanning control method provided by an embodiment of the present application.
Fig. 2 is a flowchart illustrating a method for controlling wireless scanning applied to a mobile terminal according to an embodiment of the present application.
Fig. 3 shows a flowchart of the method of step S140 in fig. 2.
Fig. 4 is a diagram illustrating an example of a positional relationship of a mobile terminal to a coverage of a payment instrument in the method of fig. 3.
Fig. 5 is another exemplary diagram of the positional relationship of the mobile terminal to the coverage of the payment instrument in the method of fig. 3.
Fig. 6 is a flowchart illustrating a method for controlling wireless scanning applied to a mobile terminal according to another embodiment of the present application.
Fig. 7 illustrates an example of the method of step S260 in fig. 6.
Fig. 8 is a flowchart illustrating a method for controlling wireless scanning applied to a mobile terminal according to another embodiment of the present application.
Fig. 9 is a flowchart illustrating a method of controlling wireless scanning applied to a mobile terminal according to still another embodiment of the present application.
Fig. 10 is a flowchart illustrating a method of controlling wireless scanning applied to a mobile terminal according to still another embodiment of the present application.
Fig. 11 shows a block diagram of a wireless scanning control apparatus operating in a mobile terminal according to an embodiment of the present application.
Fig. 12 is a block diagram illustrating a wireless scanning control apparatus operating in a mobile terminal according to another embodiment of the present application.
Fig. 13 is a block diagram illustrating a wireless scanning control apparatus operating in a mobile terminal according to still another embodiment of the present application.
Fig. 14 is a block diagram illustrating a wireless scanning control apparatus operating in a mobile terminal according to still another embodiment of the present application.
Fig. 15 is a block diagram illustrating a wireless scanning control apparatus operating in a mobile terminal according to still another embodiment of the present application.
Fig. 16 shows a block diagram of a mobile terminal provided in the present application.
Fig. 17 is a storage unit for storing or carrying a program code implementing a wireless scanning control method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of internet technology, electronic payment without relying on cash is becoming a favored payment method. Generally, in electronic payment, a user needs to take out a mobile terminal for payment to perform payment operation, for example, take out a mobile phone and call out a payment two-dimensional code for scanning, take out the mobile phone, enter a code scanning interface to scan a merchant collection two-dimensional code, take out a bank card, and pay for a cashier through a card swiping machine. In the electronic payment processes, the user needs to take out the mobile terminal for payment and perform corresponding operations, and the whole payment process is time-consuming.
In order to improve the payment speed, shorten the payment time and reduce the cost of a merchant accessing a payment platform, the non-inductive payment can be carried out through the biological characteristic information of the user, for example, the non-inductive payment can be realized through the biological characteristic information which can carry out unique identification on the identity of the user, such as the face, the fingerprint, the palm print, the iris and the like of the user.
As one way, the user can implement the senseless payment by turning on the wireless module of the mobile terminal for payment. When the user is paying, can directly provide corresponding biological characteristic information on the payment machine that the trade company provided, if when paying through the people face, the user provides the face and provides face collection equipment collection on the payment machine prerequisite to accomplish the payment, thereby do not need the user additionally to take out the equipment that is used for payment such as cell-phone, the payment speed is faster, and it is more simple and convenient to operate.
However, when the wireless module of the mobile terminal is used to realize the non-inductive payment of the mobile terminal, the problem of high power consumption is still caused. On one hand, in order to ensure that the user can pay in time, when the user clicks to enter the payment application program of the mobile terminal, the wireless module of the mobile terminal is also started at the same time (in this case, the user only needs to synchronously start the wireless module authorization when entering the payment application program, and when entering the payment application program again, the wireless module of the mobile terminal can be automatically started); on the other hand, when the user is paying, if the communication quality is not good or the mobile data network is not good, the wireless module of the mobile terminal needs to scan repeatedly to acquire the payment information, and then payment is completed.
According to the using characteristics of the user on the mobile terminal and the off-line shopping characteristics, the inventor finds that if the wireless module of the mobile terminal is started under the condition that the user is determined to enter the vicinity of the payment machine, the power consumption of the mobile terminal can be saved. Therefore, the inventors have conducted a careful study on how to turn on the wireless module timely in a payment environment to reduce power consumption.
The inventor finds that in the process of realizing the non-inductive payment by starting the wireless module, when the situation that the user enters the vicinity of the payment machine is determined, the mobile terminal is triggered to start the wireless module to scan the broadcast data, the scanning duration of the wireless module can be effectively reduced, and the power consumption is further reduced. Further, the inventor finds that, when a user enters the vicinity of the payment device, if the data network switch of the mobile terminal is not turned on, even if the wireless module scans a data packet of broadcast data sent by the payment device to obtain the device identifier of the payment device, the obtained device identifier and the payment account number bound by the wireless module still cannot be sent to the payment server, and further payment cannot be successful.
Therefore, the inventor provides a wireless scanning control method, a wireless scanning control device, a mobile terminal and a storage medium provided by the embodiment of the application, and the wireless scanning control method provided by the embodiment of the application enables the wireless module of the mobile terminal to be turned on again under the condition that the mobile terminal enters the vicinity of a payment machine, so that the turning-on duration and the scanning duration of the wireless module can be reduced, and the power consumption of the mobile terminal is reduced.
The following first describes an application environment related to the wireless scanning control method and apparatus provided in the embodiments of the present application.
Referring to fig. 1, the application environment of fig. 1 includes a mobile terminal 100, a payment instrument 200, and a payment server 300. The mobile terminal 100 may be a mobile phone or a tablet computer, and the mobile terminal 100 stores a payment account pre-bound by a user. The payment tool 200 is used for collecting the biometric information of the user and transmitting the biometric information to the payment server 300, and the payment server 300 is used for completing the payment operation according to the received biometric information.
During operation of the system, the payment instrument 200 may transmit broadcast data in a set wireless communication mode, wherein the dashed circle around the payment instrument 200 in fig. 1 represents the coverage of the broadcast data transmitted by the payment instrument 200. Optionally, the wireless communication mode includes a bluetooth BLE mode or a Wi-Fi Aware mode. Accordingly, the mobile terminal 100 may search for a nearby wireless signal in a set wireless communication mode, so that when the mobile terminal 100 comes within the range of the dotted circle shown in fig. 1, the broadcast data transmitted by the payment instrument 200 may be received.
As one mode, after the mobile terminal 100 receives the broadcast data sent by the payment instrument 200, the mobile terminal 100 may establish a wireless connection with the payment instrument 200 based on a currently used wireless communication mode, and after the wireless connection is established, the mobile terminal 100 may obtain a device identifier that uniquely identifies the payment instrument 200 from the data stored in the payment instrument 200. As another way, in order to reduce the power consumption of the mobile terminal 100, the payment appliance 200 may carry its own device identifier in the broadcast data sent by itself, so that after receiving the broadcast data sent by the payment appliance 200, the mobile terminal 100 may obtain the device identifier of the payment appliance 200 that sent the broadcast data from the broadcast data.
Alternatively, after acquiring the device identifier of the payment instrument 200, the mobile terminal 100 may transmit the acquired device identifier and the own stored payment account number to the payment server 300 through the base station 310 and the gateway 311 of the mobile communication network. Further, the mobile terminal 100 may also transmit the acquired device identification and its own stored payment account number to the payment server 300 through the wireless hotspot 320. When the payment server 300 receives the device identifier and the payment account sent by the mobile terminal 100, the device identifier and the payment account are bound, so as to represent that the user of the payment account is near the payment tool to which the device identifier belongs. Furthermore, when the payment tool 200 sends the collected biometric information to the payment server 300 during the payment process, the payment server 300 may complete the payment operation of the payment account number under the condition that the payment account number corresponding to the biometric information is verified to be bound with the device identifier of the payment tool.
Based on the above-described application environment, embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, an embodiment of the present application provides a wireless scanning control method applied to a mobile terminal, where the method includes:
step S110: and acquiring the geographical position information of the mobile terminal.
The geographic location information may include longitude and latitude or a geographic location coordinate of a geographic location corresponding to a current environment of the mobile terminal, and as one mode, the mobile terminal may obtain the geographic location information of the current environment of the mobile terminal through a satellite navigation System, such as a Global Positioning System (GPS), and as another mode, the mobile terminal may also obtain the geographic location information of the current environment of the mobile terminal through base station Positioning.
Optionally, the mobile terminal may be configured with a location function control having a geographic location positioning function, so that when the location function control is in an open state, the mobile terminal may obtain geographic location information of an environment where the mobile terminal is located in real time according to GPS or base station positioning. Moreover, the progress of the payment application program of the mobile terminal can be associated with the position function control of the mobile terminal, and when the payment application program is detected to be started by the mobile terminal, the position function control of the mobile terminal is started at the same time, so that the geographic position information of the current environment of the mobile terminal is obtained.
It is understood that the position of the mobile terminal changes with the movement of the user's body, and when the user's body moves, the mobile terminal can obtain updated geographical location information obtained by GPS or base station positioning, etc.
Step S120: and acquiring position characteristic information of the payment machine.
The position characteristic information may include a geographical position of the payment instrument, or a signal strength of the broadcast data transmitted by the payment instrument and the geographical position of the payment instrument, or other position characteristic information that may represent a corresponding position of an environment in which the payment instrument is located. As one way, the mobile terminal may store the historically acquired position feature information of the payment instrument, so that the mobile terminal may acquire the position feature information of the payment instrument from the local.
As another mode, the database of the payment server may store the position characteristic information of all the payment machines, where the payment server may be one server (network access server), a server cluster (cloud server) composed of several servers, or a cloud computing center (database server). In order to facilitate accurate acquisition of the position characteristic information of the payment machine, the mobile terminal may integrate a position acquisition function component of a third party (or a merchant platform), and the position acquisition function component may be invoked to request the payment server to acquire the position characteristic information of one or more payment machines. By way of example, the location acquisition function component can be an SDK (software Development kit) plug-in.
For example, in one implementation, the position obtaining function component may be integrated into a payment application program of the mobile terminal, and when it is detected that the payment application program of the mobile terminal is started, the position obtaining function component may also be started at the same time, and then a request for obtaining position characteristic information of the payment instrument is sent to the payment server, so that the mobile terminal may obtain the position characteristic information of the payment instrument. Optionally, the mobile terminal may request the payment server to acquire the position feature information of all the payment instruments stored in the database of the payment server, or may request the payment server to acquire the position feature information of the payment instruments in the current environment area where the mobile terminal is located.
Specifically, the mobile terminal can call the integrated position acquisition function component to send a position characteristic information acquisition request of the payment machine tool to the payment server, the payment server receives the acquisition request, searches the position characteristic information of all the payment machine tools stored in the database, and returns the searched position characteristic information of the payment machine tool to the mobile terminal; furthermore, when the mobile terminal calls the integrated location obtaining functional component to send a location characteristic information obtaining request of the payment implement to the payment server, the location characteristic information obtaining request may carry a geographic location information identifier of the mobile terminal, for example, a geographic location identifier of an environment where the mobile terminal is located, and then when the payment server receives the obtaining request, the location characteristic information of the payment implement that is closer to the geographic location corresponding to the environment where the mobile terminal is currently located or within a specific range (for example, within 0.5km, within 1km, and the like) may be screened out according to the geographic location identifier of the mobile terminal and returned to the mobile terminal.
As a way, the positions of the payment machines of the merchants are fixed, so the position characteristic information of the payment machines is generally not changed, but for some merchants, if the placement positions of the payment machines are adjusted due to operation needs and the like, the position characteristic information of the payment machines may also be changed, in this case, the payment machines can feed back the position characteristic change data to the payment server in real time, and correspondingly, the payment server can push the latest position characteristic information of the payment machines to the mobile terminal after detecting that the position characteristic information of the payment machines is changed; in addition, the payment server can also push a prompt message for updating the position characteristic information of the payment machine to the mobile terminal, so that the mobile terminal can obtain the updated position characteristic information of the payment machine in time.
Optionally, the mobile terminal may obtain the position characteristic information of the payment instrument periodically, for example, once a week or once a day, and store the position characteristic information of the payment instrument obtained each time in a specific format. In addition, the mobile terminal can also acquire the updated position characteristic information of the payment machine tool in real time.
Step S130: and determining the coverage range of the payment machine tool according to the position characteristic information.
As mentioned above, the position characteristic information of the payment instrument includes the geographical position of the payment instrument, or includes the signal strength of the broadcast data transmitted by the payment instrument and the geographical position of the payment instrument. Then, after the mobile terminal acquires the position characteristic information of the payment instrument, the coverage of the payment instrument can be further determined according to the position characteristic information.
As one way, if the location characteristic information is the geographic location of the payment instrument, the mobile terminal may determine the coverage of the payment instrument according to the geographic location of the payment instrument. Specifically, the mobile terminal may obtain the longitude and latitude of the position where the payment instrument is located according to the geographic position of the payment instrument, and use the distance within the radiation range of the specified length radius of the longitude and latitude as the coverage range of the payment instrument, for example, use the distance within the radiation range of 500 meters radius of the longitude and latitude as the coverage range of the payment instrument. In addition, the mobile terminal can also determine the coverage range of the payment instrument according to the geographic position of the payment instrument and the nearby landmark, for example, if the geographic position of the payment instrument is nearby the parking lot, the coverage range of the parking lot within 500 meters can be determined as the coverage range of the payment instrument by combining with a parking lot, and in this case, when the user enters the parking lot within 500 meters, the non-inductive payment can be completed.
As another mode, if the location characteristic information is the signal strength of the broadcast data sent by the payment machine and the geographic location of the payment machine, the mobile terminal may determine the coverage area of the payment machine according to the geographic location of the payment machine in combination with the signal strength of the broadcast data sent by the payment machine. Specifically, the mobile terminal can determine the transmission distance of the broadcast data sent by the payment machine tool according to the signal strength of the broadcast data sent by the payment machine tool, and then determine the coverage area of the payment machine tool according to the transmission distance and the geographic position of the payment machine tool. For example, the mobile terminal may determine a circular range by taking the geographic location of the payment instrument as a center of a circle and taking the transmission distance of the broadcast data sent by the payment instrument as the radius of the circle, and the circular range may be used as the coverage of the payment instrument.
Step S140: and judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not.
Referring to fig. 3, as an alternative, step S140 may include:
step S141: and judging whether the distance between the geographic position represented by the geographic position information of the mobile terminal and the geographic position of the payment machine tool is smaller than the coverage range of the payment machine tool or not.
And judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool by judging whether the distance between the position represented by the geographic position information of the mobile terminal and the geographic position of the payment machine tool is smaller than the acquired coverage range of the payment machine tool.
Step S142: and if the geographic position information is smaller than the coverage range of the payment tool, judging that the geographic position information of the mobile terminal is matched with the coverage range of the payment tool.
It can be understood that if the distance is smaller than the coverage of the payment instrument, it can be determined that the mobile terminal is within the coverage of the payment instrument, as shown in fig. 4, a solid circle around the payment instrument 200 represents the geographic location coverage of the payment instrument, the distance between the geographic location represented by the geographic location information of the mobile terminal 100 and the geographic location of the payment instrument 200 is smaller than the coverage of the payment instrument 200, and the mobile terminal 100 is located in the solid circle around the payment instrument 200, so that it can be determined that the geographic location information of the mobile terminal matches the coverage of the payment instrument.
If the value is not less than the coverage of the payment instrument, it can be determined that the mobile terminal is out of the coverage of the payment instrument, as shown in fig. 5, a solid circle around the payment instrument 200 represents the coverage of the geographic position of the payment instrument, a distance between the geographic position represented by the geographic position information of the mobile terminal 100 and the geographic position of the payment instrument 200 is not less than the coverage of the payment instrument 200, and the mobile terminal 10 is out of the solid circle around the payment instrument 200, so that it can be determined that the geographic position information of the mobile terminal is not matched with the coverage of the payment instrument.
Step S150: and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data.
When the wireless broadcast data is judged to be matched with the payment machine, the mobile terminal is controlled to start the wireless module to scan the wireless broadcast data sent by the payment machine, so that the starting time of the wireless module of the mobile terminal can be shortened, and the scanning time of the wireless module on the wireless broadcast data sent by the payment machine can be shortened.
In the wireless scanning control method provided by the embodiment, geographical position information of a mobile terminal is acquired; then obtaining position characteristic information of the payment machine tool; then determining the coverage range of the payment machine tool according to the position characteristic information; then judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data. Whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine or not is judged, and whether the wireless module of the mobile terminal is started to scan the wireless broadcast data or not is determined according to the judgment result, so that the starting time and the scanning time of the wireless module can be reduced, and the power consumption of the mobile terminal is reduced.
Referring to fig. 6, another embodiment of the present application provides a wireless scanning control method applied to a mobile terminal, where the method includes:
step S210: and acquiring the geographical position information of the mobile terminal.
Step S220: and acquiring position characteristic information of the payment machine.
Step S230: and determining the coverage range of the payment machine tool according to the position characteristic information.
Step S240: and judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not.
Step S250: and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data.
Step S260: and acquiring the moving track of the mobile terminal.
It can be understood that, for the case that the mobile terminal is within the coverage of the payment device, if the mobile terminal scans the wireless broadcast data sent by the payment device after the wireless module is turned on, the mobile terminal still has a large power consumption, which affects the standby time of the mobile terminal.
As a way for improving the above problem, in the process of controlling the mobile terminal to start the wireless module to scan the wireless broadcast data, the mobile terminal may obtain the moving track of the mobile terminal in real time through GPS or base station positioning, and obtain the geographic location information that is updated correspondingly after the mobile terminal moves according to the moving track.
Specifically, the mobile terminal may calculate according to a set distance vector calculation formula, the geographic coordinate corresponding to the updated geographic location information after the movement and the geographic coordinate corresponding to the geographic location information before the movement, to obtain the relative movement distance of the mobile terminal, and the relative movement distance may be used as the movement trajectory of the mobile terminal. Optionally, if the user moves around a circle with the current position as a starting point and the position of the payment machine unchanged around the current position and the position of the payment machine back to the original point, the moving track of the mobile terminal is a point, and the value of the moving track is 0; in addition, the user can move towards the direction close to or far away from the payment machine tool, and correspondingly, the moving track of the mobile terminal can be increased or reduced.
As shown in fig. 7, the mobile terminal 100 starts to be stationary at the a position after entering into the geographic position coverage of the payment instrument 200, and the distance between the mobile terminal 100 and the payment instrument 200 is represented as 1; if the user moves to the b position along the current position and the distance between the mobile terminal 100 and the payout holder 200 is represented as 2, and the distances 1 and 2 are equal because the a position and the b position are on a concentric circle with respect to the geographical position of the payout holder 200, it can be understood that the relative movement track of the mobile terminal from the position a to the position b with respect to the payout holder is a point and the relative movement distance is 0.
Further, as shown in fig. 7, the mobile terminal may also be moved from the position a to a position c away from the payment instrument 200, where the distance between the mobile terminal 100 and the payment instrument 200 is 3; or the mobile terminal may be moved from the position a to the position d toward the direction approaching the payment instrument 200, in which case the distance between the mobile terminal 100 and the payment instrument 200 is represented as 4. It is easy to see that the length indicated by 3 is greater than the length indicated by 1, i.e. the relative distance of the mobile terminal moving from position a to position c with respect to the payment instrument increases, and therefore the relative movement trajectory increases; and similarly, the length indicated by 4 is smaller than the length indicated by 1, that is, when the mobile terminal moves from the position a to the position d in the direction of approaching the payment instrument 200, the relative distance with respect to the payment instrument is reduced, and therefore the relative movement track is reduced.
Step S270: and acquiring the matching degree of the geographical position information of the mobile terminal after the mobile terminal moves and the coverage range of the payment machine tool according to the movement track.
As one mode, the matching degree of the geographical position information after the mobile terminal is moved and the coverage range of the payment equipment can be represented by the distance between the geographical position represented by the geographical position information after the mobile terminal is moved and the edge position of the coverage range of the payment equipment. Specifically, if it is determined that the coverage area of the payment instrument is 100 pi square meters, the coverage radius of the payment instrument is 10 meters, and if the distance between the geographic position represented by the calculated geographic position information after the mobile terminal moves and the edge position of the payment instrument is 2 meters, 2 can be used as the matching degree. It should be noted that the matching degree in this case is suitable for the case where the distance is not more than 10 m.
As another mode, the matching degree of the geographical position information after the mobile terminal is moved and the coverage range of the payment equipment can be represented by the distance between the geographical position represented by the geographical position information after the mobile terminal is moved and the geographical position of the payment equipment. Specifically, if it is determined that the distance between the geographic position represented by the geographic position information after the mobile terminal moves and the geographic position of the payment instrument is 3 meters, the matching degree may be represented as 3. Accordingly, the degree of matching in this case is applicable when the distance is not greater than the coverage radius of the coverage range of the payment instrument.
Step S280: and adjusting the broadcast data scanning interval of the mobile terminal according to the matching degree.
It can be understood that, in an implementation manner, if the matching degree is a distance between the geographic position represented by the geographic position information after the mobile terminal moves and an edge position of the coverage area of the payment instrument, when the mobile terminal detects that the distance is reduced, the broadcast data scanning interval may be increased, wherein the scanning interval is larger as the distance is smaller, so that the scanning time of the wireless module may be reduced, and the power consumption of the mobile terminal may be saved.
In another implementation manner, if the matching degree is a distance between the geographic position represented by the geographic position information after the mobile terminal moves and the geographic position of the payment instrument, when the mobile terminal detects that the distance is increased, the broadcast data scanning interval may be increased, wherein the larger the distance is, the larger the scanning interval is, so that the scanning time of the wireless module may be reduced, and the power consumption may be saved.
In the wireless scanning control method provided by the embodiment, geographical position information of a mobile terminal is acquired; then position characteristic information of the payment machine tool is obtained, and then the coverage range of the payment machine tool is determined according to the position characteristic information; then judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; and if the matching is judged, controlling the mobile terminal to start the wireless module to scan the wireless broadcast data, then acquiring the moving track of the mobile terminal, then acquiring the matching degree of the geographic position information of the mobile terminal after moving and the coverage range of the payment machine tool according to the moving track, wherein the matching degree represents the moving trend of the mobile terminal, and then adjusting the broadcast data scanning interval of the mobile terminal according to the matching degree. Whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine or not is judged, and then whether the wireless module of the mobile terminal is started to scan wireless broadcast data or not is determined according to the judgment result, the wireless module of the mobile terminal can be accurately controlled to be started and closed, so that the starting time of the wireless module is reduced, the scanning interval of the wireless module is adjusted according to the moving trend of the mobile terminal, the scanning time of the wireless module of the mobile terminal can be reduced, and the power consumption of the mobile terminal is reduced.
Referring to fig. 8, another embodiment of the present application provides a wireless scanning control method applied to a mobile terminal, where the method includes:
step S310: and acquiring the geographical position information of the mobile terminal.
Step S320: and acquiring position characteristic information of the payment machine.
Step S330: and determining the coverage range of the payment machine tool according to the position characteristic information.
Step S340: and judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not.
Step S350: and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data.
Step S360: and acquiring the moving frequency of the mobile terminal.
It will be appreciated that for some users, although entering the coverage area of the payment instrument, the payment activity is not necessarily performed, and if the wireless communication module of the mobile terminal is kept in the scanning state, the power consumption of the mobile terminal will be increased.
As one way to improve the above problem, a moving frequency of the mobile terminal may be detected by a motion sensor (e.g., detecting the number of times the mobile terminal moves within a specified time). Specifically, after the mobile terminal enters the coverage area of the payment machine, if the mobile terminal does not move within a specified time period, it may be determined that the moving frequency of the mobile terminal is 0; alternatively, if it is detected that the number of times the mobile terminal moves within the specified time is small, it may be determined that the moving frequency of the mobile terminal is small.
It should be noted that, since the user may have the same circular motion or the opposite circular motion on the same circular arc, for this case, the moving frequency of the mobile terminal may be high, but actually, the relative distance between the mobile terminal and the geographic location of the payment instrument does not change, and then, the relative moving distance between the mobile terminal and the geographic location of the payment instrument before and after the movement of the mobile terminal may be combined with the moving frequency of the mobile terminal to determine the relative moving frequency of the mobile terminal.
Step S370: and determining a broadcast data scanning interval for scanning the wireless broadcast data by a wireless module of the mobile terminal according to the mobile frequency, wherein the scanning interval corresponding to the smaller the mobile frequency is, the larger the scanning interval is.
As a mode, when the mobile frequency or the relative mobile frequency of the mobile terminal is large, the mobile terminal may increase a broadcast data scanning interval at which the wireless module of the mobile terminal scans the wireless broadcast data, so that the scanning duration of the wireless module may be reduced, and the standby duration of the mobile terminal may be extended.
In the wireless scanning control method provided by the embodiment, geographical position information of a mobile terminal is acquired; then obtaining position characteristic information of the payment machine tool; then determining the coverage range of the payment machine tool according to the position characteristic information; then judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; if the wireless broadcast data is matched with the wireless broadcast data, the mobile terminal is controlled to start a wireless module to scan the wireless broadcast data; then obtaining the moving frequency of the mobile terminal; and then determining a broadcast data scanning interval for scanning the wireless broadcast data by a wireless module of the mobile terminal according to the mobile frequency, wherein the smaller the mobile frequency, the larger the corresponding broadcast data scanning interval. Whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine or not is judged, and whether the wireless module of the mobile terminal is started to scan wireless broadcast data or not is determined according to the judgment result, so that the wireless module of the mobile terminal can be accurately controlled to be started and closed, the starting time of the wireless module is reduced, the scanning interval of the wireless module is adjusted according to the moving frequency of the mobile terminal, the scanning time of the wireless module of the mobile terminal can be reduced, and the power consumption of the mobile terminal is reduced.
Referring to fig. 9, another embodiment of the present application provides a wireless scanning control method applied to a mobile terminal, where the method includes:
step S410: and acquiring the geographical position information of the mobile terminal.
Step S420: and acquiring position characteristic information of the payment machine.
Step S430: and determining the coverage range of the payment machine tool according to the position characteristic information.
Step S440: and judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not.
Step S450: and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data.
Step S460: detecting whether the mobile terminal receives broadcast data of the payment machine tool within a preset time period, wherein the broadcast data comprises a device identification of the payment machine tool.
For the mobile terminal entering the coverage range of the payment tool, whether the mobile terminal participates in the payment activity can be judged by judging whether the mobile terminal receives the equipment identifier of the payment tool within a preset time period, so that the power consumption waste caused by starting the scanning function of the wireless module because the mobile terminal does not participate in the payment activity for a long time can be avoided.
The preset time period may be set according to actual conditions, for example, within one minute, ten minutes, half an hour, and the like.
Further, the payment appliance may transmit broadcast data based on bluetooth BLE mode or Wi-Fi Aware mode. Taking the bluetooth BLE mode as an example, the payment appliance may carry its own device identifier in a specific field in a transmitted data packet during the process of transmitting broadcast data in the bluetooth BLE mode. Correspondingly, the mobile terminal can also scan broadcast data based on a Bluetooth BLE mode or a Wi-Fi Aware mode, so that after the broadcast data sent by the payment machine tool is scanned, the device identification of the payment machine tool is obtained from the scanned broadcast data sent by the payment machine tool. For example, if the mobile terminal performs broadcast data scanning in the bluetooth BLE mode, after the mobile terminal scans broadcast data that is also transmitted in the bluetooth BLE mode by the payment instrument, the device identifier of the payment instrument may be parsed from the field of the data packet of the broadcast data of the payment instrument.
Step S470: and if the broadcast data of the payment machine tool is not received, increasing the broadcast data scanning interval of the mobile terminal.
As a mode, if it is detected that the mobile terminal does not receive the broadcast data of the payment instrument within the preset time period, it may be determined that the mobile terminal is not currently participating in the payment activity, and optionally, the broadcast data scanning interval of the mobile terminal may be increased, so that the scanning duration of the wireless module of the mobile terminal may be reduced.
In the wireless scanning control method provided by the embodiment, geographical position information of a mobile terminal is acquired; then obtaining position characteristic information of the payment machine tool; then determining the coverage range of the payment machine tool according to the position characteristic information; then judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; if the wireless broadcast data is matched with the wireless broadcast data, the mobile terminal is controlled to start a wireless module to scan the wireless broadcast data; then detecting whether the mobile terminal receives broadcast data of the payment machine tool within a preset time period, wherein the broadcast data comprises a device identifier of the payment machine tool; and if the broadcast data of the payment machine tool is not received, increasing the broadcast data scanning interval of the mobile terminal. Whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not is judged, and whether the wireless module of the mobile terminal is started to scan wireless broadcast data or not is determined according to the judgment result, the wireless module of the mobile terminal can be accurately controlled to be started and closed, so that the starting time of the wireless module is reduced, the scanning interval of the wireless module is adjusted according to whether the mobile terminal receives the broadcast data of the payment machine tool or not in a preset time period, the scanning time of the wireless module of the mobile terminal can be reduced, and the power consumption of the mobile terminal is reduced.
Referring to fig. 10, another embodiment of the present application provides a wireless scanning control method applied to a mobile terminal, where the method includes:
step S510: and acquiring the geographical position information of the mobile terminal.
Step S520: and acquiring position characteristic information of the payment machine.
Step S530: and determining the coverage range of the payment machine tool according to the position characteristic information.
Step S540: and judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not.
Step S550: and if the data network switch control is matched with the data network switch control, detecting whether the data network switch control of the mobile terminal is in an open state.
If the mobile terminal enters the coverage area of the payment tool, if the data network state of the mobile terminal is not started, the wireless scanning module of the mobile terminal cannot transmit the scanned wireless broadcast data of the payment tool or may repeatedly execute scanning actions, so that the power consumption of the mobile terminal is increased, or the wireless scanning module cannot upload the scanned wireless broadcast data of the payment tool in time under the condition that the network communication quality of the mobile terminal is poor.
As a way to improve the above problem, it may be further detected whether a data network switch control of the mobile terminal is in an on state under the condition that it is determined that the mobile terminal is within the coverage of the payment machine, and then a wireless module of the mobile terminal is turned on according to a detection result to scan wireless broadcast data.
Step S560: and if the data network switch control of the mobile terminal is detected to be in the open state, controlling the mobile terminal to open a wireless module to scan wireless broadcast data.
As a mode, if it is detected that the data network switch control of the mobile terminal is in an on state, the mobile terminal may be controlled to turn on the wireless module to scan the wireless broadcast data, so that the scanning duration of the wireless module may be reduced, and the power consumption may be reduced.
In the wireless scanning control method provided by the embodiment, geographical position information of a mobile terminal is acquired; then obtaining position characteristic information of the payment machine tool; then determining the coverage range of the payment machine tool according to the position characteristic information; then judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; if the data network switch control is matched with the data network switch control, detecting whether the data network switch control of the mobile terminal is in an open state; and if the data network switch control of the mobile terminal is detected to be in the open state, controlling the mobile terminal to open the wireless module to scan the wireless broadcast data. Whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine or not is judged, and then whether the wireless module of the mobile terminal is started to scan the wireless broadcast data or not is determined according to the judgment result, the wireless module of the mobile terminal can be accurately controlled to be started and closed, so that the starting time of the wireless module is reduced, and moreover, the mobile terminal is controlled to start the wireless module to scan the wireless broadcast data according to the detection result whether the data network switch of the mobile terminal is started or not, so that the scanning time of the wireless module of the mobile terminal can be reduced, and the power consumption is reduced.
Referring to fig. 11, an embodiment of the present application provides a wireless scanning control apparatus 600, operating in a mobile terminal, where the apparatus 600 includes: a first obtaining module 610, a second obtaining module 620, a range determining module 630, a determining module 640, and a wireless control module 650.
The first obtaining module 610 is configured to obtain geographic location information of the mobile terminal.
And a second obtaining module 620, configured to obtain the position characteristic information of the payment instrument.
Optionally, the location characterizing information may include a geographic location of the payment instrument, or a signal strength of the broadcast data transmitted by the payment instrument and the geographic location of the payment instrument. Then, as one approach, the second obtaining module 620 may obtain the geographic location of the payment instrument; alternatively, the second acquisition module 620 may acquire the signal strength of the broadcast data transmitted by the payment instrument and the geographic location of the payment instrument.
A range determination module 630, configured to determine a coverage range of the payment instrument according to the location characteristic information.
By one approach, the range determination module 630 may determine the coverage of the payment instrument based on the geographic location of the payment instrument; alternatively, the range determining module 630 may determine a transmission distance of the broadcast data transmitted by the payment instrument according to the signal strength of the broadcast data; the payment instrument's coverage is then determined based on the transmission distance and the geographic location of the payment instrument.
And the judging module 640 is configured to judge whether the geographic position information of the mobile terminal is matched with the coverage area of the payment device.
As one mode, the determining module 640 may determine whether a distance between the geographic position represented by the geographic position information of the mobile terminal and the geographic position of the payment instrument is smaller than a coverage of the payment instrument, and if the distance is smaller than the coverage of the payment instrument, it may be determined that the geographic position information of the mobile terminal is matched with the coverage of the payment instrument.
And a wireless control module 650 for controlling the mobile terminal to start the wireless module to scan the wireless broadcast data if the matching is determined.
Referring to fig. 12, another embodiment of the present application provides a wireless scanning control apparatus 700 operating in a mobile terminal, where the apparatus 700 includes: a first obtaining module 710, a second obtaining module 720, a range determining module 730, a determining module 740, a wireless control module 750, a track obtaining module 760, a matching degree obtaining module 770, and a data adjusting module 780.
The first obtaining module 710 is configured to obtain geographic location information of the mobile terminal.
And a second obtaining module 720, configured to obtain the position characteristic information of the payment instrument.
A range determination module 730, configured to determine a coverage range of the payment implement according to the position characteristic information.
And the judging module 740 is configured to judge whether the geographic position information of the mobile terminal is matched with the coverage area of the payment device.
And a wireless control module 750, configured to control the mobile terminal to start the wireless module to scan the wireless broadcast data if matching is determined.
A track obtaining module 760, configured to obtain a moving track of the mobile terminal.
A matching degree obtaining module 770, configured to obtain, according to the movement trajectory, a matching degree between the geographic position information of the mobile terminal after movement and a coverage area of the payment apparatus.
As a mode, the matching degree may represent a movement trend of the mobile terminal, that is, a movement trend of the geographic position represented by the geographic position information after the mobile terminal moves relative to the geographic position before the mobile terminal moves.
And a data adjusting module 780, configured to adjust a broadcast data scanning interval of the mobile terminal according to the matching degree.
As a mode, if the matching degree is the distance between the geographic position represented by the geographic position information after the mobile terminal moves and the edge position of the coverage area of the payment instrument, when the mobile terminal detects that the distance is reduced, the broadcast data scanning interval can be increased, so that the starting time of the wireless module can be reduced, and the power consumption can be further reduced.
As another mode, if the matching degree is the distance between the geographic position represented by the geographic position information after the mobile terminal moves and the geographic position of the payment instrument, when the mobile terminal detects that the distance is increased, the broadcast data scanning interval can be increased, so that the starting time of the wireless module can be reduced, and the power consumption can be reduced.
Referring to fig. 13, another embodiment of the present application provides a wireless scanning control apparatus 800 operating in a mobile terminal, where the apparatus 800 includes: a first acquisition module 810, a second acquisition module 820, a range determination module 830, a determination module 840, a wireless control module 850, a frequency acquisition module 860, and an interval determination module 870.
The first obtaining module 810 is configured to obtain geographic location information of the mobile terminal.
A second obtaining module 820, configured to obtain position characteristic information of the payment instrument.
A range determination module 830 configured to determine a coverage range of the payment instrument according to the position characteristic information.
The judging module 840 is configured to judge whether the geographic location information of the mobile terminal matches the coverage area of the payment apparatus.
And a wireless control module 850, configured to control the mobile terminal to start the wireless module to scan the wireless broadcast data if the matching is determined.
A frequency obtaining module 860, configured to obtain a moving frequency of the mobile terminal.
An interval determining module 870, configured to determine, according to the mobile frequency, a broadcast data scanning interval at which the wireless module of the mobile terminal scans the wireless broadcast data, where a smaller mobile frequency corresponds to a larger broadcast data scanning interval.
Referring to fig. 14, another embodiment of the present application provides a wireless scanning control apparatus 900 operating in a mobile terminal, the apparatus 900 including: a first acquisition module 910, a second acquisition module 920, a range determination module 930, a determination module 940, a radio control module 950, a detection module 960, and an interval modification module 970.
A first obtaining module 910, configured to obtain geographic location information of the mobile terminal.
And a second obtaining module 920, configured to obtain position characteristic information of the payment instrument.
A range determination module 930 configured to determine a coverage range of the payment instrument according to the position characteristic information.
A judging module 940, configured to judge whether the geographic location information of the mobile terminal matches the coverage of the payment device.
And a wireless control module 950, configured to control the mobile terminal to start the wireless module to scan the wireless broadcast data if the matching is determined.
A detecting module 960, configured to detect whether the mobile terminal receives broadcast data of the payment instrument within a preset time period, where the broadcast data includes a device identifier of the payment instrument.
As one way, the detection module 960 is specifically configured to detect whether the mobile terminal receives the broadcast data of the payment instrument within a preset time period after controlling the mobile terminal to turn on the wireless module to scan the wireless broadcast data.
The interval modification module 970 is configured to increase a broadcast data scanning interval of the mobile terminal if the broadcast data of the payment instrument is not received.
Referring to fig. 15, a wireless scanning control apparatus 1000 according to another embodiment of the present application is provided, which is operated in a mobile terminal, where the apparatus 1000 includes: a first obtaining module 1010, a second obtaining module 1020, a range determining module 1030, a determining module 1040, a network detecting module 1050, and a radio control module 1060.
A first obtaining module 1010, configured to obtain geographic location information of the mobile terminal.
A second obtaining module 1020, configured to obtain position characteristic information of the payment instrument.
A range determination module 1030 configured to determine a coverage range of the payment instrument according to the location characteristic information.
The judging module 1040 is configured to judge whether the geographic location information of the mobile terminal matches the coverage area of the payment device.
And the network detection module 1050 is configured to detect whether the data network switch control of the mobile terminal is in an on state if matching is determined.
The wireless control module 1060 is configured to control the mobile terminal to start the wireless module to scan the wireless broadcast data if it is detected that the data network switch control of the mobile terminal is in an on state.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling. In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
In summary, according to the wireless scanning control method, the wireless scanning control device and the mobile terminal provided by the application, the geographical position information of the mobile terminal is acquired; then obtaining position characteristic information of the payment machine tool; then determining the coverage range of the payment machine tool according to the position characteristic information; then judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data. According to the method, whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not is judged, and whether the wireless module of the mobile terminal is started to scan the wireless broadcast data or not is determined according to the judgment result, so that the wireless module of the mobile terminal can be accurately controlled to be started and closed, the scanning duration of the wireless module is controlled, the starting duration and the scanning duration of the wireless module can be reduced, and the power consumption is reduced.
A mobile terminal provided by the present application will be described with reference to fig. 16.
Referring to fig. 16, based on the wireless scanning control method and apparatus, another mobile terminal 100 capable of executing the wireless scanning control method is further provided in the embodiment of the present application. The mobile terminal 100 includes a memory 104, one or more processors 102 (only one shown) coupled to each other, and a wireless module 106. The memory 104 stores programs that can execute the content of the foregoing embodiments, and the processor 102 can execute the programs stored in the memory 104.
Processor 102 may include one or more processing cores, among other things. The processor 102 interfaces with various components throughout the mobile terminal 100 using various interfaces and lines to perform various functions of the mobile terminal 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104 and invoking data stored in the memory 104. Alternatively, the processor 102 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 102 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, a target application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 102, but may be implemented by a communication chip.
The Memory 104 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the mobile terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
The wireless module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. For example, broadcast data transmitted by the payment instrument may be received. The wireless module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The wireless module 106 may be a wireless module based on a bluetooth ble mode, and may also be a wireless module based on a WiFi aware mode.
Referring to fig. 17, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 1100 has stored therein program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 1100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 1100 includes a non-volatile computer-readable storage medium. The computer readable storage medium 1100 has storage space for program code 1110 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 1110 may be compressed, for example, in a suitable form.
For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
In summary, the present application provides a wireless scanning control method, an apparatus, a mobile terminal and a storage medium. The method comprises the following steps: acquiring geographical position information of a mobile terminal; acquiring position characteristic information of a payment machine; determining the coverage range of the payment tool according to the position characteristic information; judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not; and if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan the wireless broadcast data. By judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not and then determining whether the wireless module of the mobile terminal is started to scan the wireless broadcast data or not according to the judgment result, the wireless module of the mobile terminal can be accurately controlled to be started and closed and the scanning time of the wireless module can be controlled, so that the starting time and the scanning time of the wireless module can be reduced, and the power consumption is reduced.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. A wireless scanning control method is applied to a mobile terminal, and comprises the following steps:
acquiring geographical position information of a mobile terminal;
acquiring position characteristic information of a payment machine tool, wherein the position characteristic information comprises locally stored signal intensity of broadcast data sent by the payment machine tool and the geographic position of the payment machine tool;
determining the transmission distance of the broadcast data sent by the payment machine tool according to the signal strength of the broadcast data;
determining a coverage area of the payment instrument according to the transmission distance and the geographic position of the payment instrument;
judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not;
if the mobile terminal is matched with the wireless broadcast terminal, controlling the mobile terminal to start a wireless module to scan wireless broadcast data;
acquiring the moving frequency of the mobile terminal, wherein the moving frequency is a relative moving frequency, and the relative moving frequency is obtained by combining the moving frequency judgment of the mobile terminal based on the relative moving distance between the mobile terminal and the geographic position of the payment machine before and after moving;
and determining a broadcast data scanning interval for scanning the wireless broadcast data by a wireless module of the mobile terminal according to the mobile frequency, wherein the smaller the mobile frequency is, the larger the corresponding broadcast data scanning interval is.
2. The method of claim 1, wherein the step of determining whether the geographic location information of the mobile terminal matches the coverage of the payment instrument comprises:
judging whether the distance between the position represented by the geographic position information of the mobile terminal and the geographic position of the payment equipment is smaller than the coverage range of the payment equipment or not;
and if the geographic position information is smaller than the coverage range of the payment tool, judging that the geographic position information of the mobile terminal is matched with the coverage range of the payment tool.
3. The method of claim 1, wherein after the step of controlling the mobile terminal to turn on a wireless module to scan for wireless broadcast data if a match is determined, the method comprises:
acquiring a moving track of the mobile terminal;
acquiring the matching degree of the geographical position information of the mobile terminal after movement and the coverage range of the payment machine tool according to the movement track, wherein the matching degree characterizes the movement trend of the mobile terminal;
and adjusting the broadcast data scanning interval of the mobile terminal according to the matching degree.
4. The method of claim 3, wherein the step of adjusting the broadcast data scanning interval of the mobile terminal according to the matching degree comprises:
if the matching degree is the distance between the geographic position represented by the geographic position information after the mobile terminal moves and the edge position of the coverage range of the payment equipment, when the mobile terminal detects that the distance is reduced, the broadcast data scanning interval is increased;
or if the matching degree is the distance between the geographic position represented by the geographic position information after the mobile terminal moves and the geographic position of the payment machine, and when the mobile terminal detects that the distance is increased, the broadcast data scanning interval is increased.
5. The method of claim 1, wherein the method further comprises:
detecting whether the mobile terminal receives broadcast data of the payment tool within a preset time period after controlling the mobile terminal to start a wireless module to scan wireless broadcast data, wherein the broadcast data comprises a device identifier of the payment tool;
and if the broadcast data of the payment machine tool is not received, increasing the broadcast data scanning interval of the mobile terminal.
6. The method of claim 1, wherein the step of controlling the mobile terminal to turn on a wireless module to scan for wireless broadcast data if a match is determined comprises:
if the data network switch control is matched with the data network switch control, detecting whether the data network switch control of the mobile terminal is in an open state;
and if the data network switch control of the mobile terminal is detected to be in the open state, controlling the mobile terminal to open a wireless module to scan wireless broadcast data.
7. A wireless scanning control device, operating in a mobile terminal, the device comprising:
the first acquisition module is used for acquiring the geographical position information of the mobile terminal;
the second acquisition module is used for acquiring position characteristic information of a payment machine tool, wherein the position characteristic information comprises locally stored signal intensity of broadcast data sent by the payment machine tool and the geographic position of the payment machine tool;
the range determining module is used for determining the transmission distance of the broadcast data sent by the payment equipment according to the signal strength of the broadcast data sent by the payment equipment and determining the coverage range of the payment equipment according to the transmission distance and the geographic position of the payment equipment;
the judging module is used for judging whether the geographic position information of the mobile terminal is matched with the coverage range of the payment machine tool or not;
the wireless control module is used for controlling the mobile terminal to start the wireless module to scan wireless broadcast data if the matching is judged;
the frequency acquisition module is used for acquiring the moving frequency of the mobile terminal, wherein the moving frequency is a relative moving frequency, and the relative moving frequency is obtained by combining the moving frequency judgment of the mobile terminal based on the relative moving distance between the mobile terminal and the geographic position of the payment machine tool before and after the movement of the mobile terminal;
and an interval determining module, configured to determine, according to the mobile frequency, a broadcast data scanning interval at which a wireless module of the mobile terminal scans wireless broadcast data, where a smaller mobile frequency corresponds to a larger broadcast data scanning interval.
8. A mobile terminal comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-6.
9. A computer-readable storage medium, having a program code stored therein, wherein the program code when executed by a processor performs the method of any of claims 1-6.
CN201910105424.7A 2019-02-01 2019-02-01 Wireless scanning control method, device, mobile terminal and storage medium Active CN109660949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910105424.7A CN109660949B (en) 2019-02-01 2019-02-01 Wireless scanning control method, device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910105424.7A CN109660949B (en) 2019-02-01 2019-02-01 Wireless scanning control method, device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109660949A CN109660949A (en) 2019-04-19
CN109660949B true CN109660949B (en) 2021-03-02

Family

ID=66122730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910105424.7A Active CN109660949B (en) 2019-02-01 2019-02-01 Wireless scanning control method, device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109660949B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988835A (en) * 2019-05-24 2020-11-24 深圳富泰宏精密工业有限公司 Network connection method, computer program, readable storage medium, and electronic device
CN110557723B (en) * 2019-08-21 2020-09-29 腾讯科技(深圳)有限公司 Position information processing method and device, computer readable medium and electronic equipment
CN111356081B (en) * 2020-02-27 2022-01-11 广州羊城通有限公司 Bluetooth starting control method and device
CN111984754A (en) * 2020-08-20 2020-11-24 支付宝(杭州)信息技术有限公司 Terminal position auditing method and system
CN113824716A (en) * 2021-09-18 2021-12-21 深圳万物安全科技有限公司 Access control method and access control device
CN115545697B (en) * 2022-11-08 2023-06-23 广东车卫士信息科技有限公司 Non-inductive payment method, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722017A (en) * 2016-02-17 2016-06-29 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method for broadcasting and scanning wireless label in low power consumption
CN106062581A (en) * 2014-02-12 2016-10-26 谷歌公司 Energy-efficient location determination

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10257727B2 (en) * 2013-03-15 2019-04-09 DGS Global Systems, Inc. Systems methods, and devices having databases and automated reports for electronic spectrum management
CN104318431B (en) * 2014-10-20 2018-03-16 惠州Tcl移动通信有限公司 A kind of wireless payment position information processing method and system based on NFC
US10922672B2 (en) * 2016-02-12 2021-02-16 Visa International Service Association Authentication systems and methods using location matching
US20170364901A1 (en) * 2016-06-19 2017-12-21 Google Inc. Identifying user computing device specific locations
EP3633571B1 (en) * 2017-06-30 2023-05-31 Huawei Technologies Co., Ltd. Nfc payment method and terminal
CN108256853B (en) * 2018-01-11 2021-11-30 维沃移动通信有限公司 Payment method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106062581A (en) * 2014-02-12 2016-10-26 谷歌公司 Energy-efficient location determination
CN105722017A (en) * 2016-02-17 2016-06-29 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method for broadcasting and scanning wireless label in low power consumption

Also Published As

Publication number Publication date
CN109660949A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN109660949B (en) Wireless scanning control method, device, mobile terminal and storage medium
RU2763392C1 (en) Voice control method, wearable device and terminal
US9549309B2 (en) System and method providing location based wireless resource identification
CN104867324B (en) The method and relevant apparatus of passenger loading are identified in the service of calling a taxi
CN106879047B (en) Method for near-field information transfer, information transmission and receiving client and information system
US10194273B2 (en) Positioning information processing method and apparatus
CN110622571B (en) Network connection method, device and terminal
CN109714716B (en) Data packet forwarding method and device and mobile terminal
CN112232801B (en) Electronic transaction method and terminal
CN109886670B (en) Payment method, device, system, mobile terminal, payment machine and server
CN112996109B (en) Positioning method based on fusion of UWB (ultra Wide band) and Bluetooth technologies, mobile device and target device
CN108563972B (en) Graphic code identification method and device, mobile terminal and storage medium
CN108848547A (en) WiFi scan method, device, mobile terminal and computer-readable medium
CN111372256A (en) Method for assisting installation of client terminal equipment and electronic equipment
CN108093367B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN110493455B (en) Equipment control method and device and mobile terminal
JP6103896B2 (en) Information providing apparatus, information output apparatus, and control program for information output apparatus
CN114223222B (en) Terminal payment method, device, terminal equipment and computer readable storage medium
US9967700B2 (en) Content providing system based on location information recognition
WO2019037698A1 (en) Image display method and device, and electronic device
CN110992048A (en) Transaction fraud determination method and device
CN105188027A (en) Nearby user searching method and device
CN109005102B (en) Information processing method and device and electronic device
KR20130017907A (en) Position data auto transmitting system over wireless data network and method of the same
CN109600340B (en) Operation authorization method, device, terminal and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant