WO2019036902A1 - Scanning processing method of electronic terminal, and electronic terminal - Google Patents

Scanning processing method of electronic terminal, and electronic terminal Download PDF

Info

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
Application number
PCT/CN2017/098489
Other languages
French (fr)
Chinese (zh)
Inventor
李君�
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/098489 priority Critical patent/WO2019036902A1/en
Publication of WO2019036902A1 publication Critical patent/WO2019036902A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices

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

A scanning processing method of an electronic terminal, and an electronic terminal. The method comprises: by means of sequentially scanning N identification objects, sequentially acquiring N pieces of data content corresponding to the N identification objects (S11); confirming that the N pieces of data content are all acquired (S12); and according to M pieces of data content therein, obtaining processing information (S13). The method enriches a scanning processing method and improves the security.

Description

电子终端的扫描处理方法与电子终端Scanning method and electronic terminal of electronic terminal 技术领域Technical field
本发明涉及电子终端,尤其涉及一种电子终端的扫描处理方法与电子终端。The present invention relates to an electronic terminal, and more particularly to a scanning processing method and an electronic terminal of an electronic terminal.
背景技术Background technique
电子终端,可以理解为具有处理器和存储器的终端,处理器读取存储器中的代码,可以执行相应的功能。电子终端还可以包括图像采集部件,通过图像采集部件扫描二维码或条形码等识别对象,可以获取相应的处理信息,根据所获取的处理信息,可以实施对应的预设处理,比如:提取信息、页面跳转、移动支付、锁定与解锁等等。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.
现有的相关技术中,处理信息集中于一个识别对象中,导致扫描处理的方式单一,且信息集中,会带来安全性较低的问题。In the related related art, 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.
发明内容Summary of the invention
本发明提供了一种电子终端的扫描处理方法与电子终端,以解决安全性较低的问题。The invention provides a scanning processing method and an electronic terminal of an electronic terminal to solve the problem of low security.
根据本发明的第一方面,提供了一种电子终端的扫描处理方法,包括:According to a first aspect of the present invention, a scanning processing method for an electronic terminal is provided, including:
通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;By sequentially scanning each identification object, the data content corresponding to each identification object is sequentially obtained;
确认N个数据内容均被获取,其中,N为大于或等于2的整数;Confirming that N data contents are obtained, where N is an integer greater than or equal to 2;
根据所述N个数据内容中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数;所述处理信息用于指引实施对应的预设处理。Obtaining 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 processing information is used to guide the implementation of the corresponding preset processing.
可选的,所述识别对象为二维码或条形码。Optionally, the identification object is a two-dimensional code or a barcode.
可选的,所述M个数据内容中的每个数据内容均包括子信息;Optionally, each of the M data content includes sub-information;
所述根据所述N个数据内容中的M个数据内容,得到处理信息,包括:And obtaining, according to the M data contents of the N data contents, processing information, including:
若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;If M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information;
若M等于1,则以该子信息作为所述处理信息。If M is equal to 1, the sub-information is used as the processing information.
可选的,若M大于1,所述M个数据内容中的每个数据内容均还包括位置标识,所述 位置标识用于指示对应的所述子信息在所述处理信息中的位置;Optionally, if M is greater than 1, 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;
所述根据预设的组合方式组合M个子信息,包括:根据所述位置标识所指引的位置组合所述M个子信息。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.
可选的,所述数据内容包括验证标识;所述通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容,包括:Optionally, the data content includes a verification identifier, and the data content corresponding to each identification object is obtained by sequentially scanning each identification object, including:
通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数;Obtaining the Kth data content corresponding to the Kth identification object by scanning the Kth identification object; wherein K is an integer greater than or equal to 1, and less than or equal to N;
验证所述第K个数据内容中的第K个验证标识通过;Verifying that the Kth verification identifier in the Kth data content passes;
输出扫描成功信息。Output scan success information.
可选的,所述验证所述第K个数据内容中的第K个验证标识通过,包括:Optionally, the verifying, by the Kth verification identifier in the Kth data content, includes:
确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。Confirming that the Kth verification identifier matches the identifier of the corresponding location in the preset identifier list.
可选的,若确定获取了标识列表中所有标识对应的验证标识,则:确认所述N个数据内容均被获取。Optionally, if it is determined that the verification identifier corresponding to all the identifiers in the identifier list is obtained, the N data content is obtained.
可选的,所述验证所述第K个数据内容中的第K个验证标识通过,包括:Optionally, the verifying, by the Kth verification identifier in the Kth data content, includes:
确认所述第K个验证标识与通过扫描第(K-1)个识别对象,获取的对应的第(K-1)个数据内容中的第(K-1)个验证标识匹配。It is confirmed that 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.
可选的,若K小于N,则:所述输出扫描成功信息之后,还包括:若预设时间内未扫描到其他识别对象,则确认处理信息获取失败。Optionally, if K is less than N, after the output scan success information, the method further includes: if the other identification object is not scanned within the preset time, the confirmation processing information acquisition fails.
可选的,所述通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容之前,还包括:确认待扫描的识别对象的数量为N个;Optionally, before the data objects corresponding to each of the identification objects are sequentially scanned, the method further includes: confirming that the number of the identification objects to be scanned is N;
所述确认N个数据内容均被获取,包括:The confirmation N data content is obtained, including:
若确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。If it is determined that the number of acquisitions of the data content obtained by the cumulative calculation is N, then: confirm that the N data contents are all acquired.
根据本发明的第二方面,还提供了一种电子终端,包括:According to a second aspect of the present invention, an electronic terminal is provided, including:
第一扫描模块,用于通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;a first scanning module, configured to sequentially scan each identification object, and sequentially obtain data content corresponding to each identification object;
第一确认模块,用于确认N个数据内容均被获取;其中,N为大于或等于2的整数;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;
第一得到模块,用于根据所述N个数据内容中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数。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.
可选的,所述识别对象为二维码或条形码。 Optionally, the identification object is a two-dimensional code or a barcode.
可选的,所述M个数据内容中的每个数据内容均包括子信息;Optionally, each of the M data content includes sub-information;
所述第一得到模块具体用于:The first obtaining module is specifically configured to:
若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;If M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information;
若M等于1,则以该子信息作为所述处理信息。If M is equal to 1, the sub-information is used as the processing information.
可选的,若M大于1,所述M个数据内容中的每个数据内容均还包括位置标识,所述位置标识用于指示对应的所述子信息在所述处理信息中的位置;Optionally, if M is greater than 1, 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;
所述第一得到模块具体用于:根据所述位置标识所指引的位置组合所述M个子信息。The first obtaining module is specifically configured to: combine the M sub-informations according to the location indicated by the location identifier.
可选的,所述数据内容包括验证标识;所述第一扫描模块,具体用于:Optionally, the data content includes a verification identifier; the first scanning module is specifically configured to:
通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数;Obtaining the Kth data content corresponding to the Kth identification object by scanning the Kth identification object; wherein K is an integer greater than or equal to 1, and less than or equal to N;
验证所述第K个数据内容中的第K个验证标识通过;Verifying that the Kth verification identifier in the Kth data content passes;
输出扫描成功信息。Output scan success information.
可选的,所述第一扫描模块,具体用于:Optionally, the first scanning module is specifically configured to:
确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。Confirming that the Kth verification identifier matches the identifier of the corresponding location in the preset identifier list.
可选的,所述第一扫描模块,具体用于:Optionally, the first scanning module is specifically configured to:
确认所述第K个验证标识与通过扫描第(K-1)个识别对象,获取的对应的第(K-1)个数据内容中的第(K-1)个验证标识匹配。It is confirmed that 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.
可选的,若K小于N,则:所述第一扫描模块,还具体用于:还包括:若预设时间内未扫描到其他识别对象,则确认处理信息获取失败。Optionally, if the K is less than N, 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.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
第二确认模块,用于确认待扫描的识别对象的数量为N个;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:
若确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。If it is determined that the number of acquisitions of the data content obtained by the cumulative calculation is N, then: confirm that the N data contents are all acquired.
根据本发明的第三方面,提供了一种电子终端,包括:存储器、处理器以及计算机程序,所述计算机程序存储在所述存储器中,所述处理器运行所述计算机程序执行第一方面及第一方面各种可能的设计所述的方法。According to a third aspect of the present invention, there is provided 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.
根据本发明的第四方面,提供了一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序用于实现第一方面及第一方面各种可能的设计所述的方法。According to a fourth aspect of the present invention, there is provided 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.
本发明提供的电子终端的扫描处理方法与电子终端,通过依次扫描N个识别对象,依 次获取所述N个识别对象对应的N个数据内容;实现了多个识别对象的扫描,同时,通过确认所述N个数据内容均被获取,以及根据其中的M个数据内容,得到处理信息;使得处理信息的获取处理不再集中于一个识别对象,丰富了扫描处理方式,提高了安全性。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.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1是本发明一电子终端的扫描处理方法的流程示意图一;1 is a schematic flow chart 1 of a scanning processing method of an electronic terminal according to the present invention;
图2是本发明一电子终端的扫描处理方法的流程示意图二;2 is a second schematic flowchart of a scanning processing method of an electronic terminal according to the present invention;
图3是图2中步骤S22的流程示意图;Figure 3 is a schematic flow chart of step S22 of Figure 2;
图4是本发明一电子终端的结构示意图一;4 is a schematic structural view 1 of an electronic terminal of the present invention;
图5是本发明一电子终端的结构示意图二;FIG. 5 is a second schematic structural diagram of an electronic terminal according to the present invention; FIG.
图6是本发明一电子终端的结构示意图三。FIG. 6 is a third schematic structural diagram of an electronic terminal according to the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged as appropriate, such that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施 例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the present invention will be described in detail below with specific embodiments. The following specific implementations The examples may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
实施例1Example 1
图1是本发明一电子终端的扫描处理方法的流程示意图一;请参考图1,所述的方法,包括: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:通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;S11: sequentially scanning each identification object, and sequentially acquiring data content corresponding to each identification object;
识别对象,可以理解为能够通过扫描被识别的对象,其可以为一维、二维或三维的。具体实施过程中,所述识别对象为二维码或条形码。可以理解为,N个识别对象中,可以均为二维码,也可均为条形码,也可部分为二维码,部分为条形码。数据内容,可以为任意形式的数据。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. In a specific implementation process, 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.
S12:确认N个数据内容均被获取,其中,N为大于或等于2的整数。S12: Confirm that all N data contents are obtained, where N is an integer greater than or equal to 2.
S13:根据其中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数;所述处理信息用于指引实施对应的预设处理。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.
M个数据内容,为N个数据内容中的部分或全部。可见,处理信息可以根据全部数据内容得到,也可根据部分数据内容得到。本发明中,不论处理信息是否为根据所有N个数据内容得到,处理信息的获取以依次扫描了N个识别对象为前提,可以有效丰富信息获取的方式。在提高安全性的同时,还可有有效提高处理信息获取的趣味性。M data contents, which are part or all of N data contents. It can be seen that the processing information can be obtained according to the entire data content, or can be obtained according to part of the data content. In the present invention, regardless of whether the processing information is obtained based on all N data contents, 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.
本发明提供的电子终端的扫描处理方法,通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;实现了多个识别对象的扫描,同时,通过根据其中的M个数据内容,得到处理信息;使得处理信息的获取不再集中于一个识别对象,丰富了扫描处理方式,提高了安全性。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.
实施例2Example 2
图2是本发明一电子终端的扫描处理方法的流程示意图二;请参考图2,所述的方法,包括: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:通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;其中,N为大于或等于2的整数;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;
识别对象,可以理解为能够通过扫描被识别的对象,其可以为一维、二维或三维。具体实施过程中,所述识别对象为二维码或条形码。可以理解为,N个识别对象中,可以均为二维码,也可均为条形码,也可部分为二维码,部分为条形码。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. In a specific implementation process, 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. In a specific implementation process, 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.
例如,若处理信息用于指引实施提取信息,则子信息中可以包括待提取信息中的部分或全部,以及用于提取的指令信息;若处理信息用于指引实施移动支付,则可应用于多用户分别支付的场景,子信息可以包括不同用户所付金额,或不同用户的不同账户信息,以及用于支付的指令信息,完成了多个识别对象的扫描后,才完成本次支付;若处理信息用于指引实施解锁,则子信息中可以包括用于解锁的指令信息。可见,对应的预设处理可以列举包括:提取信息、页面跳转、移动支付、锁定与解锁等等。其可以参照现有相关技术中所有二维码或条形码的扫描所能实施的预设处理。For example, if the processing information is used to guide the implementation of the extracted information, 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 For the scenario that the user separately pays, 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. It can be seen that 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.
图3是图2中步骤S22的流程示意图;请参考图3,步骤S22可以包括:3 is a schematic flowchart of step S22 in FIG. 2; referring to FIG. 3, step S22 may include:
S221:通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数。K可理解为任意整数,即,每个识别对象均可实施步骤S221。S221: Obtain a Kth data content corresponding to the Kth identification object by scanning the Kth identification object; where 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.
S222:验证所述第K个数据内容中的第K个验证标识通过。S222: Verify that the Kth verification identifier in the Kth data content passes.
其中一种实施方式中,验证的过程可以包括:确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。标识列表:可以理解为以预设次序位置列明标识的列表。具体可以为:第一次序位置列有第一已存标识,第二次序位置列有第二已存标识,当扫描第一个识别对象获取第一验证标识时,可以确认第一已存标识与第一验证标识匹配,从而验证通过;当扫描第二个识别对象时扫描,获取了第三验证标识时,由于第二已存标识与第三验证标识不匹配,则确认验证失败。其中,标识间的匹配,可以为相同,也可以为其他任意算法所确认的匹配对应的关系。In an implementation manner, 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.
其中一种实施方式中,验证的过程可以包括:确认所述第K个验证标识与通过扫描第(K-1)个识别对象,获取的对应的第(K-1)个数据内容中的第(K-1)个验证标识匹配。第k个验证标识与第(K-1)个验证标识的匹配,可以为相同,也可以为其他任意算法所确认的匹配对应的关系。In one embodiment, 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.
若第k个验证标识与第(K-1)个验证标识的匹配,理解为相同,则可理解为仅有特定验证标识的数据内容为所获取的内容,该方案下,不能也无需区分验证扫描获取 数据内容的次序。该方案也可理解为:验证的过程可以包括:确认所述第k个验证标识为预设的特定验证标识。If 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.
若第k个验证标识与第(K-1)个验证标识的匹配,理解为其他任意算法所确认的一一对应的关系。则可以通过当前验证标识与前一个验证标识的比对,判断每次扫描获取的数据内容是否为对应次序该被扫描获取的数据对象,若次序不同,或扫描到其他识别对象,则无法完成验证,即信息获取失败。该验证方式验证准确度高,且无需存储标识列表,可以节约存储空间。If 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.
S223:输出扫描成功信息。S223: Output scan success information.
扫描成功信息,用于表示已扫描获取对应的数据内容,也可用于表示获取对应的数据内容并验证通过。具体实施过程中,可以通过输出一个提示窗口输出该信息,也可以输出一个特定音效输出,也可以通过其他任意可以以电子终端的输出装置输出的信息形式进行输出。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. In the specific implementation process, 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:判断预设时间内是否扫描到其他识别对象。S224: Determine whether other identification objects are scanned in the preset time.
若确认预设时间内扫描到其他识别对象,该其他识别对象即为第(K+1)个识别对象,从而可以实施与第K个识别对象想类似的过程,可以包括:S226:通过扫描第(K+1)个识别对象,获取所述第(K+1)个识别对象对应的第(K+1)个数据内容。If it is confirmed that the other recognition object is scanned within 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.
若确认预设时间内未扫描到其他识别对象,则实施步骤S225:确认处理信息获取失败。该实施方式下,可以避免长时间未扫描到识别对象而造成时间、资源等的浪费。其中,确认处理信息获取失败后,还可包括输出扫描失败信息的过程。扫描失败信息,用于表示扫描获取对应的数据内容失败。具体实施过程中,可以通过输出一个提示窗口输出该信息,也可以输出一个特定音效输出,也可以通过其他任意可以以电子终端的输出装置输出的信息形式进行输出。If it is confirmed that the other identification objects are not scanned within the preset time, 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. After the failure to confirm the processing information acquisition, 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. In the specific implementation process, 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.
S23:确认所述N个数据内容均被获取。S23: Confirm that the N data contents are all acquired.
其中一种实施方式中,若步骤S22之前,还包括步骤S21:确认待扫描的识别对象的数量为N个;则步骤S23,可以包括:确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。该实施方式通过数量的累积计算确定N个数据内容的获取,进而满足得到处理信息的条件。In one embodiment, before step S22, the method 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.
其中一种实施方式中,可以包括:若数据内容包括验证标识,且不同数据内容具有不同验证标识,则步骤S23可以包括:通过验证标识确认已获取第N个数据内容,以确认所述N个数据内容均被获取。 In one embodiment, 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:根据其中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数;所述处理信息用于指引实施对应的预设处理。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.
M个数据内容,为N个数据内容中的部分或全部。可见,处理信息可以根据全部数据内容得到,也可根据部分数据内容得到。本发明中,不论处理信息是否为根据所有N个数据内容得到,处理信息的获取以依次扫描了N个识别对象为前提,可以有效丰富信息获取的方式。在提高安全性的同时,还可有有效提高处理信息获取的趣味性。M data contents, which are part or all of N data contents. It can be seen that the processing information can be obtained according to the entire data content, or can be obtained according to part of the data content. In the present invention, regardless of whether the processing information is obtained based on all N data contents, 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.
步骤S23可以包括:Step S23 may include:
若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;If M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information;
若M等于1,则以该子信息作为所述处理信息。If M is equal to 1, the sub-information is used as the processing information.
其中一种实施方式中,所述M个数据内容中的每个数据内容均还包括位置标识,所述位置标识用于指示对应的所述子信息在所述处理信息中的位置;所述根据预设的组合方式组合M个子信息,包括:根据所述位置标识所指引的位置组合所述M个子信息。具体实施过程中,第一子信息可以对应第一位置标识,第二子信息可以对应第二位置标识,第一子信息为123,第二子信息为abc,第一位置标识指引的位置可以处于第二位置标识指引的位置之前,故而,组合两个子信息得到的处理信息可以为123abc。组合后的处理信息,可以为具体的指令。In one embodiment, 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. In the specific implementation process, the first sub-information may correspond to the first location identifier, and 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.
本发明提供的电子终端的扫描处理方法,通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;实现了多个识别对象的扫描,同时,通过根据其中的M个数据内容,得到处理信息;使得处理信息的获取不再集中于一个识别对象,丰富了扫描处理方式,提高了安全性。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.
实施例3Example 3
图4是本发明一电子终端的结构示意图一;请参考图4,所述终端,包括:4 is a schematic structural diagram 1 of an electronic terminal according to the present invention; referring to FIG. 4, the terminal includes:
第一扫描模块101,用于通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;其中,N为大于或等于2的整数;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;
第一确认模块102,用于确认所述N个数据内容均被获取;a first confirmation module 102, configured to confirm that the N data content is obtained;
第一得到模块103,用于根据其中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数。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.
本实施例提供的电子终端,通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;实现了多个识别对象的扫描,同时,通过确认所述N个数 据内容均被获取,以及根据其中的M个数据内容,得到处理信息;使得处理信息的获取处理不再集中于一个识别对象,丰富了扫描处理方式,提高了安全性。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.
此外,本实施例所示的终端,对应地可用于实施图1所示方法实施例的技术方案,其实现原理、技术效果以及术语的含义类似,此处不再赘述。In addition, 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.
实施例4Example 4
图5是本发明一电子终端的结构示意图二;请参考图5,所述终端,包括:5 is a schematic structural diagram 2 of an electronic terminal according to the present invention; referring to FIG. 5, the terminal includes:
第一扫描模块202,用于通过依次扫描N个识别对象,依次获取所述N个识别对象对应的N个数据内容;其中,N为大于或等于2的整数;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;
第一确认模块203,用于确认所述N个数据内容均被获取a first confirmation module 203, configured to confirm that the N data content is obtained
第一得到模块204,用于根据其中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数。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.
可选的,所述识别对象为二维码或条形码。Optionally, the identification object is a two-dimensional code or a barcode.
可选的,所述M个数据内容中的每个数据内容均包括子信息;Optionally, each of the M data content includes sub-information;
所述第一得到模块203具体用于:The first obtaining module 203 is specifically configured to:
若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;If M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information;
若M等于1,则以该子信息作为所述处理信息。If M is equal to 1, the sub-information is used as the processing information.
可选的,所述M个数据内容中的每个数据内容均还包括位置标识,所述位置标识用于指示对应的所述子信息在所述处理信息中的位置;Optionally, 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;
所述第一得到模块203具体用于:根据所述位置标识所指引的位置组合所述M个子信息。The first obtaining module 203 is specifically configured to: combine the M sub-informations according to the location indicated by the location identifier.
可选的,所述数据内容包括验证标识;所述第一扫描模块202,具体用于:Optionally, the data content includes a verification identifier; the first scanning module 202 is specifically configured to:
通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数;Obtaining the Kth data content corresponding to the Kth identification object by scanning the Kth identification object; wherein K is an integer greater than or equal to 1, and less than or equal to N;
验证所述第K个数据内容中的第K个验证标识通过;Verifying that the Kth verification identifier in the Kth data content passes;
输出扫描成功信息。Output scan success information.
可选的,所述第一扫描模块202,具体用于:Optionally, the first scanning module 202 is specifically configured to:
确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。Confirming that the Kth verification identifier matches the identifier of the corresponding location in the preset identifier list.
可选的,所述第一扫描模块202,具体用于:Optionally, the first scanning module 202 is specifically configured to:
确认所述第K个验证标识与通过扫描第(k-1)个识别对象,获取的对应的第(k-1)个数据内容中的第(k-1)个验证标识匹配。 It is confirmed that 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.
可选的,若K小于N,则:所述第一扫描模块,还具体用于:若预设时间内未扫描到其他识别对象,则确认处理信息获取失败。Optionally, if K is less than N, 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.
可选的,所述的终端,还包括:Optionally, the terminal further includes:
第二确认模块201,用于确认待扫描的识别对象的数量为N个;a second confirmation module 201, configured to confirm that the number of identification objects to be scanned is N;
所述第一确认模块203,具体用于:The first confirmation module 203 is specifically configured to:
确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。Determining that the number of acquisitions of the data content obtained by the cumulative calculation is N, then: confirming that the N data contents are all acquired.
此外,本实施例所示的终端,对应地可用于实施图2和图3所示方法实施例的技术方案,其实现原理、技术效果以及术语的含义类似,此处不再赘述。In addition, 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.
实施例5Example 5
图6是本发明一电子终端的结构示意图三;请参考图6,所述终端,包括:处理器31以及存储器32;其中: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:
存储器32,用于存储计算机程序,该存储器还可以是flash(闪存)。The memory 32 is configured to store a computer program, and the memory may also be a flash memory.
处理器31,用于执行存储器存储的执行指令,以实现上述方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。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.
可选地,存储器32既可以是独立的,也可以跟处理器31集成在一起。Alternatively, the memory 32 can be either stand-alone or integrated with the processor 31.
当所述存储器32是独立于处理器31之外的器件时,所述电子终端30还可以包括:When the memory 32 is a device other than the processor 31, the electronic terminal 30 may further include:
总线33,用于连接所述存储器32和处理器31。A bus 33 is provided for connecting the memory 32 and the processor 31.
实施例6Example 6
本实施例提供一种可读存储介质,可读存储介质中存储有执行指令,当终端的至少一个处理器执行该执行指令时,发送设备执行上述的各种实施方式提供的方法。The embodiment provides a readable storage medium. The readable storage medium stores execution instructions. When at least one processor of the terminal executes the execution instruction, 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.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. 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.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. The scope.

Claims (10)

  1. 一种电子终端的扫描处理方法,其特征在于,包括:A scanning processing method for an electronic terminal, comprising:
    通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;By sequentially scanning each identification object, the data content corresponding to each identification object is sequentially obtained;
    确认N个数据内容均被获取,其中,N为大于或等于2的整数;Confirming that N data contents are obtained, where N is an integer greater than or equal to 2;
    根据所述N个数据内容中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数;所述处理信息用于指引实施对应的预设处理。Obtaining 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 processing information is used to guide the implementation of the corresponding preset processing.
  2. 根据权利要求1所述的方法,其特征在于,所述识别对象为二维码或条形码。The method of claim 1 wherein said identifying object is a two-dimensional code or a barcode.
  3. 根据权利要求1所述的方法,其特征在于:所述M个数据内容中的每个数据内容均包括子信息;The method of claim 1 wherein each of said M data content comprises sub-information;
    所述根据所述N个数据内容中的M个数据内容,得到处理信息,包括:And obtaining, according to the M data contents of the N data contents, processing information, including:
    若M大于1,则:根据预设的组合方式组合M个子信息,以得到所述处理信息;If M is greater than 1, the M pieces of sub-information are combined according to a preset combination manner to obtain the processing information;
    若M等于1,则以该子信息作为所述处理信息。If M is equal to 1, the sub-information is used as the processing information.
  4. 根据权利要求2所述的方法,其特征在于,若M大于1,所述M个数据内容中的每个数据内容均还包括位置标识,所述位置标识用于指示对应的所述子信息在所述处理信息中的位置;The method according to claim 2, wherein if M is greater than 1, each of the M data contents further includes a location identifier, wherein the location identifier is used to indicate that the corresponding sub-information is The location in the processing information;
    若M大于1,所述根据预设的组合方式组合M个子信息,包括:根据所述位置标识所指引的位置组合所述M个子信息。If M is greater than 1, 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.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述数据内容包括验证标识;所述通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容,包括:The method according to any one of claims 1 to 4, wherein the data content includes a verification identifier; and the data content corresponding to each identification object is sequentially obtained by sequentially scanning each identification object, including:
    通过扫描第K个识别对象,获取所述第K个识别对象对应的第K个数据内容;其中,K为大于或等于1,且小于或等于N的整数;Obtaining the Kth data content corresponding to the Kth identification object by scanning the Kth identification object; wherein K is an integer greater than or equal to 1, and less than or equal to N;
    验证所述第K个数据内容中的第K个验证标识通过;Verifying that the Kth verification identifier in the Kth data content passes;
    输出扫描成功信息。Output scan success information.
  6. 根据权利要求5所述的方法,其特征在于,所述验证所述第K个数据内容中的第K个验证标识通过,包括:The method according to claim 5, wherein the verifying the Kth verification identifier in the Kth data content comprises:
    确认所述第K个验证标识与预设的标识列表中对应位置的标识匹配。Confirming that the Kth verification identifier matches the identifier of the corresponding location in the preset identifier list.
  7. 根据权利要求5所述的方法,其特征在于,所述验证所述第K个数据内容中的第K个验证标识通过,包括:The method according to claim 5, wherein the verifying the Kth verification identifier in the Kth data content comprises:
    确认所述第K个验证标识与通过扫描第(K-1)个识别对象,获取的对应的第(K-1)个数据内容中的第(K-1)个验证标识匹配。 It is confirmed that 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.
  8. 根据权利要求5所述的方法,其特征在于,若K小于N,则:所述输出扫描成功信息之后,还包括:若预设时间内未扫描到其他识别对象,则确认处理信息获取失败。The method according to claim 5, wherein if K is less than N, after the outputting the scan success information, the method further comprises: if the other identification object is not scanned within the preset time, the confirmation processing information acquisition fails.
  9. 根据权利要求1至4任一项所述的方法,其特征在于,所述通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容之前,还包括:确认待扫描的识别对象的数量为N个;The method according to any one of claims 1 to 4, wherein the step of sequentially scanning each identification object and sequentially acquiring the data content corresponding to each identification object further comprises: confirming the number of identification objects to be scanned N;
    所述确认N个数据内容均被获取,包括:The confirmation N data content is obtained, including:
    若确定累积计算得到的所述数据内容的获取数量为N个,则:确认所述N个数据内容均被获取。If it is determined that the number of acquisitions of the data content obtained by the cumulative calculation is N, then: confirm that the N data contents are all acquired.
  10. 一种电子终端,其特征在于,包括:An electronic terminal, comprising:
    第一扫描模块,通过依次扫描各识别对象,依次获取每个识别对象对应的数据内容;The first scanning module sequentially scans each identification object, and sequentially acquires data content corresponding to each identification object;
    第一确认模块,用于确认N个数据内容均被获取;其中,N为大于或等于2的整数;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;
    第一得到模块,用于根据所述N个数据内容中的M个数据内容,得到处理信息;其中,M为大于或等于1,且小于或等于N的整数。 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.
