CN112235278B - Method and device for monitoring address information of trader and electronic equipment - Google Patents

Method and device for monitoring address information of trader and electronic equipment Download PDF

Info

Publication number
CN112235278B
CN112235278B CN202011077664.XA CN202011077664A CN112235278B CN 112235278 B CN112235278 B CN 112235278B CN 202011077664 A CN202011077664 A CN 202011077664A CN 112235278 B CN112235278 B CN 112235278B
Authority
CN
China
Prior art keywords
address
requester
node
hash value
information
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
CN202011077664.XA
Other languages
Chinese (zh)
Other versions
CN112235278A (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.)
Hangzhou Rivtower Technology Co Ltd
Original Assignee
Hangzhou Rivtower Technology 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 Hangzhou Rivtower Technology Co Ltd filed Critical Hangzhou Rivtower Technology Co Ltd
Priority to CN202011077664.XA priority Critical patent/CN112235278B/en
Publication of CN112235278A publication Critical patent/CN112235278A/en
Application granted granted Critical
Publication of CN112235278B publication Critical patent/CN112235278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The embodiment of the specification relates to a method, a device and electronic equipment for monitoring address information of a trader, which mainly comprise the following steps: setting an account address list with a supervision identity in the meta-information of the blockchain; the node receives transaction information and an IP address sent by a transactor; carrying out hash processing on the IP address of the transactor by the node, and carrying out transaction packaging on the obtained hash value and the transaction information; the node locally saves the comparison table of the IP address hash value and the IP address, and synchronizes the comparison table with other nodes; the node receives the signed IP address hash value sent by the requester and returns the corresponding IP address to the verified requester. Therefore, the IP address information does not exist on a block chain account book, but is kept secret for an application party of the block chain, so that the geographic position information of a transactor can be provided for a supervisor, but the geographic position information cannot be exposed to a non-supervisor, and the requirements of privacy protection and low-cost transmission are met.

Description

Method and device for monitoring address information of trader and electronic equipment
Technical Field
The embodiment of the specification relates to the technical field of networks, in particular to a method and a device for monitoring address information of a trader and electronic equipment.
Background
In a conventional financial information system, a user requests with IP address information via a network sent by a client for regulatory needs, and then the geographic coordinates of the requester can be inferred through an IP address location library. However, in the blockchain system, due to the characteristic of the distributed account book, the node for accounting only stores the commonly recognized transaction data, and when the account book is monitored on other nodes, the geographic position of the user when initiating the transaction cannot be known because the account book does not record the IP address information of the request, so that the safety monitoring requirement in the financial field cannot be met. If the IP address information of the requester is written into the account together with the transaction information in the blockchain transaction, useless information expansion is caused, after all, all nodes participating in the blockchain network need not acquire the IP address information, only the node with supervision responsibility needs the information, and the blockchain is a distributed multi-copy network, and when n nodes exist in one blockchain network, the cost of information transmission and storage of k x n times can be increased for each increment of the information amount k in each transaction. In addition, the IP address can reveal the geographic position information of a user, belongs to network identity identification information, is directly disclosed in a block chain network, and possibly reveals privacy data.
Disclosure of Invention
The embodiment of the specification provides a method, a device and electronic equipment for supervising address information of a transactor, which are used for solving the problem that the safe supervision of the address information in transaction cannot be realized under the conditions of privacy protection and low transmission cost in the prior art.
In order to solve the above technical problem, the embodiments of the present specification adopt the following technical solutions:
in a first aspect, a method for supervising transactor address information is provided, which is applied to a blockchain system, and the method includes:
setting an account address list with a supervision identity in the meta-information of the blockchain;
the node receives transaction information and an IP address sent by a transactor;
carrying out hash processing on the IP address of the transactor by the node, and carrying out transaction packaging on the obtained hash value and the transaction information;
the node locally saves the comparison table of the IP address hash value and the IP address, and synchronizes the comparison table with other nodes;
and the node receives the signed IP address hash value sent by the requester, verifies whether the requester is an account address with a supervision identity according to the account address list, verifies the validity of the request signature and returns a corresponding IP address to the requester passing the verification.
In a second aspect, there is provided an apparatus for supervising transactor address information, which is applied to a blockchain system, the apparatus comprising:
the account address list module is used for setting an account address list with a supervision identity in the meta information of the block chain;
the receiving module is used for receiving the transaction information and the IP address sent by the transactor by the node;
the hash processing module is used for carrying out hash processing on the IP address of the transactor and carrying out transaction packaging on the obtained hash value and the transaction information;
a comparison table management module: the node locally stores a comparison table of the IP address hash value and the IP address, and synchronizes the comparison table with other nodes;
and the query module is used for receiving the signed IP address hash value sent by the requester by the node, verifying whether the requester is an account address with a supervision identity according to the account address list, verifying the validity of the request signature and returning a corresponding IP address to the requester passing the verification.
In a third aspect, an electronic device is provided, including: one or more processors and memory, wherein the memory contains one or more computer programs executable by the one or more processors to cause the one or more processors to perform a method of administering trader address information provided in accordance with embodiments of the present invention.
In a fourth aspect, the present invention also provides a storage medium storing a computer program for causing a computer to execute the method of supervising trader address information provided in accordance with the various embodiments of the present invention.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: in the embodiment of the invention, the IP address information does not exist on a blockchain account book, but is kept secret from an application party of the blockchain, so that the geographic position information of a transactor can be provided for a supervisor, but the geographic position information cannot be exposed to a non-supervisor, and the requirements of privacy protection and low-cost transmission are met. The specific address information can be obtained only if the block chain manager sets the account address with the supervision identity, and the monitoring party can add monitoring application to any block chain node and can inquire the IP address. The account book data of the block chain transaction and the IP address comparison table are separately and independently managed and stored, and if the node does not need supervision and docking, the IP address comparison table can be cleared at fixed time to save storage space.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative efforts.
FIG. 1 is a schematic diagram illustrating steps of a method for monitoring address information of a transactor according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of an apparatus for supervising address information of a transactor according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of this specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort belong to the protection scope of the embodiments in the present specification.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 1, a schematic step diagram of a method for monitoring address information of a transactor provided in an embodiment of the present disclosure is applied to a blockchain system, and specifically includes the following steps:
step 101: setting an account address list with a supervision identity in the meta-information of the blockchain;
step 102: the node receives transaction information and an IP address sent by a transactor;
step 103: carrying out hash processing on the IP address of the transactor by the node, and carrying out transaction packaging on the obtained hash value and the transaction information;
step 104: the node locally saves the comparison table of the IP address hash value and the IP address, and synchronizes the comparison table with other nodes;
step 105: and the node receives the signed IP address hash value sent by the requester, verifies whether the requester is an account address with a supervision identity according to the account address list, verifies the validity of the request signature and returns a corresponding IP address to the requester passing the verification.
Specifically, in step 101, the setting of the account address list with the administrative identity may be performed by the blockchain manager.
Further, after receiving the transaction information and the IP address sent by the transactor, the node judges whether the IP address is the existing IP address in the local comparison table, and if so, the node does not synchronize the IP address information with other nodes. Unnecessary information broadcasting is avoided, thereby reducing the network transmission amount.
It should be noted that: when the nodes know the transaction information together and broadcast the IP address and synchronize the comparison table with other nodes, the other nodes receive the independent IP address updating notice, but cannot know which transaction the IP address corresponds to.
Further, the hashing the IP address of the transactor by the node may further include: and carrying out salting processing on the IP address by using block chain creation block hash.
In cryptography, a specific character string is inserted into any fixed position of a password, so that a hashed result is not consistent with a hashed result using an original password, and the process is called 'salting', so that IP address hashes on different block chains are different, and cracking by using a rainbow table mode is avoided. Namely:
ip_hash=hash(ip+genesis_block_hash)
all nodes that receive the new IP address (including the node that sent the information) generate a unique hash for the IP address, and a blockchain created block hash may be added as a salt. Accordingly, the blockchain created blockhash may also be replaced with other metadata that is persistent across blockchains, different across each blockchain, and available to each node.
It should be noted that: the key value type database and the text file can be used for storing a comparison table of the IP address hash value and the IP address.
Step 105 may further comprise the sub-steps of:
step 105-1: the node receives the IP address hash value digitally signed by the requester by using a private key of the node and a public key of the requester;
step 105-2: the node acquires the account address list from locally stored block chain metadata;
step 105-3: obtaining the account address of the requester through the public key of the requester, and judging whether the account address of the requester exists in the account address list or not;
step 105-4: if the IP address hash value exists, carrying out digital signature verification on the asymmetric key by using the IP address hash value, the requester public key and the digital signature;
step 105-5: and if the digital signature passes the verification, finding the corresponding IP address in the comparison table according to the IP address hash value and returning the IP address to the requester.
The requester with supervision authority can obtain the geographic coordinates of the requester according to the IP address location library or the IP address query service of a third party, so as to deduce which city and which block and even which place the physical location of the requester is in, and the accuracy depends on the accuracy of the used IP address library.
Through the technical scheme of the specification, the IP address information does not exist on a block chain account book, but is kept secret from an application party of the block chain, so that the geographic position information of a transactor can be provided for a supervision party, the geographic position information cannot be exposed to a non-supervision party, and the requirements of privacy protection and low-cost transmission are met. The specific address information can be obtained only if the block chain manager sets the account address with the supervision identity, and the monitoring party can add monitoring application to any block chain node and can inquire the IP address. The account book data of the block chain transaction and the IP address comparison table are separately and independently managed and stored, and if the node does not need supervision and docking, the IP address comparison table can be cleared at fixed time to save storage space.
Example two
Referring to fig. 2, a schematic structural diagram of an apparatus for supervising address information of a transactor provided in the embodiment of the present disclosure is applied to a blockchain system, and the apparatus mainly includes:
an account address list module 201, configured to set an account address list with a supervision identity in the meta information of the blockchain;
a receiving module 202, configured to receive, by a node, transaction information and an IP address sent by a transactor;
the hash processing module 203 is used for carrying out hash processing on the IP address of the transactor and carrying out transaction packaging on the obtained hash value and the transaction information;
the comparison table management module 204: the node locally stores a comparison table of the IP address hash value and the IP address, and synchronizes the comparison table with other nodes;
and the query module 205 is configured to receive the signed IP address hash value sent by the requester, verify whether the requester is an account address with a supervision identity according to the account address list, verify the validity of the request signature, and return a corresponding IP address to the verified requester.
Further, the hash processing module utilizes block chain created block hash to perform salting processing on the IP address.
The device can also further comprise a duplication checking module which is used for judging whether the IP address is the IP address existing in the local comparison table after the node receives the transaction information and the IP address sent by the trader, and if so, the IP address information is not synchronized with other nodes.
It should be noted that the query module may further include:
the node receives the IP address hash value digitally signed by the requester by using a private key of the node and a public key of the requester;
the node acquires the account address list from locally stored block chain metadata;
obtaining the account address of the requester through the public key of the requester, and judging whether the account address of the requester exists in the account address list or not;
if the IP address hash value exists, carrying out digital signature verification on the asymmetric key by using the IP address hash value, the requester public key and the digital signature;
and if the digital signature passes the verification, finding the corresponding IP address in the comparison table according to the IP address hash value and returning the IP address to the requester.
Through the technical scheme of the specification, the IP address information does not exist on a block chain account book, but is kept secret from an application party of the block chain, so that the geographic position information of a transactor can be provided for a supervision party, the geographic position information cannot be exposed to a non-supervision party, and the requirements of privacy protection and low-cost transmission are met. The specific address information can be obtained only if the block chain manager sets the account address with the supervision identity, and the monitoring party can add monitoring application to any block chain node and can inquire the IP address. The account book data of the block chain transaction and the IP address comparison table are separately and independently managed and stored, and if the node does not need supervision and docking, the IP address comparison table can be cleared at fixed time to save storage space.
It should be understood that the apparatus described in the second embodiment may execute all technical solutions related to the method described in the first embodiment in the form of functional modules, and implement corresponding technical effects, which are not described herein again.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring to fig. 3, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form a device for supervising the address information of the trader on a logic level. The processor executes the program stored in the memory, and is specifically used for executing the method operation executed when the device for supervising the address information of the trader is taken as an execution subject.
The method performed by the apparatus according to the embodiments shown in fig. 1 and fig. 2 of the present specification may be implemented in a processor or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The methods, steps, and logic blocks disclosed in one or more embodiments of the present specification may be implemented or performed. 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 one or more embodiments of the present disclosure may be embodied directly in hardware, in a software module executed by a hardware decoding processor, or in a combination of the hardware and software modules executed by a hardware decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute the method disclosed in fig. 1 and fig. 2, and implement the functions of the corresponding apparatus in the embodiments shown in fig. 1 and fig. 2, which are not described herein again in this specification.
Of course, besides the software implementation, the electronic device of the embodiment of the present disclosure does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
Through the technical scheme of the specification, the IP address information does not exist on a block chain account book, but is kept secret from an application party of the block chain, so that the geographic position information of a transactor can be provided for a supervision party, the geographic position information cannot be exposed to a non-supervision party, and the requirements of privacy protection and low-cost transmission are met. The specific address information can be obtained only if the block chain manager sets the account address with the supervision identity, and the monitoring party can add monitoring application to any block chain node and can inquire the IP address. The account book data of the block chain transaction and the IP address comparison table are separately and independently managed and stored, and if the node does not need supervision and docking, the IP address comparison table can be cleared at fixed time to save storage space.
Example four
Embodiments of the present specification also provide a storage medium storing a computer program, the computer readable storage medium storing one or more programs for use by a processor in performing the method of supervising trader address information described in the present application.
Through the technical scheme of the specification, the IP address information does not exist on a block chain account book, but is kept secret from an application party of the block chain, so that the geographic position information of a transactor can be provided for a supervision party, the geographic position information cannot be exposed to a non-supervision party, and the requirements of privacy protection and low-cost transmission are met. The specific address information can be obtained only if the block chain manager sets the account address with the supervision identity, and the monitoring party can add monitoring application to any block chain node and can inquire the IP address. The account book data of the block chain transaction and the IP address comparison table are separately and independently managed and stored, and if the node does not need supervision and docking, the IP address comparison table can be cleared at fixed time to save storage space.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present specification shall be included in the protection scope of the present specification.
The system, apparatus, module or unit illustrated in one or more of the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with a certain functionality. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

Claims (10)

1. A method for supervising transactor address information, applied to a blockchain system, the method comprising:
setting an account address list with a supervision identity in metadata of a blockchain;
the node for providing the supervision function receives the transaction information and the IP address sent by the transactor;
the node carries out hash processing on the IP address of the trader, and carries out trade packaging on the obtained hash value and the trade information;
the node locally stores a comparison table of the IP address hash value and the IP address, and synchronizes the comparison table with other nodes for providing a supervision function;
and the node receives the signed IP address hash value sent by the requester, verifies whether the requester is an account address with a supervision identity according to the account address list, verifies the validity of the request signature, and returns a corresponding IP address to the verified requester.
2. The method of claim 1, the hashing the transactor's IP address by the node further comprising: and carrying out salting processing on the IP address by using block chain creation block hash.
3. The method of claim 2, further comprising: after receiving the transaction information and the IP address sent by the transactor, the node judges whether the IP address is the IP address existing in the local comparison table, if so, the node does not synchronize the IP address information with other nodes for providing the supervision function any more.
4. The method of any of claims 1-3, further comprising:
the node receives the IP address hash value digitally signed by the requester by using a private key of the node and a public key of the requester;
acquiring the account address list from locally stored block chain metadata;
obtaining the account address of the requester through the public key of the requester, and judging whether the account address of the requester exists in the account address list or not;
if the IP address hash value exists, carrying out digital signature verification on the asymmetric key by using the IP address hash value, the requester public key and the digital signature;
and if the digital signature passes the verification, finding the corresponding IP address in the comparison table according to the IP address hash value and returning the IP address to the requester.
5. An apparatus for supervising transactor address information, applied to a blockchain system, the apparatus comprising:
the account address list module is used for setting an account address list with a supervision identity in the metadata of the blockchain;
the receiving module is used for enabling the node for providing the supervision function to receive the transaction information and the IP address sent by the transactor;
the hash processing module is used for enabling the node to carry out hash processing on the IP address of the trader, and carrying out trade packaging on the obtained hash value and the trade information;
a comparison table management module: the node is used for locally storing a comparison table of the IP address hash value and the IP address and synchronizing the comparison table with other nodes for providing a supervision function;
and the query module is used for enabling the node to receive the signed IP address hash value sent by the requester, verifying whether the requester is an account address with a supervision identity according to the account address list, verifying the validity of the request signature and returning a corresponding IP address to the requester passing the verification.
6. The apparatus of claim 5, the hash processing module further to: and carrying out salting processing on the IP address by using block chain creation block hash.
7. The apparatus of claim 6, further comprising a duplication checking module, configured to determine, after the node receives the transaction information and the IP address sent by the transactor, whether the IP address is an existing IP address in the local lookup table, and if so, the node does not synchronize the IP address information with another node for providing a supervision function.
8. The apparatus of any of claims 5-7, the query module further to:
the node is used for receiving the IP address hash value digitally signed by the requester by using a private key of the node and a public key of the requester;
acquiring the account address list from locally stored block chain metadata;
obtaining the account address of the requester through the public key of the requester, and judging whether the account address of the requester exists in the account address list or not;
if the IP address hash value exists, carrying out digital signature verification on the asymmetric key by using the IP address hash value, the requester public key and the digital signature;
and if the digital signature passes the verification, finding the corresponding IP address in the comparison table according to the IP address hash value and returning the IP address to the requester.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-4.
10. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-4.
CN202011077664.XA 2020-10-10 2020-10-10 Method and device for monitoring address information of trader and electronic equipment Active CN112235278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011077664.XA CN112235278B (en) 2020-10-10 2020-10-10 Method and device for monitoring address information of trader and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011077664.XA CN112235278B (en) 2020-10-10 2020-10-10 Method and device for monitoring address information of trader and electronic equipment

Publications (2)

Publication Number Publication Date
CN112235278A CN112235278A (en) 2021-01-15
CN112235278B true CN112235278B (en) 2022-03-25

Family

ID=74111787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011077664.XA Active CN112235278B (en) 2020-10-10 2020-10-10 Method and device for monitoring address information of trader and electronic equipment

Country Status (1)

Country Link
CN (1) CN112235278B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393327A (en) * 2021-06-10 2021-09-14 杭州溪塔科技有限公司 Privacy protection method and device for on-chain evidence-storing transaction and electronic equipment
CN113379525A (en) * 2021-06-11 2021-09-10 恒安嘉新(北京)科技股份公司 Financial supervision method and device, electronic equipment and storage medium
CN113922962A (en) * 2021-09-10 2022-01-11 杭州溪塔科技有限公司 Method and device for selectively disclosing digital identity attribute
CN115379015A (en) * 2022-08-19 2022-11-22 中国银行股份有限公司 Data processing method, device and system
CN116132166A (en) * 2023-02-03 2023-05-16 网易(杭州)网络有限公司 Communication method, device, equipment and storage medium based on block chain
CN117499159B (en) * 2023-12-27 2024-03-26 杭州字节方舟科技有限公司 Block chain-based data transaction method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108694668A (en) * 2018-06-15 2018-10-23 腾讯科技(深圳)有限公司 Digital asset method of commerce, device, medium and equipment
CN110910138A (en) * 2019-12-04 2020-03-24 中科扶云(杭州)科技有限公司 Block chain data supervision method and device
CN111008836A (en) * 2019-11-15 2020-04-14 哈尔滨工业大学(深圳) Privacy safe transfer payment method, device and system based on monitorable block chain and storage medium
CN111010280A (en) * 2019-12-09 2020-04-14 中山大学 Group signature-based construction method for monitorable block chain
WO2020098815A2 (en) * 2019-11-29 2020-05-22 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and devices for cryptographic key management based on blockchain system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784918A (en) * 2018-12-15 2019-05-21 深圳壹账通智能科技有限公司 Information measure of supervision, device, equipment and storage medium based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108694668A (en) * 2018-06-15 2018-10-23 腾讯科技(深圳)有限公司 Digital asset method of commerce, device, medium and equipment
CN111008836A (en) * 2019-11-15 2020-04-14 哈尔滨工业大学(深圳) Privacy safe transfer payment method, device and system based on monitorable block chain and storage medium
WO2020098815A2 (en) * 2019-11-29 2020-05-22 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and devices for cryptographic key management based on blockchain system
CN110910138A (en) * 2019-12-04 2020-03-24 中科扶云(杭州)科技有限公司 Block chain data supervision method and device
CN111010280A (en) * 2019-12-09 2020-04-14 中山大学 Group signature-based construction method for monitorable block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Data_management_and_searching_system_and_method_to_provide_increased_security_for_IoT_platform》;Moon Yong Jung,et.al;《IEEE》;20171231;全文 *
区块链隐私保护研究与实践综述;张奥等;《软件学报》;20200515(第05期);全文 *

