CN109903058A - A kind of feeding card identification method and device based on block chain - Google Patents

A kind of feeding card identification method and device based on block chain Download PDF

Info

Publication number
CN109903058A
CN109903058A CN201910130812.0A CN201910130812A CN109903058A CN 109903058 A CN109903058 A CN 109903058A CN 201910130812 A CN201910130812 A CN 201910130812A CN 109903058 A CN109903058 A CN 109903058A
Authority
CN
China
Prior art keywords
card
information
node
block
mark
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.)
Granted
Application number
CN201910130812.0A
Other languages
Chinese (zh)
Other versions
CN109903058B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910130812.0A priority Critical patent/CN109903058B/en
Publication of CN109903058A publication Critical patent/CN109903058A/en
Application granted granted Critical
Publication of CN109903058B publication Critical patent/CN109903058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of feeding card identification method and device based on block chain, by the first kind block for receiving processing node broadcasts from block chain network, it include number card information that the processing node records in respective intermediate links in the first kind block, processing node includes number card vendor's node, retailer's node and customer account management node;According to number card information in the first kind block, shipment chain corresponding with preset messenger card mark is obtained;In messenger card mark, determine that the shipment chain and the unmatched improper number card of number card standard distribution chain identify;According to improper number card mark and the shipment chain, determine feeding card node identification, number card is stored encrypted in first kind block from generating outbound to number card information of each link during completing sale, the number of making card information can not be tampered, and the equal information transparency of number card information in block chain network between each processing node, improve the reliability and accuracy for supporting card identification.

Description