PCT/CN2017/098489 2017-08-22 2017-08-22 Scanning processing method of electronic terminal, and electronic terminal WO2019036902A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098489 WO2019036902A1 (en) 2017-08-22 2017-08-22 Scanning processing method of electronic terminal, and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098489 WO2019036902A1 (en) 2017-08-22 2017-08-22 Scanning processing method of electronic terminal, and electronic terminal

Publications (1)

Publication Number Publication Date
WO2019036902A1 true WO2019036902A1 (en) 2019-02-28

Family

ID=65439353

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098489 WO2019036902A1 (en) 2017-08-22 2017-08-22 Scanning processing method of electronic terminal, and electronic terminal

Country Status (1)

Country Link
WO (1) WO2019036902A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
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 (en) * 2014-12-29 2015-05-06 通邮信息技术有限公司 Third-party account ATM (automatic teller machine) withdrawing method and system based on dynamic two-dimension codes
CN106408290A (en) * 2016-08-26 2017-02-15 维沃移动通信有限公司 Payment interface start method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
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 (en) * 2014-12-29 2015-05-06 通邮信息技术有限公司 Third-party account ATM (automatic teller machine) withdrawing method and system based on dynamic two-dimension codes
CN106408290A (en) * 2016-08-26 2017-02-15 维沃移动通信有限公司 Payment interface start method and mobile terminal

