CN108510267B - Account information acquisition method and mobile terminal - Google Patents
Account information acquisition method and mobile terminal Download PDFInfo
- Publication number
- CN108510267B CN108510267B CN201810246285.5A CN201810246285A CN108510267B CN 108510267 B CN108510267 B CN 108510267B CN 201810246285 A CN201810246285 A CN 201810246285A CN 108510267 B CN108510267 B CN 108510267B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- graphic code
- position information
- account
- database
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3276—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/42—Determining position
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
- G06K17/0029—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Remote Sensing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种账户信息获取方法、移动终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method for acquiring account information and a mobile terminal.
背景技术Background technique
随着通信技术的发展,移动终端的功能也越来越强大,移动支付功能也越来越普及。现有的移动支付方案中,用户打开支付应用,并点开应用支付应用的扫描支付选项。移动终端检测到用户触控扫描支付选项时,开启摄像头对准采集扫描区域的支付码图片,再识别所采集的支付码图片,才能打开支付页面进行支付。这就导致移动终端获取支付码图片的操作较为繁琐,耗时较长。With the development of communication technology, the functions of mobile terminals are becoming more and more powerful, and the function of mobile payment is becoming more and more popular. In the existing mobile payment solution, the user opens the payment application and clicks on the scan payment option of the application payment application. When the mobile terminal detects that the user touches and scans the payment option, turn on the camera and aim at the payment code picture in the scanning area, and then recognize the collected payment code picture before opening the payment page for payment. Therefore, the operation of obtaining the payment code picture by the mobile terminal is cumbersome and time-consuming.
可见,现有的移动终端存在通过摄像头获取账户信息的操作较为繁琐,耗时较长的技术问题。It can be seen that the existing mobile terminal has the technical problem that the operation of acquiring account information through the camera is cumbersome and time-consuming.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种账户信息获取、移动终端,以解决现有移动终端存在通过摄像头获取账户信息的操作较为繁琐,耗时较长的技术问题。The embodiments of the present invention provide an account information acquisition and mobile terminal, so as to solve the technical problem of complicated and time-consuming operation of acquiring account information through a camera in an existing mobile terminal.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种账户信息获取方法,应用于移动终端,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for acquiring account information, which is applied to a mobile terminal, and the method includes:
若检测到通过摄像头扫描账户信息的获取操作,获取所述移动终端的位置信息;If an acquisition operation of scanning account information through a camera is detected, acquiring the location information of the mobile terminal;
根据所述移动终端的位置信息,从移动终端内预设的数据库中,获取与所述位置信息相匹配的目标图片,所述目标图片为图形码;According to the location information of the mobile terminal, from a database preset in the mobile terminal, obtain a target picture that matches the location information, and the target picture is a graphic code;
从所述目标图片中读取账户信息。Read account information from the target image.
第二方面,本发明实施例提供了一种移动终端,包括:In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
位置信息获取模块,用于若检测到通过摄像头扫描账户信息的获取操作,获取所述移动终端的位置信息;a location information acquisition module, configured to acquire the location information of the mobile terminal if an acquisition operation of scanning account information through a camera is detected;
目标图片获取模块,用于根据所述移动终端的位置信息,从移动终端内预设的数据库中,获取与所述位置信息相匹配的目标图片,所述图片为图形码;a target picture obtaining module, configured to obtain a target picture that matches the position information from a preset database in the mobile terminal according to the position information of the mobile terminal, and the picture is a graphic code;
账户信息读取模块,用于从所述目标图片中读取账户信息。The account information reading module is used for reading account information from the target picture.
第三方面,本发明实施例提供了一种移动终端,所述移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述计算机程序时实现如第一方面所述的账户信息获取方法。In a third aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes: a memory, a processor, and a computer program stored in the memory and executable on the processor; the processor executes The computer program implements the method for acquiring account information according to the first aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机序被处理器执行时实现如第一方面所述的账户信息获取方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the account information according to the first aspect is implemented Get the steps of the method.
本发明实施例中,在检测到通过摄像头扫描账户信息的获取操作时,即获取移动终端的位置信息,进而从预设的数据库中获取位置信息与移动终端的当前的位置信息相匹配的目标图片,通过所获取的目标图片中读取账户信息,即可达到根据移动终端的位置信息为用户匹配对应的账户信息的目的。这样,移动终端无需通过扫描账户信息对应的二维码的方式获取账户信息,就能获取到目标账户信息,从而简化了移动终端通过摄像头获取账户信息的操作,缩短了操作时长,提高了移动终端获取账户信息的便捷性和时效性。In this embodiment of the present invention, when an acquisition operation of scanning account information through a camera is detected, the location information of the mobile terminal is acquired, and then a target image whose location information matches the current location information of the mobile terminal is acquired from a preset database. , by reading the account information from the acquired target picture, the purpose of matching the corresponding account information for the user according to the location information of the mobile terminal can be achieved. In this way, the mobile terminal can acquire the target account information without acquiring the account information by scanning the QR code corresponding to the account information, thereby simplifying the operation of acquiring the account information by the mobile terminal through the camera, shortening the operation time, and improving the efficiency of the mobile terminal. The convenience and timeliness of obtaining account information.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.
图1为本发明实施例提供的一种账户信息获取方法的流程示意图;1 is a schematic flowchart of a method for acquiring account information according to an embodiment of the present invention;
图2为本发明实施例提供的另一种账户信息获取方法的流程示意图;2 is a schematic flowchart of another method for acquiring account information provided by an embodiment of the present invention;
图3为本发明实施例提供的账户信息获取方法所涉及的数据库的结构示意图;3 is a schematic structural diagram of a database involved in a method for acquiring account information provided by an embodiment of the present invention;
图4为本发明实施例提供的一种移动终端的结构示意图;4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
图5为本发明实施例提供的另一种移动终端的结构示意图;5 is a schematic structural diagram of another mobile terminal provided by an embodiment of the present invention;
图6为本发明实施例提供的另一种移动终端的结构示意图。FIG. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
请参见图1,图1为本发明实施例提供的一种账户信息获取方法的流程示意图。如图1所示,一种账户信息获取方法,包括以下步骤:Please refer to FIG. 1 , which is a schematic flowchart of a method for acquiring account information according to an embodiment of the present invention. As shown in Figure 1, a method for acquiring account information includes the following steps:
步骤101、若检测到通过摄像头扫描账户信息的获取操作,获取所述移动终端的位置信息。Step 101: If an acquisition operation of scanning the account information through the camera is detected, acquire the location information of the mobile terminal.
本发明实施例提供的账户信息获取方法,可以应用于移动终端,所述移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等任何具备账户信息获取功能的设备,不作限定。The method for acquiring account information provided by the embodiments of the present invention can be applied to mobile terminals, including but not limited to mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers, etc. The device with the account information acquisition function is not limited.
移动终端通过检测摄像头扫描账户信息的获取操作,获取当前的位置信息,实现根据位置信息获取相匹配的账户信息的目的。The mobile terminal acquires the current location information by detecting the acquisition operation of the camera scanning the account information, so as to achieve the purpose of acquiring the matching account information according to the location information.
移动终端可以接收用户作用于该移动终端的账户信息的获取操作。通常情况下,移动终端检测是否接收到账户信息获取操作,并在检测到账户信息获取操作时,执行获取所述移动终端的当前位置信息的操作。The mobile terminal may receive an operation of acquiring account information that the user acts on the mobile terminal. Generally, the mobile terminal detects whether an account information acquisition operation is received, and when an account information acquisition operation is detected, an operation of acquiring the current location information of the mobile terminal is performed.
移动终端检测账户信息获取操作的方式可以有多种。移动终端内可以设置有多个支付应用,在支付应用中均设置有账户信息采集控件。移动终端内设置的某些社交应用中,也设置有账户信息采集控件。在一种实施方式中,上述相关应用中的账户信息采集控件可以为“扫一扫”按键,用户点击该“扫一扫”按键后,移动终端会执行开启摄像头扫描预设图像采集区域的图像信息,识别所采集的图像信息即可获取欲采集的账户信息。在其他实施方式中,账户信息采集控件也可以为手动输入账户信息的点选按键或者其他账户信息获取按键,不作限定。There are various ways for the mobile terminal to detect the account information acquisition operation. Multiple payment applications may be set in the mobile terminal, and account information collection controls are set in the payment applications. In some social applications set in the mobile terminal, account information collection controls are also set. In one embodiment, the account information collection control in the above-mentioned related applications may be a "sweep" button. After the user clicks the "sweep" button, the mobile terminal will start the camera to scan the image in the preset image collection area. The account information to be collected can be obtained by identifying the collected image information. In other embodiments, the account information collection control may also be a click button for manually inputting account information or other account information acquisition buttons, which is not limited.
移动终端若检测到用户作用于账户信息采集控件的触控操作,即为检测到账户信息的获取操作,移动终端执行获取所述移动终端的位置信息的操作。所述移动终端可以直接通过移动终端内的全球定位系统采集该移动终端的当前位置信息,移动终端也可以获取移动终端内的定位装置实时记录的移动终端的当前位置信息,在此不作限定。If the mobile terminal detects a touch operation performed by the user on the account information collection control, it means that an operation of acquiring account information is detected, and the mobile terminal performs an operation of acquiring the location information of the mobile terminal. The mobile terminal can directly collect the current location information of the mobile terminal through the global positioning system in the mobile terminal, and the mobile terminal can also acquire the current location information of the mobile terminal recorded in real time by the positioning device in the mobile terminal, which is not limited here.
步骤102、根据所述移动终端的位置信息,从移动终端内预设的数据库中,获取与所述位置信息相匹配的目标图片。Step 102: According to the location information of the mobile terminal, acquire a target picture matching the location information from a database preset in the mobile terminal.
步骤103、从所述目标图片中读取账户信息。Step 103: Read account information from the target picture.
移动终端检测到账户信息的获取操作时,获取所述移动终端的当前位置信息,并根据所获取的所述移动终端的当前位置信息,获取与所述移动终端的当前位置信息相匹配的账户信息。When the mobile terminal detects the acquisition operation of the account information, acquires the current location information of the mobile terminal, and acquires account information matching the current location information of the mobile terminal according to the acquired current location information of the mobile terminal .
移动终端可以预先在本地创建数据库,在该数据库内存储至少一个账户信息,每个账户信息匹配一个对应的位置信息,移动终端可以将位置信息作为索引,以查找匹配的账户信息。在其他实施方式中,至少一个账户信息也可以存储在数据库服务器中,同样匹配存储与至少一个账户信息对应的位置信息,移动终端可以发送位置信息至数据库服务器,以使数据库服务器根据存储的账户信息与位置信息的对应关系中,返回与位置信息对应的账户信息至移动终端。具体的,移动终端在存储账户信息时,可以存储账户信息对应的图形码,每个图形码与该图形码对应的账户信息在采集时的位置信息对应存储。The mobile terminal may create a database locally in advance, store at least one account information in the database, each account information matches a corresponding location information, and the mobile terminal may use the location information as an index to search for matching account information. In other embodiments, the at least one account information can also be stored in the database server, and the location information corresponding to the at least one account information can also be stored in a matching manner, and the mobile terminal can send the location information to the database server, so that the database server can store the stored account information In the corresponding relationship with the location information, the account information corresponding to the location information is returned to the mobile terminal. Specifically, when storing the account information, the mobile terminal may store a graphic code corresponding to the account information, and each graphic code is stored corresponding to the location information of the account information corresponding to the graphic code at the time of collection.
移动终端可以在应用本实施例提供的位置信息匹配账户信息的方式获取账户信息的操作之前,或者是应用本实施例的位置信息匹配账户信息的账户信息获取操作失败之后,采集账户信息以及与账户信息匹配的位置信息。移动终端也可以由其他方式获取账户信息与相匹配的位置信息的对应关系,不作限定。The mobile terminal may collect the account information and the account information before the operation of obtaining account information by applying the location information matching account information provided in this embodiment, or after the account information obtaining operation of applying the location information matching the account information in this embodiment fails. Information matching location information. The mobile terminal may also acquire the correspondence between the account information and the matched location information in other ways, which are not limited.
移动终端获取当前位置信息后,从本地创建的数据库或者通过网络连接到数据库服务器,查找与所述当前位置信息匹配的位置信息,所查找的该位置信息对应的,即为与所述移动终端的当前位置信息相匹配的目标图片。其中,为所述当前位置信息匹配位置信息时,可以将经纬度数据或者其他地理数据完全一致作为匹配条件,也可以将所述经纬度数据或者其他地理数据的差值在阈值范围内作为匹配条件,不作限定。After the mobile terminal obtains the current location information, it searches for the location information matching the current location information from the database created locally or connects to the database server through the network. The target image that matches the current location information. Wherein, when matching the location information for the current location information, the latitude and longitude data or other geographic data may be completely consistent as the matching condition, or the difference between the latitude and longitude data or other geographic data may be used as the matching condition within the threshold range, and no limited.
在一种具体实施方式中,假设用户A经常在B位置的某餐馆C吃饭,需要向餐馆C的收款账户D支付消费款项,移动终端可以预先存储收款账户D的账户信息对应的图形码以及与该收款账户D的账户信息相匹配的位置信息B位置。用户A再次去餐馆C吃饭后,点击移动终端内的某支付应用中的“扫一扫”按键,移动终端检测到该账户信息的获取操作,即可获取移动终端的当前位置信息为B位置。移动终端从数据库中,查找与B位置相匹配的位置信息,进而获取所查找到的该与B位置相匹配的位置信息对应的账户D的账户信息对应的图形码,从所述图形码汇总读取的账户信息即为与所述B位置相匹配的目标账户信息。In a specific implementation, assuming that user A often eats at a restaurant C at location B, and needs to pay consumption money to the collection account D of the restaurant C, the mobile terminal can pre-store the graphic code corresponding to the account information of the collection account D and the location information B that matches the account information of the collection account D. After user A goes to restaurant C to eat again, he clicks the "sweep" button in a payment application in the mobile terminal, and the mobile terminal detects the operation of acquiring the account information, and then the current location information of the mobile terminal can be acquired as location B. From the database, the mobile terminal searches for the position information that matches the position B, and then obtains the graphic code corresponding to the account information of the account D corresponding to the found position information that matches the position B, and reads from the graphic code. The acquired account information is the target account information that matches the B position.
移动终端获取目标账户信息后,即可执行向该目标账户信息的支付操作。移动终端执行的支付操作可以包括:链接到该目标账户信息的支付页面,接收用户输入的支付款项数据、支付密码、确认支付等操作,不作限定。After acquiring the target account information, the mobile terminal can perform a payment operation to the target account information. The payment operation performed by the mobile terminal may include: linking to the payment page of the target account information, receiving payment data, payment password, confirming payment and other operations input by the user, which are not limited.
本发明实施例中,通过在检测到通过摄像头扫描账户信息的获取操作时,即获取移动终端的位置信息,进而从预设的数据库中获取位置信息与移动终端的当前的位置信息相匹配的目标图片,通过所获取的目标图片中读取账户信息,即可达到根据移动终端的位置信息为用户匹配对应的账户信息的目的。这样,移动终端无需通过扫描账户信息对应的二维码的方式获取账户信息,就能获取到目标账户信息,从而简化了移动终端获取账户信息的操作,缩短了操作时长,提高了移动终端获取账户信息的便捷性和时效性。In the embodiment of the present invention, when the acquisition operation of scanning the account information through the camera is detected, the location information of the mobile terminal is acquired, and then the target whose location information matches the current location information of the mobile terminal is acquired from a preset database. Picture, by reading the account information from the obtained target picture, the purpose of matching the corresponding account information for the user according to the location information of the mobile terminal can be achieved. In this way, the mobile terminal can acquire the target account information without acquiring the account information by scanning the QR code corresponding to the account information, thereby simplifying the operation of acquiring the account information by the mobile terminal, shortening the operation time, and improving the acquisition of the account by the mobile terminal. Convenience and timeliness of information.
移动终端无需通过扫描账户信息对应的二维码的方式获取账户信息,节省了移动终端通过摄像头扫描二维码才能获取账户信息的繁琐操作,这样也可以避免了光线较差因素导致移动终端获取账户信息的便捷性较差的技术问题,且移动终端根据当前位置信息获取相匹配的目标账户信息,不需要用户走到二维码所在的支付区域才能完成支付,进一步方便了用户使用。The mobile terminal does not need to scan the QR code corresponding to the account information to obtain the account information, which saves the cumbersome operation of scanning the QR code through the camera to obtain the account information, and also avoids the fact that the mobile terminal obtains the account due to poor lighting. The technical problem of poor information convenience, and the mobile terminal obtains the matching target account information according to the current location information, does not require the user to go to the payment area where the QR code is located to complete the payment, which further facilitates the use of the user.
参见图2,图2为本发明实施例提供的另一种账户信息获取方法的流程示意图。本发明实施例提供的账户信息获取方法与上述实施例提供的账户信息获取方法的区别在于:目标账户信息的获取方式不同。如图2所示,一种账户信息获取方法,包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of another method for acquiring account information provided by an embodiment of the present invention. The difference between the account information acquisition method provided by the embodiment of the present invention and the account information acquisition method provided by the above-mentioned embodiment is that the acquisition method of the target account information is different. As shown in Figure 2, a method for acquiring account information includes:
步骤201、若检测到通过摄像头扫描账户信息的获取操作,获取所述移动终端的位置信息。Step 201: Obtain the location information of the mobile terminal if the acquisition operation of scanning the account information through the camera is detected.
移动终端检测到账户信息获取操作时,获取所述移动终端的当前位置信息。移动终端检测账户信息获取操作,以及获取移动终端的当前位置信息的具体实施过程,可以参见上述步骤101所示的具体实施过程,不再赘述。When the mobile terminal detects the account information acquisition operation, the current location information of the mobile terminal is acquired. The specific implementation process of the mobile terminal detecting the account information acquisition operation and acquiring the current location information of the mobile terminal may refer to the specific implementation process shown in the
步骤202、查找至少一个备选图形码。Step 202: Search for at least one candidate graphic code.
移动终端检测到账户信息获取操作后,获取移动终端的当前位置信息。移动终端根据所获取的移动终端的当前位置信息,从本地数据库或者其他存储装置存储的账户信息与位置信息的对应关系中,查找至少一个备选图形码,所述备选图码对应的位置信息与所述移动终端的当前位置信息的距离在阈值范围内。After detecting the account information acquisition operation, the mobile terminal acquires the current location information of the mobile terminal. According to the acquired current location information of the mobile terminal, the mobile terminal searches for at least one candidate graphic code from the correspondence between account information and location information stored in a local database or other storage device, and the location information corresponding to the candidate graphic code The distance to the current location information of the mobile terminal is within a threshold range.
考虑位置信息的采集精确度和支付位置的可活动范围造成的距离差值,移动终端可以预先设置阈值范围。移动终端根据预先设置的阈值范围,查找与移动终端的当前位置信息的距离在阈值范围内的至少一个位置信息,以及每个位置信息对应的账户信息的图形码,作为备选图形码。这样,即可获取与所述移动终端的当前位置信息相匹配的至少一个备选图形码。一定阈值范围内的地址匹配方式,还可以方便用户在距离商家一段距离时即可进行支付操作,能有效避免较多用户同时靠近支付位置才能进行支付造成的拥挤或者等待耗时,进一步方便用户使用。Considering the distance difference caused by the collection accuracy of the location information and the movable range of the payment location, the mobile terminal may preset a threshold range. The mobile terminal searches for at least one location information whose distance from the current location information of the mobile terminal is within the threshold range according to the preset threshold range, and the graphic code of the account information corresponding to each location information, as an alternative graphic code. In this way, at least one candidate graphic code matching the current location information of the mobile terminal can be acquired. The address matching method within a certain threshold range can also facilitate users to make payment operations when they are at a distance from the merchant, which can effectively avoid crowding or time-consuming waiting caused by more users approaching the payment location at the same time, which is further convenient for users to use .
步骤203、显示所述至少一个备选图形码的账户标识。Step 203: Display the account identifier of the at least one candidate graphic code.
移动终端查找到与该移动终端的当前位置信息相匹配的至少一个备选图形码后,获取每个备选图形码的账户标识,并显示该至少一个备选图形码中每个图形码的账户标识。移动终端可以直接显示在该移动终端的显示屏上供用户选择,也可以将所述至少一个账户信息发送至需要执行账户信息选择操作的终端显示。After the mobile terminal finds at least one candidate graphic code that matches the current location information of the mobile terminal, obtains the account identifier of each candidate graphic code, and displays the account of each graphic code in the at least one candidate graphic code. logo. The mobile terminal may be directly displayed on the display screen of the mobile terminal for the user to select, or the at least one account information may be sent to the terminal that needs to perform the account information selection operation for display.
于上述显示步骤中,移动终端显示备选图形码对应的账户标识,方便用户选择和确认所需要的账户信息。具体的,所述账户标识可以为账户头像标识,例如账户所有者的商标、店名、店长头像、店长姓名等标识信息。In the above display step, the mobile terminal displays the account identifier corresponding to the alternative graphic code, so as to facilitate the user to select and confirm the required account information. Specifically, the account identifier may be an account avatar identifier, such as the account owner's trademark, store name, store manager avatar, store manager name and other identification information.
商家用户可以预先设置与商品或者商店匹配的标识信息,将标识信息与该商家的账户信息对应存储。移动终端在需要显示至少一个账户信息供用户选择时,可以显示至少一个账户信息的标识信息,例如账户信息对应的图标,也可以为与账户信息对应的商家信息。针对部分支付账户为个人账户的商家,可以利用其在支付应用中的交易信用或者交易记录等作为担保,获取设置对应账户信息的标识信息的机会,设置较为明确、容易辨识的图像标识、文字标识等标识信息,以便消费用户可以准确选择到目标支付账户对应的账户信息。为了防止自由设置标识信息可能存在的安全隐患,可以通过限定设置次数和设置路径的方式限定商家设置标识信息的机会,不作限定。The merchant user can preset identification information matching the commodity or store, and store the identification information corresponding to the account information of the merchant. When the mobile terminal needs to display at least one account information for the user to select, it can display the identification information of the at least one account information, such as an icon corresponding to the account information, or business information corresponding to the account information. For some merchants whose payment accounts are personal accounts, they can use their transaction credit or transaction records in the payment application as a guarantee to obtain the opportunity to set the identification information corresponding to the account information, and set clear and easily identifiable image identification and text identification. and other identification information, so that the consumer user can accurately select the account information corresponding to the target payment account. In order to prevent possible security risks from freely setting identification information, the opportunity for merchants to set identification information may be limited by limiting the number of settings and setting paths, which is not limited.
用户可以根据所显示的至少一个账户信息的标识信息中,准确快速选择到目标账户信息的标识信息并进行点选,移动终端即可快速确定目标账户信息。通过显示标识信息的方式显示所查找到的至少一个账户信息供用户快速准确选择,进一步提升账户信息获取操作的便捷性。The user can accurately and quickly select the identification information of the target account information according to the identification information of the displayed at least one account information and click, and the mobile terminal can quickly determine the target account information. At least one of the found account information is displayed by displaying the identification information for the user to quickly and accurately select, which further improves the convenience of the account information acquisition operation.
步骤204、将所述至少一个账户标识中,接收到选择操作的账户标识对应的备选图形码确定为目标图片。Step 204: Determine, in the at least one account identifier, the candidate graphic code corresponding to the account identifier that has received the selection operation as the target image.
步骤205、从所述目标图片中读取账户信息。Step 205: Read account information from the target picture.
移动终端将所述至少一个备选图形码的账户标识显示给用户后,由用户从所述至少一个账户标识中选择确定支付的目标账户信息。用户施加作用于所述目标账户标识的选择操作,所述选择操作可以为作用于目标账户信息的点选操作、滑动操作或者标识选择操作等,不作限定。After the mobile terminal displays the account identifier of the at least one candidate graphic code to the user, the user selects and determines the target account information for payment from the at least one account identifier. The user applies a selection operation acting on the target account identifier, and the selection operation may be a click operation, a sliding operation, or an identification selection operation acting on the target account information, which is not limited.
移动终端显示所述至少一个账户标识后,将所显示的至少一个账户标识中接收到选择操作的账户标识对应的账户信息确定为目标账户信息。移动终端即可执行向所述目标账户信息的支付操作。After displaying the at least one account identifier, the mobile terminal determines the account information corresponding to the account identifier for which the selection operation is received in the displayed at least one account identifier as the target account information. The mobile terminal can then execute the payment operation to the target account information.
在本实施例中,若所述移动终端查找到的与所述移动终端的当前位置信息相匹配的账户信息仅有一个,移动终端可以直接将该账户信息作为目标账户信息,也可以根据上述过程由用户执行选择操作,不作限定。In this embodiment, if the mobile terminal finds only one account information that matches the current location information of the mobile terminal, the mobile terminal can directly use the account information as the target account information, or can use the above process The selection operation is performed by the user, which is not limited.
上述本发明实施例提供的账户信息获取方法,移动终端检测到账户信息获取操作时,显示与移动终端的当前位置信息在预设的阈值范围内的至少一个备选图形码对应的账户标识,并由用户选择确定要支付的账户信息进行支付,提供获取账户信息的便捷性,且避免了位置信息可能存在的精确度问题导致账户信息获取错误的情况,提高了账户信息获取的准确性。本发明实施例提供的账户信息获取方法的具体实施过程可以参见上述实施例提供的账户信息获取方法的具体实施过程,在此不再一一赘述。In the method for obtaining account information provided by the above-mentioned embodiments of the present invention, when the mobile terminal detects an operation for obtaining account information, the mobile terminal displays an account identifier corresponding to at least one alternative graphic code whose current location information of the mobile terminal is within a preset threshold range, and The user selects and determines the account information to be paid for payment, which provides the convenience of obtaining account information, and avoids the situation that the accuracy of the location information may lead to the wrong account information acquisition, and improves the accuracy of account information acquisition. For the specific implementation process of the account information acquisition method provided by the embodiment of the present invention, reference may be made to the specific implementation process of the account information acquisition method provided by the above-mentioned embodiment, which will not be repeated here.
在上述实施例的基础上,步骤203中,显示所述至少一个账户信息的具体实施过程还可以为:On the basis of the above embodiment, in
按照所述至少一个账户标识中的每个账户的位置信息对应的地理位置与所述移动终端的当前位置信息对应的地理位置之间的距离从近至远的排列次序,依次显示所述至少一个账户标识。In the at least one account identifier, the at least one account is displayed in sequence according to the distance between the geographic location corresponding to the location information of each account in the at least one account identifier and the geographic location corresponding to the current location information of the mobile terminal in descending order. Account ID.
移动终端查找到与所述移动终端的当前位置信息对应的地理位置的距离在阈值范围内的至少一个地理位置的位置信息对应的至少一个账户信息后,显示所述至少一个账户标识。为方便用户从所述至少一个账户标识中选择目标账户信息,移动终端可以获取所述至少一个账户标识中的每个账户信息的位置信息与所述移动终端的当前位置信息的距离,并根据所述至少一个账户信息中的每个账户信息的位置信息与所述移动终端的当前位置信息的距离从近至远的排列次序,依次显示所述至少一个账户标识中的每个账户标识。用户可以根据移动终端的显示列表中的至少一个账户标识的先后次序,准确快速获知要选择的账户信息,以便所述移动终端执行对应所述目标账户信息的支付操作,提高账户信息获取操作的便捷性。After the mobile terminal finds at least one account information corresponding to the location information of at least one geographic location whose distance to the geographic location corresponding to the current location information of the mobile terminal is within a threshold range, the at least one account identifier is displayed. In order to facilitate the user to select target account information from the at least one account identifier, the mobile terminal may obtain the distance between the location information of each account information in the at least one account identifier and the current location information of the mobile terminal, and determine the distance according to the According to the arrangement order of the distance from near to far between the location information of each account information in the at least one account information and the current location information of the mobile terminal, each account identifier in the at least one account identifier is displayed in sequence. The user can accurately and quickly learn the account information to be selected according to the sequence of at least one account identifier in the display list of the mobile terminal, so that the mobile terminal can perform the payment operation corresponding to the target account information, and improve the convenience of the account information acquisition operation. sex.
于上述实施例中,移动终端根据距离从近至远的排列次序,依次显示所述至少一个账户信息时,还可以显示具体的距离值,以方便用户更明确获知其所在当前位置与目标账户信息匹配的位置信息的距离,以尽快准确选择正确的目标账户信息,进一步提升账户信息获取操作的便捷性。在上述实施例的基础上,所述根据所述移动终端的位置信息,从移动终端内预设的数据库中,获取与所述位置信息相匹配的目标图片的步骤之前,所述账户信息获取方法还可以包括:In the above embodiment, when the mobile terminal sequentially displays the at least one account information according to the order of distance from near to far, it can also display the specific distance value, so as to facilitate the user to more clearly know his current location and target account information. The distance of the matching location information can accurately select the correct target account information as soon as possible, and further improve the convenience of the account information acquisition operation. On the basis of the above embodiment, before the step of acquiring a target picture matching the location information from a preset database in the mobile terminal according to the location information of the mobile terminal, the account information acquisition method Can also include:
创建第一数据库;create a first database;
通过所述摄像头采集图形码;Collect graphic codes through the camera;
获取采集所述图形码时的位置信息;obtaining the location information when collecting the graphic code;
将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第一数据库中;以及correspondingly storing the graphic code and the location information of the mobile terminal when collecting the graphic code in the first database; and
所述根据所述移动终端的位置信息,从所述移动终端内预设的数据库中获取与所述位置信息相匹配的目标图片的步骤,可以包括:The step of acquiring a target picture matching the location information from a preset database in the mobile terminal according to the location information of the mobile terminal may include:
根据所述移动终端的位置信息,从所述第一数据库中,获取与所述位置信息相匹配的目标图形码。According to the location information of the mobile terminal, a target graphic code matching the location information is acquired from the first database.
移动终端在首次向某账户执行支付操作时,移动终端在此之前没有采集过该支付对象的账户信息及对应的图形码,也就无法执行根据位置信息匹配账户信息的账户信息获取操作,因此需要先执行存储账户信息的图形码及对应的位置信息的操作。When the mobile terminal performs a payment operation to an account for the first time, the mobile terminal has not collected the account information and the corresponding graphic code of the payment object before, so it cannot perform the account information acquisition operation that matches the account information according to the location information. First perform the operation of storing the graphic code of the account information and the corresponding location information.
移动终端可以创建第一数据库,用于存储图形码和位置信息。移动终端采集该账户信息的图形码,并将采集到的账户信息图形码及采集图形码时的位置信息对应存储到该第一数据库中。在后续的账户信息获取操作中,移动终端根据检测到的账户信息的获取操作后,获取移动终端的位置信息,从第一数据库中获取与位置信息相匹配的图形码作为目标图形码,从目标图形码中读取账户信息。The mobile terminal may create a first database for storing graphic codes and location information. The mobile terminal collects the graphic code of the account information, and stores the acquired graphic code of the account information and the position information when the graphic code is collected in the first database correspondingly. In the subsequent account information acquisition operation, the mobile terminal acquires the location information of the mobile terminal according to the detected account information acquisition operation, acquires the graphic code matching the location information from the first database as the target graphic code, and obtains the target graphic code from the target graphic code. Read account information in graphic code.
在上述实施例的基础上,所述根据所述移动终端的位置信息,从所述第一数据库中,获取与所述位置信息相匹配的目标图形码的步骤之前,所述方法还可以包括:On the basis of the above embodiment, before the step of acquiring a target graphic code matching the location information from the first database according to the location information of the mobile terminal, the method may further include:
创建第二数据库;create a second database;
所述通过所述摄像头采集图形码的步骤之后,所述方法还包括:After the step of collecting the graphic code through the camera, the method further includes:
若所述图形码为首次采集,则将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第二数据库中;If the graphic code is collected for the first time, the graphic code and the location information of the mobile terminal when the graphic code is collected are correspondingly stored in the second database;
若所述图形码不是首次采集,则将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第一数据库中。If the graphic code is not collected for the first time, the graphic code and the location information of the mobile terminal when the graphic code is collected are correspondingly stored in the first database.
考虑到正常生活中对一家商家仅支付一次的情况也很多,为减少一次性支付的账户信息对存储空间的占用,移动终端可以针对采集次数不同的图形码和位置信息分类存储。Considering that there are many cases of paying a merchant only once in normal life, in order to reduce the storage space occupied by account information for one-time payment, the mobile terminal can classify and store graphic codes and location information with different collection times.
如图3所示,移动终端可以创建第一数据库和第二数据库,可以在所述第一数据库中存储采集次数超过预设次数的账户信息的图形码和位置信息,在第二数据库中存储采集次数未超过预设次数的账户信息的图形码和位置信息。As shown in FIG. 3 , the mobile terminal can create a first database and a second database, and can store the graphic code and location information of the account information whose collection times exceed a preset number in the first database, and store the collection in the second database. The graphic code and location information of account information whose number of times has not exceeded the preset number of times.
在一种具体的实施方式中,移动终端通过摄像头采集图形码之后,判断该图形码是否为首次采集。若图形码为首次采集,则将图形码,以及采集该图形码时移动终端的位置信息,对应存储在第二数据库中。若该图形码不是首次采集,则将图形码,以及该图形码采集时的位置信息,对应存储在第一数据库中。在后续的位置与图形码的匹配操作中,移动终端可以直接从第一数据库中查找匹配的图形码,并从中获取账户信息。这样,移动终端的第一数据库中存储采集次数超过两次的账户信息的图形码和位置信息,省去了存储大量单次使用的账户信息占用的存储空间和查找耗时,提升了账户信息的获取效率。In a specific implementation manner, after the mobile terminal collects the graphic code through the camera, it is determined whether the graphic code is collected for the first time. If the graphic code is collected for the first time, the graphic code and the location information of the mobile terminal when the graphic code is collected are correspondingly stored in the second database. If the graphic code is not collected for the first time, the graphic code and the location information when the graphic code is collected are correspondingly stored in the first database. In the subsequent matching operation between the position and the graphic code, the mobile terminal can directly search for the matching graphic code from the first database, and obtain account information therefrom. In this way, the graphic code and location information of the account information collected more than twice in the first database of the mobile terminal are stored, which saves the storage space occupied by storing a large amount of single-use account information and the time-consuming search, and improves the accuracy of the account information. Get efficiency.
在上述实施例的基础上,移动终端判断所采集的图形码信息是否为首次采集的方式可以有多种。例如,移动终端可以将采集到的图形码与第二数据库中存储的图形码进行比对。若该采集到的图形码存在于第二数据库中,可以推断该图形码为第二次采集,可以直接将该图形码,及对应的账户信息和位置信息存储到第二数据库中,并删除第二数据库中的该图形码。在其他实施方式中,移动终端也可以直接将该第二数据库中的该图形码及对应的位置信息或者账户信息等转移至第一数据库中存储。On the basis of the above embodiment, there may be various ways for the mobile terminal to determine whether the collected graphic code information is collected for the first time. For example, the mobile terminal can compare the collected graphic code with the graphic code stored in the second database. If the collected graphic code exists in the second database, it can be inferred that the graphic code is collected for the second time, and the graphic code and the corresponding account information and location information can be directly stored in the second database, and the first The graphic code in the second database. In other embodiments, the mobile terminal may also directly transfer the graphic code and the corresponding location information or account information in the second database to the first database for storage.
在上述实施例的基础上,为进一步节省存储空间,移动终端首次采集某图形码时,可以仅将该图形码存储到第二数据库内。移动终端第二次采集到该图形码时,将该图形码,以及采集时的位置信息和对应的账户信息对应存储到第一步数据库中,并删除第二数据库中的该图形码。节省了数据库的空间占用,且提升了移动终端匹配图形码和比对操作的效率,提高了账户信息获取效率。On the basis of the above embodiment, in order to further save storage space, when the mobile terminal collects a certain graphic code for the first time, it may only store the graphic code in the second database. When the mobile terminal collects the graphic code for the second time, it stores the graphic code, the location information and the corresponding account information in the first step database correspondingly, and deletes the graphic code in the second database. The space occupation of the database is saved, the efficiency of matching graphic codes and comparison operations of the mobile terminal is improved, and the efficiency of acquiring account information is improved.
上述实施例提供的账户信息获取方法,通过移动终端创建存储采集次数为至少两次的账户信息的第一数据库,移动终端从第一数据库中查找与位置信息相匹配的目标账户信息,提高账户信息获取操作的便捷性。第一数据库仅存储采集次数为至少两次的账户信息,减少了较多一次性支付账户的账户信息的存储占用第一账户数据库的存储空间和账户信息获取操作的查找操作占用的计算量,进一步优化了移动终端的账户信息获取操作的效率。In the method for obtaining account information provided by the above embodiments, the mobile terminal creates a first database for storing account information whose collection times are at least twice, the mobile terminal searches the first database for target account information that matches the location information, and improves the account information. Get the ease of operation. The first database only stores account information whose collection times are at least twice, which reduces the storage space of the first account database occupied by the storage of account information of many one-time payment accounts and the calculation amount occupied by the search operation of the account information acquisition operation, and further Optimized the efficiency of the account information acquisition operation of the mobile terminal.
请参见图4,图4为本发明实施例提供的一种移动终端的结构示意图。如图4所示,所述移动终端400包括:Please refer to FIG. 4 , which is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 4, the
位置信息获取模块401,用于若检测到通过摄像头扫描账户信息的获取操作,获取所述移动终端的位置信息;a location
目标图片获取模块402,用于根据所述移动终端的位置信息,从移动终端内预设的数据库中,获取与所述位置信息相匹配的目标图片,所述图片为图形码;The target
账户信息读取模块403,用于从所述目标图片中读取账户信息。The account
在上述实施例的基础上,如图5所示,所述移动终端400还可以包括:On the basis of the foregoing embodiment, as shown in FIG. 5 , the
数据库创建模块404,用于创建第一数据库;
图形码采集模块405,用于通过摄像头采集图形码;a graphic
所述位置信息获取模块401还用于:The location
获取采集所述图形码时的位置信息;obtaining the location information when collecting the graphic code;
存储模块406,用于将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第一数据库中;A
所述目标图片获取模块402还用于:The target
根据所述移动终端的位置信息,从所述第一数据库中,获取与所述位置信息相匹配的目标图形码。According to the location information of the mobile terminal, a target graphic code matching the location information is acquired from the first database.
在上述实施例的基础上,如图5所示,所述数据库创建模块404还可以用于:On the basis of the above embodiment, as shown in FIG. 5 , the
创建第二数据库;create a second database;
所述存储模块406可以用于:The
若所述图形码为首次采集,则将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第二数据库中;If the graphic code is collected for the first time, the graphic code and the location information of the mobile terminal when the graphic code is collected are correspondingly stored in the second database;
若所述图形码不是首次采集,则将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第一数据库中。If the graphic code is not collected for the first time, the graphic code and the location information of the mobile terminal when the graphic code is collected are correspondingly stored in the first database.
在上述实施例的基础上,所述目标图片获取模块402可以包括:On the basis of the above embodiment, the target
查找子模块4021,用于查找至少一个备选图形码,其中,所述备选图形码对应的位置信息与所述移动终端的当前位置信息的距离在阈值范围内;
显示子模块4022,用于显示所述至少一个备选图形码的账户标识;A
确定子模块4023,用于将所述至少一个账户标识中,接收到选择操作的账户标识对应的备选图形码确定为所述目标图片。The determining sub-module 4023 is configured to determine, in the at least one account identifier, the candidate graphic code corresponding to the account identifier that has received the selection operation as the target picture.
在上述实施例的基础上,所述显示子模块4022可以用于:On the basis of the above embodiments, the
按照所述至少一个账户标识中的每个账户的位置信息对应的地理位置与所述移动终端的当前位置信息对应的地理位置之间的距离从近至远的排列次序,依次显示所述至少一个账户标识。In the at least one account identifier, the at least one account is displayed in sequence according to the distance between the geographic location corresponding to the location information of each account in the at least one account identifier and the geographic location corresponding to the current location information of the mobile terminal in descending order. Account ID.
在上述实施例的基础上,所述账户标识可以包括账户头像标识。On the basis of the above embodiment, the account identifier may include an account avatar identifier.
上述本发明实施例提供的账户信息获取操作,通过在检测到通过摄像头扫描账户信息的获取操作时,即获取移动终端的位置信息,进而从预设的数据库中获取位置信息与移动终端的当前的位置信息相匹配的目标图片,通过所获取的目标图片中读取账户信息,即可达到根据移动终端的位置信息为用户匹配对应的账户信息的目的。这样,移动终端无需通过扫描账户信息对应的二维码的方式获取账户信息,就能获取到目标账户信息,从而简化了移动终端获取账户信息的操作,缩短了操作时长,提高了移动终端获取账户信息的便捷性和时效性。本发明实施例提供的移动终端的具体实施过程可以参见上述实施例提供的账户信息获取方法的具体实施过程,在此不再一一赘述。The account information acquisition operation provided by the above-mentioned embodiments of the present invention is obtained by acquiring the location information of the mobile terminal when detecting the acquisition operation of scanning the account information through the camera, and then acquiring the location information and the current mobile terminal from the preset database. For the target picture that matches the location information, by reading the account information from the acquired target picture, the purpose of matching the corresponding account information for the user according to the location information of the mobile terminal can be achieved. In this way, the mobile terminal can acquire the target account information without acquiring the account information by scanning the QR code corresponding to the account information, thereby simplifying the operation of acquiring the account information by the mobile terminal, shortening the operation time, and improving the acquisition of the account by the mobile terminal. Convenience and timeliness of information. For the specific implementation process of the mobile terminal provided by the embodiment of the present invention, reference may be made to the specific implementation process of the account information acquisition method provided by the foregoing embodiment, which will not be repeated here.
参见图6,图6是本发明另一实施例提供的移动终端的结构示意图。如图6所示,为实现本发明各个实施例的一种移动终端,该移动终端600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、账户信息获取方法单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a mobile terminal provided by another embodiment of the present invention. As shown in FIG. 6 , in order to implement a mobile terminal according to various embodiments of the present invention, the
其中,处理器610,用于:The
若检测到通过摄像头扫描账户信息的获取操作,获取所述移动终端的位置信息;If an acquisition operation of scanning account information through a camera is detected, acquiring the location information of the mobile terminal;
根据所述移动终端的位置信息,从移动终端内预设的数据库中,获取与所述位置信息相匹配的目标图片,所述目标图片为图形码;According to the location information of the mobile terminal, from a database preset in the mobile terminal, obtain a target picture that matches the location information, and the target picture is a graphic code;
从所述目标图片中读取账户信息。Read account information from the target image.
可选的,所述处理器610还用于:Optionally, the
创建第一数据库;create a first database;
通过所述摄像头采集图形码;Collect graphic codes through the camera;
获取采集所述图形码时的位置信息;obtaining the location information when collecting the graphic code;
将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第一数据库中;以及correspondingly storing the graphic code and the location information of the mobile terminal when collecting the graphic code in the first database; and
根据所述移动终端的位置信息,从所述第一数据库中,获取与所述位置信息相匹配的目标图形码。According to the location information of the mobile terminal, a target graphic code matching the location information is acquired from the first database.
可选的,所述处理器610还用于:Optionally, the
创建第二数据库;create a second database;
若所述图形码为首次采集,则将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第二数据库中;If the graphic code is collected for the first time, the graphic code and the location information of the mobile terminal when the graphic code is collected are correspondingly stored in the second database;
若所述图形码不是首次采集,则将所述图形码,以及采集该图形码时所述移动终端的位置信息对应存储在所述第一数据库中。If the graphic code is not collected for the first time, the graphic code and the location information of the mobile terminal when the graphic code is collected are correspondingly stored in the first database.
可选的,所述处理器610还用于:Optionally, the
查找至少一个备选图形码,其中,所述备选图形码对应的位置信息与所述移动终端的当前位置信息的距离在阈值范围内;Find at least one alternative graphic code, wherein the distance between the position information corresponding to the alternative graphic code and the current position information of the mobile terminal is within a threshold range;
显示所述至少一个备选图形码的账户标识;displaying the account identification of the at least one alternative graphic code;
将所述至少一个账户标识中,接收到选择操作的账户标识对应的备选图形码确定为所述目标图片。In the at least one account identifier, the candidate graphic code corresponding to the account identifier that has received the selection operation is determined as the target picture.
可选的,所述处理器610还用于:Optionally, the
按照所述至少一个账户标识中的每个账户的位置信息对应的地理位置与所述移动终端的当前位置信息对应的地理位置之间的距离从近至远的排列次序,依次显示所述至少一个账户标识。In the at least one account identifier, the at least one account is displayed in sequence according to the distance between the geographic location corresponding to the location information of each account in the at least one account identifier and the geographic location corresponding to the current location information of the mobile terminal in descending order. Account ID.
移动终端600能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The
本发明实施例的移动终端,通过在检测到通过摄像头扫描账户信息的获取操作时,即获取移动终端的位置信息,进而从预设的数据库中获取位置信息与移动终端的当前的位置信息相匹配的目标图片,通过所获取的目标图片中读取账户信息,即可达到根据移动终端的位置信息为用户匹配对应的账户信息的目的。这样,移动终端无需通过扫描账户信息对应的二维码的方式获取账户信息,就能获取到目标账户信息,从而简化了移动终端获取账户信息的操作,缩短了操作时长,提高了移动终端获取账户信息的便捷性和时效性。本发明实施例提供的移动终端的具体实施过程可以参见上述图1至图3所示的实施例提供的账户信息获取方法的具体实施过程,在此不再一一赘述。The mobile terminal according to the embodiment of the present invention acquires the location information of the mobile terminal when detecting the acquisition operation of scanning the account information through the camera, and then acquires the location information from a preset database and matches the current location information of the mobile terminal By reading the account information from the obtained target picture, the purpose of matching the corresponding account information for the user according to the location information of the mobile terminal can be achieved. In this way, the mobile terminal can acquire the target account information without acquiring the account information by scanning the QR code corresponding to the account information, thereby simplifying the operation of acquiring the account information by the mobile terminal, shortening the operation time, and improving the acquisition of the account by the mobile terminal. Convenience and timeliness of information. For the specific implementation process of the mobile terminal provided by the embodiment of the present invention, reference may be made to the specific implementation process of the account information acquisition method provided by the embodiments shown in FIG. 1 to FIG. 3 , which will not be repeated here.
应理解的是,本发明实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
移动终端通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与移动终端600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以账户信息获取方法在账户信息获取方法单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The
移动终端600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节账户信息获取方法面板6061的亮度,接近传感器可在移动终端600移动到耳边时,关闭账户信息获取方法面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
账户信息获取方法单元606用于账户信息获取方法由用户输入的信息或提供给用户的信息。账户信息获取方法单元606可包括账户信息获取方法面板6061,可以采用液晶账户信息获取方法器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置账户信息获取方法面板6061。The account information
用户输入单元607可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板6071可覆盖在账户信息获取方法面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在账户信息获取方法面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与账户信息获取方法面板6061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板6071与账户信息获取方法面板6061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the
接口单元608为外部装置与移动终端600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端600内的一个或多个元件或者可以用于在移动终端600和外部装置之间传输数据。The
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器610是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The
移动终端600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,移动终端600包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种移动终端,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述指纹图标的账户信息获取方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述指纹图标的账户信息获取方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above embodiment of the method for acquiring account information of a fingerprint icon is implemented, and can To achieve the same technical effect, in order to avoid repetition, details are not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810246285.5A CN108510267B (en) | 2018-03-23 | 2018-03-23 | Account information acquisition method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810246285.5A CN108510267B (en) | 2018-03-23 | 2018-03-23 | Account information acquisition method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108510267A CN108510267A (en) | 2018-09-07 |
CN108510267B true CN108510267B (en) | 2020-07-24 |
Family
ID=63378188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810246285.5A Active CN108510267B (en) | 2018-03-23 | 2018-03-23 | Account information acquisition method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108510267B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111381915B (en) * | 2018-12-29 | 2023-09-26 | 阿里巴巴集团控股有限公司 | Data processing method, device, system and storage medium |
CN109886668A (en) * | 2019-01-31 | 2019-06-14 | 维沃移动通信有限公司 | A payment interface startup method and device |
CN115294665B (en) * | 2020-10-26 | 2024-08-23 | 腾讯科技(深圳)有限公司 | Information processing method, system, device and storage medium |
CN112732135A (en) * | 2020-12-28 | 2021-04-30 | 青岛海尔科技有限公司 | Health information display method and device, storage medium and electronic equipment |
CN115309971A (en) * | 2021-05-06 | 2022-11-08 | 腾讯科技(深圳)有限公司 | Information pushing method, device, equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105359177A (en) * | 2013-05-08 | 2016-02-24 | 贝宝公司 | Payment codes for enhanced consumer experience |
CN106408289A (en) * | 2016-08-26 | 2017-02-15 | 维沃移动通信有限公司 | Payment page switching method and mobile terminal |
CN107316194A (en) * | 2017-06-20 | 2017-11-03 | 三星电子(中国)研发中心 | It is a kind of based on positional information from the dynamic auxiliary means of payment and device |
CN107528967A (en) * | 2017-07-10 | 2017-12-29 | 努比亚技术有限公司 | A kind of quick payment method, terminal and computer-readable recording medium |
CN107590654A (en) * | 2017-08-11 | 2018-01-16 | 深圳市金立通信设备有限公司 | A kind of method of on-line payment, terminal and computer-readable medium |
-
2018
- 2018-03-23 CN CN201810246285.5A patent/CN108510267B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105359177A (en) * | 2013-05-08 | 2016-02-24 | 贝宝公司 | Payment codes for enhanced consumer experience |
CN106408289A (en) * | 2016-08-26 | 2017-02-15 | 维沃移动通信有限公司 | Payment page switching method and mobile terminal |
CN107316194A (en) * | 2017-06-20 | 2017-11-03 | 三星电子(中国)研发中心 | It is a kind of based on positional information from the dynamic auxiliary means of payment and device |
CN107528967A (en) * | 2017-07-10 | 2017-12-29 | 努比亚技术有限公司 | A kind of quick payment method, terminal and computer-readable recording medium |
CN107590654A (en) * | 2017-08-11 | 2018-01-16 | 深圳市金立通信设备有限公司 | A kind of method of on-line payment, terminal and computer-readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN108510267A (en) | 2018-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110674662B (en) | Scanning method and terminal equipment | |
CN108510267B (en) | Account information acquisition method and mobile terminal | |
CN108616446B (en) | A kind of message display method, mobile terminal | |
CN110798397A (en) | File transmission method, device and electronic device | |
CN108494947A (en) | Image sharing method and mobile terminal | |
CN108122105A (en) | A kind of method of payment and mobile terminal | |
CN108647957A (en) | A kind of method of payment, device and mobile terminal | |
US11250046B2 (en) | Image viewing method and mobile terminal | |
CN107450744B (en) | Personal information input method and mobile terminal | |
CN107977248B (en) | Display method and mobile terminal of a desktop pendant | |
CN108376096B (en) | A message display method and mobile terminal | |
CN110209331A (en) | Information cuing method and terminal | |
CN111723843B (en) | Sign-in method, sign-in device, electronic equipment and storage medium | |
CN108833661B (en) | Information display method and mobile terminal | |
CN108256853A (en) | A kind of method of payment and mobile terminal | |
WO2021083091A1 (en) | Screenshot capturing method and terminal device | |
CN108616448A (en) | A kind of the path recommendation method and mobile terminal of Information Sharing | |
CN110990679A (en) | Information searching method and electronic equipment | |
CN108898040A (en) | A kind of recognition methods and mobile terminal | |
CN110189123A (en) | Payment privilege method and mobile terminal | |
CN109669710B (en) | Note processing method and terminal | |
CN111815319A (en) | Graphic code processing method and electronic device | |
CN110533507A (en) | A kind of order management method, mobile terminal and computer readable storage medium | |
CN110213438A (en) | A kind of processing method and terminal device of application program | |
CN107967086B (en) | Method and device for arranging icons of mobile terminal, and mobile terminal |
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 |