A kind of feeding card identification method and device based on block chain
Technical field
The present invention relates to data processing technique more particularly to a kind of feeding card identification methods and device based on block chain.
Background technique
Feeding card refers to channel agent or branch company and examines to earn the reward of the channel sales of operator or complete KPI Core task, using the policy loophole or administrative vulnerability of operator, by from line activating and using the modes high-volume such as card for sale Pretend to be sale or management performance, reaches the behavior for trying to gain illegitimate benefits.
Existing feeding card identification method is usually to use big data to know to identify feeding card cheating otherwise.Such as basis The feeding card related data, classifies to the Subscriber Number, obtains the user number code group with similar feeding card related data.
But existing feeding card identification method needs to be trained disaggregated model with the training set of reliable indicia, therefore only The feeding card user for meeting known feeding mode card can be identified, and with the continuous improvement of feeding card technique means, it is more to use Consumer behavior mode in family can be modeled, such as make a phone call and browse the behavior of webpage.Therefore existing feeding card identification method Reliability is not high.
Summary of the invention
The present invention provides a kind of feeding card identification method and device based on block chain, improve support card identification reliability and Accuracy.
According to the first aspect of the invention, a breeding card identification method is provided, comprising:
The first kind block of processing node broadcasts is received from block chain network, includes described in the first kind block Number card information that processing node records in respective intermediate links, the processing node include number card vendor's node, retailer Node and customer account management node;
According to number card information in the first kind block, shipment corresponding with preset messenger card mark is obtained Chain, the messenger card mark are used to indicate number card for having generated communication data;
In messenger card mark, the shipment chain and the unmatched improper number card of number card standard distribution chain are determined Mark, described card standard distribution chain are number card processing sequence that all nodes are made an appointment in the block chain network;
According to improper number card mark and the shipment chain, feeding card node identification is determined.
Optionally, in a kind of possible implementation of first aspect, in messenger card mark, determination is described out Goods chain and the unmatched improper number card of number card standard distribution chain identify, comprising:
It obtains the messenger card and identifies corresponding bayonet lock and sell channel mark;
Channel mark, determination card standard distribution chain are sold according to described bayonet lock;
Obtain the processing node identification in number card standard distribution chain;
It is different with the processing node identification in described card standard distribution chain if the processing node identification in the shipment chain It causes, then by messenger card mark as improper number card mark.
Optionally, in the alternatively possible implementation of first aspect, number according in the first kind block Card information obtains shipment chain corresponding with preset messenger card mark, comprising:
From the block body of first kind block described at least one, parsing obtains multiple numbers card marks and each number card mark Corresponding card information;
It obtains the messenger card mark for having generated communication data and the messenger card identifies corresponding card information;
It is identified in corresponding card information from the messenger card, obtains the messenger card and identify corresponding processing node Mark;
According to number card processing sequence of the processing node identification and each processing node identification, the communication is obtained Number card identifies corresponding shipment chain.
Optionally, in another possible implementation of first aspect, described card information includes number card supply system Information, a number bayonet lock sell link information and number card user link information;
It is described that the first kind block for handling node broadcasts is received from block chain network, include in the first kind block Number card information that the processing node records in respective intermediate links, comprising:
The first kind block that number card vendor's node broadcasts are received from block chain network, with described card vendor The corresponding first kind block of node includes number card supply system information;Described card supply system packet Include: number card mark, number card vendor's node identification, number card outbound information, a number bayonet lock sell channel mark;
And/or
The first kind block that retailer's node broadcasts are received from block chain network is opposite with retailer's node The first kind block answered includes that number bayonet lock sells link information, and described bayonet lock sells the link information number of including: card mark Knowledge, retailer's node identification, number card storage information, number card outbound information, number card sales information;
And/or
The first kind block that the customer account management node broadcasts are received from block chain network, with the customer account management node The corresponding first kind block includes number card user link information, the described card user link information number of including: Block mark, customer account management node identification, user terminal information, subscriber identity information, number card package information.
Optionally, in another possible implementation of first aspect, it is described according to the improper number card mark and The shipment chain determines feeding card node identification, comprising:
Whether judge that the improper number card identifies in the corresponding shipment chain includes the customer account management node;
If so, to the corresponding user terminal information of the customer account management node identification, subscriber identity information and number cutting ferrule Meal information verified, and it is described verifying it is obstructed out-of-date, using the last one retailer's node identification of the shipment chain as Support card node identification;
If it is not, then using the last one retailer's node identification of the shipment chain as feeding card node identification.
Optionally, it in another possible implementation of first aspect, is identified described according to the improper number card With the shipment chain, determine after supporting card node identification, further includes:
The second class block is generated according to the feeding card node identification, and the second class block is broadcasted to the block chain In network.
According to the second aspect of the invention, a breeding card identification apparatus is provided, comprising:
Number card information obtains module, described for receiving the first kind block of processing node broadcasts from block chain network It include number card information that the processing node records in respective intermediate links in first kind block, the processing node includes Number card vendor's node, retailer's node and customer account management node;
Shipment chain obtains module, for obtaining and preset messenger according to number card information in the first kind block Card identifies corresponding shipment chain, and the messenger card mark is used to indicate number card for having generated communication data;
Improper number card identifies determining module, for determining the shipment chain and a number card in messenger card mark The unmatched improper number card mark of standard distribution chain, described card standard distribution chain is all nodes in the block chain network Number card processing sequence made an appointment;
Card node identification determining module is supported, for determining and supporting card according to improper number card mark and the shipment chain Node identification.
Optionally, in a kind of possible implementation of second aspect, the improper number card identifies determining module, uses In:
It obtains the messenger card and identifies corresponding bayonet lock and sell channel mark;
Channel mark, determination card standard distribution chain are sold according to described bayonet lock;
Obtain the processing node identification in number card standard distribution chain;
It is different with the processing node identification in described card standard distribution chain if the processing node identification in the shipment chain It causes, then by messenger card mark as improper number card mark.
Optionally, in the alternatively possible implementation of second aspect, the shipment chain obtains module, is used for:
From the block body of first kind block described at least one, parsing obtains multiple numbers card marks and each number card mark Corresponding card information;
It obtains the messenger card mark for having generated communication data and the messenger card identifies corresponding card information;
It is identified in corresponding card information from the messenger card, obtains the messenger card and identify corresponding processing node Mark;
According to number card processing sequence of the processing node identification and each processing node identification, the communication is obtained Number card identifies corresponding shipment chain.
Optionally, in another possible implementation of second aspect, described card information includes number card supply system Information, a number bayonet lock sell link information and number card user link information;
Described card information obtains module, is used for:
The first kind block that number card vendor's node broadcasts are received from block chain network, with described card vendor The corresponding first kind block of node includes number card supply system information;Described card supply system packet Include: number card mark, number card vendor's node identification, number card outbound information, a number bayonet lock sell channel mark;
And/or
The first kind block that retailer's node broadcasts are received from block chain network is opposite with retailer's node The first kind block answered includes that number bayonet lock sells link information, and described bayonet lock sells the link information number of including: card mark Knowledge, retailer's node identification, number card storage information, number card outbound information, number card sales information;
And/or
The first kind block that the customer account management node broadcasts are received from block chain network, with the customer account management node The corresponding first kind block includes number card user link information, the described card user link information number of including: Block mark, customer account management node identification, user terminal information, subscriber identity information, number card package information.
Optionally, in another possible implementation of second aspect, the feeding card node identification determining module is used In:
Whether judge that the improper number card identifies in the corresponding shipment chain includes the customer account management node;
If so, to the corresponding user terminal information of the customer account management node identification, subscriber identity information and number cutting ferrule Meal information verified, and it is described verifying it is obstructed out-of-date, using the last one retailer's node identification of the shipment chain as Support card node identification;
If it is not, then using the last one retailer's node identification of the shipment chain as feeding card node identification.
Optionally, it in another possible implementation of second aspect, is identified described according to the improper number card With the shipment chain, after determining feeding card node identification, the feeding card node identification determining module is also used to:
The second class block is generated according to the feeding card node identification, and the second class block is broadcasted to the block chain In network.
According to the third aspect of the invention we, a kind of electronic equipment is provided, comprising: memory, processor and computer journey Sequence, in the memory, the processor runs the computer program and executes the present invention for computer program storage The methods of one side and the various possible designs of first aspect.
According to the fourth aspect of the invention, a kind of readable storage medium storing program for executing is provided, meter is stored in the readable storage medium storing program for executing Calculation machine program, for realizing first aspect present invention and the various possibility of first aspect when the computer program is executed by processor The method of design.
A kind of feeding card identification method and device based on block chain provided by the invention, by being received from block chain network The first kind block of node broadcasts is handled, includes that the processing node is remembered in respective intermediate links in the first kind block Number card information of record, the processing node include number card vendor's node, retailer's node and customer account management node;According to described Number card information in first kind block obtains shipment chain corresponding with preset messenger card mark, the messenger card mark Know and is used to indicate number card for having generated communication data;In messenger card mark, the shipment chain and number card standard are determined The unmatched improper number card mark of distribution chain, described card standard distribution chain are that all nodes are preparatory in the block chain network Number card processing sequence of agreement;According to improper number card mark and the shipment chain, determine feeding card node identification, number card from It generates outbound to be stored encrypted in first kind block to number card information for completing each link during selling, the number of making card letter Breath can not be tampered, and the equal information transparency of number card information in block chain network between each processing node, improved and supported card knowledge Other reliability and accuracy.
Detailed description of the invention
Fig. 1 is a kind of application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of feeding card identification method flow diagram based on block chain provided in an embodiment of the present invention;
Fig. 3 is a kind of feeding card identification apparatus structural schematic diagram based on block chain provided in an embodiment of the present invention;
Fig. 4 is the hardware structural diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to Here the sequence other than those of diagram or description is implemented.
It should be appreciated that in various embodiments of the present invention, the size of the serial number of each process is not meant to execute sequence It is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Journey constitutes any restriction.
It should be appreciated that in the present invention, " comprising " and " having " and their any deformation, it is intended that covering is not arranged His includes, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly Those of list step or unit, but may include be not clearly listed or for these process, methods, product or equipment Intrinsic other step or units.
It should be appreciated that in the present invention, " multiple " refer to two or more."and/or" is only a kind of description pass Join object incidence relation, indicate may exist three kinds of relationships, for example, and/or B, can indicate: individualism A is existed simultaneously These three situations of A and B, individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".It " include A, B And C ", " include A, B, C " refer to that A, B, C three include, " including A, B or C " refers to comprising A, B, C thrin, " comprising A, B and/or C " refers to comprising wantonly 1 in A, B, C three or 2 or 3 wantonly.
It should be appreciated that in the present invention, " B corresponding with A ", " B corresponding with A ", " A and B are corresponding " or " B and A It is corresponding ", it indicates that B is associated with A, B can be determined according to A.It determines that B is not meant to determine B only according to A according to A, may be used also To determine B according to A and/or other information.The matching of A and B is that the similarity of A and B is greater than or equal to preset threshold value.
Depending on context, as used in this " if " can be construed to " ... when " or " when ... " or " in response to determination " or " in response to detection ".
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
It should be appreciated that in the present invention, block chain network, be verified using block linked data structure with storing data, Algorithm is known together using distributed node to generate the peace for guaranteeing data transmission and access with more new data, in the way of cryptography Entirely, it is programmed using the intelligent contract being made of automatized script code and distributed basis frame that one kind of operation data is completely new Structure and calculation.Block chain network is made of multiple nodes, and each node is to block chain network broadcast message or area When block, all nodes can be received, and be verified to the block received.Exist in the number of nodes being verified to the block It is logical to block verifying to be then determined as block chain network for accounting in entire block chain network total node number when greater than preset threshold It crosses, all nodes receive the block and are stored in local node space.Node can be understood as the tool such as server, terminal There is the electronic equipment of store function.
It should be appreciated that in the present invention, block chain, it can be understood as it is the data-link that multiple block sequential storages are constituted, The block head of each block includes the timestamp, the cryptographic Hash of previous block information and the Kazakhstan of this block information of this block Uncommon value, is achieved in being mutually authenticated between block and block, constitutes the block chain that can not securely distort.Each block can To be not understood as a data block (unit of storing data).A kind of database of the block chain as decentralization is to make for a string With the data block of the interrelated generation of cryptography method, the information of primary network transaction is contained in each data block, is used for It verifies the validity (anti-fake) of its information and generates next block.Block and block join end to end to form chain, as block chain.If needing Data in block is modified, then needs to modify the content of all blocks after this block, and nodes all in block chain network are standby The data of part are modified.Therefore, block chain has the characteristics that be difficult to tamper with, delete, and has saved in data to block chain, There is reliability as a kind of method for keeping content integrity.
It is a kind of application scenarios schematic diagram provided in an embodiment of the present invention referring to Fig. 1.System shown in FIG. 1 mainly includes Support card recognition node 1, number card vendor's node 2, customer account management node 3 and multiple retailer's nodes 4.One is established in system Block chain network, the block chain network include the mutually transparent feeding card recognition node 1 of information, number card vendor's node 2, Ke Huguan Manage node 3 and multiple retailer's nodes 4.The feeding card recognition node 1 executes the feeding card identification as described in following various embodiments Method will be according to processing nodes records each in first kind block after the first kind block broadcasted on receiving block chain network Number card information, analyze and judge which number card is improper number card, and determine to implement to support card behavior according to improper number card Feeding card node.Node is respectively handled in system to broadcast the information that respective processing links are related to block link network in the form of block In network, node in all block chain networks can the pellucidly number of acquisition card information, number card is from outbound to the information for completing sale It is all stored encrypted in block chain, the number of making card information can not be tampered, and number card information is to each node in block chain It is bright, improve the reliability for supporting card identification.
It referring to fig. 2, is a kind of feeding card identification method flow diagram based on block chain provided in an embodiment of the present invention, figure The executing subject of method shown in 2 can be software and/or hardware device.Method shown in Fig. 2 mainly includes step S101 to step S104, specific as follows:
S101 receives the first kind block of processing node broadcasts from block chain network.
It wherein, include number card letter for handling node and being recorded in respective intermediate links in the first kind block Breath, the processing node include number card vendor's node, retailer's node and customer account management node.Know it is to be understood that supporting card After other node gets first kind block, stores it in node storage space and be added in the first pre-stored block chain.The One block chain can be understood as the block chain connected in timestamp order by multiple first blocks received.Support card identification section Point can be understood as a server, then node storage space can be understood as the local storage unit of server either External memorizer.
Number card from supplier's factory, distribute to retailers at different levels, sell to during user terminal, each processing links In handle accordingly node all can the number of generation card circulation relevant information, and will card information generate first kind block broadcast to area In block chain network.It is to be understood that described card information sells link information and number card including number card supply system information, a number bayonet lock User's link information.
Processing node (number card vendor's node, retailer's node or client's pipe can be respectively received from block chain network Reason node) broadcast first kind block can be one of following three kinds of implementations or a variety of:
In one implementation, it can be from block chain network and receive the first of number card vendor's node broadcasts Class block, the first kind block corresponding with described card vendor node include number card supply system information. The described card supply system information number of including: card mark, number card vendor's node identification, number card outbound information, a number bayonet lock sell canal Road mark.Number card mark e.g. SIM card number, or number card other identifier code.Number card vendor's node identification is, for example, a number card The mark of manufacturer, the number of being also possible to block the mark of operator, and the number of can also be card vendor node makes in block chain network Public key information.Number card outbound information is, for example, the time of number card outbound, place, and the logistics list of number card outbound transport Number, transport destination etc. information.It is 1 that number bayonet lock, which sells channel mark such as online sale channel mark, entity Sales Channel mark It is 0.
In another implementation, it can be the first kind that retailer's node broadcasts are received from block chain network Block, the first kind block corresponding with retailer's node include that number bayonet lock sells link information.Described number Bayonet lock is sold the link information number of including: card mark, retailer's node identification, number card storage information, number card outbound information, a number bayonet lock and is sold Information.Number card mark e.g. SIM card number, or number card other identifier code.Retailer's node identification is, for example, the grade of retailer Other and internal number, is also possible to the identity of personal agent quotient, can also be retailer's node in block chain network The public key information used.Number card storage information is, for example, number when and where for being caught in library and the logistics for number being caught in library transport The information such as odd numbers, transport origin.Number card outbound information is, for example, when and where and number card outbound transport of number card outbound Logistics odd numbers, transport destination etc. information.A number card sales information such as number bayonet lock sells when and where, number card selling price.
In another implementation, it can be from block chain network and receive the first of the customer account management node broadcasts Class block, the first kind block corresponding with the customer account management node include number card user link information.Institute The number of the stating card user link information number of including: block mark, customer account management node identification, user terminal information, subscriber identity information, number Card package information.Number card mark e.g. SIM card number, or number card other identifier code.Customer account management node identification can be number According to the sequence number in library, it is also possible to customer account management node public key information used in block chain network.User terminal information can To be the information such as IMEI, model, the brand of subscriber terminal equipment.Subscriber identity information can be the ID card No. of user, property Not, the information such as age.Number card package information can be network entry time, standardized product service condition, selected set meal name of product, Set meal product applies to purchase the information such as time, set meal product entry-into-force time, set meal rate, set meal usage amount.
S102 is obtained corresponding with preset messenger card mark according to number card information in the first kind block Shipment chain.
Wherein, the messenger card mark is used to indicate number card for having generated communication data.
The process for obtaining shipment chain specifically may is that from the block body of first kind block described at least one, parsing obtains It obtains multiple numbers cards marks and each number card identifies corresponding card information.Obtain generated communication data messenger card mark with And the messenger card identifies corresponding card information.The messenger card mark for having generated communication data can be understood as from outside It is obtained in advance in the communication server.Then it is identified in corresponding card information from the messenger card, obtains the messenger Card identifies corresponding processing node identification.Such as the corresponding processing node identification of messenger card includes number card vendor's node identification A, level-one entity retailer node identification B1, secondary entity retailer's node identification B2, three-level entity retailer's node identification B3 With customer account management node identification C.Node identification and each number card processing sequence for handling node identification are handled according to described, It obtains the messenger card and identifies corresponding shipment chain.In entity Sales Channel, a number card processing sequence usually can be from number Card vendor delivers to level-one entity retailer, and level-one entity retailer is distributed to secondary entity retailer, secondary entity sale Quotient is distributed to the three-level entity retailer of next stage again, until being sold to user, user uses a number information quilt for card after sale Client management server is collected.Therefore shipment chain for example can be A-B1-B2-B3-C.
S103, the messenger card mark in, determine the shipment chain and number card standard distribution chain it is unmatched it is non-just Normal number card mark, described card standard distribution chain are that number card processing that all nodes are made an appointment in the block chain network is suitable Sequence.
Specifically, the messenger card is obtained first identify corresponding bayonet lock sell channel mark.According to described bayonet lock Sell channel mark, determination card standard distribution chain.The different Sales Channel number of can be different card standard distribution chains, such as electric business In Sales Channel, number card standard distribution chain number of a can be card vendor, which delivers, gives online sale quotient, and online sale quotient sells To user, multiple level entity retailer is not present.Electric business Sales Channel corresponding card standard distribution chain is simpler.At determining number After card standard distribution chain, the processing node identification in number card standard distribution chain is obtained.Such as in number card standard distribution chain The processing node identification number of including: card vendor mark A, online sale trade mark know B and customer account management node identification C.If described Processing node identification in processing node identification in shipment chain, with described card standard distribution chain is inconsistent, then will be described logical Signal card mark is as improper number card mark.Such as the messenger card of electric business Sales Channel, a number card standard distribution chain include Processing node identification be A, B and C;And the processing node identification in shipment chain only includes A and B, it is seen that the messenger card is also not To user's link.It is to be understood that the messenger card does not have user registration information but to produce communication data, it is doubtful to be used for sample Card should identify the messenger card as improper number card mark.
S104 determines feeding card node identification according to improper number card mark and the shipment chain.
Whether specifically: first determining whether that the improper number card identifies in the corresponding shipment chain includes the client Management node.
If so, showing that the messenger card has corresponding user registration information, the mismatch of shipment chain may be other reasons It is caused.It whether is used for scale in order to further determine the messenger card, it is also corresponding to the customer account management node identification User terminal information, subscriber identity information and a number card package information verified, and it is obstructed out-of-date in the verifying, will be described The last one retailer's node identification of shipment chain is as feeding card node identification.To user terminal information, subscriber identity information and Number card package information is verified, and can be the data lattice to user terminal information, subscriber identity information and number card package information Formula is verified, such as whether user terminal information meets preset format, the digit of subscriber identity information whether with identity It demonstrate,proves digit unanimously or whether the use state of number card package information is normal condition.
If it is not, showing that the messenger card does not have corresponding user registration information, the mismatch of shipment chain is because of the communication Number card is sold to user not yet, can determine that the messenger card is for scale, then the last one by the shipment chain is sold Quotient's node identification is sold as feeding card node identification.
After determining feeding card node identification, the second class block can also be generated according to the feeding card node identification, and will The second class block is broadcasted into the block chain network.It will broadcast comprising the second class block for supporting card node identification to block In chain network, feeding card node identification can be made transparent for all nodes in block chain network, to refer to feeding card node identification The punishment processing that the retailer shown makes an appointment.
A kind of feeding card identification method based on block chain provided in this embodiment, by receiving processing from block chain network The first kind block of node broadcasts includes that the processing node records in respective intermediate links in the first kind block Number card information, the processing node include number card vendor's node, retailer's node and customer account management node;According to described first Number card information in class block, obtains shipment chain corresponding with preset messenger card mark, and the messenger card mark is used Number card of communication data has been generated in instruction;In messenger card mark, determine that the shipment chain is sold with number card standard The unmatched improper number card mark of chain, described card standard distribution chain are that all nodes are made an appointment in the block chain network Number card processing sequence;According to improper number card mark and the shipment chain, feeding card node identification is determined, number card is from generation Outbound is stored encrypted in first kind block to number card information of each link during completing sale, the number of making card information without Method is tampered, and the equal information transparency of number card information in block chain network between each processing node, is improved and is supported card identification Reliability and accuracy.
It is a kind of feeding card identification apparatus structural schematic diagram based on block chain provided in an embodiment of the present invention, such as referring to Fig. 3 Feeding card identification apparatus 30 shown in Fig. 3 specifically includes that
Number card information obtains module 31, for receiving the first kind block of processing node broadcasts, institute from block chain network State includes number card information for handling node and recording in respective intermediate links, the processing node packet in first kind block Bracket card vendor node, retailer's node and customer account management node;
Shipment chain obtains module 32, for obtaining and preset communication according to number card information in the first kind block Number card identifies corresponding shipment chain, and the messenger card mark is used to indicate number card for having generated communication data;
Improper number card identifies determining module 33, in messenger card mark, determine the shipment chain with number The unmatched improper number card mark of card standard distribution chain, described card standard distribution chain is all sections in the block chain network Number card processing sequence that point is made an appointment;
Card node identification determining module 34 is supported, for determining and supporting according to improper number card mark and the shipment chain Card node identification.
The feeding card identification apparatus of embodiment illustrated in fig. 3 accordingly can be used for executing the step in embodiment of the method shown in Fig. 2, That the realization principle and technical effect are similar is similar for it, and details are not described herein again.
Optionally, the improper number card identifies determining module 33, is used for:
It obtains the messenger card and identifies corresponding bayonet lock and sell channel mark;
Channel mark, determination card standard distribution chain are sold according to described bayonet lock;
Obtain the processing node identification in number card standard distribution chain;
It is different with the processing node identification in described card standard distribution chain if the processing node identification in the shipment chain It causes, then by messenger card mark as improper number card mark.
Optionally, the shipment chain obtains module 32, is used for:
From the block body of first kind block described at least one, parsing obtains multiple numbers card marks and each number card mark Corresponding card information;
It obtains the messenger card mark for having generated communication data and the messenger card identifies corresponding card information;
It is identified in corresponding card information from the messenger card, obtains the messenger card and identify corresponding processing node Mark;
According to number card processing sequence of the processing node identification and each processing node identification, the communication is obtained Number card identifies corresponding shipment chain.
Optionally, described card information sells link information and number card user ring including number card supply system information, a number bayonet lock Save information.
Described card information obtains module 31, is used for:
The first kind block that number card vendor's node broadcasts are received from block chain network, with described card vendor The corresponding first kind block of node includes number card supply system information;Described card supply system packet Include: number card mark, number card vendor's node identification, number card outbound information, a number bayonet lock sell channel mark;
And/or
The first kind block that retailer's node broadcasts are received from block chain network is opposite with retailer's node The first kind block answered includes that number bayonet lock sells link information, and described bayonet lock sells the link information number of including: card mark Knowledge, retailer's node identification, number card storage information, number card outbound information, number card sales information;
And/or
The first kind block that the customer account management node broadcasts are received from block chain network, with the customer account management node The corresponding first kind block includes number card user link information, the described card user link information number of including: Block mark, customer account management node identification, user terminal information, subscriber identity information, number card package information.
Optionally, the feeding card node identification determining module 34, is used for:
Whether judge that the improper number card identifies in the corresponding shipment chain includes the customer account management node;
If so, to the corresponding user terminal information of the customer account management node identification, subscriber identity information and number cutting ferrule Meal information verified, and it is described verifying it is obstructed out-of-date, using the last one retailer's node identification of the shipment chain as Support card node identification;
If it is not, then using the last one retailer's node identification of the shipment chain as feeding card node identification.
Optionally, described according to improper number card mark and the shipment chain, after determining feeding card node identification, The feeding card node identification determining module 34, is also used to:
The second class block is generated according to the feeding card node identification, and the second class block is broadcasted to the block chain In network.
It referring to fig. 4, is the hardware structural diagram of a kind of electronic equipment provided in an embodiment of the present invention, the electronic equipment packet It includes: processor 41, memory 42 and computer program;Wherein
Memory 42, for storing the computer program, which can also be flash memory (flash).The calculating Machine program is, for example, to realize application program, the functional module etc. of the above method.
Processor 41, for executing the computer program of the memory storage, to realize each step in the above method Suddenly.It specifically may refer to the associated description in previous methods embodiment.
Optionally, memory 42 can also be integrated with processor 41 either independent.
When the memory 42 is independently of the device except processor 41, the electronic equipment can also include:
Bus 43, for connecting the memory 42 and processor 41.
The present invention also provides a kind of readable storage medium storing program for executing, computer program is stored in the readable storage medium storing program for executing, it is described The method provided when computer program is executed by processor for realizing above-mentioned various embodiments.
Wherein, readable storage medium storing program for executing can be computer storage medium, be also possible to communication media.Communication media includes just In from a place to any medium of another place transmission computer program.Computer storage medium can be general or special Any usable medium enough accessed with computer capacity.For example, readable storage medium storing program for executing is coupled to processor, to enable a processor to Information is read from the readable storage medium storing program for executing, and information can be written to the readable storage medium storing program for executing.Certainly, readable storage medium storing program for executing can also be with It is the component part of processor.Processor and readable storage medium storing program for executing can be located at specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC) in.In addition, the ASIC can be located in user equipment.Certainly, Processor and readable storage medium storing program for executing can also be used as discrete assembly and be present in communication equipment.Readable storage medium storing program for executing can be read-only Memory (ROM), random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
The present invention also provides a kind of program product, the program product include execute instruction, this execute instruction be stored in it is readable In storage medium.At least one processor of equipment can read this from readable storage medium storing program for executing and execute instruction, at least one processing Device executes this and executes instruction so that equipment implements the method that above-mentioned various embodiments provide.
In the embodiment of above-mentioned electronic equipment, it should be appreciated that processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), it can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to any conventional place Manage device etc..It can be embodied directly in hardware processor in conjunction with the step of the method disclosed in the present and execute completion or use Hardware and software module combination in reason device execute completion.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of feeding card identification method based on block chain characterized by comprising
The first kind block of processing node broadcasts is received from block chain network, includes the processing in the first kind block Number card information that node records in respective intermediate links, the processing node include number card vendor's node, retailer's node With customer account management node;
According to number card information in the first kind block, shipment chain corresponding with preset messenger card mark, institute are obtained It states messenger card mark and is used to indicate number card for having generated communication data;
In messenger card mark, determine that the shipment chain and the unmatched improper number card of number card standard distribution chain are marked Know, described card standard distribution chain is number card processing sequence that all nodes are made an appointment in the block chain network;
According to improper number card mark and the shipment chain, feeding card node identification is determined.
2. the method according to claim 1, wherein determining the shipment chain in messenger card mark It is identified with the unmatched improper number card of number card standard distribution chain, comprising:
It obtains the messenger card and identifies corresponding bayonet lock and sell channel mark;
Channel mark, determination card standard distribution chain are sold according to described bayonet lock;
Obtain the processing node identification in number card standard distribution chain;
It is inconsistent with the processing node identification in described card standard distribution chain if the processing node identification in the shipment chain, Then by messenger card mark as improper number card mark.
3. the method according to claim 1, wherein number card information according in the first kind block, Obtain shipment chain corresponding with preset messenger card mark, comprising:
From the block body of first kind block described at least one, parsing obtains multiple numbers card marks and each number card mark corresponds to Number card information;
It obtains the messenger card mark for having generated communication data and the messenger card identifies corresponding card information;
It is identified in corresponding card information from the messenger card, obtains the messenger card and identify corresponding processing node mark Know;
According to number card processing sequence of the processing node identification and each processing node identification, the messenger card is obtained Identify corresponding shipment chain.
4. according to the method in claim 2 or 3, which is characterized in that described card information include number card supply system information, Number bayonet lock sells link information and number card user link information;
It is described that the first kind block for handling node broadcasts is received from block chain network, it include described in the first kind block Number card information that processing node records in respective intermediate links, comprising:
The first kind block that number card vendor's node broadcasts are received from block chain network, with described card vendor node The corresponding first kind block includes number card supply system information;The described card supply system information number of including: Card mark, number card vendor's node identification, number card outbound information, a number bayonet lock sell channel mark;
And/or
The first kind block that retailer's node broadcasts are received from block chain network, it is corresponding with retailer's node The first kind block includes that number bayonet lock sells link information;Described bayonet lock sells the link information number of including: card mark, pin Sell quotient's node identification, number card storage information, number card outbound information, number card sales information;
And/or
The first kind block that the customer account management node broadcasts are received from block chain network is opposite with the customer account management node The first kind block answered includes number card user link information;The described card user link information number of including: card mark Knowledge, customer account management node identification, user terminal information, subscriber identity information, number card package information.
5. according to the method described in claim 4, it is characterized in that, described according to improper number card mark and the shipment Chain determines feeding card node identification, comprising:
Whether judge that the improper number card identifies in the corresponding shipment chain includes the customer account management node;
If so, to the corresponding user terminal information of the customer account management node identification, subscriber identity information and number cutting ferrule meal letter Breath is verified, and obstructed out-of-date in the verifying, using the last one retailer's node identification of the shipment chain as feeding card Node identification;
If it is not, then using the last one retailer's node identification of the shipment chain as feeding card node identification.
6. the method according to claim 1, wherein it is described according to the improper number card mark and it is described go out Goods chain determines after supporting card node identification, further includes:
The second class block is generated according to the feeding card node identification, and the second class block is broadcasted to the block chain network In.
7. a kind of feeding card identification apparatus based on block chain characterized by comprising
Number card information obtains module, for receiving the first kind block of processing node broadcasts from block chain network, described first It include number card information that the processing node records in respective intermediate links in class block, the processing node includes a number card Supplier's node, retailer's node and customer account management node;
Shipment chain obtains module, for obtaining and preset messenger card mark according to number card information in the first kind block Sensible corresponding shipment chain, the messenger card mark are used to indicate number card for having generated communication data;
Improper number card identifies determining module, for determining the shipment chain and number card standard in messenger card mark The unmatched improper number card mark of distribution chain, described card standard distribution chain are that all nodes are preparatory in the block chain network Number card processing sequence of agreement;
Card node identification determining module is supported, for determining feeding card node according to improper number card mark and the shipment chain Mark.
8. device according to claim 7, which is characterized in that the improper number card identifies determining module, is used for:
It obtains the messenger card and identifies corresponding bayonet lock and sell channel mark;
Channel mark, determination card standard distribution chain are sold according to described bayonet lock;
Obtain the processing node identification in number card standard distribution chain;
It is inconsistent with the processing node identification in described card standard distribution chain if the processing node identification in the shipment chain, Then by messenger card mark as improper number card mark.
9. device according to claim 7, which is characterized in that the shipment chain obtains module, is used for:
From the block body of first kind block described at least one, parsing obtains multiple numbers card marks and each number card mark corresponds to Number card information;
It obtains the messenger card mark for having generated communication data and the messenger card identifies corresponding card information;
It is identified in corresponding card information from the messenger card, obtains the messenger card and identify corresponding processing node mark Know;
According to number card processing sequence of the processing node identification and each processing node identification, the messenger card is obtained Identify corresponding shipment chain.
10. device according to claim 8 or claim 9, which is characterized in that described card information includes a number card supply system letter Breath, a number bayonet lock sell link information and number card user link information;
Described card information obtains module, is used for:
The first kind block that number card vendor's node broadcasts are received from block chain network, with described card vendor node The corresponding first kind block includes number card supply system information;The described card supply system information number of including: Card mark, number card vendor's node identification, number card outbound information, a number bayonet lock sell channel mark;
And/or
The first kind block that retailer's node broadcasts are received from block chain network, it is corresponding with retailer's node The first kind block includes that number bayonet lock sells link information, and described bayonet lock sells the link information number of including: card mark, pin Sell quotient's node identification, number card storage information, number card outbound information, number card sales information;
And/or
The first kind block that the customer account management node broadcasts are received from block chain network is opposite with the customer account management node The first kind block answered includes number card user link information, the described card user link information number of including: card mark Knowledge, customer account management node identification, user terminal information, subscriber identity information, number card package information.
11. device according to claim 10, which is characterized in that the feeding card node identification determining module is used for:
Whether judge that the improper number card identifies in the corresponding shipment chain includes the customer account management node;
If so, to the corresponding user terminal information of the customer account management node identification, subscriber identity information and number cutting ferrule meal letter Breath is verified, and obstructed out-of-date in the verifying, using the last one retailer's node identification of the shipment chain as feeding card Node identification;
If it is not, then using the last one retailer's node identification of the shipment chain as feeding card node identification.
12. device according to claim 7, which is characterized in that described according to improper number card mark and described Shipment chain, after determining feeding card node identification, the feeding card node identification determining module is also used to:
The second class block is generated according to the feeding card node identification, and the second class block is broadcasted to the block chain network In.
CN201910130812.0A 2019-02-21 2019-02-21 Block chain-based card maintenance identification method and device Active CN109903058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910130812.0A CN109903058B (en) 2019-02-21 2019-02-21 Block chain-based card maintenance identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910130812.0A CN109903058B (en) 2019-02-21 2019-02-21 Block chain-based card maintenance identification method and device