Similar Documents

Publication Publication Date Title
US9979721B2 (en) Method, server, client and system for verifying verification codes
CN106385319B (en) Method and system for verifying information in block chain network
US20160314469A1 (en) Method for generating off-line authentication credentials by intelligent card
CN110264348B (en) Processing method, device and storage medium for transaction uplink
CN111611559A (en) Identity verification method and device
US20170004832A1 (en) Communication Method, Apparatus And System Based On Voiceprint
CN103310139A (en) Input validation method and input validation device
CN112988896B (en) Synchronous consensus method, system, device and medium based on block chain
CN108471426A (en) Authentication method, login method, server and client side
CN115457668A (en) Rapid ticket checking method, device and system
CN110572434A (en) Push method and device of voice broadcast message, push server and storage medium
WO2019036902A1 (en) Scanning processing method of electronic terminal, and electronic terminal
CN106802898A (en) Data entry method and device
CN108966235B (en) Running method of IOS user network identity card RHIDFA
WO2017174141A1 (en) Method for providing a proof-of-retrievability
CN113300837B (en) Cross-chain verification method and device based on block certification and electronic equipment
US20210112057A1 (en) Multi-party document validation
CN114004612A (en) Two-dimensional code payment processing method and mobile terminal
CN109345215B (en) Digital currency processing method, device, computer equipment and storage medium
WO2016202045A1 (en) Card exchange method, device and system
CN114187063A (en) Supplier qualification verification method based on commodity purchase, storage medium and terminal
US11475113B2 (en) Voice modulation based voice authentication
CN110675151A (en) Transaction authentication method and device
CN105847013A (en) Security verification method of digital signature
CN113592630A (en) Credit card surface-signing method and device based on block chain

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