WO2019036902A1 - 电子终端的扫描处理方法与电子终端 - Google Patents
电子终端的扫描处理方法与电子终端 Download PDFInfo
- Publication number
- WO2019036902A1 WO2019036902A1 PCT/CN2017/098489 CN2017098489W WO2019036902A1 WO 2019036902 A1 WO2019036902 A1 WO 2019036902A1 CN 2017098489 W CN2017098489 W CN 2017098489W WO 2019036902 A1 WO2019036902 A1 WO 2019036902A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data content
- information
- kth
- scanning
- identifier
- 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.)
- Ceased
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
Definitions
- the present invention relates to an electronic terminal, and more particularly to a scanning processing method and an electronic terminal of an electronic terminal.
- An electronic terminal can be understood as a terminal having a processor and a memory, and the processor reads the code in the memory and can perform a corresponding function.
- the electronic terminal may further include an image acquisition component, and the image acquisition component scans the identification object such as the two-dimensional code or the barcode, and the corresponding processing information may be acquired, and according to the acquired processing information, the corresponding preset processing may be performed, for example, extracting information, Page jumps, mobile payments, locks and unlocks, and more.
- the processing information is concentrated in one identification object, which results in a single manner of scanning processing, and the information is concentrated, which brings about a problem of low security.
- the invention provides a scanning processing method and an electronic terminal of an electronic terminal to solve the problem of low security.
- a scanning processing method for an electronic terminal including:
- N is an integer greater than or equal to 2;
- processing information is used to guide the implementation of the corresponding preset processing.
- the identification object is a two-dimensional code or a barcode.
- each of the M data content includes sub-information
- processing information including:
- M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information
- each data content of the M data content further includes a location identifier, where The location identifier is used to indicate a location of the corresponding sub-information in the processing information;
- the combining the M pieces of information according to the preset combination manner includes: combining the M pieces of sub-information according to the position indicated by the location identifier.
- the data content includes a verification identifier
- the data content corresponding to each identification object is obtained by sequentially scanning each identification object, including:
- K is an integer greater than or equal to 1, and less than or equal to N;
- the verifying, by the Kth verification identifier in the Kth data content includes:
- the N data content is obtained.
- the verifying, by the Kth verification identifier in the Kth data content includes:
- the Kth verification flag matches the (K-1)th verification flag in the corresponding (K-1)th data content acquired by scanning the (K-1)th identification object.
- the method further includes: if the other identification object is not scanned within the preset time, the confirmation processing information acquisition fails.
- the method further includes: confirming that the number of the identification objects to be scanned is N;
- the confirmation N data content is obtained, including:
- an electronic terminal including:
- a first scanning module configured to sequentially scan each identification object, and sequentially obtain data content corresponding to each identification object
- a first confirmation module configured to confirm that all N data contents are obtained; wherein N is an integer greater than or equal to 2;
- the first obtaining module is configured to obtain processing information according to the M data contents of the N data contents, where M is an integer greater than or equal to 1, and less than or equal to N.
- the identification object is a two-dimensional code or a barcode.
- each of the M data content includes sub-information
- the first obtaining module is specifically configured to:
- M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information
- each data content of the M data content further includes a location identifier, where the location identifier is used to indicate a location of the corresponding sub-information in the processing information;
- the first obtaining module is specifically configured to: combine the M sub-informations according to the location indicated by the location identifier.
- the data content includes a verification identifier
- the first scanning module is specifically configured to:
- K is an integer greater than or equal to 1, and less than or equal to N;
- the first scanning module is specifically configured to:
- the first scanning module is specifically configured to:
- the Kth verification flag matches the (K-1)th verification flag in the corresponding (K-1)th data content acquired by scanning the (K-1)th identification object.
- the first scanning module is further configured to: if the other identifying objects are not scanned within the preset time, the processing information acquisition failure is confirmed.
- the terminal further includes:
- a second confirmation module configured to confirm that the number of identification objects to be scanned is N;
- the first confirmation module is specifically configured to:
- an electronic terminal comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the first aspect and The first aspect of the various possible methods of designing the method.
- a storage medium comprising: a readable storage medium and a computer program for implementing the method of the first aspect and various possible designs of the first aspect.
- the scanning processing method and the electronic terminal of the electronic terminal provided by the present invention sequentially scan N identification objects according to Acquiring N data contents corresponding to the N identification objects; performing scanning of a plurality of identification objects, and obtaining processing information by confirming that the N data contents are all acquired, and according to the M data contents therein
- the acquisition processing of the processing information is no longer concentrated on one identification object, enriching the scanning processing method and improving the security.
- FIG. 1 is a schematic flow chart 1 of a scanning processing method of an electronic terminal according to the present invention.
- FIG. 2 is a second schematic flowchart of a scanning processing method of an electronic terminal according to the present invention.
- FIG. 3 is a schematic flow chart of step S22 of Figure 2;
- FIG. 4 is a schematic structural view 1 of an electronic terminal of the present invention.
- FIG. 5 is a second schematic structural diagram of an electronic terminal according to the present invention.
- FIG. 6 is a third schematic structural diagram of an electronic terminal according to the present invention.
- FIG. 1 is a schematic flowchart 1 of a scanning processing method of an electronic terminal according to the present invention; referring to FIG. 1, the method includes:
- S11 sequentially scanning each identification object, and sequentially acquiring data content corresponding to each identification object
- Identifying an object can be understood as an object that can be identified by scanning, which can be one-dimensional, two-dimensional or three-dimensional.
- the identification object is a two-dimensional code or a barcode.
- the N identification objects may be two-dimensional codes, or may be barcodes, or may be partially two-dimensional codes, and some are barcodes.
- Data content can be any form of data.
- S13 Obtain processing information according to the M data contents, where M is an integer greater than or equal to 1, and less than or equal to N; the processing information is used to guide the implementation of the corresponding preset processing.
- the processing information can be obtained according to the entire data content, or can be obtained according to part of the data content.
- the acquisition of the processing information is based on the premise that the N identification objects are sequentially scanned, and the manner of information acquisition can be effectively enriched. While improving security, it can also effectively improve the interest in processing information.
- the scanning processing method of the electronic terminal provided by the present invention sequentially scans N identification objects, sequentially acquires N data contents corresponding to the N identification objects; realizes scanning of a plurality of identification objects, and simultaneously, according to M in the The data content is obtained, and the processing information is obtained; the acquisition of the processing information is no longer concentrated on one identification object, which enriches the scanning processing method and improves the security.
- FIG. 2 is a schematic flowchart 2 of a scanning processing method of an electronic terminal according to the present invention. referring to FIG. 2, the method includes:
- S22 sequentially scan N identification objects, and sequentially acquire N data content corresponding to the N identification objects; where N is an integer greater than or equal to 2;
- Identifying an object can be understood as an object that can be identified by scanning, which can be one-dimensional, two-dimensional, or three-dimensional.
- the identification object is a two-dimensional code or a barcode. It can be understood that the N identification objects may be two-dimensional codes, or may be barcodes, or may be partially two-dimensional codes, and some are barcodes.
- Data content can be any form of data.
- the data content may include sub-information, and the sub-information may be understood as content used to construct the processing information, and the processing information may be understood as being used to guide the implementation of the corresponding information. Preset processing. By separately recording the sub-information, the security of the scan acquisition processing information can be further improved.
- the sub-information may include some or all of the information to be extracted, and instruction information for extraction; if the processing information is used to guide the implementation of the mobile payment, it may be applied to multiple
- the sub-information may include the amount paid by different users, or different account information of different users, and instruction information for payment. After completing the scanning of multiple identification objects, the payment is completed; The information is used to guide the implementation of the unlocking, and the sub-information may include instruction information for unlocking.
- the corresponding preset processing may include: extracting information, page jump, mobile payment, locking and unlocking, and the like. It can refer to the preset processing that can be implemented by scanning of all two-dimensional codes or barcodes in the related art.
- step S22 may include:
- K is an integer greater than or equal to 1, and less than or equal to N.
- K can be understood as an arbitrary integer, that is, each identification object can implement step S221.
- the verifying process may include: confirming that the Kth verification identifier matches an identifier of a corresponding location in the preset identifier list.
- Identification list It can be understood as a list of identifications in a preset order position. Specifically, the first sequence location has a first stored identifier, and the second sequence location has a second stored identifier. When the first identifier is scanned to obtain the first verification identifier, the first saved identifier may be confirmed. Matching with the first verification identifier, thereby verifying the pass; scanning when scanning the second identification object, and obtaining the third verification identifier, since the second stored identifier does not match the third verification identifier, the verification verification fails.
- the matching between the identifiers may be the same, or may be a matching relationship confirmed by any other algorithm.
- the embodiment may determine, by comparison with the stored identification list, whether the data content acquired by each scan is the data object that is scanned and acquired in the corresponding order. If the order is different, or scanning to other identification objects, the verification cannot be completed. That is, the information acquisition failed.
- This verification method has high verification accuracy.
- the verifying process may include: confirming that the Kth verification identifier and the corresponding (K-1)th data content acquired by scanning the (K-1)th identification object (K-1) verification identifiers match.
- the matching between the kth verification identifier and the (K-1)th verification identifier may be the same, or may be a matching relationship confirmed by any other algorithm.
- the matching of the kth verification identifier and the (K-1) verification identifier is understood to be the same, it can be understood that only the data content of the specific verification identifier is the acquired content, and the scheme cannot and does not need to distinguish the verification.
- Scan acquisition The order of the data content.
- the solution may also be understood as: the process of verifying may include: confirming that the kth verification identifier is a preset specific verification identifier.
- the kth verification identifier matches the (K-1) verification identifier, it is understood as a one-to-one correspondence confirmed by any other algorithm. Then, the comparison between the current verification identifier and the previous verification identifier may be performed, and it is determined whether the data content acquired by each scan is the data object that is scanned and acquired in the corresponding order. If the order is different, or other identification objects are scanned, the verification cannot be completed. , that is, information acquisition failed.
- the verification method has high verification accuracy and does not need to store a list of identifiers, which can save storage space.
- the scan success information is used to indicate that the corresponding data content has been scanned and acquired, and can also be used to indicate that the corresponding data content is obtained and verified.
- the information may be output by outputting a prompt window, or a specific sound output may be output, or may be outputted by any other information that can be output by the output device of the electronic terminal.
- S224 Determine whether other identification objects are scanned in the preset time.
- the other recognition object is the (K+1)th recognition object, so that a process similar to the Kth recognition object can be implemented, which may include: S226: Scanning (K+1) identification objects acquire the (K+1)th data content corresponding to the (K+1)th identification object.
- step S225 is performed: the confirmation processing information acquisition fails. In this embodiment, it is possible to avoid waste of time, resources, and the like caused by not scanning the identification object for a long time.
- the process of outputting the scan failure information may also be included.
- the scan failure message is used to indicate that the scan failed to obtain the corresponding data content.
- the information may be output by outputting a prompt window, or a specific sound output may be output, or may be outputted by any other information that can be output by the output device of the electronic terminal.
- the method before step S22, further includes the step S21: confirming that the number of the identification objects to be scanned is N; and step S23, the method may include: determining that the acquired quantity of the data content obtained by the cumulative calculation is N Then, confirm that the N data contents are all acquired. This embodiment determines the acquisition of N data contents by the cumulative calculation of the number, thereby satisfying the condition for obtaining the processed information.
- the method may include: if the data content includes the verification identifier, and the different data content has different verification identifiers, the step S23 may include: confirming that the Nth data content has been obtained by verifying the identifier, to confirm the N The data content is obtained.
- S24 Obtain processing information according to the M data contents, where M is an integer greater than or equal to 1, and less than or equal to N; the processing information is used to guide the implementation of the corresponding preset processing.
- the processing information can be obtained according to the entire data content, or can be obtained according to part of the data content.
- the acquisition of the processing information is based on the premise that the N identification objects are sequentially scanned, and the manner of information acquisition can be effectively enriched. While improving security, it can also effectively improve the interest in processing information.
- Step S23 may include:
- M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information
- each of the M data content further includes a location identifier, where the location identifier is used to indicate a location of the corresponding sub-information in the processing information;
- Combining the M pieces of information by a preset combination manner includes: combining the M pieces of sub-information according to the position indicated by the location identifier.
- the first sub-information may correspond to the first location identifier
- the second sub-information may correspond to the second location identifier, where the first sub-information is 123, the second sub-information is abc, and the location of the first location identifier may be in the Before the second location identifies the location of the guidance, the processing information obtained by combining the two sub-informations may be 123abc.
- the combined processing information can be a specific instruction.
- the location identifier and the verification identifier may be the same identifier or different identifiers.
- the scanning processing method of the electronic terminal provided by the present invention sequentially scans N identification objects, sequentially acquires N data contents corresponding to the N identification objects; realizes scanning of a plurality of identification objects, and simultaneously, according to M in the The data content is obtained, and the processing information is obtained; the acquisition of the processing information is no longer concentrated on one identification object, which enriches the scanning processing method and improves the security.
- FIG. 4 is a schematic structural diagram 1 of an electronic terminal according to the present invention. referring to FIG. 4, the terminal includes:
- the first scanning module 101 is configured to sequentially acquire N data objects corresponding to the N identification objects by sequentially scanning N identification objects, where N is an integer greater than or equal to 2;
- a first confirmation module 102 configured to confirm that the N data content is obtained
- the first obtaining module 103 is configured to obtain processing information according to the M data contents, where M is an integer greater than or equal to 1, and less than or equal to N.
- the electronic terminal provided by the embodiment sequentially scans the N identification objects, sequentially acquires the N data contents corresponding to the N identification objects, implements scanning of the plurality of identification objects, and confirms the N numbers by According to the content is obtained, and according to the M data contents, the processing information is obtained; so that the processing of the processing information is no longer concentrated on one identification object, enriching the scanning processing manner and improving the security.
- the terminal shown in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 1 , and the implementation principles, technical effects, and terms have similar meanings, and are not described herein again.
- FIG. 5 is a schematic structural diagram 2 of an electronic terminal according to the present invention. referring to FIG. 5, the terminal includes:
- the first scanning module 202 is configured to sequentially acquire N data objects corresponding to the N identification objects by sequentially scanning N identification objects, where N is an integer greater than or equal to 2;
- a first confirmation module 203 configured to confirm that the N data content is obtained
- the first obtaining module 204 is configured to obtain processing information according to the M data contents, where M is an integer greater than or equal to 1, and less than or equal to N.
- the identification object is a two-dimensional code or a barcode.
- each of the M data content includes sub-information
- the first obtaining module 203 is specifically configured to:
- M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information
- each of the M data content further includes a location identifier, where the location identifier is used to indicate a location of the corresponding sub-information in the processing information;
- the first obtaining module 203 is specifically configured to: combine the M sub-informations according to the location indicated by the location identifier.
- the data content includes a verification identifier
- the first scanning module 202 is specifically configured to:
- K is an integer greater than or equal to 1, and less than or equal to N;
- the first scanning module 202 is specifically configured to:
- the first scanning module 202 is specifically configured to:
- the Kth verification identifier matches the (k-1)th verification identifier in the corresponding (k-1)th data content acquired by scanning the (k-1)th identification object.
- the first scanning module is further configured to: if the other identifying object is not scanned within the preset time, the processing information acquisition failure is confirmed.
- the terminal further includes:
- a second confirmation module 201 configured to confirm that the number of identification objects to be scanned is N;
- the first confirmation module 203 is specifically configured to:
- the terminal shown in this embodiment can be used to implement the technical solutions of the method embodiments shown in FIG. 2 and FIG. 3, and the implementation principles, technical effects, and terms have similar meanings, and are not described herein again.
- FIG. 6 is a schematic structural diagram 3 of an electronic terminal according to the present invention; referring to FIG. 6, the terminal includes: a processor 31 and a memory 32; wherein:
- the memory 32 is configured to store a computer program, and the memory may also be a flash memory.
- the processor 31 is configured to execute an execution instruction of the memory storage to implement each step in the above method. For details, refer to the related description in the foregoing method embodiments.
- the memory 32 can be either stand-alone or integrated with the processor 31.
- the electronic terminal 30 may further include:
- a bus 33 is provided for connecting the memory 32 and the processor 31.
- the embodiment provides a readable storage medium.
- the readable storage medium stores execution instructions.
- the sending device performs the method provided by the various embodiments described above.
- the application also provides a program product comprising an execution instruction stored in a readable storage medium.
- At least one processor of the terminal can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the transmitting device implements the methods provided by the various embodiments described above.
- the aforementioned program can be stored in a computer readable storage medium.
- the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
一种电子终端的扫描处理方法与电子终端,所述的方法包括:通过依次扫描N个识别对象,依次获取N个识别对象对应的N个数据内容(S11);确认N个数据内容均被获取(S12);根据其中的M个数据内容,得到处理信息(S13)。本方法丰富了扫描处理方式,提高了安全性。
Description
本发明涉及电子终端,尤其涉及一种电子终端的扫描处理方法与电子终端。
电子终端,可以理解为具有处理器和存储器的终端,处理器读取存储器中的代码,可以执行相应的功能。电子终端还可以包括图像采集部件,通过图像采集部件扫描二维码或条形码等识别对象,可以获取相应的处理信息,根据所获取的处理信息,可以实施对应的预设处理,比如:提取信息、页面跳转、移动支付、锁定与解锁等等。
现有的相关技术中,处理信息集中于一个识别对象中,导致扫描处理的方式单一,且信息集中,会带来安全性较低的问题。
发明内容
本发明提供了一种电子终端的扫描处理方法与电子终端,以解决安全性较低的问题。
根据本发明的第一方面,提供了一种电子终端的扫描处理方法,包括:
通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;
确认N个数据内容均被获取,其中,N为大于或等于2的整数;
根据所述N个数据内容中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数;所述处理信息用于指引实施对应的预设处理。
可选的,所述识别对象为二维码或条形码。
可选的,所述M个数据内容中的每个数据内容均包括子信息;
所述根据所述N个数据内容中的M个数据内容,得到处理信息,包括:
若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;
若M等于1,则以该子信息作为所述处理信息。
可选的,若M大于1,所述M个数据内容中的每个数据内容均还包括位置标识,所述
位置标识用于指示对应的所述子信息在所述处理信息中的位置;
所述根据预设的组合方式组合M个子信息,包括:根据所述位置标识所指引的位置组合所述M个子信息。
可选的,所述数据内容包括验证标识;所述通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容,包括:
通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数;
验证所述第K个数据内容中的第K个验证标识通过;
输出扫描成功信息。
可选的,所述验证所述第K个数据内容中的第K个验证标识通过,包括:
确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。
可选的,若确定获取了标识列表中所有标识对应的验证标识,则:确认所述N个数据内容均被获取。
可选的,所述验证所述第K个数据内容中的第K个验证标识通过,包括:
确认所述第K个验证标识与通过扫描第(K-1)个识别对象,获取的对应的第(K-1)个数据内容中的第(K-1)个验证标识匹配。
可选的,若K小于N,则:所述输出扫描成功信息之后,还包括:若预设时间内未扫描到其他识别对象,则确认处理信息获取失败。
可选的,所述通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容之前,还包括:确认待扫描的识别对象的数量为N个;
所述确认N个数据内容均被获取,包括:
若确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。
根据本发明的第二方面,还提供了一种电子终端,包括:
第一扫描模块,用于通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;
第一确认模块,用于确认N个数据内容均被获取;其中,N为大于或等于2的整数;
第一得到模块,用于根据所述N个数据内容中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数。
可选的,所述识别对象为二维码或条形码。
可选的,所述M个数据内容中的每个数据内容均包括子信息;
所述第一得到模块具体用于:
若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;
若M等于1,则以该子信息作为所述处理信息。
可选的,若M大于1,所述M个数据内容中的每个数据内容均还包括位置标识,所述位置标识用于指示对应的所述子信息在所述处理信息中的位置;
所述第一得到模块具体用于:根据所述位置标识所指引的位置组合所述M个子信息。
可选的,所述数据内容包括验证标识;所述第一扫描模块,具体用于:
通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数;
验证所述第K个数据内容中的第K个验证标识通过;
输出扫描成功信息。
可选的,所述第一扫描模块,具体用于:
确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。
可选的,所述第一扫描模块,具体用于:
确认所述第K个验证标识与通过扫描第(K-1)个识别对象,获取的对应的第(K-1)个数据内容中的第(K-1)个验证标识匹配。
可选的,若K小于N,则:所述第一扫描模块,还具体用于:还包括:若预设时间内未扫描到其他识别对象,则确认处理信息获取失败。
可选的,所述的终端,还包括:
第二确认模块,用于确认待扫描的识别对象的数量为N个;
所述第一确认模块,具体用于:
若确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。
根据本发明的第三方面,提供了一种电子终端,包括:存储器、处理器以及计算机程序,所述计算机程序存储在所述存储器中,所述处理器运行所述计算机程序执行第一方面及第一方面各种可能的设计所述的方法。
根据本发明的第四方面,提供了一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序用于实现第一方面及第一方面各种可能的设计所述的方法。
本发明提供的电子终端的扫描处理方法与电子终端,通过依次扫描N个识别对象,依
次获取所述N个识别对象对应的N个数据内容;实现了多个识别对象的扫描,同时,通过确认所述N个数据内容均被获取,以及根据其中的M个数据内容,得到处理信息;使得处理信息的获取处理不再集中于一个识别对象,丰富了扫描处理方式,提高了安全性。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明一电子终端的扫描处理方法的流程示意图一;
图2是本发明一电子终端的扫描处理方法的流程示意图二;
图3是图2中步骤S22的流程示意图;
图4是本发明一电子终端的结构示意图一;
图5是本发明一电子终端的结构示意图二;
图6是本发明一电子终端的结构示意图三。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施
例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
实施例1
图1是本发明一电子终端的扫描处理方法的流程示意图一;请参考图1,所述的方法,包括:
S11:通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;
识别对象,可以理解为能够通过扫描被识别的对象,其可以为一维、二维或三维的。具体实施过程中,所述识别对象为二维码或条形码。可以理解为,N个识别对象中,可以均为二维码,也可均为条形码,也可部分为二维码,部分为条形码。数据内容,可以为任意形式的数据。
S12:确认N个数据内容均被获取,其中,N为大于或等于2的整数。
S13:根据其中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数;所述处理信息用于指引实施对应的预设处理。
M个数据内容,为N个数据内容中的部分或全部。可见,处理信息可以根据全部数据内容得到,也可根据部分数据内容得到。本发明中,不论处理信息是否为根据所有N个数据内容得到,处理信息的获取以依次扫描了N个识别对象为前提,可以有效丰富信息获取的方式。在提高安全性的同时,还可有有效提高处理信息获取的趣味性。
本发明提供的电子终端的扫描处理方法,通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;实现了多个识别对象的扫描,同时,通过根据其中的M个数据内容,得到处理信息;使得处理信息的获取不再集中于一个识别对象,丰富了扫描处理方式,提高了安全性。
实施例2
图2是本发明一电子终端的扫描处理方法的流程示意图二;请参考图2,所述的方法,包括:
S22:通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;其中,N为大于或等于2的整数;
识别对象,可以理解为能够通过扫描被识别的对象,其可以为一维、二维或三维。具体实施过程中,所述识别对象为二维码或条形码。可以理解为,N个识别对象中,可以均为二维码,也可均为条形码,也可部分为二维码,部分为条形码。
数据内容,可以为任意形式的数据。具体实施过程,数据内容可以包括子信息,子信息可以理解为用于构成处理信息的内容,处理信息可以理解为用于指引实施对应
的预设处理。通过子信息的分别记载,可以进一步提高扫描获取处理信息的安全性。
例如,若处理信息用于指引实施提取信息,则子信息中可以包括待提取信息中的部分或全部,以及用于提取的指令信息;若处理信息用于指引实施移动支付,则可应用于多用户分别支付的场景,子信息可以包括不同用户所付金额,或不同用户的不同账户信息,以及用于支付的指令信息,完成了多个识别对象的扫描后,才完成本次支付;若处理信息用于指引实施解锁,则子信息中可以包括用于解锁的指令信息。可见,对应的预设处理可以列举包括:提取信息、页面跳转、移动支付、锁定与解锁等等。其可以参照现有相关技术中所有二维码或条形码的扫描所能实施的预设处理。
图3是图2中步骤S22的流程示意图;请参考图3,步骤S22可以包括:
S221:通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数。K可理解为任意整数,即,每个识别对象均可实施步骤S221。
S222:验证所述第K个数据内容中的第K个验证标识通过。
其中一种实施方式中,验证的过程可以包括:确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。标识列表:可以理解为以预设次序位置列明标识的列表。具体可以为:第一次序位置列有第一已存标识,第二次序位置列有第二已存标识,当扫描第一个识别对象获取第一验证标识时,可以确认第一已存标识与第一验证标识匹配,从而验证通过;当扫描第二个识别对象时扫描,获取了第三验证标识时,由于第二已存标识与第三验证标识不匹配,则确认验证失败。其中,标识间的匹配,可以为相同,也可以为其他任意算法所确认的匹配对应的关系。
该实施方式可以通过与已存标识列表的比对,判断每次扫描获取的数据内容是否为对应次序该被扫描获取的数据对象,若次序不同,或扫描到其他识别对象,则无法完成验证,即信息获取失败。该验证方式验证准确度较高。
其中一种实施方式中,验证的过程可以包括:确认所述第K个验证标识与通过扫描第(K-1)个识别对象,获取的对应的第(K-1)个数据内容中的第(K-1)个验证标识匹配。第k个验证标识与第(K-1)个验证标识的匹配,可以为相同,也可以为其他任意算法所确认的匹配对应的关系。
若第k个验证标识与第(K-1)个验证标识的匹配,理解为相同,则可理解为仅有特定验证标识的数据内容为所获取的内容,该方案下,不能也无需区分验证扫描获取
数据内容的次序。该方案也可理解为:验证的过程可以包括:确认所述第k个验证标识为预设的特定验证标识。
若第k个验证标识与第(K-1)个验证标识的匹配,理解为其他任意算法所确认的一一对应的关系。则可以通过当前验证标识与前一个验证标识的比对,判断每次扫描获取的数据内容是否为对应次序该被扫描获取的数据对象,若次序不同,或扫描到其他识别对象,则无法完成验证,即信息获取失败。该验证方式验证准确度高,且无需存储标识列表,可以节约存储空间。
S223:输出扫描成功信息。
扫描成功信息,用于表示已扫描获取对应的数据内容,也可用于表示获取对应的数据内容并验证通过。具体实施过程中,可以通过输出一个提示窗口输出该信息,也可以输出一个特定音效输出,也可以通过其他任意可以以电子终端的输出装置输出的信息形式进行输出。
S224:判断预设时间内是否扫描到其他识别对象。
若确认预设时间内扫描到其他识别对象,该其他识别对象即为第(K+1)个识别对象,从而可以实施与第K个识别对象想类似的过程,可以包括:S226:通过扫描第(K+1)个识别对象,获取所述第(K+1)个识别对象对应的第(K+1)个数据内容。
若确认预设时间内未扫描到其他识别对象,则实施步骤S225:确认处理信息获取失败。该实施方式下,可以避免长时间未扫描到识别对象而造成时间、资源等的浪费。其中,确认处理信息获取失败后,还可包括输出扫描失败信息的过程。扫描失败信息,用于表示扫描获取对应的数据内容失败。具体实施过程中,可以通过输出一个提示窗口输出该信息,也可以输出一个特定音效输出,也可以通过其他任意可以以电子终端的输出装置输出的信息形式进行输出。
S23:确认所述N个数据内容均被获取。
其中一种实施方式中,若步骤S22之前,还包括步骤S21:确认待扫描的识别对象的数量为N个;则步骤S23,可以包括:确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。该实施方式通过数量的累积计算确定N个数据内容的获取,进而满足得到处理信息的条件。
其中一种实施方式中,可以包括:若数据内容包括验证标识,且不同数据内容具有不同验证标识,则步骤S23可以包括:通过验证标识确认已获取第N个数据内容,以确认所述N个数据内容均被获取。
S24:根据其中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数;所述处理信息用于指引实施对应的预设处理。
M个数据内容,为N个数据内容中的部分或全部。可见,处理信息可以根据全部数据内容得到,也可根据部分数据内容得到。本发明中,不论处理信息是否为根据所有N个数据内容得到,处理信息的获取以依次扫描了N个识别对象为前提,可以有效丰富信息获取的方式。在提高安全性的同时,还可有有效提高处理信息获取的趣味性。
步骤S23可以包括:
若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;
若M等于1,则以该子信息作为所述处理信息。
其中一种实施方式中,所述M个数据内容中的每个数据内容均还包括位置标识,所述位置标识用于指示对应的所述子信息在所述处理信息中的位置;所述根据预设的组合方式组合M个子信息,包括:根据所述位置标识所指引的位置组合所述M个子信息。具体实施过程中,第一子信息可以对应第一位置标识,第二子信息可以对应第二位置标识,第一子信息为123,第二子信息为abc,第一位置标识指引的位置可以处于第二位置标识指引的位置之前,故而,组合两个子信息得到的处理信息可以为123abc。组合后的处理信息,可以为具体的指令。
其中,位置标识与验证标识可以为同一标识,也可以为不同的标识。
本发明提供的电子终端的扫描处理方法,通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;实现了多个识别对象的扫描,同时,通过根据其中的M个数据内容,得到处理信息;使得处理信息的获取不再集中于一个识别对象,丰富了扫描处理方式,提高了安全性。
实施例3
图4是本发明一电子终端的结构示意图一;请参考图4,所述终端,包括:
第一扫描模块101,用于通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;其中,N为大于或等于2的整数;
第一确认模块102,用于确认所述N个数据内容均被获取;
第一得到模块103,用于根据其中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数。
本实施例提供的电子终端,通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;实现了多个识别对象的扫描,同时,通过确认所述N个数
据内容均被获取,以及根据其中的M个数据内容,得到处理信息;使得处理信息的获取处理不再集中于一个识别对象,丰富了扫描处理方式,提高了安全性。
此外,本实施例所示的终端,对应地可用于实施图1所示方法实施例的技术方案,其实现原理、技术效果以及术语的含义类似,此处不再赘述。
实施例4
图5是本发明一电子终端的结构示意图二;请参考图5,所述终端,包括:
第一扫描模块202,用于通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;其中,N为大于或等于2的整数;
第一确认模块203,用于确认所述N个数据内容均被获取
第一得到模块204,用于根据其中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数。
可选的,所述识别对象为二维码或条形码。
可选的,所述M个数据内容中的每个数据内容均包括子信息;
所述第一得到模块203具体用于:
若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;
若M等于1,则以该子信息作为所述处理信息。
可选的,所述M个数据内容中的每个数据内容均还包括位置标识,所述位置标识用于指示对应的所述子信息在所述处理信息中的位置;
所述第一得到模块203具体用于:根据所述位置标识所指引的位置组合所述M个子信息。
可选的,所述数据内容包括验证标识;所述第一扫描模块202,具体用于:
通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数;
验证所述第K个数据内容中的第K个验证标识通过;
输出扫描成功信息。
可选的,所述第一扫描模块202,具体用于:
确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。
可选的,所述第一扫描模块202,具体用于:
确认所述第K个验证标识与通过扫描第(k-1)个识别对象,获取的对应的第(k-1)个数据内容中的第(k-1)个验证标识匹配。
可选的,若K小于N,则:所述第一扫描模块,还具体用于:若预设时间内未扫描到其他识别对象,则确认处理信息获取失败。
可选的,所述的终端,还包括:
第二确认模块201,用于确认待扫描的识别对象的数量为N个;
所述第一确认模块203,具体用于:
确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。
此外,本实施例所示的终端,对应地可用于实施图2和图3所示方法实施例的技术方案,其实现原理、技术效果以及术语的含义类似,此处不再赘述。
实施例5
图6是本发明一电子终端的结构示意图三;请参考图6,所述终端,包括:处理器31以及存储器32;其中:
存储器32,用于存储计算机程序,该存储器还可以是flash(闪存)。
处理器31,用于执行存储器存储的执行指令,以实现上述方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。
可选地,存储器32既可以是独立的,也可以跟处理器31集成在一起。
当所述存储器32是独立于处理器31之外的器件时,所述电子终端30还可以包括:
总线33,用于连接所述存储器32和处理器31。
实施例6
本实施例提供一种可读存储介质,可读存储介质中存储有执行指令,当终端的至少一个处理器执行该执行指令时,发送设备执行上述的各种实施方式提供的方法。
本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。终端的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得发送设备实施上述的各种实施方式提供的方法。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:
其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Claims (10)
- 一种电子终端的扫描处理方法,其特征在于,包括:通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;确认N个数据内容均被获取,其中,N为大于或等于2的整数;根据所述N个数据内容中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数;所述处理信息用于指引实施对应的预设处理。
- 根据权利要求1所述的方法,其特征在于,所述识别对象为二维码或条形码。
- 根据权利要求1所述的方法,其特征在于:所述M个数据内容中的每个数据内容均包括子信息;所述根据所述N个数据内容中的M个数据内容,得到处理信息,包括:若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;若M等于1,则以该子信息作为所述处理信息。
- 根据权利要求2所述的方法,其特征在于,若M大于1,所述M个数据内容中的每个数据内容均还包括位置标识,所述位置标识用于指示对应的所述子信息在所述处理信息中的位置;若M大于1,所述根据预设的组合方式组合M个子信息,包括:根据所述位置标识所指引的位置组合所述M个子信息。
- 根据权利要求1至4任一项所述的方法,其特征在于,所述数据内容包括验证标识;所述通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容,包括:通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数;验证所述第K个数据内容中的第K个验证标识通过;输出扫描成功信息。
- 根据权利要求5所述的方法,其特征在于,所述验证所述第K个数据内容中的第K个验证标识通过,包括:确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。
- 根据权利要求5所述的方法,其特征在于,所述验证所述第K个数据内容中的第K个验证标识通过,包括:确认所述第K个验证标识与通过扫描第(K-1)个识别对象,获取的对应的第(K-1)个数据内容中的第(K-1)个验证标识匹配。
- 根据权利要求5所述的方法,其特征在于,若K小于N,则:所述输出扫描成功信息之后,还包括:若预设时间内未扫描到其他识别对象,则确认处理信息获取失败。
- 根据权利要求1至4任一项所述的方法,其特征在于,所述通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容之前,还包括:确认待扫描的识别对象的数量为N个;所述确认N个数据内容均被获取,包括:若确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。
- 一种电子终端,其特征在于,包括:第一扫描模块,通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;第一确认模块,用于确认N个数据内容均被获取;其中,N为大于或等于2的整数;第一得到模块,用于根据所述N个数据内容中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/098489 WO2019036902A1 (zh) | 2017-08-22 | 2017-08-22 | 电子终端的扫描处理方法与电子终端 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/098489 WO2019036902A1 (zh) | 2017-08-22 | 2017-08-22 | 电子终端的扫描处理方法与电子终端 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019036902A1 true WO2019036902A1 (zh) | 2019-02-28 |
Family
ID=65439353
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/098489 Ceased WO2019036902A1 (zh) | 2017-08-22 | 2017-08-22 | 电子终端的扫描处理方法与电子终端 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2019036902A1 (zh) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120223131A1 (en) * | 2011-03-03 | 2012-09-06 | Lim John W | Method and apparatus for dynamically presenting content in response to successive scans of a static code |
| CN104599408A (zh) * | 2014-12-29 | 2015-05-06 | 通邮信息技术有限公司 | 基于动态二维码的第三方账户自动柜员机取款方法及系统 |
| CN106408290A (zh) * | 2016-08-26 | 2017-02-15 | 维沃移动通信有限公司 | 一种支付界面启动方法和移动终端 |
-
2017
- 2017-08-22 WO PCT/CN2017/098489 patent/WO2019036902A1/zh not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120223131A1 (en) * | 2011-03-03 | 2012-09-06 | Lim John W | Method and apparatus for dynamically presenting content in response to successive scans of a static code |
| CN104599408A (zh) * | 2014-12-29 | 2015-05-06 | 通邮信息技术有限公司 | 基于动态二维码的第三方账户自动柜员机取款方法及系统 |
| CN106408290A (zh) * | 2016-08-26 | 2017-02-15 | 维沃移动通信有限公司 | 一种支付界面启动方法和移动终端 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| ES2709827T3 (es) | Autenticación de identidad usando características biológicas humanas | |
| US9865267B2 (en) | Communication method, apparatus and system based on voiceprint | |
| CN110264348B (zh) | 一种交易上链的处理方法、装置及存储介质 | |
| US9503474B2 (en) | Identification of trusted websites | |
| CN104104664A (zh) | 对验证码进行验证的方法、服务器、客户端和系统 | |
| CN105447454A (zh) | 指纹模板完善方法、装置和终端设备 | |
| EP3673386A1 (en) | Edit script verification with match operations and difference operations | |
| CN112037058B (zh) | 数据验证方法、装置及存储介质 | |
| CN114253855B (zh) | 用于生成测试用例的方法、装置、服务器及介质 | |
| CN104424426A (zh) | 验证方法及装置 | |
| CN108846292B (zh) | 脱敏规则生成方法及装置 | |
| CN110572434A (zh) | 语音播报消息的推送方法、装置、推送服务器及存储介质 | |
| CN111325078A (zh) | 一种人脸识别方法、装置及存储介质 | |
| CN109087647B (zh) | 声纹识别处理方法、装置、电子设备及存储介质 | |
| CN110675158A (zh) | 交易支付方法及装置 | |
| CN109450867B (zh) | 一种身份认证方法、装置及存储介质 | |
| WO2017174141A1 (en) | Method for providing a proof-of-retrievability | |
| CN110727576B (zh) | 一种web页面测试方法、装置、设备及存储介质 | |
| US20120158619A1 (en) | Optimal rule set management | |
| US11475113B2 (en) | Voice modulation based voice authentication | |
| JP2013047624A5 (zh) | ||
| CN115801279B (zh) | 文件安全传输方法及装置 | |
| CN109345215B (zh) | 数字货币处理方法、装置、计算机设备及存储介质 | |
| CN114782166B (zh) | 基于区块链的公积金提取业务处理方法及装置 | |
| CN110765318A (zh) | 查询区块链数据的方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17922888 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17922888 Country of ref document: EP Kind code of ref document: A1 |