Publications (2)

Publication Number Publication Date
CN109903058A true CN109903058A (en) 2019-06-18
CN109903058B CN109903058B (en) 2021-05-18

Family

ID=66945268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910130812.0A Active CN109903058B (en) 2019-02-21 2019-02-21 Block chain-based card maintenance identification method and device

Country Status (1)

Country Link
CN (1) CN109903058B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110751231A (en) * 2019-10-30 2020-02-04 上海观安信息技术股份有限公司 Card number detection method and system based on unsupervised algorithm

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077682A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Method and device for inquiring state information of electronic ticket and block link point
CN107248082A (en) * 2017-05-23 2017-10-13 北京道隆华尔软件股份有限公司 Support card identification method and device
CN108389130A (en) * 2018-03-02 2018-08-10 合肥学院 A kind of more trade mode alliances chain
CN108647947A (en) * 2018-05-18 2018-10-12 江苏安纳泰克能源服务有限公司 Electricity transaction matching process based on block chain technology
CN108694594A (en) * 2018-05-29 2018-10-23 阿里巴巴集团控股有限公司 Commodity source tracing method and device, electronic equipment based on block chain
CN108805350A (en) * 2018-06-06 2018-11-13 牟林 Search and rescue horizon prediction method based on multidimensional Monte Carlo theory
CN109118219A (en) * 2018-08-01 2019-01-01 中国联合网络通信集团有限公司 Transaction data processing method and device
CN109151828A (en) * 2018-09-30 2019-01-04 中国联合网络通信集团有限公司 Support recognition methods, device, equipment and the storage medium of card user

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077682A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Method and device for inquiring state information of electronic ticket and block link point
CN107248082A (en) * 2017-05-23 2017-10-13 北京道隆华尔软件股份有限公司 Support card identification method and device
CN108389130A (en) * 2018-03-02 2018-08-10 合肥学院 A kind of more trade mode alliances chain
CN108647947A (en) * 2018-05-18 2018-10-12 江苏安纳泰克能源服务有限公司 Electricity transaction matching process based on block chain technology
CN108694594A (en) * 2018-05-29 2018-10-23 阿里巴巴集团控股有限公司 Commodity source tracing method and device, electronic equipment based on block chain
CN108805350A (en) * 2018-06-06 2018-11-13 牟林 Search and rescue horizon prediction method based on multidimensional Monte Carlo theory
CN109118219A (en) * 2018-08-01 2019-01-01 中国联合网络通信集团有限公司 Transaction data processing method and device
CN109151828A (en) * 2018-09-30 2019-01-04 中国联合网络通信集团有限公司 Support recognition methods, device, equipment and the storage medium of card user

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110751231A (en) * 2019-10-30 2020-02-04 上海观安信息技术股份有限公司 Card number detection method and system based on unsupervised algorithm
CN110751231B (en) * 2019-10-30 2022-04-29 上海观安信息技术股份有限公司 Card number detection method and system based on unsupervised algorithm

Also Published As

Publication number Publication date
CN109903058B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN109118219B (en) Transaction data processing method and device
US8204787B2 (en) Electronic registration system for product transactions
US6018719A (en) Electronic registration system for product transactions
JP5026527B2 (en) Fraud detection by analysis of user interaction
US20170004478A1 (en) System for Point of Sale Data Capture, Reporting and Analysis for the Auditing of Sales Taxes
CN106598823B (en) A kind of the residual quantity calculation method and system of network behavior feature
CN108154050A (en) A kind of vehicle condition data managing method and device
US20140351129A1 (en) Centralized versatile transaction verification
CN109510860A (en) A kind of data processing method, relevant device and system
CN109472615A (en) Service processing method, device and equipment and readable medium
CN109767509A (en) Equipment operation and maintenance management method and device, readable medium and electronic equipment
CN114331462A (en) Block chain-based product information processing method and computer-readable storage medium
CN115796889B (en) Data processing method suitable for trading platform
CN109582550A (en) A kind of method, apparatus and server obtaining full dose business scenario failure collection
CN109191143A (en) food information processing method, device and system
CN114022151A (en) Block chain data visualization method and system, electronic device and storage medium
CN109903058A (en) A kind of feeding card identification method and device based on block chain
CN109101577A (en) A kind of data circulation method, apparatus and system
Bhatnagar et al. Product traceability using blockchain
CN104951944A (en) Product scan-checking method and product checking method
RU2323474C1 (en) Method for accounting for marketing advancement of goods on the market and identifier for the same purpose
CN109801168A (en) A kind of method of calibration, equipment and the storage medium of the transaction of block chain
CN112001792B (en) Configuration information consistency detection method and device
CN110175843B (en) Marketing label transaction method and system based on block chain
CN104408631A (en) Application method of anti-counterfeit labels

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