CN112132563B - Block chain based fee collection method and platform - Google Patents

Block chain based fee collection method and platform Download PDF

Info

Publication number
CN112132563B
CN112132563B CN202011067033.XA CN202011067033A CN112132563B CN 112132563 B CN112132563 B CN 112132563B CN 202011067033 A CN202011067033 A CN 202011067033A CN 112132563 B CN112132563 B CN 112132563B
Authority
CN
China
Prior art keywords
target
dimensional code
recognition
information
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011067033.XA
Other languages
Chinese (zh)
Other versions
CN112132563A (en
Inventor
曹建荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianduoduo Information Technology (Chongqing) Co.,Ltd.
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202011067033.XA priority Critical patent/CN112132563B/en
Priority to CN202110310709.1A priority patent/CN112990897A/en
Priority to CN202110310708.7A priority patent/CN112990896A/en
Publication of CN112132563A publication Critical patent/CN112132563A/en
Application granted granted Critical
Publication of CN112132563B publication Critical patent/CN112132563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Image Analysis (AREA)

Abstract

The application provides a block chain-based fee collection method and a fee collection platform, and relates to the technical field of block chains. In the application, first, a target two-dimensional code image is acquired from a target payment device. And secondly, acquiring target two-dimensional code identification information corresponding to the target two-dimensional code image from the target block chain system. And then, performing information identification processing on the target two-dimensional code image based on the target two-dimensional code identification information to obtain target account information. And finally, generating request information based on the target account information and the pre-generated to-be-received expense information, and sending the request information to a target financial platform, wherein the target financial platform is used for carrying out expense payment processing based on the target account information and the to-be-received expense information. By the method, the problem of low safety in the existing fee collection technology can be solved.

Description

Block chain based fee collection method and platform
Technical Field
The application relates to the technical field of block chains, in particular to a block chain-based fee collection method and a fee collection platform.
Background
With the continuous development of internet technology, the application range of the internet technology is continuously expanded. For example, in order to improve convenience of payment, online payment may be performed in the form of a two-dimensional code instead of cash payment. However, the inventor researches and discovers that the online payment method based on the two-dimensional code in the prior art has the problem of low safety.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a block chain based fee collection method and a fee collection platform, so as to solve the problem of low security in the existing fee collection technology.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
a block chain based fee collection method is applied to a fee collection platform, the fee collection platform is connected with a target block chain system and a target financial platform, and the method comprises the following steps:
acquiring a target two-dimensional code image from the target payment equipment, wherein the target two-dimensional code image is generated by the target payment equipment based on target account information;
acquiring target two-dimensional code identification information corresponding to the target two-dimensional code image from the target block chain system, wherein the target two-dimensional code identification information is generated for the target two-dimensional code image after the target two-dimensional code image is generated by the target payment equipment and is sent to a target block chain deployed on the target block chain system for storage;
performing information identification processing on the target two-dimensional code image based on the target two-dimensional code identification information to obtain the target account information;
and generating request information based on the target account information and pre-generated to-be-received fee information, and sending the request information to the target financial platform, wherein the target financial platform is used for carrying out fee collection processing based on the target account information and the to-be-received fee information.
On the basis, the embodiment of the present application further provides a fee collection platform, including:
a memory for storing a computer program;
a processor coupled to the memory for executing the computer program stored in the memory to implement the above block chain based fee collection method.
According to the fee collection method and the fee collection platform based on the block chain, after the target two-dimensional code image is generated by the target payment equipment, corresponding target two-dimensional code identification information is generated and sent to the target block chain system for storage, so that the fee collection platform can acquire the target two-dimensional code identification information through the target block chain, and the target two-dimensional code image is identified. Therefore, the security of the identification processing of the target two-dimensional code image can be improved, and the problem of low security in the existing fee collection technology is solved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a system block diagram of an expense processing system according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating steps included in a block chain-based fee charging method according to an embodiment of the present invention.
Icon: 100-a fee collection platform; 200-a target payment device; 300-target blockchain system.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, the present application provides an expense processing system. The fee processing system includes, among other things, a fee collection platform 100, a target payment device 200, and a target blockchain system 300.
In detail, the fee collection platform 100 may be communicatively connected to the target payment device 200 and the target blockchain system 300, respectively, and the target payment device 200 may be communicatively connected to the target blockchain system 300.
Also, the fee collection platform 100 may be communicatively coupled to a target financial platform.
In this way, when the target payment device 200 needs to pay the fee collection platform 100, it may generate a target two-dimensional code image based on the target account information of the target financial platform, generate corresponding target two-dimensional code identification information for the target two-dimensional code image, and then send the target two-dimensional code identification information to the blockchain system, so as to store the target two-dimensional code image by using the target blockchain deployed by the plurality of blockchain node devices included in the blockchain system.
Based on this, after the fee collection platform 100 acquires the target two-dimensional code image, it may acquire corresponding target two-dimensional code identification information in the target block chain system 300, and then perform information identification processing on the target two-dimensional code image based on the target two-dimensional code identification information to obtain the target account information, so as to request the target financial platform to perform fee collection processing based on the target account information, thereby implementing a transaction (i.e., payment and collection of fees) between the target payment device 200 and the fee collection platform 100.
Alternatively, the fee collection platform 100 and the target payment device 200 may include, but are not limited to, a mobile phone, a computer, a tablet computer, and other terminal devices with data processing capability.
The embodiment of the present application further provides a fee collection platform 100, which can be applied to the fee processing system. The fee collection platform 100 may include, among other things, a memory and a processor.
In detail, the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, they may be electrically connected to each other via one or more communication buses or signal lines. The memory may have stored therein at least one software function, which may be in the form of software or firmware. The processor may be configured to execute the executable computer program stored in the memory, such as the software functional modules, so as to implement the block chain based charging method provided by the embodiments (described later) of the present application.
Alternatively, the Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), a System on Chip (SoC), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
With reference to fig. 2, the embodiment of the present application further provides a block chain-based fee collection method, which can be applied to the fee collection platform 100. Wherein the method steps defined by the flow related to the block chain based charging method may be implemented by the charging platform 100.
The specific process shown in FIG. 2 will be described in detail below.
Step S110, acquiring a target two-dimensional code image from the target payment apparatus 200.
In this embodiment, when a fee needs to be collected from the target payment device 200, the fee collection platform 100 may first acquire the target two-dimensional code image from the target payment device 200.
The target two-dimensional code image may be generated by the target payment device 200 based on target account information, and the target account information may be account information of the target financial platform.
Step S120, obtaining target two-dimensional code identification information corresponding to the target two-dimensional code image from the target block chain system 300.
In this embodiment, after the target two-dimensional code image is acquired based on step S110, the fee collection platform 100 may further acquire, from the target block chain system 300, target two-dimensional code identification information corresponding to the target two-dimensional code image.
The target two-dimensional code identification information may be generated for the target two-dimensional code image by the target payment device 200 after the target two-dimensional code image is generated, and sent to the target block chain deployed on the target block chain system 300 for storage.
Step S130, performing information identification processing on the target two-dimensional code image based on the target two-dimensional code identification information to obtain the target account information.
In this embodiment, after the target two-dimensional code identification information is acquired based on step S120, the fee collection platform 100 may further perform information identification processing on the target two-dimensional code image based on the target two-dimensional code identification information, so that the target account information may be obtained.
Step S140, generating request information based on the target account information and the pre-generated information of the fee to be collected, and sending the request information to the target financial platform.
In this embodiment, after obtaining the target account information based on step S130, the fee collection platform 100 may generate request information based on the target account information and pre-generated fee information to be collected, and then may transmit the request information to the target financial platform.
The target financial platform can be used for carrying out fee collection processing, such as account amount deduction and transfer processing, on the basis of the target account information and the information of fees to be collected.
Based on the method, the safety of effective identification processing of the target two-dimensional code image can be improved, so that the safety of fee collection processing is improved, the problem of lower safety in the existing fee collection technology is solved, and the method has higher practical value.
In the first aspect, it should be noted that, in step S110, a specific manner of obtaining the target two-dimensional code image is not limited, and may be selected according to actual application requirements.
For example, in an alternative example, the fee collection platform 100 may be in communication with the target payment device 200, so that the target payment device 200 transmits the target two-dimensional code image to the fee collection platform 100.
For another example, in another alternative example, the target two-dimensional code image may be displayed by the target payment device 200, and thus, the fee collection platform 100 may scan the display area of the target payment device 200 to acquire the target two-dimensional code image.
In the second aspect, it should be noted that, in step S120, a specific manner of obtaining the identification information of the target two-dimensional code is not limited, and may be selected according to actual application requirements.
For example, in an alternative example, in order to improve the convenience of acquiring the identification information of the target two-dimensional code, step S120 may include sub-steps 21 to 23, which are described in detail below.
And a substep 21 of performing a first recognition process on the target two-dimensional code image based on a preset two-dimensional code recognition rule to obtain a first recognition result.
In this embodiment, after the target two-dimensional code image is acquired based on step S110, a first identification process may be performed on the target two-dimensional code image based on a preset two-dimensional code identification rule, so that a first identification result may be obtained.
The first recognition result may include first identification information, and the first identification information may be used to identify the target two-dimensional code image, that is, the first identification information and the target two-dimensional code image have a one-to-one correspondence relationship.
Substep 22, sending said first identification information to said target blockchain system 300.
In this embodiment, after obtaining the first identification result based on the sub-step 21, that is, obtaining the first identification information, the second identification information may be sent to the target blockchain system 300.
Wherein the target blockchain system 300 is configured to send the target two-dimensional code identification information stored in the target blockchain to the fee collection platform 100 based on the first identification information.
Substep 23, obtaining the identification information of the target two-dimensional code sent by the target block chain system 300 based on the first identification information.
In this embodiment, after the first identification information is sent to the target blockchain system 300 based on the sub-step 22, the target two-dimensional code identification information sent by the target blockchain system 300 based on the first identification information can be obtained.
Alternatively, in the above example, the specific manner of performing the first identification process based on the sub-step 21 is not limited, and may be selected according to the actual application requirement.
For example, in one alternative example, the substep 21 may comprise the substeps of:
a first step of displaying the target two-dimensional code image in a first display area (a display screen area of the fee collection platform 100), wherein the first display area includes a two-dimensional code display area for displaying the target two-dimensional code image and a non-two-dimensional code display area for not displaying the target two-dimensional code image, and an area of the two-dimensional code display area is larger than an area of the non-two-dimensional code display area, and the two-dimensional code display area is surrounded by the non-two-dimensional code display area (so that the target two-dimensional code image can be displayed through the larger area for a target user to operate);
a second step of determining a target display area (for example, the target user may perform a region determination operation based on region-related information notified by the user of the target payment apparatus 200, so as to determine an effective target display area, the region-related information being a basis for generating the target two-dimensional code image), in response to a region determination operation (for example, an operation of a virtual key or a sliding operation of a screen) performed on the first display area by the target user (i.e., the user of the fee collection platform 100), wherein the target display area includes a partial region of the two-dimensional code display area;
thirdly, intercepting a picture where the target display area is located (such as by a screen interception technology) to obtain a target interception picture, wherein the target interception picture comprises a part of two-dimensional code image of the target two-dimensional code image;
fourthly, carrying out picture size adjustment processing on the target screenshot picture based on the integrity of a minimum identification unit of the two-dimensional code to obtain a target identification picture (namely, a picture formed by the complete minimum identification unit in the target screenshot picture), wherein the target identification picture comprises a plurality of complete minimum identification units, the minimum identification unit comprises at least one code element of the two-dimensional code (namely, a black or white lattice unit on the two-dimensional code), and the number of the minimum identification units included in the target identification picture is less than or equal to the number of the minimum identification units included in the target screenshot picture;
fifthly, performing recognition processing on the minimum recognition units included in the target recognition picture based on a preset first two-dimensional code recognition rule to obtain a first recognition sub-result, wherein the first recognition sub-result includes first identifier information, and the first recognition rule includes a recognition path (such as from top left to bottom right, from top right to sitting down, and the like) and a recognition mapping relationship (such as black corresponding to 1 or black corresponding to 0) when performing recognition processing on the minimum recognition units;
sixthly, performing recognition processing on the minimum recognition units outside the target recognition picture in the target two-dimensional code image based on a preset second two-dimensional code recognition rule to obtain a second recognition sub-result, wherein the second recognition sub-result comprises second identifier information, the second recognition rule comprises recognition paths and recognition mapping relations when the minimum recognition units are subjected to recognition processing, and the second recognition rule is different from at least one recognition path in the first recognition rule;
and seventhly, combining the first identification sub-result and the second identification sub-result according to a preset information combination rule to obtain a first identification result, wherein the first identification result comprises first identification information consisting of the first identification sub-information and the second identification sub-information, and the information combination rule comprises a position relation of the first identification sub-result and the second identification sub-result in the first identification result.
It is understood that, in the above example, the specific manner of obtaining the first identifier result based on the fifth step included in the sub-step 21 is not limited, and may be selected according to the actual application requirement.
For example, in one example, in order to facilitate the region determination operation by the target user, the target identification picture may include a number of symbols of the two-dimensional code that is greater than a number of symbols of the two-dimensional code other than the target identification picture in the target two-dimensional code image.
Based on this, the fifth step in the above example may include the following sub-steps:
a first sub-step, performing a first sampling process on a plurality of minimum identification units included in the target identification picture (e.g. one or two minimum identification units are obtained by sampling one minimum identification unit each time) based on a predetermined first identification path and a predetermined first identification unit sampling interval, to obtain a first target symbol sequence corresponding to the target identification picture, where each of the minimum identification units may include at least two symbols of a two-dimensional code, and the first target symbol sequence includes at least two minimum identification units (e.g. at least 4 symbols may be obtained);
a second sub-step, performing a first division process on the first target symbol sequence according to a predetermined first symbol division interval to obtain at least two first target symbol subsequences (for example, including 6 symbols, three first target symbol subsequences can be obtained by dividing every two symbols, each first symbol subsequence includes 3 symbols), where each of the first target symbol subsequences includes the same number of symbols, and the number of symbols is the corresponding number of the first symbol division interval;
a third sub-step, performing a first symbol sequence adjustment process (e.g. reverse order process, or exchanging the first symbol with the last symbol and exchanging the second symbol with the second last symbol until exchanging the first preset number of symbols with the second last preset number of symbols) on each first target symbol sub-sequence to obtain a first adjustment symbol sub-sequence corresponding to the first target symbol sub-sequence, wherein the rules of the first symbol sequence adjustment process performed on each first target symbol sub-sequence are the same;
a fourth sub-step, performing second sampling processing on each first adjustment symbol sub-sequence based on a predetermined first symbol sampling interval (for example, one symbol is acquired every other one or two symbols) to obtain a plurality of first target symbols corresponding to the first adjustment symbol sub-sequence, where the number of the plurality of first target symbols corresponding to each first adjustment symbol sub-sequence is the same, and the first symbol sampling interval corresponding to the second sampling processing on each first adjustment symbol sub-sequence is the same;
a fifth substep, based on the position relationship of the at least two first target symbol subsequences in the first target symbol sequence, of combining the multiple first target symbols corresponding to a first adjustment symbol subsequences corresponding to the at least two first target symbol subsequences to obtain a first adjustment symbol sequence (i.e. arranging the multiple obtained first target symbols according to the positions in the first symbol sequence);
and a sixth substep of performing a first mapping process on the first adjustment symbol sequence based on a predetermined first identification mapping relationship to obtain a first identification sub-result, wherein the first identification sub-result includes identification information corresponding to each symbol in the first adjustment symbol sequence, and the identification information constitutes the first identification sub-information.
It is understood that, in the above example, the specific manner of obtaining the second identifier result based on the sixth step included in the sub-step 21 is not limited, and may be selected according to the actual application requirement.
For example, on the basis of the above example, in order to improve the security of data processing, the sixth step in the above example may include the following sub-steps:
a first sub-step of performing third sampling processing on a plurality of minimum recognition units outside the target recognition picture in the target two-dimensional code image based on a predetermined second recognition path and a predetermined second recognition unit sampling interval to obtain a second target symbol sequence corresponding to the plurality of minimum recognition units, wherein each minimum recognition unit includes at least two symbols of the two-dimensional code, the second target symbol sequence includes at least two minimum recognition units, the second recognition path is different from the first recognition path, and the second recognition unit sampling interval is different from the first recognition unit sampling interval;
a second sub-step, performing a second division process on the second target symbol sequence according to a predetermined second symbol division interval to obtain at least two second target symbol subsequences, wherein each of the second target symbol subsequences has the same number of symbols, and the number of symbols is the corresponding number of the second symbol division interval, and the second symbol division interval is different from the first symbol division interval;
a third sub-step, performing second symbol order adjustment processing on each second target symbol subsequence to obtain a second adjusted symbol subsequence corresponding to the second target symbol subsequence, wherein rules of the second symbol order adjustment processing performed on each second target symbol subsequence are different, and the rule of each second symbol order adjustment processing is different from the rule of the first symbol order adjustment processing;
a fourth sub-step, based on the position relationship of the at least two second target symbol sub-sequences in the second target symbol sequence, of combining the second adjustment symbol sub-sequences corresponding to the at least two second target symbol sub-sequences to obtain a second adjustment symbol sequence;
and a fifth sub-step of performing a second mapping process on the second adjustment symbol sequence based on a predetermined second identification mapping relationship to obtain a second identification sub-result, wherein the second identification sub-result includes identification information corresponding to each symbol in the second adjustment symbol sequence, and the identification information constitutes the second identification sub-information.
It is understood that, in the above example, the specific manner of obtaining the first recognition result based on the seventh step included in the sub-step 21 is not limited, and may be selected according to the actual application requirement.
For example, in an alternative example, the sixth step in the above example may include the following sub-steps to obtain the first recognition result:
the first recognition sub-result and the second recognition sub-result are combined in the order of the first recognition sub-result being before and the second recognition sub-result being after, so as to obtain the first recognition result including the first recognition sub-result and the second recognition sub-result (for example, if the first recognition sub-result includes 0101101 as the first identifier information, and the second recognition sub-result includes 1111110 as the second identifier information, the obtained first recognition result may include 01011011111110 as the first identifier information).
For another example, in another alternative example, the sixth step in the above example may include the following sub-steps to obtain the first recognition result:
the first identifier information and the second identifier information included in the first identifier result and the second identifier result are added to the target number of bits by bit-filling, and then the corresponding bits are multiplied to obtain the first identifier information, that is, the first identifier result is obtained (for example, the first identifier information is 11101, the second identifier information is 00101010, and after bit-filling, the first identifier information is 1110100000 and 0010101000, and thus, after multiplication, the first identifier information and the second identifier information are 0010100000).
For another example, in another alternative example, the sub-step 21 may include the following sub-steps:
the method comprises the steps that a target two-dimensional code image is displayed in a first display area, wherein the first display area comprises a two-dimensional code display area used for displaying the target two-dimensional code image and a non-two-dimensional code display area used for not displaying the target two-dimensional code image, the area of the two-dimensional code display area is larger than that of the non-two-dimensional code display area, and the two-dimensional code display area is surrounded by the non-two-dimensional code display area;
secondly, responding to a region determination operation of a target user on the first display region, and determining a target display region, wherein the target display region comprises a partial region of the two-dimensional code display region;
thirdly, intercepting a picture in which the target display area is located to obtain a target intercepting picture, wherein the target intercepting picture comprises a part of two-dimensional code image of the target two-dimensional code image;
fourthly, carrying out picture size adjustment processing on the target screenshot picture based on the integrity of the minimum identification units of the two-dimensional codes to obtain a target adjustment picture, wherein the target adjustment picture comprises a plurality of complete minimum identification units, the minimum identification units comprise at least one code element of the two-dimensional codes, and the number of the minimum identification units included in the target adjustment picture is less than or equal to the number of the minimum identification units included in the target screenshot picture;
fifthly, determining a picture center point (such as a geometric center) in the target adjustment picture;
sixthly, determining a target two-dimensional code sub-image covering the central point of the image based on a plurality of predetermined target two-dimensional code sub-images, and taking the target two-dimensional code sub-image as a target identification image (in this way, the requirement for the accuracy of the region determination operation performed on the first display region by a target user can be reduced), wherein the plurality of target two-dimensional code sub-images are formed by dividing the target two-dimensional code image (for example, the target two-dimensional code sub-images can be equally divided into 4 target two-dimensional code sub-images);
seventhly, performing recognition processing on the minimum recognition units included in the target recognition picture based on a preset first two-dimensional code recognition rule to obtain a first recognition sub-result, wherein the first recognition sub-result includes first identifier information, and the first recognition rule includes recognition paths and recognition mapping relations when the minimum recognition units are subjected to recognition processing;
eighthly, performing recognition processing on the minimum recognition units outside the target recognition picture in the target two-dimensional code image based on a preset second two-dimensional code recognition rule to obtain a second recognition sub-result, wherein the second recognition sub-result comprises second identifier information, the second recognition rule comprises recognition paths and recognition mapping relations when the minimum recognition units are subjected to recognition processing, and the second recognition rule is different from at least one recognition path in the first recognition rule;
and a ninth step of combining the first identifier result and the second identifier result according to a preset information combination rule to obtain a first identification result, wherein the first identification result includes first identifier information composed of the first identifier information and the second identifier information, and the information combination rule includes a position relationship between the first identifier result and the second identifier result in the first identification result.
For another example, in another alternative example, the sub-step 21 may include the following sub-steps:
the method comprises the steps that a target two-dimensional code image is displayed in a first display area, wherein the first display area comprises a two-dimensional code display area used for displaying the target two-dimensional code image and a non-two-dimensional code display area used for not displaying the target two-dimensional code image, the area of the two-dimensional code display area is larger than that of the non-two-dimensional code display area, and the two-dimensional code display area is surrounded by the non-two-dimensional code display area;
secondly, responding to the area determination operation of a target user on the two-dimensional code display area (so that the efficiency of subsequently determining the picture center point can be improved), and determining a target display area, wherein the target display area comprises a partial area of the two-dimensional code display area;
thirdly, intercepting a picture in which the target display area is located to obtain a target intercepting picture, wherein the target intercepting picture comprises a part of two-dimensional code image of the target two-dimensional code image;
fourthly, determining a picture center point in the target intercepting picture;
fifthly, determining a target two-dimensional code sub-image covering the central point of the image based on a plurality of predetermined target two-dimensional code sub-images, and taking the target two-dimensional code sub-image as a target identification image, wherein the plurality of target two-dimensional code sub-images are formed by dividing the target two-dimensional code image;
sixthly, performing recognition processing on the minimum recognition units included in the target recognition picture based on a preset first two-dimensional code recognition rule to obtain a first recognition sub-result, wherein the first recognition sub-result includes first identifier information, and the first recognition rule includes recognition paths and recognition mapping relations when the minimum recognition units are subjected to recognition processing;
seventhly, performing recognition processing on the minimum recognition units outside the target recognition picture in the target two-dimensional code image based on a preset second two-dimensional code recognition rule to obtain a second recognition sub-result, wherein the second recognition sub-result comprises second identifier information, the second recognition rule comprises recognition paths and recognition mapping relations when the minimum recognition units are subjected to recognition processing, and the second recognition rule is different from at least one recognition path in the first recognition rule;
and eighthly, combining the first identifier result and the second identifier result according to a preset information combination rule to obtain a first identification result, wherein the first identification result comprises first identifier information consisting of the first identifier information and the second identifier information, and the information combination rule comprises the position relationship of the first identifier result and the second identifier result in the first identification result.
Also, in another alternative example, the sub-step 21 may include the sub-steps of:
the method comprises the steps that a target two-dimensional code image is displayed in a first display area, wherein the first display area comprises a two-dimensional code display area used for displaying the target two-dimensional code image and a non-two-dimensional code display area used for not displaying the target two-dimensional code image, the area of the two-dimensional code display area is larger than that of the non-two-dimensional code display area, and the two-dimensional code display area is surrounded by the non-two-dimensional code display area;
secondly, determining the target position information in response to the click determination operation of the target user on the two-dimensional code display area (so that the efficiency of subsequently determining the picture center point can be improved);
thirdly, determining a target two-dimensional code sub-image from a plurality of target two-dimensional code sub-images which are predetermined based on the target position information (namely the position information of a code element displayed in the target two-dimensional code sub-image is the same as the target position information), and taking the target two-dimensional code sub-image as a target identification picture, wherein the plurality of target two-dimensional code sub-images are formed by dividing the target two-dimensional code image;
fourthly, performing recognition processing on the minimum recognition units included in the target recognition picture based on a preset first two-dimensional code recognition rule to obtain a first recognition sub-result, wherein the first recognition sub-result includes first identifier information, and the first recognition rule includes recognition paths and recognition mapping relations when the minimum recognition units are subjected to recognition processing;
fifthly, identifying and processing the minimum identification units outside the target identification picture in the target two-dimensional code image based on a preset second two-dimensional code identification rule to obtain a second identification sub-result, wherein the second identification sub-result comprises second identification sub-information, the second identification rule comprises an identification path and an identification mapping relation when the minimum identification units are identified and processed, and the second identification rule is different from at least the identification path included in the first identification rule;
and sixthly, combining the first identifier result and the second identifier result according to a preset information combination rule to obtain a first identification result, wherein the first identification result comprises first identifier information consisting of the first identifier information and the second identifier information, and the information combination rule comprises the position relation of the first identifier result and the second identifier result in the first identification result.
Optionally, in the above example, the specific manner of sending the first identification information based on the sub-step 22 is not limited, and may be selected according to the actual application requirement.
For example, in one alternative example, sub-step 22 may include the following sub-steps:
a first step of obtaining device identification information for identifying the fee collection platform 100 (e.g., a device ID of the fee collection platform 100, etc.) and generating verification request information;
a second step of generating the first identification information, the device identification information and the verification request information to the target blockchain system 300, where the target blockchain system 300 is configured to perform an authorization verification process on the fee collection platform 100 based on the device identification information (e.g., verify whether the fee collection platform 100 is registered in the target blockchain system 300 based on the device identification information, i.e., whether there is authorization to acquire two-dimensional code identification information), and perform an integrity and consistency verification process on the target two-dimensional code identification information corresponding to the first identification information on the target blockchain based on the verification request after the authorization verification process is passed (e.g., verify whether the target two-dimensional code identification information is tampered, for example, the target two-dimensional code identification information on all blocks is not the same or only a part of the blocks have target two-dimensional code identification information stored therein, may be deemed tampered with) and sends the target two-dimensional code identification information to the fee collection platform 100 after the integrity and compliance verification process has passed.
In summary, according to the fee collection method and the fee collection platform 100 based on the block chain provided by the present application, after the target payment device 200 generates the target two-dimensional code image, the corresponding target two-dimensional code identification information is generated and sent to the target block chain system 300 for storage, so that the fee collection platform 100 can obtain the target two-dimensional code identification information through the target block chain, and thus, the target two-dimensional code image is identified. Therefore, the security of the identification processing of the target two-dimensional code image can be improved, and the problem of low security in the existing fee collection technology is solved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (3)

1. A block chain based fee collection method is applied to a fee collection platform, and the fee collection platform is connected with a target block chain system and a target financial platform, and the method comprises the following steps:
acquiring a target two-dimensional code image from target payment equipment, wherein the target two-dimensional code image is generated by the target payment equipment based on target account information;
acquiring target two-dimensional code identification information corresponding to the target two-dimensional code image from the target block chain system, wherein the target two-dimensional code identification information is generated for the target two-dimensional code image after the target two-dimensional code image is generated by the target payment equipment and is sent to a target block chain deployed on the target block chain system for storage;
performing information identification processing on the target two-dimensional code image based on the target two-dimensional code identification information to obtain the target account information;
generating request information based on the target account information and pre-generated to-be-received fee information, and sending the request information to the target financial platform, wherein the target financial platform is used for carrying out fee collection processing based on the target account information and the to-be-received fee information;
the step of obtaining the target two-dimensional code identification information corresponding to the target two-dimensional code image from the target block chain system includes:
performing first identification processing on the target two-dimensional code image based on a preset two-dimensional code identification rule to obtain a first identification result, wherein the first identification result comprises first identification information, and the first identification information is used for identifying the target two-dimensional code image;
sending the first identification information to the target block chain system, wherein the target block chain system is used for sending the target two-dimensional code identification information stored in the target block chain to the fee collection platform based on the first identification information;
acquiring target two-dimensional code identification information sent by the target block chain system based on the first identification information;
the step of performing first recognition processing on the target two-dimensional code image based on a preset two-dimensional code recognition rule to obtain a first recognition result includes:
displaying the target two-dimensional code image in a first display area, wherein the first display area comprises a two-dimensional code display area used for displaying the target two-dimensional code image and a non-two-dimensional code display area used for not displaying the target two-dimensional code image, the area of the two-dimensional code display area is larger than that of the non-two-dimensional code display area, and the two-dimensional code display area is surrounded by the non-two-dimensional code display area;
responding to the area determination operation of a target user on the first display area, and determining a target display area, wherein the target display area comprises a partial area of the two-dimensional code display area;
intercepting a picture in which the target display area is located to obtain a target intercepting picture, wherein the target intercepting picture comprises a part of two-dimensional code image of the target two-dimensional code image;
performing picture size adjustment processing on the target intercepting picture based on the integrity of the minimum identification unit of the two-dimensional code to obtain a target adjusting picture, wherein the target adjusting picture comprises a plurality of complete minimum identification units, the minimum identification units comprise at least one code element of the two-dimensional code, and the number of the minimum identification units included in the target adjusting picture is less than or equal to the number of the minimum identification units included in the target intercepting picture;
determining a picture center point in the target adjustment picture;
determining a target two-dimensional code sub-image covering the central point of the image based on a plurality of predetermined target two-dimensional code sub-images, and taking the target two-dimensional code sub-image as a target identification image, wherein the plurality of target two-dimensional code sub-images are formed by dividing the target two-dimensional code image;
performing recognition processing on the minimum recognition units included in the target recognition picture based on a preset first two-dimensional code recognition rule to obtain a first recognition sub-result, wherein the first recognition sub-result includes first identifier information, and the first two-dimensional code recognition rule includes recognition paths and recognition mapping relations when the minimum recognition units are subjected to recognition processing;
performing recognition processing on the minimum recognition units except the target recognition picture in the target two-dimensional code image based on a preset second two-dimensional code recognition rule to obtain a second recognition sub-result, wherein the second recognition sub-result comprises second identifier information, the second two-dimensional code recognition rule comprises a recognition path and a recognition mapping relation when the minimum recognition units are subjected to recognition processing, and the second two-dimensional code recognition rule is different from at least one recognition path in the first two-dimensional code recognition rule;
and combining the first identifier result and the second identifier result according to a preset information combination rule to obtain a first identification result, wherein the first identification result comprises first identifier information consisting of the first identifier information and the second identifier information, and the information combination rule comprises a position relation of the first identifier result and the second identifier result in the first identification result.
2. The blockchain-based fee collection method according to claim 1, wherein the step of sending the first identification information to the target blockchain system includes:
obtaining device identification information and generating verification request information, wherein the device identification information is used for identifying the fee collection platform;
and generating the first identification information, the device identification information and the verification request information to the target block chain system, wherein the target block chain system is used for performing authority verification processing on the fee collection platform based on the device identification information, performing integrity and consistency verification processing on the target two-dimensional code identification information corresponding to the first identification information on the target block chain based on the verification request information after the authority verification processing is passed, and sending the target two-dimensional code identification information to the fee collection platform after the integrity and consistency verification processing is passed.
3. A fee collection platform, comprising:
a memory for storing a computer program;
a processor coupled to the memory for executing a computer program stored by the memory to implement the block chain based fee collection method of any one of claims 1-2.
CN202011067033.XA 2020-10-04 2020-10-04 Block chain based fee collection method and platform Active CN112132563B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202011067033.XA CN112132563B (en) 2020-10-04 2020-10-04 Block chain based fee collection method and platform
CN202110310709.1A CN112990897A (en) 2020-10-04 2020-10-04 Two-dimensional code image processing method based on block chain
CN202110310708.7A CN112990896A (en) 2020-10-04 2020-10-04 Two-dimensional code identification method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011067033.XA CN112132563B (en) 2020-10-04 2020-10-04 Block chain based fee collection method and platform

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN202110310709.1A Division CN112990897A (en) 2020-10-04 2020-10-04 Two-dimensional code image processing method based on block chain
CN202110310708.7A Division CN112990896A (en) 2020-10-04 2020-10-04 Two-dimensional code identification method based on block chain

Publications (2)

Publication Number Publication Date
CN112132563A CN112132563A (en) 2020-12-25
CN112132563B true CN112132563B (en) 2021-12-28

Family

ID=73843747

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202110310709.1A Withdrawn CN112990897A (en) 2020-10-04 2020-10-04 Two-dimensional code image processing method based on block chain
CN202011067033.XA Active CN112132563B (en) 2020-10-04 2020-10-04 Block chain based fee collection method and platform
CN202110310708.7A Withdrawn CN112990896A (en) 2020-10-04 2020-10-04 Two-dimensional code identification method based on block chain

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110310709.1A Withdrawn CN112990897A (en) 2020-10-04 2020-10-04 Two-dimensional code image processing method based on block chain

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110310708.7A Withdrawn CN112990896A (en) 2020-10-04 2020-10-04 Two-dimensional code identification method based on block chain

Country Status (1)

Country Link
CN (3) CN112990897A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113449534B (en) * 2021-06-28 2023-03-28 歌尔股份有限公司 Two-dimensional code image processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423973A (en) * 2017-08-04 2017-12-01 现在(北京)支付股份有限公司 The method of payment of passive barcode scanning on customer mobile terminal based on block chain technology
CN108876373A (en) * 2018-06-28 2018-11-23 深圳市元征科技股份有限公司 A kind of method of payment, device, server and system
CN109697381A (en) * 2018-11-12 2019-04-30 恒银金融科技股份有限公司 A kind of pretreated method of image in 2 D code
KR102106158B1 (en) * 2019-11-11 2020-04-29 주식회사 엔브이컴퍼니 Method for providing total payment service using qrchain-code integrated by blockchain based qr-chain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874817A (en) * 2016-07-27 2017-06-20 阿里巴巴集团控股有限公司 Two-dimensional code identification method, equipment and mobile terminal
CN110601827B (en) * 2019-09-12 2022-09-02 腾讯科技(深圳)有限公司 Block chain-based identity recognition method, device and system and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423973A (en) * 2017-08-04 2017-12-01 现在(北京)支付股份有限公司 The method of payment of passive barcode scanning on customer mobile terminal based on block chain technology
CN108876373A (en) * 2018-06-28 2018-11-23 深圳市元征科技股份有限公司 A kind of method of payment, device, server and system
CN109697381A (en) * 2018-11-12 2019-04-30 恒银金融科技股份有限公司 A kind of pretreated method of image in 2 D code
KR102106158B1 (en) * 2019-11-11 2020-04-29 주식회사 엔브이컴퍼니 Method for providing total payment service using qrchain-code integrated by blockchain based qr-chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于区块链和安全终端的物联卡交易管理系统设计与实现;韩宇龙 等;《电子设计工程》;20191130;第27卷(第21期);正文第32-35页 *

Also Published As

Publication number Publication date
CN112132563A (en) 2020-12-25
CN112990896A (en) 2021-06-18
CN112990897A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CA2876732A1 (en) Method and system for secured communication of personal information
CN108269062B (en) Electronic contract making method, device, equipment and medium based on H5
CN110659569B (en) Electronic signature method, device, storage medium and electronic equipment
CN109614318A (en) Automated testing method, device, electronic equipment and computer-readable medium
CN113012075B (en) Image correction method, device, computer equipment and storage medium
CN110247898B (en) Identity verification method, identity verification device, identity verification medium and electronic equipment
CN112016502B (en) Safety belt detection method, safety belt detection device, computer equipment and storage medium
CN109102324B (en) Model training method, and red packet material laying prediction method and device based on model
CN112132563B (en) Block chain based fee collection method and platform
CN111324787B (en) Method and device for displaying block chain data in block chain browser
CN109544165B (en) Resource transfer processing method, device, computer equipment and storage medium
CN111859322A (en) Identity verification method and device and electronic equipment
CN113128244A (en) Scanning method and device and electronic equipment
CN107094159B (en) Method and device for establishing corresponding relation between card and user account
TW202004545A (en) Password obtaining method, trading device and terminal
CN110837562B (en) Case processing method, device and system
CN113284137B (en) Paper fold detection method, device, equipment and storage medium
CN112132562B (en) Block chain-based expense payment method and expense payment platform
CN115690845A (en) Motion trail prediction method and device
CN109299948A (en) Red packet sending method and device, wearable device and storage medium
CN110008907B (en) Age estimation method and device, electronic equipment and computer readable medium
CN109800837B (en) Data communication method, device and storage medium
CN116958149B (en) Medical model training method, medical data analysis method, device and related equipment
CN114781557B (en) Image information acquisition method and device and computer-readable storage medium
CN111507141B (en) Picture identification method, service interface display method, system and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Qi Jie

Inventor after: Cao Jianrong

Inventor before: Cao Jianrong

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230707

Address after: 400015 1-1 #, 1-2 #, 2-6 #, 3-6 #, Building 1, No. 45, Ma'anshan, Yuzhong District, Chongqing

Patentee after: Lianduoduo Information Technology (Chongqing) Co.,Ltd.

Address before: 212001 No.99, dingmaojing 15th Road, Zhenjiang New District, Zhenjiang City, Jiangsu Province

Patentee before: Cao Jianrong