CN109903058B - Block chain-based card maintenance identification method and device - Google Patents

Block chain-based card maintenance identification method and device Download PDF

Info

Publication number
CN109903058B
CN109903058B CN201910130812.0A CN201910130812A CN109903058B CN 109903058 B CN109903058 B CN 109903058B CN 201910130812 A CN201910130812 A CN 201910130812A CN 109903058 B CN109903058 B CN 109903058B
Authority
CN
China
Prior art keywords
card
node
identification
information
number card
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
CN201910130812.0A
Other languages
Chinese (zh)
Other versions
CN109903058A (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

Images

Abstract

The invention provides a block chain-based card maintenance identification method and a block chain-based card maintenance identification device.A first type of block broadcasted by a processing node is received from a block chain network, wherein the first type of block comprises number card information recorded by the processing node in respective circulation links, and the processing node comprises a bracket card supplier node, a seller node and a customer management node; acquiring a shipment chain corresponding to a preset communication number card identifier according to the number card information in the first type block; determining an abnormal number card identifier of which the shipment chain is not matched with a number card standard sales chain in the communication number card identifiers; and determining card maintenance node identifiers according to the abnormal card number identifiers and the delivery chain, wherein the card number information of each link from the generation and delivery of the card number to the completion of the sale is encrypted and stored in the first-class block, so that the card number information cannot be tampered, and the information of the card number information among processing nodes in the block chain network is transparent, so that the reliability and the accuracy of card maintenance identification are improved.

Description

Block chain-based card maintenance identification method and device
Technical Field
The invention relates to a data processing technology, in particular to a block chain-based card-raising identification method and device.
Background
The card maintenance refers to the behavior that a channel agent or a branch company earns channel sales rewards of an operator or completes KPI (Key performance indicator) assessment tasks, and mass sales or operation results are pretended by self-activation and use of cards to be sold and the like by utilizing policy loopholes or management loopholes of the operator so as to achieve the purpose of obtaining illegal benefits.
The existing card-keeping identification method generally adopts a big data identification mode to identify card-keeping cheating behaviors. For example, according to the data related to card maintenance, the user numbers are classified to obtain a user number group with similar data related to card maintenance.
However, the existing card-feeding identification method needs to train the classification model by using a reliably labeled training set, so that only card-feeding users who accord with the known card-feeding mode can be identified, and with the continuous improvement of card-feeding technical means, more user consumption behavior modes can be simulated, such as behaviors of making a call and browsing a webpage. Therefore, the existing card-keeping identification method has low reliability.
Disclosure of Invention
The invention provides a block chain-based card maintenance identification method and device, which improve the reliability and accuracy of card maintenance identification.
According to a first aspect of the present invention, there is provided a card raising identification method, including:
receiving a first type block broadcasted by a processing node from a block chain network, wherein the first type block comprises number card information recorded by the processing node in each circulation link, and the processing node comprises a number card provider node, a seller node and a customer management node;
acquiring a shipment chain corresponding to a preset communication card identifier according to the number card information in the first class block, wherein the communication card identifier is used for indicating the number card generating communication data;
determining an abnormal number card identifier of which the shipment chain is not matched with a number card standard sales chain in the communication number card identifiers, wherein the number card standard sales chain is a number card processing sequence appointed by all nodes on the block chain network in advance;
and determining the card-raising node identification according to the abnormal card number identification and the delivery chain.
Optionally, in a possible implementation manner of the first aspect, determining, in the number card identifiers, an abnormal number card identifier where the shipment chain does not match a number card standard sales chain includes:
acquiring a number card sale channel identifier corresponding to the communication number card identifier;
determining a standard sales chain of the number card according to the number card sales channel identifier;
acquiring a processing node identifier in the number card standard sales chain;
and if the processing node identification in the shipment chain is not consistent with the processing node identification in the standard card number sale chain, taking the communication card identification as an abnormal card number identification.
Optionally, in another possible implementation manner of the first aspect, the obtaining, according to the number card information in the first class block, a shipment chain corresponding to a preset number card identifier includes:
analyzing and obtaining a plurality of number card identifications and number card information corresponding to each number card identification from the block body of at least one first type block;
acquiring a communication card identifier of generated communication data and card information corresponding to the communication card identifier;
acquiring a processing node identifier corresponding to the communication signal card identifier from the number card information corresponding to the communication signal card identifier;
and obtaining a shipment chain corresponding to the communication card identification according to the processing node identification and the card number processing sequence of each processing node identification.
Optionally, in yet another possible implementation manner of the first aspect, the number card information includes number card supply link information, number card sales link information, and number card user link information;
the first type of block received from the block chain network and broadcasted by the processing node, where the first type of block includes the number card information recorded by the processing node in each circulation link, includes:
receiving a first type of block broadcast by the number card provider node from a blockchain network, wherein the first type of block corresponding to the number card provider node comprises the number card supply link information; the number card supply link information comprises: number card identification, number card supplier node identification, number card ex-warehouse information and number card sale channel identification;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the seller node from a block chain network, wherein the first type block corresponding to the seller node comprises the number card selling link information, and the number card selling link information comprises: number card identification, seller node identification, number card warehousing information, number card ex-warehouse information and number card selling information;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the customer management node from a block chain network, wherein the first type block corresponding to the customer management node comprises the number card user link information, and the number card user link information comprises: card number identification, customer management node identification, user terminal information, user identity information and card number package information.
Optionally, in another possible implementation manner of the first aspect, the determining, according to the abnormal-number card identifier and the shipment chain, a card-holding node identifier includes:
judging whether the shipment chain corresponding to the abnormal number card identification contains the customer management node;
if so, verifying user terminal information, user identity information and card meal information corresponding to the customer management node identification, and taking the last seller node identification of the delivery chain as a card-keeping node identification when the verification fails;
and if not, taking the last seller node identifier of the delivery chain as the card maintenance node identifier.
Optionally, in another possible implementation manner of the first aspect, after determining, according to the abnormal card number identifier and the shipment chain, a card raising node identifier further includes:
and generating a second type of block according to the card-keeping node identification, and broadcasting the second type of block to the block chain network.
According to a second aspect of the present invention, there is provided a card raising identification device comprising:
the system comprises a number card information acquisition module, a number card information acquisition module and a processing node management module, wherein the number card information acquisition module is used for receiving a first type of block broadcasted by a processing node from a block chain network, the first type of block comprises number card information recorded by the processing node in each circulation link, and the processing node comprises a number card supplier node, a seller node and a customer management node;
the shipment chain acquisition module is used for acquiring a shipment chain corresponding to a preset communication card identifier according to the card number information in the first class block, wherein the communication card identifier is used for indicating a card number which generates communication data;
an abnormal number card identification determining module, configured to determine, in the communication number card identification, an abnormal number card identification in which the shipment chain is unmatched with a number card standard sales chain, where the number card standard sales chain is a number card processing sequence agreed in advance by all nodes on the block chain network;
and the card maintenance node identification determining module is used for determining the card maintenance node identification according to the abnormal card number identification and the delivery chain.
Optionally, in a possible implementation manner of the second aspect, the abnormal-number card identifier determining module is configured to:
acquiring a number card sale channel identifier corresponding to the communication number card identifier;
determining a standard sales chain of the number card according to the number card sales channel identifier;
acquiring a processing node identifier in the number card standard sales chain;
and if the processing node identification in the shipment chain is not consistent with the processing node identification in the standard card number sale chain, taking the communication card identification as an abnormal card number identification.
Optionally, in another possible implementation manner of the second aspect, the shipment chain acquiring module is configured to:
analyzing and obtaining a plurality of number card identifications and number card information corresponding to each number card identification from the block body of at least one first type block;
acquiring a communication card identifier of generated communication data and card information corresponding to the communication card identifier;
acquiring a processing node identifier corresponding to the communication signal card identifier from the number card information corresponding to the communication signal card identifier;
and obtaining a shipment chain corresponding to the communication card identification according to the processing node identification and the card number processing sequence of each processing node identification.
Optionally, in yet another possible implementation manner of the second aspect, the number card information includes number card supply link information, number card sales link information, and number card user link information;
the number card information acquisition module is used for:
receiving a first type of block broadcast by the number card provider node from a blockchain network, wherein the first type of block corresponding to the number card provider node comprises the number card supply link information; the number card supply link information comprises: number card identification, number card supplier node identification, number card ex-warehouse information and number card sale channel identification;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the seller node from a block chain network, wherein the first type block corresponding to the seller node comprises the number card selling link information, and the number card selling link information comprises: number card identification, seller node identification, number card warehousing information, number card ex-warehouse information and number card selling information;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the customer management node from a block chain network, wherein the first type block corresponding to the customer management node comprises the number card user link information, and the number card user link information comprises: card number identification, customer management node identification, user terminal information, user identity information and card number package information.
Optionally, in yet another possible implementation manner of the second aspect, the card-holding node identification determining module is configured to:
judging whether the shipment chain corresponding to the abnormal number card identification contains the customer management node;
if so, verifying user terminal information, user identity information and card meal information corresponding to the customer management node identification, and taking the last seller node identification of the delivery chain as a card-keeping node identification when the verification fails;
and if not, taking the last seller node identifier of the delivery chain as the card maintenance node identifier.
Optionally, in another possible implementation manner of the second aspect, after determining the card-holding node identifier according to the abnormal-number card identifier and the shipment chain, the card-holding node identifier determining module is further configured to:
and generating a second type of block according to the card-keeping node identification, and broadcasting the second type of block to the block chain network.
According to a third aspect of the present invention, there is provided an electronic apparatus comprising: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of the first aspect of the invention and its various possible designs.
According to a fourth aspect of the present invention, there is provided a readable storage medium having stored therein a computer program for implementing the method of the first aspect of the present invention and its various possible designs when executed by a processor.
The invention provides a block chain-based card-raising identification method and device.A first type of block broadcasted by a processing node is received from a block chain network, wherein the first type of block comprises card number information recorded by the processing node in respective circulation links, and the processing node comprises a bracket card supplier node, a seller node and a customer management node; acquiring a shipment chain corresponding to a preset communication card identifier according to the number card information in the first class block, wherein the communication card identifier is used for indicating the number card generating communication data; determining an abnormal number card identifier of which the shipment chain is not matched with a number card standard sales chain in the communication number card identifiers, wherein the number card standard sales chain is a number card processing sequence appointed by all nodes on the block chain network in advance; and determining card maintenance node identifiers according to the abnormal card number identifiers and the delivery chain, wherein the card number information of each link from the generation and delivery of the card number to the completion of the sale is encrypted and stored in the first-class block, so that the card number information cannot be tampered, and the information of the card number information among processing nodes in the block chain network is transparent, so that the reliability and the accuracy of card maintenance identification are improved.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 2 is a schematic flow chart of a block chain-based card-feeding identification method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a card-raising identification device based on a block chain according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, for example, and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that all three of A, B, C comprise, "comprises A, B or C" means that one of A, B, C comprises, "comprises A, B and/or C" means that any 1 or any 2 or 3 of A, B, C comprises.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
It should be appreciated that in the present invention, a blockchain network is a completely new distributed infrastructure and computing approach that utilizes blockchain data structures to authenticate and store data, utilizes distributed node consensus algorithms to generate and update data, cryptographically secures data transmission and access, and utilizes intelligent contracts composed of automated script code to program and manipulate data. The blockchain network is composed of a plurality of nodes, and when each node broadcasts information or blocks to the blockchain network, all the nodes can receive the information or blocks and verify the received blocks. And when the ratio of the number of the nodes passing the block verification to the total number of the nodes of the whole block chain network is greater than a preset threshold value, determining that the block chain network passes the block verification, and receiving the block by all the nodes and storing the block in a local node space. A node may be understood as an electronic device having a storage function, such as a server or a terminal.
It should be understood that, in the present invention, a block chain may be understood as a data chain formed by sequentially storing a plurality of blocks, and a block header of each block includes a timestamp of the block, a hash value of previous block information, and a hash value of the block information, thereby implementing mutual authentication between the blocks and forming a robust and tamper-proof block chain. Each block can be understood as a data block (unit of storage data). The block chain as a decentralized database is a series of data blocks generated by correlating with each other by using a cryptographic method, and each data block contains information of one network transaction, which is used for verifying the validity (anti-counterfeiting) of the information and generating the next block. The blocks are connected end to form a chain, namely a block chain. If the data in the block needs to be modified, the contents of all blocks after the block need to be modified, and the data backed up by all nodes in the block chain network needs to be modified. Therefore, the blockchain has the characteristic of being difficult to tamper and delete, and the blockchain has reliability as a method for keeping the integrity of the content after the data is stored in the blockchain.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention. The system shown in fig. 1 mainly comprises a card maintenance identification node 1, a number card supplier node 2, a customer management node 3 and a plurality of vendor nodes 4. A block chain network is established in the system, and the block chain network comprises a card maintenance identification node 1, a card number supplier node 2, a customer management node 3 and a plurality of seller nodes 4, wherein the information of the card maintenance identification node 1, the card number supplier node 2, the customer management node 3 and the seller nodes 4 are mutually transparent. After receiving the first class block broadcast on the block chain network, the card maintenance identification node 1 analyzes and judges which number cards are abnormal number cards according to the number card information recorded by each processing node in the first class block, and determines the card maintenance nodes implementing the card maintenance behavior according to the abnormal number cards. Each processing node in the system broadcasts information related to each processing link to a block chain network in a block form, all nodes in the block chain network can transparently obtain number card information, the information from the number card warehouse-out to the number card selling completion is stored in the block chain in an encrypted mode, the number card information cannot be tampered, the number card information is transparent to each node in the block chain, and the reliability of card maintenance identification is improved.
Referring to fig. 2, which is a schematic flow chart of a block chain-based card-raising identification method according to an embodiment of the present invention, an execution main body of the method shown in fig. 2 may be a software and/or hardware device. The method shown in fig. 2 mainly includes steps S101 to S104, and specifically includes the following steps:
s101, a first type of block broadcast by a processing node is received from a block chain network.
The first type block comprises number card information recorded by the processing node in each circulation link, and the processing node comprises a card supplier node, a seller node and a customer management node. It can be understood that after the card-raising identification node acquires the first-class block, the first-class block is stored in the node storage space and added into the pre-stored first block chain. The first blockchain may be understood as a blockchain that is connected by the received plurality of first blocks in time-stamped order. The card-holding identification node can be understood as a server, and then the storage space of the node can be understood as a local storage unit of the server or an external storage.
In the process that the number card leaves a factory from a supplier, is distributed to various levels of sellers and is sold to a user terminal, the corresponding processing node in each processing link generates the related information of the number card circulation, and generates the first class block of the number card information and broadcasts the first class block to the block chain network. It is understood that the number card information includes number card supply link information, number card sales link information, and number card user link information.
The first type of tiles that may be received from the blockchain network broadcast by the processing nodes (card vendor nodes, or customer management nodes), respectively, may be one or more of the following three implementations:
in one implementation, the first type blocks may be received from a blockchain network and broadcast by the number card provider node, and the first type blocks corresponding to the number card provider node include the number card provisioning link information. The number card supply link information comprises: number card identification, number card supplier node identification, number card ex-warehouse information and number card sale channel identification. The card number identification is, for example, a SIM card number, or other identification code of the card number. The identifier of the number card provider node is, for example, an identifier of a number card manufacturer, an identifier of a number card operator, or public key information used by the number card provider node in the blockchain network. The information of the number card leaving the warehouse is, for example, the time and place of the number card leaving the warehouse, and the information of the logistics list number and the transportation destination of the number card leaving the warehouse. The number card sales channel identification is, for example, a network sales channel identification of 1 and the entity sales channel identification of 0.
In another implementation, the first type blocks broadcast by the vendor node are received from a block chain network, and the first type blocks corresponding to the vendor node include the number card sales link information. The number card selling link information comprises: number card identification, seller node identification, number card warehousing information, number card ex-warehouse information and number card selling information. The card number identification is, for example, a SIM card number, or other identification code of the card number. The vendor node identifier is, for example, a level and an internal number of the vendor, an identity of the personal agent, or public key information used by the vendor node in the blockchain network. The card number warehousing information includes, for example, the time and place of warehousing the card number, the logistics list number of warehousing and transportation of the card number, the transportation origin, and the like. The card number leaving information includes, for example, the time and place of the card number leaving, the number of the physical distribution list of the card number leaving transportation, the transportation destination, and the like. Number card sales information such as number card sales time and place, number card sales price.
In yet another implementation, the first type of block broadcast from the customer management node may be received from a block chain network, and the first type of block corresponding to the customer management node includes the number card user link information. The link information of the number card user comprises the following steps: card number identification, customer management node identification, user terminal information, user identity information and card number package information. The card number identification is, for example, a SIM card number, or other identification code of the card number. The customer management node identification can be a serial number of the database or public key information used by the customer management node in the blockchain network. The user terminal information may be information of IMEI, model, brand, etc. of the user terminal equipment. The user identity information can be information such as the identity card number, the gender, the age and the like of the user. The card package information can be information such as network access time, standard product use condition, selected package product name, package product purchase applying time, package product effective time, package charge, package usage amount and the like.
S102, obtaining a delivery chain corresponding to a preset communication number card identification according to the number card information in the first class block.
Wherein the communication number card identification is used for indicating the number card which generates the communication data.
The process of acquiring the shipment chain may specifically be: and analyzing and obtaining a plurality of number card identifications and number card information corresponding to each number card identification from the block body of at least one first type block. And acquiring a communication card identifier of the generated communication data and card information corresponding to the communication card identifier. The communication card identification of which communication data has been generated may be understood as being acquired in advance from an external communication server. And then acquiring a processing node identifier corresponding to the communication signal card identifier from the signal card information corresponding to the communication signal card identifier. For example, the processing node identifiers corresponding to the communication signal cards include the card provider identifier a, the primary entity vendor node identifier B1, the secondary entity vendor node identifier B2, the tertiary entity vendor node identifier B3 and the customer management node identifier C. And obtaining a shipment chain corresponding to the communication card identification according to the processing node identification and the card number processing sequence of each processing node identification. In the physical sale channel, the number card processing sequence can be generally that the number card is delivered from a number card supplier to a primary physical seller, the primary physical seller is distributed to a secondary physical seller, the secondary physical seller is distributed to a next-level third-level physical seller until the number card is sold to a user, and the information of the number card used by the user after the sale is collected by a customer management server. The shipment chain may thus be, for example, A-B1-B2-B3-C.
S103, determining an abnormal number card identifier of which the shipment chain is not matched with a number card standard sales chain in the communication number card identifiers, wherein the number card standard sales chain is a number card processing sequence appointed by all nodes on the block chain network in advance.
Specifically, a number card sales channel identifier corresponding to the communication number card identifier is obtained first. And determining a standard sales chain of the number card according to the number card sales channel identifier. The different sales channels can be different number card standard sales chains, for example, in an e-commerce sales channel, the number card standard sales chain can be that a number card supplier delivers goods to a network seller, and the network seller directly sells the goods to users, so that a multi-stage entity seller does not exist. And the corresponding number card standard sales chain of the e-commerce sales channel is simpler. After determining the number card standard sales chain, acquiring the processing node identification in the number card standard sales chain. For example, the processing node identifiers in the number card standard sales chain include: a number card provider identification A, a network vendor identification B and a customer management node identification C. And if the processing node identification in the shipment chain is not consistent with the processing node identification in the standard card number sale chain, taking the communication card identification as an abnormal card number identification. For example, the number card of the e-commerce sales channel, the number card standard sales chain comprises processing nodes identified as A, B and C; and the processing node identification in the shipment chain only comprises A and B, and the communication signal card is not yet in the user link. It is understood that the communication signal card, which has no user registration information but generates communication data suspected of being used for the sample card, should be identified as an abnormal signal card identification.
And S104, determining the card-raising node identification according to the abnormal card number identification and the delivery chain.
Specifically, the method comprises the following steps: firstly, judging whether the shipment chain corresponding to the abnormal number card identification contains the customer management node.
If yes, the communication number card is indicated to have corresponding user registration information, and mismatching of the shipment chain can be caused by other reasons. In order to further determine whether the communication signal card is used for a sample card, user terminal information, user identity information and number card meal information corresponding to the customer management node identification are verified, and when the verification fails, the last seller node identification of the delivery chain is used as a card-keeping node identification. The verification of the user terminal information, the user identity information and the card package meal information can be performed by verifying the data formats of the user terminal information, the user identity information and the card package meal information, such as whether the user terminal information meets a preset format, whether the number digit of the user identity information is consistent with the number digit of the identity card, or whether the use state of the card package meal information is a normal state.
If not, the communication signal card does not have corresponding user registration information, the shipment chain is not matched because the communication signal card is not sold to the user, the communication signal card can be determined to be used for a sample card, and the last seller node identifier of the shipment chain is used as a card-raising node identifier.
After the card feeding node identification is determined, a second type of block can be generated according to the card feeding node identification, and the second type of block is broadcasted to the block chain network. Broadcasting the second type of block containing the card maintenance node identification to the block chain network can make the card maintenance node identification transparent to all nodes in the block chain network so as to carry out pre-agreed punishment processing on the seller indicated by the card maintenance node identification.
In the card-raising identification method based on the block chain provided by this embodiment, a first type of block broadcasted by a processing node is received from a block chain network, where the first type of block includes card information recorded by the processing node in each circulation link, and the processing node includes a bracket card provider node, a vendor node, and a customer management node; acquiring a shipment chain corresponding to a preset communication card identifier according to the number card information in the first class block, wherein the communication card identifier is used for indicating the number card generating communication data; determining an abnormal number card identifier of which the shipment chain is not matched with a number card standard sales chain in the communication number card identifiers, wherein the number card standard sales chain is a number card processing sequence appointed by all nodes on the block chain network in advance; and determining card maintenance node identifiers according to the abnormal card number identifiers and the delivery chain, wherein the card number information of each link from the generation and delivery of the card number to the completion of the sale is encrypted and stored in the first-class block, so that the card number information cannot be tampered, and the information of the card number information among processing nodes in the block chain network is transparent, so that the reliability and the accuracy of card maintenance identification are improved.
Referring to fig. 3, which is a schematic structural diagram of a card feeding identification device based on a block chain according to an embodiment of the present invention, the card feeding identification device 30 shown in fig. 3 mainly includes:
a number card information obtaining module 31, configured to receive a first class block broadcasted by a processing node from a block chain network, where the first class block includes number card information recorded by the processing node in each circulation link, and the processing node includes a number card provider node, a vendor node, and a customer management node;
a shipment chain obtaining module 32, configured to obtain a shipment chain corresponding to a preset communication card identifier according to the card number information in the first class block, where the communication card identifier is used to indicate a card number that has generated communication data;
an abnormal number card identifier determining module 33, configured to determine, in the communication number card identifiers, an abnormal number card identifier where the shipment chain is unmatched with a number card standard sales chain, where the number card standard sales chain is a number card processing sequence agreed in advance by all nodes on the block chain network;
and the card maintenance node identification determining module 34 is used for determining the card maintenance node identification according to the abnormal card number identification and the delivery chain.
The card-feeding identification device in the embodiment shown in fig. 3 can be correspondingly used to execute the steps in the method embodiment shown in fig. 2, and the implementation principle and technical effect are similar, which are not described herein again.
Optionally, the abnormal card identifier determining module 33 is configured to:
acquiring a number card sale channel identifier corresponding to the communication number card identifier;
determining a standard sales chain of the number card according to the number card sales channel identifier;
acquiring a processing node identifier in the number card standard sales chain;
and if the processing node identification in the shipment chain is not consistent with the processing node identification in the standard card number sale chain, taking the communication card identification as an abnormal card number identification.
Optionally, the shipment chain obtaining module 32 is configured to:
analyzing and obtaining a plurality of number card identifications and number card information corresponding to each number card identification from the block body of at least one first type block;
acquiring a communication card identifier of generated communication data and card information corresponding to the communication card identifier;
acquiring a processing node identifier corresponding to the communication signal card identifier from the number card information corresponding to the communication signal card identifier;
and obtaining a shipment chain corresponding to the communication card identification according to the processing node identification and the card number processing sequence of each processing node identification.
Optionally, the number card information includes number card supply link information, number card sales link information, and number card user link information.
The number card information obtaining module 31 is configured to:
receiving a first type of block broadcast by the number card provider node from a blockchain network, wherein the first type of block corresponding to the number card provider node comprises the number card supply link information; the number card supply link information comprises: number card identification, number card supplier node identification, number card ex-warehouse information and number card sale channel identification;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the seller node from a block chain network, wherein the first type block corresponding to the seller node comprises the number card selling link information, and the number card selling link information comprises: number card identification, seller node identification, number card warehousing information, number card ex-warehouse information and number card selling information;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the customer management node from a block chain network, wherein the first type block corresponding to the customer management node comprises the number card user link information, and the number card user link information comprises: card number identification, customer management node identification, user terminal information, user identity information and card number package information.
Optionally, the card-keeping node identification determining module 34 is configured to:
judging whether the shipment chain corresponding to the abnormal number card identification contains the customer management node;
if so, verifying user terminal information, user identity information and card meal information corresponding to the customer management node identification, and taking the last seller node identification of the delivery chain as a card-keeping node identification when the verification fails;
and if not, taking the last seller node identifier of the delivery chain as the card maintenance node identifier.
Optionally, after determining the card-holding node identifier according to the abnormal card identifier and the shipment chain, the card-holding node identifier determining module 34 is further configured to:
and generating a second type of block according to the card-keeping node identification, and broadcasting the second type of block to the block chain network.
Referring to fig. 4, a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention is shown, where the electronic device includes: a processor 41, memory 42 and computer programs; wherein
A memory 42 for storing the computer program, which may also be a flash memory (flash). The computer program is, for example, an application program, a functional module, or the like that implements the above method.
A processor 41 for executing the computer program stored by the memory to implement the steps of the above method. Reference may be made in particular to the description relating to the preceding method embodiment.
Alternatively, the memory 42 may be separate or integrated with the processor 41.
When the memory 42 is a device independent of the processor 41, the electronic apparatus may further include:
a bus 43 for connecting the memory 42 and the processor 41.
The present invention also provides a readable storage medium, in which a computer program is stored, which, when being executed by a processor, is adapted to implement the methods provided by the various embodiments described above.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the electronic device, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A card-raising identification method based on a block chain is characterized by comprising the following steps:
receiving a first type block broadcasted by a processing node from a block chain network, wherein the first type block comprises number card information recorded by the processing node in each circulation link, and the processing node comprises a number card provider node, a seller node and a customer management node;
acquiring a shipment chain corresponding to a preset communication card identifier according to the number card information in the first class block, wherein the communication card identifier is used for indicating the number card generating communication data;
determining an abnormal number card identifier of which the shipment chain is not matched with a number card standard sales chain in the communication number card identifiers, wherein the number card standard sales chain is a number card processing sequence appointed by all nodes on the block chain network in advance;
determining a card-raising node identifier according to the abnormal card number identifier and the delivery chain;
in the communication number card identification, determining an abnormal number card identification of which the shipment chain is not matched with a number card standard sales chain, including:
acquiring a number card sale channel identifier corresponding to the communication number card identifier;
determining a standard sales chain of the number card according to the number card sales channel identifier;
acquiring a processing node identifier in the number card standard sales chain;
and if the processing node identification in the shipment chain is not consistent with the processing node identification in the standard card number sale chain, taking the communication card identification as an abnormal card number identification.
2. The method according to claim 1, wherein the obtaining of the shipment chain corresponding to a preset number card identifier according to the number card information in the first class block comprises:
analyzing and obtaining a plurality of number card identifications and number card information corresponding to each number card identification from the block body of at least one first type block;
acquiring a communication card identifier of generated communication data and card information corresponding to the communication card identifier;
acquiring a processing node identifier corresponding to the communication signal card identifier from the number card information corresponding to the communication signal card identifier;
and obtaining a shipment chain corresponding to the communication card identification according to the processing node identification and the card number processing sequence of each processing node identification.
3. The method according to claim 1 or 2, wherein the number card information includes number card supply link information, number card sales link information, and number card user link information;
the first type of block received from the block chain network and broadcasted by the processing node, where the first type of block includes the number card information recorded by the processing node in each circulation link, includes:
receiving a first type of block broadcast by the number card provider node from a blockchain network, wherein the first type of block corresponding to the number card provider node comprises the number card supply link information; the number card supply link information comprises: number card identification, number card supplier node identification, number card ex-warehouse information and number card sale channel identification;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the seller node from a block chain network, wherein the first type block corresponding to the seller node comprises the number card sales link information; the number card selling link information comprises: number card identification, seller node identification, number card warehousing information, number card ex-warehouse information and number card selling information;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the customer management node from a block chain network, wherein the first type block corresponding to the customer management node comprises the number card user link information; the link information of the number card user comprises the following steps: card number identification, customer management node identification, user terminal information, user identity information and card number package information.
4. The method of claim 3, wherein determining a card support node identifier from the abnormal card number identifier and the shipment chain comprises:
judging whether the shipment chain corresponding to the abnormal number card identification contains the customer management node;
if so, verifying user terminal information, user identity information and card meal information corresponding to the customer management node identification, and taking the last seller node identification of the delivery chain as a card-keeping node identification when the verification fails;
and if not, taking the last seller node identifier of the delivery chain as the card maintenance node identifier.
5. The method of claim 1, further comprising, after determining a card-holding node identifier based on the abnormal card identifier and the shipment chain:
and generating a second type of block according to the card-keeping node identification, and broadcasting the second type of block to the block chain network.
6. The utility model provides a support card recognition device based on block chain which characterized in that includes:
the system comprises a number card information acquisition module, a number card information acquisition module and a processing node management module, wherein the number card information acquisition module is used for receiving a first type of block broadcasted by a processing node from a block chain network, the first type of block comprises number card information recorded by the processing node in each circulation link, and the processing node comprises a number card supplier node, a seller node and a customer management node;
the shipment chain acquisition module is used for acquiring a shipment chain corresponding to a preset communication card identifier according to the card number information in the first class block, wherein the communication card identifier is used for indicating a card number which generates communication data;
an abnormal number card identification determining module, configured to determine, in the communication number card identification, an abnormal number card identification in which the shipment chain is unmatched with a number card standard sales chain, where the number card standard sales chain is a number card processing sequence agreed in advance by all nodes on the block chain network;
the card maintenance node identification determining module is used for determining the card maintenance node identification according to the abnormal card number identification and the delivery chain;
the abnormal number card identification determining module is used for:
acquiring a number card sale channel identifier corresponding to the communication number card identifier;
determining a standard sales chain of the number card according to the number card sales channel identifier;
acquiring a processing node identifier in the number card standard sales chain;
and if the processing node identification in the shipment chain is not consistent with the processing node identification in the standard card number sale chain, taking the communication card identification as an abnormal card number identification.
7. The apparatus of claim 6, wherein the shipment chain acquisition module is configured to:
analyzing and obtaining a plurality of number card identifications and number card information corresponding to each number card identification from the block body of at least one first type block;
acquiring a communication card identifier of generated communication data and card information corresponding to the communication card identifier;
acquiring a processing node identifier corresponding to the communication signal card identifier from the number card information corresponding to the communication signal card identifier;
and obtaining a shipment chain corresponding to the communication card identification according to the processing node identification and the card number processing sequence of each processing node identification.
8. The apparatus according to claim 6 or 7, wherein the number card information includes number card supply link information, number card sales link information, and number card user link information;
the number card information acquisition module is used for:
receiving a first type of block broadcast by the number card provider node from a blockchain network, wherein the first type of block corresponding to the number card provider node comprises the number card supply link information; the number card supply link information comprises: number card identification, number card supplier node identification, number card ex-warehouse information and number card sale channel identification;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the seller node from a block chain network, wherein the first type block corresponding to the seller node comprises the number card selling link information, and the number card selling link information comprises: number card identification, seller node identification, number card warehousing information, number card ex-warehouse information and number card selling information;
and/or the presence of a gas in the gas,
receiving a first type block broadcast by the customer management node from a block chain network, wherein the first type block corresponding to the customer management node comprises the number card user link information, and the number card user link information comprises: card number identification, customer management node identification, user terminal information, user identity information and card number package information.
9. The apparatus of claim 8, wherein the card servicing node identification determination module is configured to:
judging whether the shipment chain corresponding to the abnormal number card identification contains the customer management node;
if so, verifying user terminal information, user identity information and card meal information corresponding to the customer management node identification, and taking the last seller node identification of the delivery chain as a card-keeping node identification when the verification fails;
and if not, taking the last seller node identifier of the delivery chain as the card maintenance node identifier.
10. The apparatus of claim 6, wherein after determining the card-holding node identifier according to the abnormal card identifier and the shipment chain, the card-holding node identifier determining module is further configured to:
and generating a second type of block according to the card-keeping node identification, and broadcasting the second type of block to the block chain network.
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 CN109903058A (en) 2019-06-18
CN109903058B true 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)

Families Citing this family (1)

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

Citations (5)

* 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
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
CN109118219A (en) * 2018-08-01 2019-01-01 中国联合网络通信集团有限公司 Transaction data processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107248082B (en) * 2017-05-23 2020-08-04 北京道隆华尔软件股份有限公司 Card maintenance identification method and device
CN108805350B (en) * 2018-06-06 2020-02-07 牟林 Search and rescue range prediction method based on multi-dimensional Monte Carlo theory
CN109151828A (en) * 2018-09-30 2019-01-04 中国联合网络通信集团有限公司 Support recognition methods, device, equipment and the storage medium of card user

Patent Citations (5)

* 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
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
CN109118219A (en) * 2018-08-01 2019-01-01 中国联合网络通信集团有限公司 Transaction data processing method and device

Also Published As

Publication number Publication date
CN109903058A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN109118219B (en) Transaction data processing method and device
CN108876364B (en) Block chain system with annihilation mechanism
CN106203919A (en) Run through the book keeping operation formula commodity counterfeit prevention source tracing method of supply chain
CN111414429A (en) Commodity information management method based on block chain, electronic device and storage medium
CN112115468B (en) Service information detection method based on big data and cloud computing center
WO2023005309A1 (en) Blockchain-based product information processing method, and computer-readable storage medium
CN110940407A (en) Intelligent electronic scale for Internet of things and transaction method, device and system thereof
CN109102324B (en) Model training method, and red packet material laying prediction method and device based on model
CN110619530A (en) Agricultural product tracing method, electronic equipment and computer readable storage medium
CN111046889A (en) Method and device for processing pressed tea information and electronic equipment
CN114022151A (en) Block chain data visualization method and system, electronic device and storage medium
CN110941840B (en) Data processing method, system and terminal
CN109903058B (en) Block chain-based card maintenance identification method and device
CN111209201A (en) Advertisement putting test method and device
CN109101577A (en) A kind of data circulation method, apparatus and system
CN112529641A (en) Billing method, device and equipment based on block chain
CN110991961A (en) Block chain-based article inspection method, device, equipment and readable storage medium
CN114168949B (en) Application software anomaly detection method and system applied to artificial intelligence
CN110689356A (en) Method for recording commodity circulation process by using nested digital twin
CN108268545B (en) Method and device for establishing hierarchical user label library
CN112866295B (en) Big data crawler-prevention processing method and cloud platform system
WO2008100183A1 (en) Method for recording sales promotion and an identifier for carrying out said method
CN111259242B (en) Data processing method, device, storage medium and equipment
CN114285896A (en) Information pushing method, device, equipment, storage medium and program product
KR102044394B1 (en) Method for providing lock-chain based direct mileage service from producer to end-user

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