Also Published As

Publication number Publication date
CN112235278A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN112235278B (en) Method and device for monitoring address information of trader and electronic equipment
US11151236B2 (en) File verification database system
CN110166442B (en) Data processing method and device based on block chain
WO2020038105A1 (en) Blockchain-based data storage method and apparatus
US11070379B2 (en) Signature verification for a blockchain ledger
US11025430B2 (en) File provenance database system
CN111092724B (en) Block chain system digital certificate issuing method, equipment, system and medium
TW202040408A (en) Method, system and apparatus for verifying signature in blockchain ledger, and device
CN112840617A (en) Block chain notification board for storing block chain resources
TWI712972B (en) Trustworthiness verification method, system, device and equipment of alliance chain
CN112612856B (en) Block chain-based data processing method and device
WO2020199708A1 (en) Monitoring method, apparatus, and device for time service certificate generation request
CN112214519B (en) Data query method, device, equipment and readable medium
US20200204358A1 (en) File redaction database system
WO2020108152A1 (en) Method, device and electronic equipment for preventing misuse of identity data
US20200193430A1 (en) Determining generation time for blockchain data
CN112988470B (en) Consensus method, consensus node and system in alliance chain
CN113901424A (en) Method and device for selectively disclosing digital identity attribute
CN112291321B (en) Service processing method, device and system
CN113922962A (en) Method and device for selectively disclosing digital identity attribute
CN111310137B (en) Block chain associated data evidence storing method and device and electronic equipment
CN108710658B (en) Data record storage method and device
CN110807640A (en) Method and device for recording copyright information
CN112487497A (en) Method and device for managing off-link files based on intelligent contracts and electronic equipment
CN111884808A (en) Method and device for preventing cross-chain replay of transaction and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant