CN111611612B - Block chain-based integrating system, device, storage medium and operation method thereof - Google Patents

Block chain-based integrating system, device, storage medium and operation method thereof Download PDF

Info

Publication number
CN111611612B
CN111611612B CN202010354600.3A CN202010354600A CN111611612B CN 111611612 B CN111611612 B CN 111611612B CN 202010354600 A CN202010354600 A CN 202010354600A CN 111611612 B CN111611612 B CN 111611612B
Authority
CN
China
Prior art keywords
mobile phone
client
phone number
intelligent contract
blockchain
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
CN202010354600.3A
Other languages
Chinese (zh)
Other versions
CN111611612A (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.)
Cell Communications Technology Co ltd
Original Assignee
Cell Communications 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 Cell Communications Technology Co ltd filed Critical Cell Communications Technology Co ltd
Priority to CN202010354600.3A priority Critical patent/CN111611612B/en
Publication of CN111611612A publication Critical patent/CN111611612A/en
Application granted granted Critical
Publication of CN111611612B publication Critical patent/CN111611612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Medical Informatics (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a block chain-based score system, which comprises a client and a score service processor, wherein the client is connected with the score service processor; the client is used for sending information to the credit service processor and checking the credit account status; the credit service processor comprises a login module, and the login module is used for: responding to a client login request, and acquiring a user number and an account password input by the client; verifying the account password; if the verification is successful, calling the intelligent contract, and meanwhile accumulating the login times on the block; converting the accumulated login times into integrals according to integral rules preset by the intelligent contract; and transferring the points to a user account corresponding to the user number. The invention provides a score system, a score device, a storage medium and an operation method thereof based on a block chain.

Description

Block chain-based integrating system, device, storage medium and operation method thereof
Technical Field
The invention relates to the technical field of block chains, in particular to an integrating system, an integrating device, a storage medium and an operating method thereof based on a block chain.
Background
The block chain is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, trace retaining in the whole process, traceability, collective maintenance, openness and transparency and the like.
The existing credit system of communication operators is developed by a host in a unified way, and then is deployed on a designated server of the host to provide credit management service for the public. However, although the score rule is public, because the software is developed by a developer and is deployed on a background server, the public cannot check and review the score rule, and cannot know whether the score rule has a bug and is changed or tampered; in addition, the point data is stored in a centralized manner in a server designated by the host, and there is a risk of data loss.
Disclosure of Invention
In order to solve the technical problems, the invention provides a point system, a point device, a storage medium and an operation method thereof based on a block chain. The technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a block chain-based scoring system, including a client and a scoring service processor;
the client is used for sending information to the credit service processor and checking the credit account status;
the credit service processor comprises a login module, and the login module is used for:
responding to a client login request, and acquiring a user number and an account password input by the client;
verifying the account password; if the verification is successful, calling the intelligent contract, and meanwhile accumulating the login times on the block;
converting the accumulated login times into integrals according to integral rules preset by the intelligent contract;
and transferring the points to a user account corresponding to the user number.
In a first possible implementation manner of the first aspect of the present invention, the credit service processor further includes a development module, where the development module is configured to:
compiling the integration rule into an intelligent contract code through an editing tool solc;
deploying the intelligent contract codes and objects and functions interacting with the blockchain to generate intelligent contract addresses; the functions that can be implemented by the objects and functions interacting with the blockchain include viewing network status, viewing local accounts, viewing transactions and blocks, sending transactions, compiling/deploying intelligent contracts, and invoking intelligent contracts.
In a second possible implementation manner of the first aspect of the present invention, the credit service processor further includes a registration module, where the registration module is configured to:
acquiring a registration request containing a mobile phone number sent by a client;
sending a short message verification code according to the mobile phone number, and waiting for verification;
and if the verification is successful, acquiring the account password input by the client, and simultaneously generating the intelligent contract corresponding to the account password.
In a third possible implementation manner of the first aspect of the present invention, the registration module further includes a bonus point calculation module, and the bonus point calculation module is configured to:
judging an operator of the mobile phone number; judging the operator to which the mobile phone number belongs according to the first three digits of the mobile phone number, and if the mobile phone number does not belong to any operator, returning failure;
and transferring the reward points to the user account according to the operator of the mobile phone number.
In a second aspect, an embodiment of the present invention provides an integral system operation method based on a block chain, including:
responding to a client login request, and acquiring a user number and an account password input by the client;
verifying the account password; if the verification is successful, calling the intelligent contract, and meanwhile accumulating the login times on the block;
converting the accumulated login times into integrals according to integral rules preset by the intelligent contract;
and transferring the points to a user account corresponding to the user number.
In a first possible implementation manner of the second aspect of the present invention, the integration rule may be set in the smart contract by:
compiling the integration rule into an intelligent contract code through an editing tool solc;
deploying the intelligent contract codes and objects and functions interacting with the blockchain to generate intelligent contract addresses; the functions that can be implemented by the objects and functions interacting with the blockchain include viewing network status, viewing local accounts, viewing transactions and blocks, sending transactions, compiling/deploying smart contracts, and invoking smart contracts.
In a second possible implementation manner of the second aspect of the present invention, the method for operating a score system based on a blockchain further includes registering a user account, and the specific steps are as follows:
acquiring a registration request containing a mobile phone number sent by a client;
sending a short message verification code according to the mobile phone number, and waiting for verification;
and if the verification is successful, acquiring the account password input by the client, and simultaneously generating the intelligent contract corresponding to the account password.
In a third possible implementation manner of the second aspect of the present invention, the acquiring a registration request including a mobile phone number sent by a client further includes:
judging an operator of the mobile phone number; judging the operator to which the mobile phone number belongs according to the first three digits of the mobile phone number, and if the mobile phone number does not belong to any operator, returning failure;
and transferring the reward points to the user account according to the operator of the mobile phone number.
In a third aspect, an embodiment of the present invention provides a block chain based integration apparatus, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor, when executing the computer program, implements the block chain based integration system operation method as described above.
In a fourth aspect, an embodiment of the present invention provides a storage medium of a block chain based integral system operation method, where the storage medium is used to store one or more computer programs, and the one or more computer programs include program code for executing the above block chain based integral system operation method when the computer programs are executed on a computer.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the invention provides a block chain-based score system, a block chain-based score device, a block chain-based score storage medium and an operation method of the block chain-based score system, the block chain-based score device, the block chain-based score storage medium and the operation method of the block chain-based score storage medium. Meanwhile, once data or information such as point data, login times, point rules and the like are recorded in the blocks and uploaded to the block chain, the data on the block chain can be stored in a server accessed to the network by utilizing the characteristic of distributed data storage of the block chain technology, so that the data on the chain is difficult to lose and tamper.
Drawings
Fig. 1 is a block diagram of an integration system based on a block chain according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an Ethernet shop network connecting a developer of a blockchain-based scoring system with a general user according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an intelligent contract code of a blockchain-based integral system according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of a method for operating an integral system based on a block chain according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an exemplary embodiment, a block chain-based scoring system, which comprises a client and a scoring service processor, wherein the client is connected with the scoring service processor;
the client is used for sending information to the credit service processor and checking the credit account status;
the credit service processor comprises a login module, and the login module is used for:
responding to a client login request, and acquiring a user number and an account password input by the client;
verifying the account password; if the verification is successful, calling the intelligent contract, and meanwhile accumulating the login times on the block;
converting the accumulated login times into integrals according to integral rules preset by the intelligent contract;
for example, 10 points are awarded for every 100 full cumulative times; the preset integration rule is as follows:
and (3) calculating the login times of the day: judging the time of the day, if the time is not the same day as the last login time, resetting the login times of the day, and then adding 1 to the login times of the day;
and (3) calculating the login times in the week: when the week time is judged, if the week time is different from the last login time, the Zhou Denglu times are cleared, and then the login times of the week are added by 1;
and (3) calculating the login times in the month: judging the current month time, if the current month time is different from the last login time, resetting the login times in the current month, and then adding 1 to the login times in the current month;
and (3) calculating the accumulated login times: adding 1 to the accumulated login times;
and (3) calculating the login integral of the current day: if the login times of the day are 1 st time, 10 points are awarded, and the 10 th time is awarded for 5 points. Others are not rewarded;
and (3) logging in and integral calculation in the week: if the number of login times in the week is 10 th, 10 points are awarded, and the 20 th is awarded for 5 points. Others are not awarded;
and (3) calculating the login integral in the month: if the number of login times in the week is 20, 10 points are awarded, and the 30 th point is awarded for 5 points. Others are not rewarded;
and transferring the points to a user account corresponding to the user number.
Referring to fig. 1, the client includes APP (application), wechat, web, and the like.
The credit service processor further comprises a development module, wherein the development module is used for:
compiling the integration rule into an intelligent contract code through an editing tool solc;
deploying the intelligent contract codes and objects and functions interacting with the blockchain to generate intelligent contract addresses; the functions that can be implemented by the objects and functions interacting with the blockchain include viewing network status, viewing local accounts, viewing transactions and blocks, sending transactions, compiling/deploying intelligent contracts, and invoking intelligent contracts.
Specifically, the composition of the intelligent contract code includes a combination of web3.Js + character codes.
Please refer to fig. 2 and 3, web3.Js is a Javascript library provided by etherhouses, which encapsulates JSON, RPC, API of etherhouses, and provides a series of Javascript objects and functions that interact with blockchains, including viewing network status, viewing local accounts, viewing transactions and blocks, sending transactions, compiling/deploying smart contracts, calling smart contracts, etc., of which the most important is the API that interacts with the smart contracts.
An intelligent contract is essentially a piece of code that is deployed to a blockchain. Because the code (strictly speaking, binary code) on the blockchain can be viewed, it is open transparent. When an intelligent contract is deployed on a chain, it creates a contract address that is permanently present in a block in the chain.
It is understood that, before generating the smart contract address, the method further comprises:
and testing the intelligent contract codes.
The credit service processor further comprises a registration module, and the registration module is used for:
acquiring a registration request containing a mobile phone number sent by a client;
sending a short message verification code according to the mobile phone number, and waiting for verification;
and if the verification is successful, acquiring the account password input by the client, and simultaneously generating the intelligent contract corresponding to the account password.
It will be appreciated that the smart contract may also maintain account opening information, transaction times, etc. for the client.
The registration module further comprises a bonus point calculation module for:
judging the legality of the mobile phone number; if the number of the mobile phone number is not eleven, returning to fail;
judging an operator of the mobile phone number; judging the operator to which the mobile phone number belongs according to the first three digits of the mobile phone number, and if the mobile phone number does not belong to any operator, returning failure;
according to the operator of the mobile phone number, transfer the bonus points to the user account.
Specific integration rules are referenced below:
telecom operator credit rewards: if the user number is a telecom operator, the point reward is assigned with 100 points;
mobile operator credit rewards; if the user number is the mobile operator, the point reward is assigned with 10 points;
communicating operator credit rewards; if the user number is a unicom operator, the point reward is assigned a value of 10 points.
The reward point calculation module is further configured to:
acquiring a recommendation number;
judging whether the recommended number exists or not;
judging an operator of the recommended number; judging the operator to which the recommended number belongs according to the first three digits of the recommended number, and ending if the recommended number does not belong to any operator; if the success is achieved, continuing the next step;
and transferring the reward points to the account corresponding to the recommended number according to a preset point rule.
Specific integration rules are referenced below:
if the recommended number is a telecommunication operator number, if the registered user is a telecommunication user, awarding 100 points by the points, otherwise, awarding 10 points by the points;
if the recommended number is a mobile operator number, if the registered user is a telecommunication user, the credit is awarded for 500 credits, otherwise, the credit is awarded for 10 credits;
if the recommendation number is a Unicom operator number, the registered user awards 500 points if the registered user is a telecom user, otherwise the points award 10 points.
Referring to fig. 4, an exemplary embodiment of a method for operating an integral system based on a blockchain according to the present invention includes the steps of:
responding to a client login request, and acquiring a user number and an account password input by the client;
verifying the account password; if the verification is successful, calling the intelligent contract, and meanwhile accumulating the login times on the block;
converting the accumulated login times into integrals according to integral rules preset by the intelligent contract;
for example, 10 points are awarded for every 100 full cumulative times; the preset integration rule is as follows:
and (3) calculating the login times of the day: judging the time of the day, if the time is not the same day as the last login time, resetting the login times of the day, and then adding 1 to the login times of the day;
and (3) calculating the login times in the week: when the week time is judged, if the week time is different from the last login time, the Zhou Denglu times are cleared, and then the login times of the week are added by 1;
and (3) calculating the login times in the month: judging the current month time, if the current month time is different from the last login time, resetting the login times in the current month, and then adding 1 to the login times in the current month;
and (3) calculating the accumulated login times: adding 1 to the accumulated login times;
and (3) calculating the login integral on the same day: if the login times of the day are 1 st time, 10 points are awarded, and the 10 th time is awarded for 5 points. Others are not rewarded;
and (3) logging in and integral calculation in the week: if the number of login times in the week is 10 th, 10 points are awarded, and the 20 th is awarded for 5 points. Others are not rewarded;
and (3) calculating the login integral in the month: if the number of login times in the week is 20, 10 points are awarded, and the 30 th point is awarded for 5 points. Others are not rewarded;
and transferring the points to a user account corresponding to the user number.
Preferably, the integration rule may be set in the smart contract by:
compiling the integration rule into an intelligent contract code through an editing tool solc;
deploying the intelligent contract codes and objects and functions interacting with the blockchain to generate intelligent contract addresses; the functions that can be implemented by the objects and functions interacting with the blockchain include viewing network status, viewing local accounts, viewing transactions and blocks, sending transactions, compiling/deploying intelligent contracts, and invoking intelligent contracts.
Specifically, the composition of the intelligent contract code includes a combination of web3.Js + character codes.
Js is a Javascript library provided by etherhouses, encapsulates JSON, RPC and API of etherhouses, and provides a series of Javascript objects and functions interacting with a block chain, including viewing network status, viewing local accounts, viewing transactions and blocks, sending transactions, compiling/deploying intelligent contracts, calling intelligent contracts and the like, wherein the most important is API interacting with the intelligent contracts.
An intelligent contract is essentially a piece of code that is deployed to a blockchain. Because the code on the blockchain (strictly speaking, binary code) can be viewed, it is open transparent. When an intelligent contract is deployed on a chain, it creates a contract address that is permanently present in a block in the chain.
It is understood that, before generating the smart contract address, the method further comprises:
and testing the intelligent contract codes.
The running method of the integral system based on the block chain also comprises the step of registering a user account, and the specific steps are as follows:
acquiring a registration request containing a mobile phone number sent by a client;
sending a short message verification code according to the mobile phone number, and waiting for verification;
and if the verification is successful, acquiring the account password input by the client, and simultaneously generating the intelligent contract corresponding to the account password.
It will be appreciated that the smart contract may also hold account opening information, transaction times, etc. for the client.
The method for acquiring the registration request containing the mobile phone number sent by the client further comprises the following steps:
judging the legality of the mobile phone number; if the number of the mobile phone number is not eleven, returning to fail;
judging an operator of the mobile phone number; judging the operator to which the mobile phone number belongs according to the first three digits of the mobile phone number, and if the mobile phone number does not belong to any operator, returning failure;
and transferring the reward points to the user account according to the operator of the mobile phone number.
Specific integration rules are referenced below:
telecom operator credit rewards: if the user number is the telecom operator, the point reward is assigned with 100 points;
mobile operator credit rewards; if the user number is the mobile operator, the point reward is assigned with 10 points;
communicating operator credit rewards; if the user number is a unicom operator, the point reward is assigned 10 points.
The method for acquiring the registration request containing the mobile phone number sent by the client further comprises the following steps:
acquiring a recommendation number;
judging whether the recommended number exists or not;
judging an operator of the recommended number; judging the operator to which the recommended number belongs according to the first three digits of the recommended number, and ending if the recommended number does not belong to any operator; if the success is achieved, continuing the next step;
and transferring the reward points to the account corresponding to the recommended number according to a preset point rule.
Specific integration rules are referenced below:
if the recommended number is a telecommunication operator number, if the registered user is a telecommunication user, the credit is awarded to 100 points, otherwise, the credit is awarded to 10 points;
if the recommended number is a mobile operator number, if the registered user is a telecommunication user, the credit is awarded for 500 credits, otherwise, the credit is awarded for 10 credits;
if the recommendation number is a Unicom operator number, the registered user awards 500 points if the registered user is a telecom user, otherwise the points award 10 points.
An embodiment of the present invention provides a block chain based integration apparatus, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the block chain based integration system operation method as described above is implemented.
The present invention provides an exemplary embodiment, a storage medium of a method for blockchain-based bonus system operation, the storage medium for the method for blockchain-based bonus system operation for storing one or more computer programs, the one or more computer programs comprising program code for performing the method for blockchain-based bonus system operation when the computer program runs on a computer.
The computer readable media of the embodiments of the present application may be computer readable signal media or computer readable storage media or any combination of the two. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable storage medium may even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The invention provides a block chain-based score system, a block chain-based score device, a block chain-based score storage medium and an operation method of the block chain-based score system, the block chain-based score device, the block chain-based score storage medium and the operation method of the block chain-based score storage medium. Meanwhile, once data or information such as point data, login times, point rules and the like are recorded in the blocks and uploaded to the block chain, the data on the block chain can be stored in a server accessed to the network by utilizing the characteristic of distributed data storage of the block chain technology, so that the data on the chain is difficult to lose and tamper.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A block chain-based scoring system is characterized by comprising a client and a scoring service processor;
the client is used for sending information to the credit service processor and checking the credit account status;
the credit service processor comprises a login module, and the login module is used for:
responding to a client login request, and acquiring a user number and an account password input by the client;
verifying the account password; if the verification is successful, calling the intelligent contract, and meanwhile accumulating the login times on the block;
converting the accumulated login times into integrals according to integral rules preset by the intelligent contract;
and transferring the points to a user account corresponding to the user number.
2. The blockchain-based scoring system according to claim 1, wherein the scoring service processor further comprises a development module for:
compiling the integration rule into an intelligent contract code through an editing tool solc;
deploying the intelligent contract codes and objects and functions interacting with the blockchain to generate intelligent contract addresses; the functions that can be implemented by the objects and functions interacting with the blockchain include viewing network status, viewing local accounts, viewing transactions and blocks, sending transactions, compiling/deploying intelligent contracts, and invoking intelligent contracts.
3. The blockchain-based scoring system according to claim 1, wherein the scoring service processor further comprises a registration module for:
acquiring a registration request containing a mobile phone number sent by a client;
sending a short message verification code according to the mobile phone number, and waiting for verification;
and if the verification is successful, acquiring the account password input by the client, and simultaneously generating the intelligent contract corresponding to the account password.
4. The blockchain-based scoring system of claim 3, wherein the registration module further comprises a bonus point calculation module to:
judging an operator of the mobile phone number; judging the operator to which the mobile phone number belongs according to the first three digits of the mobile phone number, and if the mobile phone number does not belong to any operator, returning failure;
and transferring the reward points to the user account according to the operator of the mobile phone number.
5. An integral system operation method based on a block chain is characterized by comprising the following steps:
responding to a client login request, and acquiring a user number and an account password input by the client;
verifying the account password; if the verification is successful, calling the intelligent contract, and meanwhile accumulating the login times on the block;
converting the accumulated login times into integrals according to integral rules preset by the intelligent contract;
and transferring the points to a user account corresponding to the user number.
6. A method of operating a blockchain based scoring system according to claim 5, wherein the scoring rules are set in the smart contract by:
compiling the integration rule into an intelligent contract code through an editing tool solc;
deploying the intelligent contract codes and objects and functions interacting with the blockchain to generate intelligent contract addresses; the functions that can be implemented by the objects and functions interacting with the blockchain include viewing network status, viewing local accounts, viewing transactions and blocks, sending transactions, compiling/deploying intelligent contracts, and invoking intelligent contracts.
7. The method for operating a scoring system based on a block chain according to claim 5, further comprising registering a user account, the specific steps comprising:
acquiring a registration request containing a mobile phone number sent by a client;
sending a short message verification code according to the mobile phone number, and waiting for verification;
and if the verification is successful, acquiring the account password input by the client, and simultaneously generating the intelligent contract corresponding to the account password.
8. The method for operating a integrating system based on a blockchain according to claim 7, wherein the step of obtaining a registration request including a mobile phone number sent by the client further comprises the steps of:
judging an operator of the mobile phone number; judging the operator to which the mobile phone number belongs according to the first three digits of the mobile phone number, and if the mobile phone number does not belong to any operator, returning failure;
and transferring the reward points to the user account according to the operator of the mobile phone number.
9. A blockchain based integration apparatus comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method of operating a blockchain based integration system according to any one of claims 5 to 8 when executing the computer program.
10. A storage medium for a method for blockchain based bonus system operation, the storage medium for the method for blockchain based bonus system operation being adapted to store one or more computer programs, the one or more computer programs comprising program code for performing the method for blockchain based bonus system operation of any of the previous claims 5 to 8, when the computer programs are run on a computer.
CN202010354600.3A 2020-04-28 2020-04-28 Block chain-based integrating system, device, storage medium and operation method thereof Active CN111611612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010354600.3A CN111611612B (en) 2020-04-28 2020-04-28 Block chain-based integrating system, device, storage medium and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010354600.3A CN111611612B (en) 2020-04-28 2020-04-28 Block chain-based integrating system, device, storage medium and operation method thereof

Publications (2)

Publication Number Publication Date
CN111611612A CN111611612A (en) 2020-09-01
CN111611612B true CN111611612B (en) 2023-04-07

Family

ID=72205617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010354600.3A Active CN111611612B (en) 2020-04-28 2020-04-28 Block chain-based integrating system, device, storage medium and operation method thereof

Country Status (1)

Country Link
CN (1) CN111611612B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112215565A (en) * 2020-09-25 2021-01-12 重庆市盈科物联网信息技术有限公司 Traffic driving business handling method and system based on Internet +
CN112085488A (en) * 2020-09-28 2020-12-15 中国建设银行股份有限公司 General point account management method and system
CN113610513A (en) * 2021-05-20 2021-11-05 山东省农业科学院科技信息研究所 Decentralized agricultural Internet of things system based on block chain
CN113347002A (en) * 2021-05-31 2021-09-03 江南大学 Garbage classification method and system based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830632A (en) * 2018-04-24 2018-11-16 深圳市轱辘车联数据技术有限公司 A kind of integration managing method, block chain node device and client
CN109146573A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 Commodity integration method and its device, block chain node based on block chain
CN110348882A (en) * 2019-06-19 2019-10-18 阿里巴巴集团控股有限公司 Integration method, system, device and equipment based on intelligent contract
CN110807672A (en) * 2019-11-12 2020-02-18 北京芯际科技有限公司 Block chain-based point cashing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3056717A1 (en) * 2017-03-17 2018-09-20 Royal Bank Of Canada Systems and methods for hybrid blockchain platform
US11699166B2 (en) * 2017-10-09 2023-07-11 American Express Travel Related Services Company, Inc. Multi-merchant loyalty point partnership

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830632A (en) * 2018-04-24 2018-11-16 深圳市轱辘车联数据技术有限公司 A kind of integration managing method, block chain node device and client
CN109146573A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 Commodity integration method and its device, block chain node based on block chain
CN110348882A (en) * 2019-06-19 2019-10-18 阿里巴巴集团控股有限公司 Integration method, system, device and equipment based on intelligent contract
CN110807672A (en) * 2019-11-12 2020-02-18 北京芯际科技有限公司 Block chain-based point cashing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马晓东等.基于区块链技术的去中心化应用——以学者网为例.《网络空间安全》.2019,10(8),全文. *

Also Published As

Publication number Publication date
CN111611612A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN111611612B (en) Block chain-based integrating system, device, storage medium and operation method thereof
CN108563575B (en) application program testing method and device, terminal and computer readable storage medium
CN113590497A (en) Business service test method and device, electronic equipment and storage medium
CN103489120A (en) Credit sale network lottery drawing system and implementation method thereof
CN108134812B (en) Data processing method and device
CN110532171A (en) Application testing method, device, equipment and computer readable storage medium
CN109145590A (en) A kind of function hook detection method, detection device and computer-readable medium
CN111815372A (en) Live broadcast processing method and device based on block chain, electronic equipment and storage medium
CN104640116A (en) Phishing short message protection method and communication terminal
CN113315828A (en) Traffic recording method and device, traffic recording equipment and storage medium
CN114022151A (en) Block chain data visualization method and system, electronic device and storage medium
CN117009208A (en) Dependency information processing method, device, equipment and storage medium
CN104580725A (en) Method for hinting fraud calls and communication terminal
CN113129012A (en) Payment data processing method, device, equipment and system
CN112307464A (en) Fraud identification method and device and electronic equipment
CN109684104B (en) Method and equipment for realizing display of call chain between services
CN114844792A (en) Dynamic monitoring method, device, equipment and storage medium based on LUA language
CN114626719A (en) Network appointment platform risk assessment method, equipment and storage medium
CN111340574B (en) Risk user identification method and device and electronic equipment
CN106875184A (en) Abnormal scene analogy method, device and equipment
CN111382062A (en) Joint debugging test method and device for house property transaction system and external mechanism business system
CN114461531A (en) Platform adaptability test method, device, equipment and storage medium of test case
CN103106217A (en) Handling method and device for message information
CN113362111A (en) Content sending method and device and electronic equipment
CN114389948B (en) Function upgrading and verifying method, device, equipment and medium based on white list

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211202

Address after: 510000 annex building, building 26, South China University of technology, Tianhe District, Guangzhou City, Guangdong Province

Applicant after: CELL COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Address before: 510640 Room 201, No. 1, Kehua street, Tianhe District, Guangzhou, Guangdong

Applicant before: GUANGZHOU FALACLOUD INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant