CN113704348B - Credit score management method based on distributed account book - Google Patents

Credit score management method based on distributed account book Download PDF

Info

Publication number
CN113704348B
CN113704348B CN202110760522.1A CN202110760522A CN113704348B CN 113704348 B CN113704348 B CN 113704348B CN 202110760522 A CN202110760522 A CN 202110760522A CN 113704348 B CN113704348 B CN 113704348B
Authority
CN
China
Prior art keywords
module
information
account
supervision module
supervision
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
CN202110760522.1A
Other languages
Chinese (zh)
Other versions
CN113704348A (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.)
Zhongke Wuyuan Hangzhou Computing Technology Co ltd
Institute Of Digital Economy Industry Institute Of Computing Technology Chinese Academy Of Sciences
Original Assignee
Zhongke Wuyuan Hangzhou Computing Technology Co ltd
Institute Of Digital Economy Industry Institute Of Computing Technology Chinese Academy Of Sciences
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 Zhongke Wuyuan Hangzhou Computing Technology Co ltd, Institute Of Digital Economy Industry Institute Of Computing Technology Chinese Academy Of Sciences filed Critical Zhongke Wuyuan Hangzhou Computing Technology Co ltd
Priority to CN202110760522.1A priority Critical patent/CN113704348B/en
Publication of CN113704348A publication Critical patent/CN113704348A/en
Application granted granted Critical
Publication of CN113704348B publication Critical patent/CN113704348B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/22Indexing; Data structures therefor; Storage structures
    • 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

Abstract

The invention relates to a credit score management method based on a distributed account book. The technical scheme of the invention is as follows: the supervision module acquires an integral initialization application of a user; the supervision module authenticates the user identity contained in the integral initialization application, and generates initialization information according to the integral initialization application after the authentication is passed; the supervision module writes the corresponding information into a local database and notifies the data module through a message queue; the data module analyzes the information to perform the uplink operation and writes the information into a local database of the data module; the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database; the supervision module judges whether the initialization is successful according to the received writing result, writes the initialization into a local account management database after the initialization is successful, and distributes initial points to accounts; the supervision module informs the user gateway module of the account information in the local account management database through the message queue, and writes the account information into the local database of the user gateway module.

Description

Credit score management method based on distributed account book
Technical Field
The invention relates to a credit score management method based on a distributed account book. The method is suitable for the technical field of distributed account books.
Background
The distributed account book technology is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like, is essentially a distributed shared account book and database, has the characteristics of decentralization, non-falsification, whole-course trace, traceability, collective maintenance, openness and the like, and can be applied to a plurality of fields such as finance, internet of things, government affairs, public service, digital copyrights and the like.
Along with the development of strengthening government affair honest, business honest, social honest and judicial honest in the report of the construction of a social credit system, credit ecology is becoming perfect, but the credit system has some defects in many aspects and industries, most credit data are stored in a common database at present, and the scheme cannot solve the data security problem brought by the fact that a database server is down or suffers from actions such as hacking and malicious tampering of the data.
The distributed ledger technique commonly used at present relies on the chain structure of a blockchain, and generally adopts a mode of data collaboration on the chain and under the chain. This approach is disadvantageous for fast writing and validation of data, with a high latency in transaction validation.
Disclosure of Invention
The invention aims to solve the technical problems that: in order to solve the problems, a credit score management method based on a distributed account book is provided.
The technical scheme adopted by the invention is as follows: a credit score management method based on a distributed account book is characterized in that:
the chainless structure realizes the function of the distributed account book only through a consensus algorithm;
storing full data in a distributed account book, and ensuring the integrity of the data without depending on a hash value;
the proposal comprises a supervision module, a data module, a user network management module and a message queue;
the supervision module acquires an integral initialization application of a user;
the supervision module authenticates the user identity contained in the integral initialization application, and generates initialization information according to the integral initialization application after the authentication is passed;
the supervision module writes the corresponding information into a local database and notifies the data module through a message queue;
the data module analyzes the information to perform the uplink operation and writes the information into a local database of the data module;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the initialization is successful or not according to the received writing result, if the initialization is successful, otherwise, the initialization is failed, the local account management database is written after the initialization is successful, and initial integration is distributed to the accounts;
the supervision module informs the user gateway module of the account information in the local account management database through the message queue, and writes the account information into the local database of the user gateway module.
A credit score management method based on a distributed account book is characterized in that:
the user gateway module obtains the integral updating application of the user;
the user gateway module authenticates the user identity contained in the point updating application, and generates transaction information according to the point updating application after the authentication is passed;
the user gateway module verifies the transaction information, and mainly comprises the steps of inquiring whether the residual points of the account are sufficient or not and whether the transaction times are correct or not, and notifying the transaction information to the data module and the supervision module through the message queue after the transaction information passes the verification;
the data module performs secondary verification on the transaction information, and mainly comprises the steps of inquiring whether the residual points of an account are sufficient or not and whether the transaction times are correct or not, analyzing the information after agreement is achieved, performing uplink operation, and writing the information into a local database of the data module;
the supervision module writes corresponding transaction information into a local database;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the updating is successful or not according to the received writing result, if the writing is successful, the updating is successful, otherwise, the updating is failed, and after the updating is successful, the local account management database is written, and the updating operation is carried out on the account points;
the supervision module informs the user gateway module of the account information in the local account management database through the message queue, and writes the account information into the local database of the user gateway module.
A credit score management method based on a distributed account book is characterized in that:
the supervision module acquires an integral clearing application of a user;
the supervision module authenticates the user identity contained in the integral clearing application, and generates clearing information according to the integral clearing application after the authentication is passed;
the supervision module writes the corresponding information into a local database and notifies the data module through a message queue;
the data module analyzes the information to perform the uplink operation and writes the information into a local database of the data module;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the clearing is successful according to the writing result, if the writing is successful, the clearing is successful, otherwise, the clearing is failed, after the clearing is successful, the supervision module writes the clearing into the local account management database, and clears the account integral;
the supervision module informs the user gateway module of the account information in the local account management database through the message queue, writes the account information into the local database of the user gateway module, and carries out zero clearing operation on account points.
A credit score management system based on a distributed account book is characterized in that: the credit point management system comprises a supervision module, a data module and a user gateway module which are mutually matched to realize the credit point management method based on the distributed account book.
The beneficial effects of the invention are as follows: compared with the prior art, the method for realizing integral initialization, updating and clearing does not need to use a chain structure, and realizes the function of the distributed account book only through coordination and design of a consensus algorithm and a data structure. The distributed account book stores the full data, the integrity of the data is guaranteed without depending on the hash value, and the credit integral management application function is realized on the basis of the basic function of the distributed account book.
The supervision module is responsible for coordination and management in the system, but is not responsible for storing data; the storage module is responsible for storing data and obeys the management of the supervision module; the user gateway module is responsible for accessing data to the user, does not store data, and is subject to the management of the supervision module.
Drawings
FIG. 1 is a flowchart of integration initialization in an embodiment.
FIG. 2 is a flowchart of integration update in an embodiment.
FIG. 3 is a flow chart of the integral clearing in an embodiment.
Fig. 4 is a system block diagram in an embodiment.
Detailed Description
The embodiment is a credit and point management system based on a distributed account book, which is provided with a supervision module, a data module and a user gateway module connected to the distributed system, and can perform point management services such as point initialization, point update, point clearing and the like based on the credit and point management system.
As shown in fig. 1, the integral initialization method in this embodiment includes the following steps:
a supervision module on the distributed system acquires an integral initialization application of a user;
the supervision module authenticates the user identity contained in the integral initialization application, and generates initialization information according to the integral initialization application after the authentication is passed;
the supervision module writes the corresponding information into a local database and notifies the data module on the distributed system through a message queue;
the data module analyzes the information to perform the uplink operation and writes the information into a local database of the data module;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the initialization is successful or not according to the received writing result, if the initialization is successful, otherwise, the initialization is failed, the local account management database is written after the initialization is successful, and initial integration is distributed to the accounts;
the supervision module informs the user gateway module on the distributed system of account information in the local account management database through the message queue, and writes the account information into the local database of the user gateway module;
the supervision module records the operation log.
As shown in fig. 2, the integral updating method in this embodiment includes the following steps:
a user gateway module on the distributed system acquires an integral updating application of a user;
the user gateway module authenticates the user identity contained in the point updating application, and generates transaction information according to the point updating application after the authentication is passed;
the user gateway module verifies the transaction information, and mainly comprises the steps of inquiring whether the residual points of the account are sufficient or not and whether the transaction times are correct or not, and notifying the transaction information to the data module and the supervision module through the message queue after the transaction information passes the verification;
the data module performs secondary verification on the transaction information, which mainly comprises inquiring whether the residual points of the account are sufficient and whether the transaction times are correct, analyzing the information after agreement is achieved, performing uplink operation, and writing the information into a local database of the data module;
the supervision module writes corresponding transaction information into a local database;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the updating is successful or not according to the received writing result, if the writing is successful, the updating is successful, otherwise, the updating is failed, and after the updating is successful, the local account management database is written, and the updating operation is carried out on the account points;
the supervision module informs the user gateway module on the distributed system of account information in the local account management database through the message queue, and writes the account information into the local database of the user gateway module;
the supervision module records the operation log.
As shown in fig. 3 to 4, the integral updating method in this embodiment includes the following steps:
a supervision module on the distributed system acquires an integral clearing application of a user;
the supervision module authenticates the user identity contained in the integral clearing application, and generates clearing information according to the integral clearing application after the authentication is passed;
the supervision module writes the corresponding information into a local database and notifies the data module on the distributed system through a message queue;
the data module analyzes the information to perform the uplink operation and writes the information into a local database of the data module;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the clearing is successful according to the writing result, if the writing is successful, the clearing is successful, otherwise, the clearing is failed, after the clearing is successful, the supervision module writes the clearing into a local account management database, and clears account points;
the supervision module informs the user gateway module of account information in the local account management database through the message queue, writes the account information into the local database of the user gateway module, and carries out zero clearing operation on account points;
the supervision module records the operation log.

Claims (2)

1. A credit score management method based on a distributed account book is characterized in that:
an integration initialization method comprising:
the supervision module acquires an integral initialization application of a user;
the supervision module authenticates the user identity contained in the integral initialization application, and generates initialization information according to the integral initialization application after the authentication is passed;
the supervision module writes the corresponding information into a local database and notifies the data module through a message queue;
the data module analyzes the information to perform the uplink operation and writes the information into a local database of the data module;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the initialization is successful or not according to the received writing result, if the initialization is successful, otherwise, the initialization is failed, the local account management database is written after the initialization is successful, and initial integration is distributed to the accounts;
the supervision module informs the user gateway module of account information in the local account management database through the message queue, and writes the account information into the local database of the user gateway module;
b. the integral updating method comprises the following steps:
the user gateway module obtains the integral updating application of the user;
the user gateway module authenticates the user identity contained in the point updating application, and generates transaction information according to the point updating application after the authentication is passed;
the user gateway module verifies the transaction information, and mainly comprises the steps of inquiring whether the residual points of the account are sufficient or not and whether the transaction times are correct or not, and notifying the transaction information to the data module and the supervision module through the message queue after the transaction information passes the verification;
the data module performs secondary verification on the transaction information, and mainly comprises the steps of inquiring whether the residual points of an account are sufficient or not and whether the transaction times are correct or not, analyzing the information after agreement is achieved, performing uplink operation, and writing the information into a local database of the data module;
the supervision module writes corresponding transaction information into a local database;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the updating is successful or not according to the received writing result, if the writing is successful, the updating is successful, otherwise, the updating is failed, and after the updating is successful, the local account management database is written, and the updating operation is carried out on the account points;
the supervision module informs the user gateway module of account information in the local account management database through the message queue, and writes the account information into the local database of the user gateway module;
c. an integral clearing method, comprising:
the supervision module acquires an integral clearing application of a user;
the supervision module authenticates the user identity contained in the integral clearing application, and generates clearing information according to the integral clearing application after the authentication is passed;
the supervision module writes the corresponding information into a local database and notifies the data module through a message queue;
the data module analyzes the information to perform the uplink operation and writes the information into a local database of the data module;
the data module feeds back the writing result to the supervision module through the message queue, and the supervision module feeds back the writing result to the local database;
the supervision module judges whether the clearing is successful according to the writing result, if the writing is successful, the clearing is successful, otherwise, the clearing is failed, after the clearing is successful, the supervision module writes the clearing into the local account management database, and clears the account integral;
the supervision module informs the user gateway module of the account information in the local account management database through the message queue, writes the account information into the local database of the user gateway module, and carries out zero clearing operation on account points.
2. A credit score management system based on a distributed account book is characterized in that: the supervision module, the data module and the user gateway module are matched with each other to realize the credit score management method based on the distributed ledger of claim 1.
CN202110760522.1A 2021-07-06 2021-07-06 Credit score management method based on distributed account book Active CN113704348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110760522.1A CN113704348B (en) 2021-07-06 2021-07-06 Credit score management method based on distributed account book

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110760522.1A CN113704348B (en) 2021-07-06 2021-07-06 Credit score management method based on distributed account book

Publications (2)

Publication Number Publication Date
CN113704348A CN113704348A (en) 2021-11-26
CN113704348B true CN113704348B (en) 2023-06-30

Family

ID=78648302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110760522.1A Active CN113704348B (en) 2021-07-06 2021-07-06 Credit score management method based on distributed account book

Country Status (1)

Country Link
CN (1) CN113704348B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544426A (en) * 2018-11-15 2019-03-29 杭州趣链科技有限公司 A kind of enterprise Green integrating system based on block chain
CN110659142A (en) * 2019-08-02 2020-01-07 平安科技(深圳)有限公司 Message queue processing method and device, electronic equipment and storage medium
CN110691124A (en) * 2019-09-24 2020-01-14 华润网络(深圳)有限公司 Data processing method and system under remote multi-active architecture
CN111445294A (en) * 2020-04-09 2020-07-24 北京沃达新创国际教育科技有限公司 User score system based on block chain and fission
CN111476601A (en) * 2020-03-30 2020-07-31 嘉兴冰星市场营销策划有限公司 Point and certificate marketing method and system based on block chain technology
US10855475B1 (en) * 2018-09-06 2020-12-01 Facebook, Inc. Systems and methods for securing data to an immutable distributed ledger
CN112036920A (en) * 2019-06-04 2020-12-04 东芝泰格有限公司 Point management method and point management device
CN113056759A (en) * 2018-11-19 2021-06-29 瑞典爱立信有限公司 Method and system for network devices to obtain a trusted status representation of the status of a distributed ledger technology network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200057992A1 (en) * 2018-08-20 2020-02-20 Sap Se Distributed ledger-based supplier evaluation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10855475B1 (en) * 2018-09-06 2020-12-01 Facebook, Inc. Systems and methods for securing data to an immutable distributed ledger
CN109544426A (en) * 2018-11-15 2019-03-29 杭州趣链科技有限公司 A kind of enterprise Green integrating system based on block chain
CN113056759A (en) * 2018-11-19 2021-06-29 瑞典爱立信有限公司 Method and system for network devices to obtain a trusted status representation of the status of a distributed ledger technology network
CN112036920A (en) * 2019-06-04 2020-12-04 东芝泰格有限公司 Point management method and point management device
CN110659142A (en) * 2019-08-02 2020-01-07 平安科技(深圳)有限公司 Message queue processing method and device, electronic equipment and storage medium
CN110691124A (en) * 2019-09-24 2020-01-14 华润网络(深圳)有限公司 Data processing method and system under remote multi-active architecture
CN111476601A (en) * 2020-03-30 2020-07-31 嘉兴冰星市场营销策划有限公司 Point and certificate marketing method and system based on block chain technology
CN111445294A (en) * 2020-04-09 2020-07-24 北京沃达新创国际教育科技有限公司 User score system based on block chain and fission

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Alexander Lipton.Blockchains and distributed ledgers in retrospective and perspective.《Journal of Risk Finance》.2018,第19卷(第1期),4-25. *
Jiahui Zhang 等.A Blockchain Consensus for Message Queue Based on Byzantine Fault Tolerance.《International Conference on the Economics of Grids, Clouds, Systems, and Services》.2020,3-14. *
朱忠宁.基于DSL和区块链技术的可编程智能合约设计与实现.《中国优秀硕士学位论文全文数据库 信息科技辑》.2018,(第06(2018)期),I138-121. *
郭冠华 等.基于地理位置和多阶邻节点辅助的编码感知无线多跳网络路由协议.《中国科学院大学学报》.2015,第32卷(第01期),140-144. *

Also Published As

Publication number Publication date
CN113704348A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN111771194B (en) System and method for generating and maintaining a non-variable digital conference record within a distributed network node
US11290441B1 (en) Systems and methods for blockchain validation of user identity and authority
EP3665857B1 (en) Blockchain architecture with record security
US11314695B2 (en) Method and system for real-time collaboration and annotation-based action creation and management
US20190108140A1 (en) Smart contract creation and monitoring for event identification in a blockchain
US9843625B2 (en) System and method for aggregating and providing data from enterprise systems to mobile devices
CN112005236A (en) Document access over blockchain networks
KR102222612B1 (en) Smart contract whitelist
JP2018533320A (en) Data verification method and system using hash tree such as Merkle hash tree centered on time
CN107306183A (en) Client, service end, method and authentication system
KR20220044306A (en) Partially-aligned blockchain
US10951417B2 (en) Blockchain-based transaction verification
CN112508566A (en) Alliance chain-based cross-chain private transaction method and equipment
US11070563B2 (en) Trace-based transaction validation and commitment
CN112215610A (en) Digital currency transaction payment platform based on block chain BaaS core technology
US20160110732A1 (en) System for encoding customer data
CN108494557A (en) Social security digital certificate management method, computer readable storage medium and terminal device
CN107169364A (en) A kind of data security method and related system
US20230138035A1 (en) Transaction based fraud detection
CN115859362A (en) Data storage system, method, device and medium based on block chain side chain
CN113704348B (en) Credit score management method based on distributed account book
US20160110563A1 (en) System for encoding customer data
CN112966049B (en) Asset management system based on block chain
US11645650B1 (en) Systems and methods for blockchain-based transaction break prevention
CN114066451A (en) Method and system for managing fund transaction and electronic equipment

Legal Events

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