CN110545186A - Block chain private key signing method and device for advertisement platform user - Google Patents

Block chain private key signing method and device for advertisement platform user Download PDF

Info

Publication number
CN110545186A
CN110545186A CN201910805683.0A CN201910805683A CN110545186A CN 110545186 A CN110545186 A CN 110545186A CN 201910805683 A CN201910805683 A CN 201910805683A CN 110545186 A CN110545186 A CN 110545186A
Authority
CN
China
Prior art keywords
user
private key
advertisement
advertisement server
public key
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.)
Pending
Application number
CN201910805683.0A
Other languages
Chinese (zh)
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.)
Beijing Ai Morui Strategic Technology Co Ltd
Original Assignee
Beijing Ai Morui Strategic 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 Beijing Ai Morui Strategic Technology Co Ltd filed Critical Beijing Ai Morui Strategic Technology Co Ltd
Priority to CN201910805683.0A priority Critical patent/CN110545186A/en
Publication of CN110545186A publication Critical patent/CN110545186A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0273Determination of fees for advertising
    • 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/3247Cryptographic 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 involving digital signatures
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for signing a private key of a block chain of an advertisement platform user, wherein the method comprises the following steps: the method comprises the steps that an advertisement server receives a user operation data uplink request sent by user equipment, wherein the user operation data uplink request comprises a user ID; when the advertisement server judges that the user operation meets the preset condition, inquiring a user public key corresponding to the user ID according to the user ID; the advertisement server sends the user public key, the user operation data uplink request and the advertisement server private key signature information to a signature machine; the advertisement server receives a user operation data uplink request signed by a user private key; and the advertisement server sends a user operation data uplink request signed by a user private key to any one block chain node so that the user operation is stored in the block chain account book by any one block chain node. The server in the application ensures the safety of the private key, can help the user equipment to sign on behalf of others, and can improve the experience of the user.

Description

block chain private key signing method and device for advertisement platform user
Technical Field
The invention relates to the technical field of internet big data, in particular to a method and a device for signing a private key of a block chain of an advertisement platform user.
Background
currently, the blockchain technology is a distributed stored ledger that uses technologies such as encryption algorithm and consensus mechanism. With the use of blockchain technology, more and more internet data is stored on the blockchain.
at this time, on the blockchain, the user has a pair of public key and private key, and the public key and the private key are corresponding. When a user operates on the block chain, the user needs to sign with a private key; on the blockchain, the private key represents the user, so the user needs to keep the private key.
However, the private key is a string of characters, which is difficult for the user to remember; and for the existing internet users, the most familiar mode of the users is the corresponding use mode of user names and passwords. Therefore, how to find a way that the user can ensure the security of the private key without storing the private key is a problem to be solved.
The foregoing description is merely for convenience in understanding and is not to be construed as limiting the prior art to the present application.
Disclosure of Invention
based on the problems, the method and the device for signing the block chain private key of the advertisement platform user can enable the management authority of the private key to a server, and user equipment does not need to store the private key; the server ensures the safety of the private key and can help the user equipment to sign; therefore, the user can experience the service of the block chain under the condition of not perceiving the private key, and the experience of the user is further improved.
the first aspect of the application discloses a method for signing a private key of a block chain of an advertisement platform user, which comprises the following steps:
the method comprises the steps that an advertisement server receives a user operation data uplink request sent by user equipment, wherein the user operation data uplink request comprises a user ID; the user operation data uplink request comprises one or more of an advertisement click data uplink request, an advertisement browsing data uplink request, an advertisement release data uplink request, approval data aiming at an advertisement and an uplink request aiming at comment data;
When the advertisement server judges that the user operation meets a preset condition, inquiring a user public key corresponding to the user ID according to the user ID; the advertisement server stores at least one user ID and at least one user public key, and the at least one user ID and the at least one user public key are in one-to-one correspondence;
The advertisement server sends the user public key, the user operation data uplink request and the signature information of the advertisement server private key to a signature machine, so that the signature machine inquires a user private key corresponding to the user public key after passing the verification of the advertisement server private key, and signs the user operation data uplink request by using the user private key; the advertisement server private key signature information comprises private key signature information of the advertisement server private key on the user public key and the user operation data uplink request, the signature machine stores at least one user private key and at least one user public key, and the at least one user private key and the at least one user public key are in one-to-one correspondence;
The advertisement server receives the user operation data uplink request signed by the user private key;
And the advertisement server sends the user operation data chaining request signed by the user private key to any block chain node, so that the user private key is verified by any block chain node, and the user operation is stored in a block chain account book after consensus is completed.
In a possible implementation manner, the user operation data in the user operation data uplink request includes an associated attribute and a non-associated attribute, and the numerical values of the associated attributes are automatically superimposed; the user operation data association attribute comprises one or more of the number of praise, the number of comments and the number of browsing.
in one possible implementation, the advertisement server pays uplink resource charges for the ue, the uplink resource charges including one or more of block link node CPU resource usage charges, block link point RAM resource usage charges, block link point network bandwidth resource usage charges, and block link point packed uplink charges.
In one possible implementation, the method includes: the advertisement server judges whether the user operation meets a preset condition, wherein the preset condition comprises whether the user is a registered user of the advertisement server or not, and whether the user operation is legal operation provided by the advertisement server or not; wherein the content of the first and second substances,
The legal operation of the advertisement server comprises one or more of an advertisement clicking operation, an advertisement browsing operation, an advertisement publishing operation, a commenting operation aiming at the advertisement and a praise operation aiming at the advertisement.
in one possible implementation, the method further includes: the advertisement server receives a user registration request sent by the user equipment;
the advertisement server sends the user registration request to the signing machine so that the signing machine generates and stores the user public key and the user private key according to the user registration request;
The advertisement server receives the user public key sent by the signature machine, generates the user ID, and stores the user ID and the user public key corresponding to the user ID; the advertisement server stores at least one user ID and at least one user public key, wherein the user ID and the user public key are in one-to-one correspondence;
the advertisement server transmits the user ID and a response message of the user registration completion to the user device.
The second aspect of the application discloses a device for signing a private key of a block chain of an advertisement platform user, wherein the device is an advertisement server and comprises a sending unit, a processing unit and a receiving unit; wherein the content of the first and second substances,
The receiving unit receives a user operation data uplink request sent by user equipment, wherein the user operation data uplink request comprises a user ID; the user operation data uplink request comprises one or more of an advertisement click data uplink request, an advertisement browsing data uplink request, an advertisement release data uplink request, approval data aiming at an advertisement and an uplink request aiming at comment data;
the processing unit is used for inquiring a user public key corresponding to the user ID according to the user ID when judging that the user operation meets a preset condition; the advertisement server stores at least one user ID and at least one user public key, and the at least one user ID and the at least one user public key are in one-to-one correspondence;
The sending unit is used for sending the user public key, the user operation data uplink request and the signature information of the advertisement server private key to a signature machine so as to enable the signature machine to inquire a user private key corresponding to the user public key after the advertisement server private key is verified by the signature machine, and sign the user operation data uplink request by using the user private key; the advertisement server private key signature information comprises private key signature information of the advertisement server private key on the user public key and the user operation data uplink request, the signature machine stores at least one user private key and at least one user public key, and the at least one user private key and the at least one user public key are in one-to-one correspondence;
The receiving unit is used for receiving the user operation data uplink request signed by the user private key;
The sending unit sends the user operation data uplink request signed by the user private key to any block chain node, so that the user private key is verified by any block chain node, and the user operation is stored in a block chain account book after consensus is completed.
In a possible implementation manner, the user operation data in the user operation data uplink request includes an associated attribute and a non-associated attribute, and the numerical values of the associated attributes are automatically superimposed; the user operation data association attribute comprises one or more of the number of praise, the number of comments and the number of browsing.
In one possible implementation, the advertisement server pays uplink resource charges for the ue, the uplink resource charges including one or more of block link node CPU resource usage charges, block link point RAM resource usage charges, block link point network bandwidth resource usage charges, and block link point packed uplink charges.
In one possible implementation, the method includes: the processing unit is used for judging whether the user operation meets preset conditions or not, wherein the preset conditions comprise whether the user is a registered user of the advertisement server or not and whether the user operation is legal operation provided by the advertisement server or not; wherein the content of the first and second substances,
the legal operation of the advertisement server comprises one or more of an advertisement clicking operation, an advertisement browsing operation, an advertisement publishing operation, a commenting operation aiming at the advertisement and a praise operation aiming at the advertisement.
in one possible implementation, the method further includes: the receiving unit receives a user registration request sent by the user equipment;
The sending unit is used for sending the user registration request to the signing machine so that the signing machine can generate and store the user public key and the user private key according to the user registration request;
the receiving unit is used for receiving the user public key sent by the signature machine, generating the user ID and storing the user ID and the user public key corresponding to the user ID; the advertisement server stores at least one user ID and at least one user public key, wherein the user ID and the user public key are in one-to-one correspondence;
the sending unit sends the user ID and a response message of the user registration completion to the user equipment.
The method and the device can enable the management authority of the private key to the server, and the user equipment does not need to store the private key; the server ensures the safety of the private key and can help the user equipment to sign; therefore, the user can experience the service of the block chain under the condition of not perceiving the private key, and the experience of the user is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for signing a block chain private key of a user of an advertisement platform according to the present disclosure;
FIG. 2 is a flowchart illustrating a method for signing a block chain private key of a user of an advertisement platform according to another embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a configuration of a device for signing a block chain private key of a user of an advertisement platform according to the present disclosure;
Fig. 4 is a schematic structural diagram of a device for signing a block chain private key of an advertisement platform user according to the present disclosure.
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 some, but not all, embodiments of the present invention. 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" and "second" in this application are used for convenience of understanding only, and are not to be construed as sequential or limiting in any way.
for the purpose of facilitating understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
as shown in FIG. 1, the method for signing a block chain private key of an advertisement platform user comprises steps S101-S105.
S101, an advertisement server receives a user operation data uplink request sent by user equipment, wherein the user operation data uplink request comprises a user ID; the user operation data uplink request comprises one or more of an advertisement click data uplink request, an advertisement browsing data uplink request, an advertisement release data uplink request, approval data aiming at an advertisement and an uplink request aiming at comment data.
in one example, the user operation data in the uplink user operation data request comprises an associated attribute and a non-associated attribute, and the numerical values of the associated attributes are automatically superposed; the user operation data association attribute comprises one or more of the number of praise, the number of comments and the number of browsing.
S102, when the advertisement server judges that the user operation meets a preset condition, inquiring a user public key corresponding to the user ID according to the user ID; the advertisement server stores at least one user ID and at least one user public key, and the at least one user ID and the at least one user public key are in one-to-one correspondence.
in one example, the method comprises: the advertisement server judges whether the user operation meets a preset condition, wherein the preset condition comprises whether the user is a registered user of the advertisement server or not, and whether the user operation is legal operation provided by the advertisement server or not; wherein the legal operation of the advertisement server comprises one or more of an advertisement clicking operation, an advertisement browsing operation, an advertisement publishing operation, a commenting operation aiming at the advertisement and a praise operation aiming at the advertisement.
s103, the advertisement server sends the user public key, the user operation data uplink request and the signature information of the advertisement server private key to a signature machine, so that the signature machine inquires a user private key corresponding to the user public key after passing the verification of the advertisement server private key, and signs the user operation data uplink request by using the user private key; the advertisement server private key signature information comprises private key signature information of the advertisement server private key on the user public key and the user operation data uplink request, the signature machine stores at least one user private key and at least one user public key, and the at least one user private key corresponds to the at least one user public key one to one.
S104, the advertisement server receives the user operation data uplink request signed by the user private key.
S105, the advertisement server sends the user operation data chaining request signed by the user private key to any block chain node, so that the user private key is verified by any block chain node, and the user operation is stored in a block chain book after consensus is completed.
In one example, the advertisement server pays an uplink resource fee for the user equipment, the uplink resource fee including one or more of a block link node CPU resource usage fee, a block link point RAM resource usage fee, a block link point network bandwidth resource usage fee, and a block link point packed uplink fee.
In one example, the method further comprises: the advertisement server receives a user registration request sent by the user equipment; the advertisement server sends the user registration request to the signing machine so that the signing machine generates and stores the user public key and the user private key according to the user registration request; the advertisement server receives the user public key sent by the signature machine, generates the user ID, and stores the user ID and the user public key corresponding to the user ID; the advertisement server stores at least one user ID and at least one user public key, wherein the user ID and the user public key are in one-to-one correspondence; the advertisement server transmits the user ID and a response message of the user registration completion to the user device.
the method and the device can enable the management authority of the private key to the server, and the user equipment does not need to store the private key; the server ensures the safety of the private key and can help the user equipment to sign; therefore, the user can experience the service of the block chain in a user name and password mode under the condition of not perceiving the private key, and the user experience is further improved; in addition, the private key is stored in the signature machine, the signature machine can only access through an intranet, and the server cannot acquire the private key, so that the storage safety of the private key is further ensured.
In addition, the private key of the user is not lost, and the operation authority of the user is limited; when the operation of the user is illegal, the server does not execute the signing process.
the following describes the private key signing method of the present application in detail by taking fig. 2 as an example, as shown in fig. 2.
S201, the user equipment sends a user registration request to the advertisement server.
S202, the advertisement server forwards the user registration request to the signing machine.
S203, the signature machine generates a user public key and a user private key for the user and stores the user public key and the user private key.
The signature machine can only receive intranet access, namely only the advertisement server can access the signature machine, so that the safety of the private key is ensured. The signature machine is stored with a plurality of public keys and a plurality of private keys, and the public keys correspond to the private keys one by one.
S204, the signature machine returns the user public key to the advertisement server.
S205, the advertisement server generates a user ID and stores a plurality of user IDs and a plurality of user public keys, wherein the user IDs and the user public keys are in one-to-one correspondence.
The user ID is the unique identity of the user at the advertisement server.
S206, the advertisement server returns the user ID to the user equipment, and prompts the user equipment that the user registration is completed.
S207, the ue sends a user operation data uplink request to the advertisement server, where the uplink request includes a user ID.
The user operation refers to legal operation on an advertisement platform, and the operation is a user using function provided by an advertisement server; the user operation includes a uplink operation of user operation data.
S208, the advertisement server judges that the uplink request of the user operation data meets the preset condition, and inquires the public key corresponding to the user ID.
the preset conditions mainly comprise: and whether the transaction user ID is a registered user of the advertising platform or not is checked, and whether the user operation data is a legal operation data type or not is checked.
s209, the advertisement server signs the user public key and the user operation data by using a self private key, and sends the signature information, the user public key and the user operation data to a signature machine.
s210, the signature machine verifies the signature of the server private key, after the verification is passed, the user private key corresponding to the user public key is inquired, and the operation data of the user is signed by the user private key.
S211, the signature machine sends the user operation data uplink request signed by the user private key to the advertisement server.
S212, the advertisement server sends the uplink request of the user operation data signed by the user private key to any blockchain node.
s213, the block link point verifies the private key of the user, and after the verification passes and the consensus is completed, the user operation data uplink requested by the user operation data uplink is performed.
the uplink refers to storing user operation data on a distributed block chain account book; for a specific uplink operation, those skilled in the art can perform the operation according to a conventional manner, and the detailed description thereof is omitted here.
as shown in fig. 4, the device for signing a block chain private key of an advertisement platform user is an advertisement server, and the device includes a sending unit, a processing unit and a receiving unit.
The receiving unit receives a user operation data uplink request sent by user equipment, wherein the user operation data uplink request comprises a user ID; the user operation data uplink request comprises one or more of an advertisement click data uplink request, an advertisement browsing data uplink request, an advertisement release data uplink request, approval data aiming at an advertisement and an uplink request aiming at comment data;
the processing unit is used for inquiring a user public key corresponding to the user ID according to the user ID when judging that the user operation meets a preset condition; the advertisement server stores at least one user ID and at least one user public key, and the at least one user ID and the at least one user public key are in one-to-one correspondence;
The sending unit is used for sending the user public key, the user operation data uplink request and the signature information of the advertisement server private key to a signature machine so as to enable the signature machine to inquire a user private key corresponding to the user public key after the advertisement server private key is verified by the signature machine, and sign the user operation data uplink request by using the user private key; the advertisement server private key signature information comprises private key signature information of the advertisement server private key on the user public key and the user operation data uplink request, the signature machine stores at least one user private key and at least one user public key, and the at least one user private key and the at least one user public key are in one-to-one correspondence;
the receiving unit is used for receiving the user operation data uplink request signed by the user private key;
the sending unit sends the user operation data uplink request signed by the user private key to any block chain node, so that the user private key is verified by any block chain node, and the user operation is stored in a block chain account book after consensus is completed.
In one example, the user operation data in the uplink user operation data request comprises an associated attribute and a non-associated attribute, and the numerical values of the associated attributes are automatically superposed; the user operation data association attribute comprises one or more of the number of praise, the number of comments and the number of browsing.
In one example, the advertisement server pays an uplink resource fee for the user equipment, the uplink resource fee including one or more of a block link node CPU resource usage fee, a block link point RAM resource usage fee, a block link point network bandwidth resource usage fee, and a block link point packed uplink fee.
In one example, the method comprises: the processing unit is used for judging whether the user operation meets preset conditions or not, wherein the preset conditions comprise whether the user is a registered user of the advertisement server or not and whether the user operation is legal operation provided by the advertisement server or not; wherein the content of the first and second substances,
the legal operation of the advertisement server comprises one or more of an advertisement clicking operation, an advertisement browsing operation, an advertisement publishing operation, a commenting operation aiming at the advertisement and a praise operation aiming at the advertisement.
In one example, the method further comprises: the receiving unit receives a user registration request sent by the user equipment;
The sending unit is used for sending the user registration request to the signing machine so that the signing machine can generate and store the user public key and the user private key according to the user registration request;
The receiving unit is used for receiving the user public key sent by the signature machine, generating the user ID and storing the user ID and the user public key corresponding to the user ID; the advertisement server stores at least one user ID and at least one user public key, wherein the user ID and the user public key are in one-to-one correspondence;
the sending unit sends the user ID and a response message of the user registration completion to the user equipment.
The method and the device can enable the management authority of the private key to the server, and the user equipment does not need to store the private key; the server ensures the safety of the private key and can help the user equipment to sign; therefore, the user can experience the service of the block chain under the condition of not sensing the private key, and the experience of the user is further improved; in addition, the private key is stored in the signature machine, the signature machine can only access through an intranet, and the server cannot acquire the private key, so that the storage safety of the private key is further ensured.
the application further discloses a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of the above embodiments when executing the program.
The present application also discloses a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above embodiments.
Fig. 3 shows a schematic diagram of a computer device, which may include: a processor 310, a memory 320, an input/output interface 330, a communication interface 340, and a bus 350. Wherein the processor 340, the memory 320, the input/output interface 330, and the communication interface 340 are communicatively coupled to each other within the device via a bus 350.
The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 320 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 320 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 320 and called to be executed by the processor 310.
The input/output interface 330 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 340 is used for connecting a communication module (not shown in the figure) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 350 includes a path that transfers information between the various components of the device, such as processor 310, memory 320, input/output interface 330, and communication interface 340.
It should be noted that although the above-mentioned device only shows the processor 310, the memory 320, the input/output interface 330, the communication interface 340 and the bus 350, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
the above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the scope of the present invention should be included in the scope of the present invention.

Claims (10)

1. The method for signing the block chain private key of the advertisement platform user is characterized by comprising the following steps:
The method comprises the steps that an advertisement server receives a user operation data uplink request sent by user equipment, wherein the user operation data uplink request comprises a user ID; the user operation data uplink request comprises one or more of an advertisement click data uplink request, an advertisement browsing data uplink request, an advertisement release data uplink request, approval data aiming at an advertisement and an uplink request aiming at comment data;
When the advertisement server judges that the user operation meets a preset condition, inquiring a user public key corresponding to the user ID according to the user ID; the advertisement server stores at least one user ID and at least one user public key, and the at least one user ID and the at least one user public key are in one-to-one correspondence;
the advertisement server sends the user public key, the user operation data uplink request and the signature information of the advertisement server private key to a signature machine, so that the signature machine inquires a user private key corresponding to the user public key after passing the verification of the advertisement server private key, and signs the user operation data uplink request by using the user private key; the advertisement server private key signature information comprises private key signature information of the advertisement server private key on the user public key and the user operation data uplink request, the signature machine stores at least one user private key and at least one user public key, and the at least one user private key and the at least one user public key are in one-to-one correspondence;
the advertisement server receives the user operation data uplink request signed by the user private key;
and the advertisement server sends the user operation data chaining request signed by the user private key to any block chain node, so that the user private key is verified by any block chain node, and the user operation is stored in a block chain account book after consensus is completed.
2. the method of claim 1, wherein the user operation data in the ul request comprises associated attributes and non-associated attributes, and values of the associated attributes are automatically superimposed; the user operation data association attribute comprises one or more of the number of praise, the number of comments and the number of browsing.
3. the method of claim 1, wherein the advertisement server pays an uplink resource fee for the UE, and wherein the uplink resource fee comprises one or more of block link node (CPU) resource usage fees, block link point (RAM) resource usage fees, block link point (N-BW) resource usage fees, and block link point (N-Pal) uplink fee.
4. The method according to claim 1, characterized in that it comprises:
the advertisement server judges whether the user operation meets a preset condition, wherein the preset condition comprises whether the user is a registered user of the advertisement server or not, and whether the user operation is legal operation provided by the advertisement server or not; wherein the content of the first and second substances,
The legal operation of the advertisement server comprises one or more of an advertisement clicking operation, an advertisement browsing operation, an advertisement publishing operation, a commenting operation aiming at the advertisement and a praise operation aiming at the advertisement.
5. The method of claim 1, further comprising:
The advertisement server receives a user registration request sent by the user equipment;
The advertisement server sends the user registration request to the signing machine so that the signing machine generates and stores the user public key and the user private key according to the user registration request;
The advertisement server receives the user public key sent by the signature machine, generates the user ID, and stores the user ID and the user public key corresponding to the user ID; the advertisement server stores at least one user ID and at least one user public key, wherein the user ID and the user public key are in one-to-one correspondence;
The advertisement server transmits the user ID and a response message of the user registration completion to the user device.
6. The device for signing the block chain private key of the advertisement platform user is characterized in that the device is an advertisement server and comprises a sending unit, a processing unit and a receiving unit; wherein the content of the first and second substances,
The receiving unit receives a user operation data uplink request sent by user equipment, wherein the user operation data uplink request comprises a user ID; the user operation data uplink request comprises one or more of an advertisement click data uplink request, an advertisement browsing data uplink request, an advertisement release data uplink request, approval data aiming at an advertisement and an uplink request aiming at comment data;
The processing unit is used for inquiring a user public key corresponding to the user ID according to the user ID when judging that the user operation meets a preset condition; the advertisement server stores at least one user ID and at least one user public key, and the at least one user ID and the at least one user public key are in one-to-one correspondence;
the sending unit is used for sending the user public key, the user operation data uplink request and the signature information of the advertisement server private key to a signature machine so as to enable the signature machine to inquire a user private key corresponding to the user public key after the advertisement server private key is verified by the signature machine, and sign the user operation data uplink request by using the user private key; the advertisement server private key signature information comprises private key signature information of the advertisement server private key on the user public key and the user operation data uplink request, the signature machine stores at least one user private key and at least one user public key, and the at least one user private key and the at least one user public key are in one-to-one correspondence;
the receiving unit is used for receiving the user operation data uplink request signed by the user private key;
The sending unit sends the user operation data uplink request signed by the user private key to any block chain node, so that the user private key is verified by any block chain node, and the user operation is stored in a block chain account book after consensus is completed.
7. The apparatus of claim 6, wherein the user operation data in the ul request comprises associated attributes and non-associated attributes, and values of the associated attributes are automatically superimposed; the user operation data association attribute comprises one or more of the number of praise, the number of comments and the number of browsing.
8. the apparatus of claim 6, wherein the advertisement server pays an uplink resource fee for the UE, and wherein the uplink resource fee comprises one or more of a block link node (CPU) resource usage fee, a block link point (RAM) resource usage fee, a block link point (N-BW) resource usage fee, and a block link point (N-Packed uplink fee.
9. the apparatus of claim 6, wherein the method comprises:
The processing unit is used for judging whether the user operation meets preset conditions or not, wherein the preset conditions comprise whether the user is a registered user of the advertisement server or not and whether the user operation is legal operation provided by the advertisement server or not; wherein the content of the first and second substances,
the legal operation of the advertisement server comprises one or more of an advertisement clicking operation, an advertisement browsing operation, an advertisement publishing operation, a commenting operation aiming at the advertisement and a praise operation aiming at the advertisement.
10. the apparatus of claim 6, wherein the method further comprises:
The receiving unit receives a user registration request sent by the user equipment;
the sending unit is used for sending the user registration request to the signing machine so that the signing machine can generate and store the user public key and the user private key according to the user registration request;
The receiving unit is used for receiving the user public key sent by the signature machine, generating the user ID and storing the user ID and the user public key corresponding to the user ID; the advertisement server stores at least one user ID and at least one user public key, wherein the user ID and the user public key are in one-to-one correspondence;
The sending unit sends the user ID and a response message of the user registration completion to the user equipment.
CN201910805683.0A 2019-08-29 2019-08-29 Block chain private key signing method and device for advertisement platform user Pending CN110545186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910805683.0A CN110545186A (en) 2019-08-29 2019-08-29 Block chain private key signing method and device for advertisement platform user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910805683.0A CN110545186A (en) 2019-08-29 2019-08-29 Block chain private key signing method and device for advertisement platform user

Publications (1)

Publication Number Publication Date
CN110545186A true CN110545186A (en) 2019-12-06

Family

ID=68712211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910805683.0A Pending CN110545186A (en) 2019-08-29 2019-08-29 Block chain private key signing method and device for advertisement platform user

Country Status (1)

Country Link
CN (1) CN110545186A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108370318A (en) * 2015-12-21 2018-08-03 万事达卡国际股份有限公司 Method and system for the block chain modification for using digital signature
CN108900464A (en) * 2018-04-26 2018-11-27 平安科技(深圳)有限公司 Electronic device, data processing method and computer storage medium based on block chain
CN110009356A (en) * 2019-04-16 2019-07-12 北京艾摩瑞策科技有限公司 A kind of business datum cochain method and its system based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108370318A (en) * 2015-12-21 2018-08-03 万事达卡国际股份有限公司 Method and system for the block chain modification for using digital signature
CN108900464A (en) * 2018-04-26 2018-11-27 平安科技(深圳)有限公司 Electronic device, data processing method and computer storage medium based on block chain
CN110009356A (en) * 2019-04-16 2019-07-12 北京艾摩瑞策科技有限公司 A kind of business datum cochain method and its system based on block chain

Similar Documents

Publication Publication Date Title
CN110380870B (en) Block chain private key signing method and device for e-commerce platform user
CN110574350B (en) Method and system for performing a prioritized generation of a second factor certificate
CN110708335A (en) Access authentication method and device and terminal equipment
CN110545189A (en) Block chain private key signing method and device for community platform users
CN110674218A (en) Company business license tracing method and device related to block chain
CN110599209A (en) Wine circulation information tracing method and device based on block chain
CN108092947B (en) Method and device for identity authentication of third-party application
CN110545188A (en) User block chain private key signing method and device related to self-media platform
CN110545177A (en) Block chain private key signing method and device for life service platform user
CN110543786A (en) method and device for signing block chain private key of shared economic platform user
CN110598389A (en) Method and device for storing account book certificate based on block chain
CN109348472B (en) OTA (over the air) upgrading method and system based on single-point pushing
CN111078715A (en) Synchronous storage method and device for internet advertisement data on block chain
CN110545186A (en) Block chain private key signing method and device for advertisement platform user
CN107995214B (en) Website login method and related equipment
CN110545178A (en) block chain private key signing method and device for investigation platform user
CN110543773A (en) Method and device for signing private key of block chain of knowledge question and answer platform user
CN110545185A (en) block chain private key signing method and device relating to voting platform user
CN110545187A (en) User block chain private key signing method and device relating to travel platform
CN110544093A (en) block chain private key signing method and device related to renting platform user
CN111935138B (en) Protection method and device for secure login and electronic equipment
CN110351389B (en) UpLink method and device for user community associated data
CN110647768A (en) Passport deposit method and device based on block chain
CN110401544A (en) The allograph method and device thereof of the block chain private key of knowledge payment platform user
CN110659518A (en) House property certificate storing method and device relating to block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No.108, 1 / F, No.9, shangdijiu street, Haidian District, Beijing 100085

Applicant after: Beijing ruice Technology Co.,Ltd.

Address before: No.108, 1 / F, No.9, shangdijiu street, Haidian District, Beijing 100085

Applicant before: BEIJING AIMO RUICE TECHNOLOGY Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination