CN112053081A - Credit integral adjusting method and device based on block chain and storage medium thereof - Google Patents

Credit integral adjusting method and device based on block chain and storage medium thereof Download PDF

Info

Publication number
CN112053081A
CN112053081A CN202010966529.4A CN202010966529A CN112053081A CN 112053081 A CN112053081 A CN 112053081A CN 202010966529 A CN202010966529 A CN 202010966529A CN 112053081 A CN112053081 A CN 112053081A
Authority
CN
China
Prior art keywords
credit
parking
vehicle
points
original
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
CN202010966529.4A
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.)
Guangdong Anjubao Digital Technology Co ltd
Original Assignee
Guangdong Anjubao Digital 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 Guangdong Anjubao Digital Technology Co ltd filed Critical Guangdong Anjubao Digital Technology Co ltd
Priority to CN202010966529.4A priority Critical patent/CN112053081A/en
Publication of CN112053081A publication Critical patent/CN112053081A/en
Pending legal-status Critical Current

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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • 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)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Bioethics (AREA)
  • Development Economics (AREA)
  • Computer Hardware Design (AREA)
  • Educational Administration (AREA)
  • General Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a credit integral adjusting method, a device and a storage medium thereof based on a block chain, wherein the method comprises the following steps: when a vehicle enters a parking lot, acquiring an original credit score corresponding to the vehicle; when the vehicle leaves the parking lot, acquiring parking records and payment information of the vehicle in the parking lot; sending the parking record and the payment information to the block chain platform; calculating parking points by adopting the parking records and the payment information based on the intelligent contracts on the block chain platform; and calculating a credit integral according to the original credit integral and the parking integral. The invention ensures the safety and uniqueness of the data by storing and maintaining the credit points on the block chain. In addition, through a consensus mechanism of the block chains, the data synchronization consistency of each node is ensured, and the problem that credit points cannot be used across platforms is solved.

Description

一种基于区块链的信用积分调整方法、装置及其存储介质A method, device and storage medium for adjusting credit points based on blockchain

技术领域technical field

本发明涉及信用积分技术领域,尤其涉及一种基于区块链的信用积分调整方法、装置及其存储介质。The present invention relates to the technical field of credit points, and in particular, to a method and device for adjusting credit points based on a block chain, and a storage medium thereof.

背景技术Background technique

随着社会信用体系建设的报告中提出加强政务诚信、商务诚信、社会诚信、和司法公信的发展,信用生态日趋完善,但在许多方面和行业都存在信用体系还存在一些不足。例如:As the report on the construction of the social credit system proposes to strengthen the development of government affairs integrity, business integrity, social integrity, and judicial credibility, the credit ecology is becoming more and more perfect, but there are still some deficiencies in the credit system in many aspects and industries. E.g:

信用应用主要集中在个人征信领域,比如央行的个人征信系统,而智慧停车领域还没有建设起成熟的体系;信用体系都是相对独立的,无法统一而造成信用混乱的现象;目前大部分的信用数据都存储在普通数据库中,这种方案无法解决当数据库服务器发生宕机或者遭受黑客攻击和恶意篡改数据等行为时所带来的数据安全问题。Credit applications are mainly concentrated in the field of personal credit reporting, such as the personal credit reporting system of the central bank, while a mature system has not yet been established in the field of smart parking; the credit systems are relatively independent and cannot be unified, resulting in credit confusion; The credit data of the database is stored in the ordinary database, and this solution cannot solve the data security problems caused when the database server is down or is attacked by hackers and maliciously tampered with data.

现在的商家或企业赠送积分时,会给用户开通一张只属于本公司的积分卡,赠送的积分保存在该卡中。这些积分只能在本公司使用,无法跨公司使用。消费者需要携带不同种类的积分卡,这给消费者带来极大的不便,用户无法最大程度的享受信用带来的服务。When present merchants or enterprises give away points, they will open a point card that belongs to the company only for the user, and the gift points will be stored in the card. These points can only be used within the company and cannot be used across companies. Consumers need to carry different types of loyalty cards, which brings great inconvenience to consumers, and users cannot enjoy the services brought by credit to the greatest extent.

现在的商家或企业对用户的信用积分一般都存储在普通数据库中,这种存储方式需要根据用户量搭建多个服务器以提高运行速度,成本较高。另外,当因网络问题或访问量大而导致多个服务器发生宕机时,无法保证数据安全性和数据一致性。其次,普通数据库也无法抵挡黑客攻击和用户恶意篡改数据的行为。At present, the credit points of merchants or enterprises to users are generally stored in a common database. This storage method needs to build multiple servers according to the number of users to improve the running speed, and the cost is high. In addition, when multiple servers are down due to network problems or heavy traffic, data security and data consistency cannot be guaranteed. Secondly, ordinary databases cannot resist hacker attacks and malicious tampering of data by users.

发明内容SUMMARY OF THE INVENTION

本发明提供了一种基于区块链的信用积分调整方法、装置及其存储介质,用于解决现有的信用积分应用方法无法保证数据安全性和数据一致性,以及无法实现信用积分的跨平台使用的技术问题。The present invention provides a method, device and storage medium for adjusting credit points based on blockchain, which are used to solve the problem that the existing credit point application methods cannot guarantee data security and data consistency, and cannot realize cross-platform credit points. technical issues used.

本发明提供了一种基于区块链的信用积分调整方法,应用于智能停车管理系统,所述智能停车管理系统包括区块链平台;所述区块链平台上配置有智能合约;所述方法包括:The present invention provides a method for adjusting credit points based on blockchain, which is applied to an intelligent parking management system. The intelligent parking management system includes a blockchain platform; an intelligent contract is configured on the blockchain platform; the method include:

当车辆进入停车场时,获取所述车辆对应的原始信用积分;When the vehicle enters the parking lot, obtain the original credit points corresponding to the vehicle;

当所述车辆离开所述停车场时,获取所述车辆在所述停车场内的停车记录和缴费信息;When the vehicle leaves the parking lot, obtain the parking record and payment information of the vehicle in the parking lot;

向所述区块链平台发送所述停车记录和所述缴费信息;sending the parking record and the payment information to the blockchain platform;

基于所述区块链平台上的所述智能合约,采用所述停车记录和所述缴费信息计算停车积分;Based on the smart contract on the blockchain platform, use the parking record and the payment information to calculate parking credits;

根据所述原始信用积分与所述停车积分,计算信用积分。Credit points are calculated according to the original credit points and the parking points.

可选地,所述当车辆进入停车场时,获取所述车辆的原始信用积分的步骤,包括:Optionally, the step of acquiring the original credit points of the vehicle when the vehicle enters the parking lot includes:

当车辆进入停车场时,获取所述车辆的车牌信息;When the vehicle enters the parking lot, obtain the license plate information of the vehicle;

判断所述区块链平台中是否存在所述车牌信息;Determine whether the license plate information exists in the blockchain platform;

若存在,从所述区块链平台中获取所述车牌信息对应的原始信用积分;If it exists, obtain the original credit points corresponding to the license plate information from the blockchain platform;

若不存在,基于所述智能合约计算所述车辆的原始信用积分。If not present, calculate the original credit points of the vehicle based on the smart contract.

可选地,所述基于所述智能合约计算所述车辆的原始信用积分的步骤,包括:Optionally, the step of calculating the original credit points of the vehicle based on the smart contract includes:

获取所述车牌信息对应的用户的授信额度,并采用所述授信额度生成用户基础信用积分;Obtain the credit line of the user corresponding to the license plate information, and use the credit line to generate the user's basic credit points;

获取所述车辆的历史停车信息;obtain the historical parking information of the vehicle;

基于所述智能合约,采用所述历史停车信息计算所述车辆的历史信用积分变量;Based on the smart contract, use the historical parking information to calculate the historical credit point variable of the vehicle;

采用所述基础信用积分和所述历史信用积分变量计算所述车辆的原始信用积分。The original credit score of the vehicle is calculated using the base credit score and the historical credit score variable.

可选地,所述根据所述原始信用积分与所述停车积分,计算信用积分的步骤之后,还包括:Optionally, after the step of calculating credit points according to the original credit points and the parking points, the method further includes:

采用所述智能合约和所述信用积分调整所述车辆对应的用户的授信额度。The credit limit of the user corresponding to the vehicle is adjusted by using the smart contract and the credit points.

可选地,还包括:Optionally, also include:

当所述车辆进入所述停车场时,为所述用户提供所述原始信用积分对应的停车服务。When the vehicle enters the parking lot, the user is provided with a parking service corresponding to the original credit points.

本发明还提供了一种基于区块链的信用积分调整装置,应用于智能停车管理系统,所述智能停车管理系统包括区块链平台;所述区块链平台上配置有智能合约;所述装置包括:The present invention also provides a block chain-based credit point adjustment device, which is applied to an intelligent parking management system. The intelligent parking management system includes a block chain platform; the block chain platform is configured with a smart contract; The device includes:

原始信用积分获取模块,用于当车辆进入停车场时,获取所述车辆对应的原始信用积分;an original credit point acquisition module, used to acquire the original credit points corresponding to the vehicle when the vehicle enters the parking lot;

停车记录和缴费信息获取模块,用于当所述车辆离开所述停车场时,获取所述车辆在所述停车场内的停车记录和缴费信息;a parking record and payment information acquisition module, configured to acquire the parking record and payment information of the vehicle in the parking lot when the vehicle leaves the parking lot;

发送模块,用于向所述区块链平台发送所述停车记录和所述缴费信息;a sending module, configured to send the parking record and the payment information to the blockchain platform;

停车积分计算模块,用于基于所述区块链平台上的所述智能合约,采用所述停车记录和所述缴费信息计算停车积分;a parking point calculation module, configured to calculate parking points by using the parking record and the payment information based on the smart contract on the blockchain platform;

信用积分计算模块,用于根据所述原始信用积分与所述停车积分,计算信用积分。A credit point calculation module, configured to calculate credit points according to the original credit points and the parking points.

可选地,所述原始信用积分获取模块,包括:Optionally, the original credit point acquisition module includes:

车牌信息获取子模块,用于当车辆进入停车场时,获取所述车辆的车牌信息;The license plate information acquisition sub-module is used to acquire the license plate information of the vehicle when the vehicle enters the parking lot;

车牌信息判断子模块,用于判断所述区块链平台中是否存在所述车牌信息;a license plate information judging submodule, used to judge whether the license plate information exists in the blockchain platform;

第一原始信用积分获取子模块,用于若存在,从所述区块链平台中获取所述车牌信息对应的原始信用积分;The first original credit score acquisition sub-module is used to obtain the original credit score corresponding to the license plate information from the blockchain platform if it exists;

第二原始信用积分获取子模块,用于若不存在,基于所述智能合约计算所述车辆的原始信用积分。The second original credit point obtaining sub-module is used to calculate the original credit point of the vehicle based on the smart contract if it does not exist.

可选地,所述第二原始信用积分获取子模块,包括:Optionally, the second original credit point acquisition sub-module includes:

用户基础信用积分生成单元,用于获取所述车牌信息对应的用户的授信额度,并采用所述授信额度生成用户基础信用积分;a user basic credit score generating unit, configured to obtain the user's credit line corresponding to the license plate information, and use the credit line to generate the user basic credit score;

历史停车信息获取单元,用于获取所述车辆的历史停车信息;a historical parking information acquisition unit, configured to acquire historical parking information of the vehicle;

历史信用积分变量计算单元,用于基于所述智能合约,采用所述历史停车信息计算所述车辆的历史信用积分变量;a historical credit point variable calculation unit, configured to use the historical parking information to calculate the historical credit point variable of the vehicle based on the smart contract;

原始信用积分计算单元,用于采用所述基础信用积分和所述历史信用积分变量计算所述车辆的原始信用积分。An original credit point calculation unit, configured to calculate the original credit point of the vehicle by using the basic credit point and the historical credit point variable.

可选地,所述装置还包括:Optionally, the device further includes:

授信额度调整模块,用于采用所述智能合约和所述信用积分调整所述车辆对应的用户的授信额度。The credit limit adjustment module is used to adjust the credit limit of the user corresponding to the vehicle by using the smart contract and the credit points.

可选地,所述装置还包括:Optionally, the device further includes:

停车服务提供模块,用于当所述车辆进入所述停车场时,为所述用户提供所述原始信用积分对应的停车服务。A parking service providing module, configured to provide the user with a parking service corresponding to the original credit points when the vehicle enters the parking lot.

本发明还提供了一种基于区块链的信用积分调整设备,所述设备包括处理器以及存储器:The present invention also provides a block chain-based credit point adjustment device, the device includes a processor and a memory:

所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;the memory is used to store program code and transmit the program code to the processor;

所述处理器用于根据所述程序代码中的指令执行如上任一项所述的基于区块链的信用积分调整方法。The processor is configured to execute the blockchain-based credit point adjustment method according to the instructions in the program code.

本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储程序代码,所述程序代码用于执行如上任一项所述的基于区块链的信用积分调整方法。The present invention also provides a computer-readable storage medium for storing program codes for executing the blockchain-based credit point adjustment method described in any of the above.

从以上技术方案可以看出,本发明具有以下优点:本发明在车辆进入停车场时,计算车辆的车牌信用分;当车辆离场时,获取车辆在停车场内的停车记录和缴费信息,并将停车记录和缴费信息发送至区块链平台,采用区块链平台上的智能合约和停车记录、缴费信息计算车辆在停车场内所产生的停车积分;将车牌信用分和停车积分合并,得到用户信用积分。本发明通过在区块链上存储和维护信用积分,保证了数据的安全性和唯一性。此外,通过区块链的共识机制,保证各个节点数据同步一致,解决了信用积分无法跨平台使用的问题。It can be seen from the above technical solutions that the present invention has the following advantages: the present invention calculates the license plate credit score of the vehicle when the vehicle enters the parking lot; when the vehicle leaves the parking lot, obtains the parking record and payment information of the vehicle in the parking lot, and Send the parking records and payment information to the blockchain platform, and use the smart contracts and parking records and payment information on the blockchain platform to calculate the parking points generated by the vehicle in the parking lot; combine the license plate credit points and parking points to get User credit points. The present invention ensures the security and uniqueness of data by storing and maintaining credit points on the blockchain. In addition, the consensus mechanism of the blockchain ensures that the data of each node is synchronized and consistent, which solves the problem that credit points cannot be used across platforms.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明实施例提供的一种基于区块链的信用积分调整方法的步骤流程图;1 is a flowchart of steps of a method for adjusting credit points based on a blockchain provided by an embodiment of the present invention;

图2为本发明另一实施例提供的一种基于区块链的信用积分调整方法的步骤流程图;2 is a flowchart of steps of a method for adjusting credit points based on a blockchain provided by another embodiment of the present invention;

图3为本发明实施例提供的一种原始信用积分获取方法的步骤流程图;3 is a flowchart of steps of a method for obtaining original credit points provided by an embodiment of the present invention;

图4为本发明实施例提供的一种原始信用积分计算方法的步骤流程图;4 is a flowchart of steps of a method for calculating original credit points provided by an embodiment of the present invention;

图5为本发明实施例提供的一种原始信用积分计算相关维度示意图;FIG. 5 is a schematic diagram of a dimension related to the calculation of original credit points according to an embodiment of the present invention;

图6为本发明实施例提供的一种停车管理系统的结构示意图;6 is a schematic structural diagram of a parking management system provided by an embodiment of the present invention;

图7为本发明实施例提供的一种基于区块链的信用积分调整装置的结构框图。FIG. 7 is a structural block diagram of a block chain-based credit point adjustment device provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种基于区块链的信用积分调整方法、装置及其存储介质,用于解决现有的信用积分应用方法无法保证数据安全性和数据一致性,以及无法实现信用积分的跨平台使用的技术问题。Embodiments of the present invention provide a blockchain-based credit score adjustment method, device, and storage medium, which are used to solve the problem that the existing credit score application method cannot guarantee data security and data consistency, and cannot realize credit score. Technical issues for cross-platform use.

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

请参阅图1,图1为本发明实施例提供的一种基于区块链的信用积分调整方法的步骤流程图。Please refer to FIG. 1. FIG. 1 is a flowchart of steps of a method for adjusting credit points based on a blockchain provided by an embodiment of the present invention.

本发明提供的一种基于区块链的信用积分调整方法,应用于智能停车管理系统,智能停车管理系统包括区块链平台;区块链上配置有智能合约,包括:The invention provides a method for adjusting credit points based on blockchain, which is applied to an intelligent parking management system. The intelligent parking management system includes a blockchain platform; the blockchain is configured with a smart contract, including:

步骤101,当车辆进入停车场时,计算所述车辆的原始信用积分;Step 101, when the vehicle enters the parking lot, calculate the original credit points of the vehicle;

在本发明实施例中,需要提前建设信用停车体系,该体系作为用户信用提车的前提条件,将每一个用户作为信用体系的主体,可以为每一个用户生成一个基础的信用积分。接着可以设定评分维度,来针对用户的行为进行信用评分,在基础信用积分的基础上,计算用户的实时信用积分。具体地,本发明可以以车牌为维度,计算车辆在进入停车场前的原始信用积分。In the embodiment of the present invention, a credit parking system needs to be established in advance, which serves as a precondition for users to pick up a car by credit. Each user is regarded as the main body of the credit system, and a basic credit point can be generated for each user. Then, a scoring dimension can be set to perform credit scoring for the user's behavior, and based on the basic credit score, the user's real-time credit score can be calculated. Specifically, the present invention can use the license plate as a dimension to calculate the original credit points of the vehicle before entering the parking lot.

其中,原始信用积分为车辆在进入停车场前的信用积分。Among them, the original credit points are the credit points of the vehicle before entering the parking lot.

步骤102,当所述车辆离开所述停车场时,获取所述车辆在所述停车场内的停车记录和缴费信息;Step 102, when the vehicle leaves the parking lot, obtain the parking record and payment information of the vehicle in the parking lot;

当车辆离开所述停车场时,如果车辆有在停车场里进行停车操作,便会产生与该停车操作相应的缴费信息。停车操作是否符合规范,是否按时缴费等会对用户的信用积分产生影响。因此,在车辆离开停车场时,如果有产生停车操作,则需要获取相应的停车记录和缴费信息,以用于计算车辆此次停车所造成的信用积分变化量。When the vehicle leaves the parking lot, if the vehicle performs a parking operation in the parking lot, payment information corresponding to the parking operation will be generated. Whether the parking operation complies with the specifications and whether the payment is made on time will have an impact on the user's credit points. Therefore, when the vehicle leaves the parking lot, if there is a parking operation, it is necessary to obtain the corresponding parking record and payment information to calculate the credit point change caused by the parking of the vehicle this time.

步骤103,向所述区块链平台发送所述停车记录和所述缴费信息;Step 103, sending the parking record and the payment information to the blockchain platform;

在本发明实施例中,为了保持信用积分在不同平台上的一致性,可以通过区块链计算、存储和维护信用积分。系统在获取到车辆在停车场内的停车记录和缴费信息后,可以将停车记录和缴费信息发送至区块链平台进行信用积分计算。In the embodiment of the present invention, in order to maintain the consistency of credit points on different platforms, the credit points can be calculated, stored and maintained through the blockchain. After the system obtains the parking record and payment information of the vehicle in the parking lot, it can send the parking record and payment information to the blockchain platform for credit point calculation.

其中,区块链系统是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。是一个分布式的共享账本和数据库,具有去中心化、不可篡改、全程留痕、可以追溯、集体维护、公开透明等特点。这些特点保证了区块链的“诚实”与“透明”,为区块链创造信任奠定基础。而区块链丰富的应用场景,基本上都基于区块链能够解决信息不对称问题,实现多个主体之间的协作信任与一直行动。也有越来越多的公司应用区块链技术解决实际问题,如:阿里巴巴利用区块链技术防止私刻公章、合同造假等问题;保险领域通过运用智能合约实现保单自动理赔等。Among them, the blockchain system is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. It is a distributed shared ledger and database with the characteristics of decentralization, non-tampering, full trace, traceability, collective maintenance, openness and transparency. These features ensure the "honesty" and "transparency" of the blockchain, laying the foundation for creating trust in the blockchain. The rich application scenarios of the blockchain are basically based on the ability of the blockchain to solve the problem of information asymmetry and achieve collaborative trust and continuous action between multiple subjects. There are also more and more companies applying blockchain technology to solve practical problems, such as: Alibaba uses blockchain technology to prevent problems such as private engraving of official seals and contract fraud; in the insurance field, the use of smart contracts to realize automatic claims settlement of insurance policies, etc.

步骤104,基于所述区块链平台上的所述智能合约,采用所述停车记录和所述缴费信息计算停车积分;Step 104, based on the smart contract on the blockchain platform, use the parking record and the payment information to calculate parking points;

在本发明实施例中,智能合约是由信用评分维度来进行编写,规定了信用积分的积累方式,其中,信用评分维度可以包括月报信息、停车记录、违约次数、欠费金额等。比如,智能合约可以规定,车辆月保充值时长越长、月保缴纳金额越多,用户信用积分就越高。In the embodiment of the present invention, the smart contract is written in the dimension of credit score, which specifies the accumulation method of credit score, wherein the dimension of credit score may include monthly report information, parking record, number of defaults, amount of arrears, etc. For example, a smart contract can stipulate that the longer the vehicle monthly insurance recharge period and the more monthly insurance payment amount, the higher the user credit points.

区块链平台在接收到车辆在停车场中的停车记录以及缴费信息后,便可以根据智能合约来计算车辆在停车场内停车时所产生的信用积分变量,即车辆在停车场能的停车积分。After receiving the parking record and payment information of the vehicle in the parking lot, the blockchain platform can calculate the variable of credit points generated when the vehicle is parked in the parking lot according to the smart contract, that is, the parking points of the vehicle in the parking lot. .

步骤105,根据所述原始信用积分与所述停车积分,计算信用积分。Step 105: Calculate credit points according to the original credit points and the parking points.

将车牌信用分和停车积分相加,即将车辆进入停车场前的信用积分与车辆在停车场内停车所产生的积分变量相加,便可以得到车辆离开停车场时实际的信用积分。By adding the license plate credit points and parking points, that is, adding the credit points before the vehicle enters the parking lot and the point variable generated by the vehicle parking in the parking lot, the actual credit points when the vehicle leaves the parking lot can be obtained.

本发明在车辆进入停车场时,计算车辆的车牌信用分;当车辆离场时,获取车辆在停车场内的停车记录和缴费信息,并将停车记录和缴费信息发送至区块链平台,采用区块链平台上的智能合约和停车记录、缴费信息计算车辆在停车场内所产生的停车积分;将车牌信用分和停车积分合并,得到用户信用积分。本发明通过在区块链上存储和维护信用积分,保证了数据的安全性和唯一性。此外,通过区块链的共识机制,保证各个节点数据同步一致,解决了信用积分无法跨平台使用的问题。The invention calculates the vehicle's license plate credit score when the vehicle enters the parking lot; when the vehicle leaves the parking lot, obtains the parking record and payment information of the vehicle in the parking lot, and sends the parking record and payment information to the blockchain platform. The smart contracts and parking records and payment information on the blockchain platform calculate the parking points generated by the vehicle in the parking lot; the license plate credit points and the parking points are combined to obtain the user credit points. The present invention ensures the security and uniqueness of data by storing and maintaining credit points on the blockchain. In addition, the consensus mechanism of the blockchain ensures that the data of each node is synchronized and consistent, which solves the problem that credit points cannot be used across platforms.

请参阅图2,图2为本发明另一实施例提供的一种基于区块链的信用积分调整方法的步骤流程图,具体包括以下步骤:Please refer to FIG. 2. FIG. 2 is a flowchart of steps of a method for adjusting credit points based on blockchain provided by another embodiment of the present invention, which specifically includes the following steps:

步骤201,当车辆进入停车场时,获取所述车辆的原始信用积分;Step 201, when the vehicle enters the parking lot, obtain the original credit points of the vehicle;

在本发明实施例中,需要提前建设信用停车体系,该体系作为用户信用提车的前提条件,将每一个用户作为信用体系的主体,可以为每一个用户生成一个基础的信用积分。接着可以设定评分维度,来针对用户的行为进行信用评分,在基础信用积分的基础上,计算用户的实时信用积分。具体地,本发明可以以车牌为维度,计算车辆在进入停车场前的原始信用积分。In the embodiment of the present invention, a credit parking system needs to be established in advance, which serves as a precondition for users to pick up a car by credit. Each user is regarded as the main body of the credit system, and a basic credit point can be generated for each user. Then, a scoring dimension can be set to perform credit scoring for the user's behavior, and based on the basic credit score, the user's real-time credit score can be calculated. Specifically, the present invention can use the license plate as a dimension to calculate the original credit points of the vehicle before entering the parking lot.

在一个示例中,如图3所示,步骤201可以包括以下子步骤:In one example, as shown in Figure 3, step 201 may include the following sub-steps:

S21,当车辆进入停车场时,获取所述车辆的车牌信息;S21, when the vehicle enters the parking lot, obtain the license plate information of the vehicle;

S22,判断所述区块链平台中是否存在所述车牌信息;S22, judging whether the license plate information exists in the blockchain platform;

S23,若存在,从所述区块链平台中获取所述车牌信息对应的原始信用积分;S23, if it exists, obtain the original credit points corresponding to the license plate information from the blockchain platform;

S24,若不存在,将所述车牌信息发送至所述区块链平台,基于所述智能合约计算所述车辆的原始信用积分。S24, if it does not exist, send the license plate information to the blockchain platform, and calculate the original credit points of the vehicle based on the smart contract.

在本发明实施例中,停车管理系统中存储了部分车辆的相关信息,包括车牌信息以及相应的信用积分信息,对于这一部分车辆,当其进入停车场时,可以根据车牌信息直接获取对应的原始信用积分。In the embodiment of the present invention, the parking management system stores the relevant information of some vehicles, including the license plate information and the corresponding credit point information. For this part of the vehicles, when they enter the parking lot, the corresponding original information can be directly obtained according to the license plate information. credit points.

而对于并未在停车管理系统中登记过的车辆,需要将其登记在停车管理系统中。在检测到车辆的车牌信息后,生成一条车牌记录,并将新增的车牌记录上传至区块链平台,区块链平台上的智能合约可以根据车牌的属性、车辆的月保信息、停车记录、违约次数和欠费金额等相关信息生成原始信用积分。For vehicles that have not been registered in the parking management system, they need to be registered in the parking management system. After the license plate information of the vehicle is detected, a license plate record is generated, and the newly added license plate record is uploaded to the blockchain platform. , the number of defaults and the amount of arrears and other related information to generate original credit points.

在一个示例中,如图4所示,步骤S24可以包括:In one example, as shown in FIG. 4 , step S24 may include:

S241,获取所述车牌信息对应的用户的授信额度,并采用所述授信额度生成用户基础信用积分;S241, obtaining the credit limit of the user corresponding to the license plate information, and using the credit limit to generate user basic credit points;

S242,获取所述车辆的历史停车信息;S242, obtaining historical parking information of the vehicle;

S243,基于所述智能合约,采用所述历史停车信息计算所述车辆的历史信用积分变量;S243, based on the smart contract, use the historical parking information to calculate the historical credit point variable of the vehicle;

S244,采用所述基础信用积分和所述历史信用积分变量计算所述车辆的原始信用积分。S244: Calculate the original credit score of the vehicle by using the basic credit score and the historical credit score variable.

在本发明实施例中,可以以用户银联授信额度作为基础数据生成用户基础信用积分,再按照智能合约的规,根据车辆历史停车记录所产生的月报信息、停车记录、违约次数、欠费金额等不同额度对用户进行评分,计算车辆的历史信用积分变量,如根据车辆月保充值时长、月保缴纳金额等来计算历史信用积分变量,月保充值时长越长,月保缴纳金额越多,历史信用积分变量越大,相应的原始信用积分越大。In the embodiment of the present invention, the user's UnionPay credit line can be used as the basic data to generate the user's basic credit points, and then according to the rules of the smart contract, the monthly report information, parking records, the number of defaults, and the amount of arrears are generated according to the historical parking records of the vehicle. Score the user with different quotas, and calculate the historical credit score variables of the vehicle. For example, the historical credit score variables are calculated according to the monthly insurance recharge time of the vehicle and the monthly insurance payment amount. The longer the monthly insurance recharge time, the more the monthly insurance payment amount. The larger the historical credit score variable, the larger the corresponding original credit score.

请参阅图5,图5为本发明实施例提供的一种原始信用积分计算相关维度示意图。如图5所示,原始信用积分计算相关维度包括用户基础信用积分、是否是月保车、月内消费(停车、充电)总额、月内停车/充电总次数、预约停车履约与否(包括履约和未履约,其中未履约会降低用户征信)和规定时间内缴费守约与否(包括守约和未守约,其中未守约会降低用户征信)。Please refer to FIG. 5. FIG. 5 is a schematic diagram of dimensions related to original credit point calculation provided by an embodiment of the present invention. As shown in Figure 5, the relevant dimensions of the original credit point calculation include the user's basic credit points, whether it is a monthly insurance car, the total consumption (parking, charging) in the month, the total number of parking/charging times in the month, and whether the reserved parking is fulfilled (including the fulfillment of the contract). and non-compliance, in which non-compliance will reduce user credit) and whether payment is abided by within the specified time period (including non-compliance and non-compliance, in which non-compliance will reduce user credit).

步骤202,当所述车辆离开所述停车场时,获取所述车辆在所述停车场内的停车记录和缴费信息;Step 202, when the vehicle leaves the parking lot, obtain the parking record and payment information of the vehicle in the parking lot;

步骤203,向所述区块链平台发送所述停车记录和所述缴费信息;Step 203, sending the parking record and the payment information to the blockchain platform;

步骤204,基于所述区块链平台上的所述智能合约,采用所述停车记录和所述缴费信息计算停车积分;Step 204, based on the smart contract on the blockchain platform, use the parking record and the payment information to calculate parking points;

步骤205,根据所述原始信用积分与所述停车积分,计算信用积分。Step 205: Calculate credit points according to the original credit points and the parking points.

步骤202-205与步骤102-105相同,此处不再赘述。Steps 202-205 are the same as steps 102-105, and are not repeated here.

步骤206,采用所述智能合约和所述信用积分调整所述车辆对应的用户的授信额度。Step 206, using the smart contract and the credit points to adjust the credit limit of the user corresponding to the vehicle.

在本发明实施例中,可以通过区块链的共识机制将停车操作造成的信用积分变量通过与银行的数据中心系统通讯的方式更新到对应的用户的个人授信额度从而影响个人征信。通过征信的方式使用户积分体系可以影响更多的场景,提高信用覆盖率。In the embodiment of the present invention, the credit point variable caused by the parking operation can be updated to the personal credit limit of the corresponding user by communicating with the bank's data center system through the consensus mechanism of the blockchain, thereby affecting the personal credit investigation. Through the method of credit reporting, the user point system can affect more scenarios and improve the credit coverage rate.

在本发明实施例中,在车辆进入停车场后,当用户需要根据信用积分享受服务时,可以从区块链上获取该用户的原始信用积分,停车管理系统可以根据原始信用积分高低为对应车辆提供相应的停车服务,如:先停车后缴费、赠送停车时长、保留专属车位等服务,实现信用停车服务。In the embodiment of the present invention, after the vehicle enters the parking lot, when the user needs to enjoy the service according to the credit points, the original credit points of the user can be obtained from the blockchain, and the parking management system can assign the corresponding vehicle according to the level of the original credit points Provide corresponding parking services, such as: parking first and then paying, free parking time, reservation of exclusive parking spaces and other services to achieve credit parking services.

在一个示例中,可以生成停车管理系统相关的公众号、小程序、APP等应用程序,用户可登陆相关应用程序查看车辆车辆记录、缴费订单、信用积分等信息。In one example, applications such as public accounts, mini programs, and APPs related to the parking management system can be generated, and users can log in to the relevant applications to view vehicle records, payment orders, credit points, and other information.

请参阅图6,图6为本发明实施例提供的一种停车管理系统的结构示意图。如图6所示,停车管理系统包括:Please refer to FIG. 6 , which is a schematic structural diagram of a parking management system according to an embodiment of the present invention. As shown in Figure 6, the parking management system includes:

区块链底层框架:区块链底层框架通过FISCO BCOS技术搭建而成,该框架包括四个节点布置服务,用来提高框架的稳定性。The underlying framework of the blockchain: The underlying framework of the blockchain is built through FISCO BCOS technology. The framework includes four node layout services to improve the stability of the framework.

区块链管理平台:区块链管理平台使用WeBASE技术搭建,与区块链底层框架交互,该平台包括两种节点布置服务,分别是两个节点管理服务和两个签名服务;其中,节点管理服务实现区块链数据与停车平台数据的交互;签名服务实现区块链用户的私钥托管。Blockchain management platform: The blockchain management platform is built with WeBASE technology and interacts with the underlying framework of the blockchain. The platform includes two node layout services, namely two node management services and two signature services; among them, node management The service realizes the interaction between blockchain data and parking platform data; the signature service realizes the custody of the private key of blockchain users.

应用层:应用层为停车平台,具体用于实现停车业务,包括信用停车、预约停车和充电停车等;以及用于实现用户信息采集业务,包括信用积分获取等。Application layer: The application layer is the parking platform, which is specifically used to realize parking services, including credit parking, reserved parking, and charging parking, etc.; and to realize user information collection services, including the acquisition of credit points.

中间层:中间层具有智能合约、共识机制、消息队列等节点,用于实现区块链管理平台和应用层之间的数据交互,例如通过智能合约计算信用积分等。Middle layer: The middle layer has nodes such as smart contracts, consensus mechanisms, and message queues, which are used to realize data interaction between the blockchain management platform and the application layer, such as calculating credit points through smart contracts.

本发明在车辆进入停车场时,计算车辆的车牌信用分;当车辆离场时,获取车辆在停车场内的停车记录和缴费信息,并将停车记录和缴费信息发送至区块链平台,采用区块链平台上的智能合约和停车记录、缴费信息计算车辆在停车场内所产生的停车积分;将车牌信用分和停车积分合并,得到用户信用积分。本发明通过在区块链上存储和维护信用积分,保证了数据的安全性和唯一性。此外,通过区块链的共识机制,保证各个节点数据同步一致,解决了信用积分无法跨平台使用的问题。The invention calculates the vehicle's license plate credit score when the vehicle enters the parking lot; when the vehicle leaves the parking lot, obtains the parking record and payment information of the vehicle in the parking lot, and sends the parking record and payment information to the blockchain platform, using The smart contracts and parking records and payment information on the blockchain platform calculate the parking points generated by the vehicle in the parking lot; the license plate credit points and the parking points are combined to obtain the user credit points. The present invention ensures the security and uniqueness of data by storing and maintaining credit points on the blockchain. In addition, the consensus mechanism of the blockchain ensures that the data of each node is synchronized and consistent, which solves the problem that credit points cannot be used across platforms.

请参阅图7,图7为本发明实施例提供的一种基于区块链的信用积分调整装置的结构框图。Please refer to FIG. 7. FIG. 7 is a structural block diagram of a block chain-based credit point adjustment apparatus provided by an embodiment of the present invention.

本发明提供了一种信用积分调整装置,应用于智能停车管理系统,所述智能停车管理系统包括区块链平台;所述区块链平台上配置有智能合约;所述装置具体可以包括:The present invention provides a credit point adjustment device, which is applied to an intelligent parking management system. The intelligent parking management system includes a blockchain platform; the blockchain platform is configured with a smart contract; the device may specifically include:

原始信用积分获取模块701,用于当车辆进入停车场时,获取所述车辆对应的原始信用积分;an original credit point acquisition module 701, configured to acquire the original credit points corresponding to the vehicle when the vehicle enters the parking lot;

停车记录和缴费信息获取模块702,用于当所述车辆离开所述停车场时,获取所述车辆在所述停车场内的停车记录和缴费信息;a parking record and payment information acquisition module 702, configured to acquire the parking record and payment information of the vehicle in the parking lot when the vehicle leaves the parking lot;

发送模块703,用于向所述区块链平台发送所述停车记录和所述缴费信息;A sending module 703, configured to send the parking record and the payment information to the blockchain platform;

停车积分计算模块704,用于基于所述区块链平台上的所述智能合约,采用所述停车记录和所述缴费信息计算停车积分;a parking point calculation module 704, configured to use the parking record and the payment information to calculate the parking point based on the smart contract on the blockchain platform;

信用积分计算模块705,用于根据所述原始信用积分与所述停车积分,计算信用积分。The credit point calculation module 705 is configured to calculate the credit point according to the original credit point and the parking point.

在本发明实施例中,所述原始信用积分获取模块701,可以包括:In this embodiment of the present invention, the original credit point obtaining module 701 may include:

车牌信息获取子模块,用于当车辆进入停车场时,获取所述车辆的车牌信息;The license plate information acquisition sub-module is used to acquire the license plate information of the vehicle when the vehicle enters the parking lot;

车牌信息判断子模块,用于判断所述区块链平台中是否存在所述车牌信息;a license plate information judging submodule, used to judge whether the license plate information exists in the blockchain platform;

第一原始信用积分获取子模块,用于若存在,从所述区块链平台中获取所述车牌信息对应的原始信用积分;The first original credit score acquisition sub-module is used to obtain the original credit score corresponding to the license plate information from the blockchain platform if it exists;

第二原始信用积分获取子模块,用于若不存在,基于所述智能合约计算所述车辆的原始信用积分。The second original credit point obtaining sub-module is used to calculate the original credit point of the vehicle based on the smart contract if it does not exist.

在本发明实施例中,所述第二原始信用积分获取子模块,可以包括:In this embodiment of the present invention, the second original credit point acquisition sub-module may include:

用户基础信用积分生成单元,用于获取所述车牌信息对应的用户的授信额度,并采用所述授信额度生成用户基础信用积分;a user basic credit score generating unit, configured to obtain the user's credit line corresponding to the license plate information, and use the credit line to generate the user basic credit score;

历史停车信息获取单元,用于获取所述车辆的历史停车信息;a historical parking information acquisition unit, configured to acquire historical parking information of the vehicle;

历史信用积分变量计算单元,用于基于所述智能合约,采用所述历史停车信息计算所述车辆的历史信用积分变量;a historical credit point variable calculation unit, configured to use the historical parking information to calculate the historical credit point variable of the vehicle based on the smart contract;

原始信用积分计算单元,用于采用所述基础信用积分和所述历史信用积分变量计算所述车辆的原始信用积分。An original credit point calculation unit, configured to calculate the original credit point of the vehicle by using the basic credit point and the historical credit point variable.

在本发明实施例中,所述装置还可以包括:In this embodiment of the present invention, the apparatus may further include:

授信额度调整模块,用于采用所述智能合约和所述信用积分调整所述车辆对应的用户的授信额度。The credit limit adjustment module is used to adjust the credit limit of the user corresponding to the vehicle by using the smart contract and the credit points.

在本发明实施例中,所述装置还可以包括:In this embodiment of the present invention, the apparatus may further include:

停车服务提供模块,用于当所述车辆进入所述停车场时,为所述用户提供所述原始信用积分对应的停车服务。A parking service providing module, configured to provide the user with a parking service corresponding to the original credit points when the vehicle enters the parking lot.

本发明还提供了一种基于区块链的信用积分调整设备,所述设备包括处理器以及存储器:The present invention also provides a block chain-based credit point adjustment device, the device includes a processor and a memory:

所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;the memory is used to store program code and transmit the program code to the processor;

所述处理器用于根据所述程序代码中的指令执行本发明实施例的基于区块链的信用积分调整方法。The processor is configured to execute the blockchain-based credit score adjustment method according to the embodiment of the present invention according to the instructions in the program code.

本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储程序代码,所述程序代码用于执行本发明实施例的基于区块链的信用积分调整方法。The present invention further provides a computer-readable storage medium, where the computer-readable storage medium is used to store program codes, and the program codes are used to execute the blockchain-based credit point adjustment method according to the embodiment of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and units, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,可以是电性、机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来达到实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of implementing the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1.一种基于区块链的信用积分调整方法,其特征在于,应用于智能停车管理系统,所述智能停车管理系统包括区块链平台;所述区块链平台上配置有智能合约;所述方法包括:1. A method for adjusting credit points based on blockchain, characterized in that it is applied to an intelligent parking management system, and the intelligent parking management system includes a blockchain platform; the blockchain platform is configured with a smart contract; The methods described include: 当车辆进入停车场时,获取所述车辆对应的原始信用积分;When the vehicle enters the parking lot, obtain the original credit points corresponding to the vehicle; 当所述车辆离开所述停车场时,获取所述车辆在所述停车场内的停车记录和缴费信息;When the vehicle leaves the parking lot, obtain the parking record and payment information of the vehicle in the parking lot; 向所述区块链平台发送所述停车记录和所述缴费信息;sending the parking record and the payment information to the blockchain platform; 基于所述区块链平台上的所述智能合约,采用所述停车记录和所述缴费信息计算停车积分;Based on the smart contract on the blockchain platform, use the parking record and the payment information to calculate parking credits; 根据所述原始信用积分与所述停车积分,计算信用积分。Credit points are calculated according to the original credit points and the parking points. 2.根据权利要求1所述的方法,其特征在于,所述当车辆进入停车场时,获取所述车辆的原始信用积分的步骤,包括:2. The method according to claim 1, wherein the step of acquiring the original credit points of the vehicle when the vehicle enters the parking lot comprises: 当车辆进入停车场时,获取所述车辆的车牌信息;When the vehicle enters the parking lot, obtain the license plate information of the vehicle; 判断所述区块链平台中是否存在所述车牌信息;Determine whether the license plate information exists in the blockchain platform; 若存在,从所述区块链平台中获取所述车牌信息对应的原始信用积分;If it exists, obtain the original credit points corresponding to the license plate information from the blockchain platform; 若不存在,基于所述智能合约计算所述车辆的原始信用积分。If not present, calculate the original credit points of the vehicle based on the smart contract. 3.根据权利要求2所述的方法,其特征在于,所述基于所述智能合约计算所述车辆的原始信用积分的步骤,包括:3. The method according to claim 2, wherein the step of calculating the original credit points of the vehicle based on the smart contract comprises: 获取所述车牌信息对应的用户的授信额度,并采用所述授信额度生成用户基础信用积分;Obtain the credit line of the user corresponding to the license plate information, and use the credit line to generate the user's basic credit points; 获取所述车辆的历史停车信息;obtain the historical parking information of the vehicle; 基于所述智能合约,采用所述历史停车信息计算所述车辆的历史信用积分变量;Based on the smart contract, use the historical parking information to calculate the historical credit point variable of the vehicle; 采用所述基础信用积分和所述历史信用积分变量计算所述车辆的原始信用积分。The original credit score of the vehicle is calculated using the base credit score and the historical credit score variable. 4.根据权利要求3所述的方法,其特征在于,所述根据所述原始信用积分与所述停车积分,计算信用积分的步骤之后,还包括:4. The method according to claim 3, characterized in that, after the step of calculating credit points according to the original credit points and the parking points, the method further comprises: 采用所述智能合约和所述信用积分调整所述车辆对应的用户的授信额度。The credit limit of the user corresponding to the vehicle is adjusted by using the smart contract and the credit points. 5.根据权利要求1所述的方法,其特征在于,还包括:5. The method of claim 1, further comprising: 当所述车辆进入所述停车场时,为所述用户提供所述原始信用积分对应的停车服务。When the vehicle enters the parking lot, the user is provided with a parking service corresponding to the original credit points. 6.一种基于区块链的信用积分调整装置,其特征在于,应用于智能停车管理系统,所述智能停车管理系统包括区块链平台;所述区块链平台上配置有智能合约;所述装置包括:6. A blockchain-based credit point adjustment device, characterized in that it is applied to an intelligent parking management system, the intelligent parking management system comprising a blockchain platform; the blockchain platform is configured with a smart contract; The device includes: 原始信用积分获取模块,用于当车辆进入停车场时,获取所述车辆对应的原始信用积分;an original credit point acquisition module, used to acquire the original credit points corresponding to the vehicle when the vehicle enters the parking lot; 停车记录和缴费信息获取模块,用于当所述车辆离开所述停车场时,获取所述车辆在所述停车场内的停车记录和缴费信息;a parking record and payment information acquisition module, configured to acquire the parking record and payment information of the vehicle in the parking lot when the vehicle leaves the parking lot; 发送模块,用于向所述区块链平台发送所述停车记录和所述缴费信息;a sending module, configured to send the parking record and the payment information to the blockchain platform; 停车积分计算模块,用于基于所述区块链平台上的所述智能合约,采用所述停车记录和所述缴费信息计算停车积分;a parking point calculation module, configured to calculate parking points by using the parking record and the payment information based on the smart contract on the blockchain platform; 信用积分计算模块,用于计算所述原始信用积分与所述停车积分的和,得到信用积分。The credit point calculation module is used for calculating the sum of the original credit points and the parking points to obtain the credit points. 7.根据权利要求6所述的装置,其特征在于,所述原始信用积分获取模块,包括:7. The device according to claim 6, wherein the original credit point acquisition module comprises: 车牌信息获取子模块,用于当车辆进入停车场时,获取所述车辆的车牌信息;The license plate information acquisition sub-module is used to acquire the license plate information of the vehicle when the vehicle enters the parking lot; 车牌信息判断子模块,用于判断所述区块链平台中是否存在所述车牌信息;a license plate information judging submodule, used to judge whether the license plate information exists in the blockchain platform; 第一原始信用积分获取子模块,用于若存在,从所述区块链平台中获取所述车牌信息对应的原始信用积分;The first original credit score acquisition sub-module is used to obtain the original credit score corresponding to the license plate information from the blockchain platform if it exists; 第二原始信用积分获取子模块,用于若不存在,基于所述智能合约计算所述车辆的原始信用积分。The second original credit point obtaining sub-module is used to calculate the original credit point of the vehicle based on the smart contract if it does not exist. 8.根据权利要求7所述的装置,其特征在于,所述第二原始信用积分获取子模块,包括:8. The device according to claim 7, wherein the second original credit point acquisition sub-module comprises: 用户基础信用积分生成单元,用于获取所述车牌信息对应的用户的授信额度,并采用所述授信额度生成用户基础信用积分;a user basic credit score generating unit, configured to obtain the user's credit line corresponding to the license plate information, and use the credit line to generate the user basic credit score; 历史停车信息获取单元,用于获取所述车辆的历史停车信息;a historical parking information acquisition unit, configured to acquire historical parking information of the vehicle; 历史信用积分变量计算单元,用于基于所述智能合约,采用所述历史停车信息计算所述车辆的历史信用积分变量;a historical credit point variable calculation unit, configured to use the historical parking information to calculate the historical credit point variable of the vehicle based on the smart contract; 原始信用积分计算单元,用于采用所述基础信用积分和所述历史信用积分变量计算所述车辆的原始信用积分。An original credit point calculation unit, configured to calculate the original credit point of the vehicle by using the basic credit point and the historical credit point variable. 9.一种基于区块链的信用积分调整设备,其特征在于,所述设备包括处理器以及存储器:9. A block chain-based credit point adjustment device, characterized in that the device comprises a processor and a memory: 所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;the memory is used to store program code and transmit the program code to the processor; 所述处理器用于根据所述程序代码中的指令执行权利要求1-5任一项所述的基于区块链的信用积分调整方法。The processor is configured to execute the blockchain-based credit point adjustment method according to any one of claims 1-5 according to the instructions in the program code. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储程序代码,所述程序代码用于执行权利要求1-5任一项所述的基于区块链的信用积分调整方法。10. A computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the blockchain-based storage medium according to any one of claims 1-5. Credit score adjustment method.
CN202010966529.4A 2020-09-15 2020-09-15 Credit integral adjusting method and device based on block chain and storage medium thereof Pending CN112053081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010966529.4A CN112053081A (en) 2020-09-15 2020-09-15 Credit integral adjusting method and device based on block chain and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010966529.4A CN112053081A (en) 2020-09-15 2020-09-15 Credit integral adjusting method and device based on block chain and storage medium thereof

Publications (1)

Publication Number Publication Date
CN112053081A true CN112053081A (en) 2020-12-08

Family

ID=73602935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010966529.4A Pending CN112053081A (en) 2020-09-15 2020-09-15 Credit integral adjusting method and device based on block chain and storage medium thereof

Country Status (1)

Country Link
CN (1) CN112053081A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114255519A (en) * 2021-12-03 2022-03-29 深圳市顺易通信息科技有限公司 Vehicle parking credit authentication method, device, computer equipment and storage medium
CN115346389A (en) * 2022-06-30 2022-11-15 浙江大华技术股份有限公司 Parking space reservation method, platform, electronic device and storage medium
CN115546916A (en) * 2022-11-29 2022-12-30 成都宜泊信息科技有限公司 Management method, system and storage medium for trusted vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086619A (en) * 2018-07-05 2018-12-25 广东天泽汇通科技有限公司 Based on the parking credit method of adjustment and its device of block chain, electronic equipment
CN110942524A (en) * 2019-12-05 2020-03-31 中国科学院自动化研究所 Cloud edge end cooperative parking management timing charging system and method based on block chain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086619A (en) * 2018-07-05 2018-12-25 广东天泽汇通科技有限公司 Based on the parking credit method of adjustment and its device of block chain, electronic equipment
CN110942524A (en) * 2019-12-05 2020-03-31 中国科学院自动化研究所 Cloud edge end cooperative parking management timing charging system and method based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114255519A (en) * 2021-12-03 2022-03-29 深圳市顺易通信息科技有限公司 Vehicle parking credit authentication method, device, computer equipment and storage medium
CN115346389A (en) * 2022-06-30 2022-11-15 浙江大华技术股份有限公司 Parking space reservation method, platform, electronic device and storage medium
CN115546916A (en) * 2022-11-29 2022-12-30 成都宜泊信息科技有限公司 Management method, system and storage medium for trusted vehicle
CN115546916B (en) * 2022-11-29 2023-03-10 成都宜泊信息科技有限公司 Management method, system and storage medium of trusted vehicle

Similar Documents

Publication Publication Date Title
US12165135B2 (en) Methods and systems for digital reward processing
Fraga-Lamas et al. A review on blockchain technologies for an advanced and cyber-resilient automotive industry
CN110851496B (en) Method, apparatus, accounting node and medium for querying transaction information in blockchain network
JP7481747B2 (en) Method, device, storage medium and program product for carbon trading
CN109684375B (en) Method, accounting node and medium for querying transaction information in blockchain network
US20180075527A1 (en) Credit score platform
CN110335147A (en) A blockchain-based digital asset information exchange system and method
CN109636569B (en) Credit investigation data management method and system based on block chain
CN112053081A (en) Credit integral adjusting method and device based on block chain and storage medium thereof
CN109347789A (en) The sharing method and medium of server, fraud customer information based on block chain
JP7625068B2 (en) An electronic wallet that allows for the expiration of cryptocurrencies
Kwame et al. V-chain: A blockchain-based car lease platform
CN112613865B (en) ETC payment clearing method, device and equipment based on alliance chain
Yadav et al. Blockchain-based secure privacy-preserving vehicle accident and insurance registration
Abadi et al. Anylog: a grand unification of the internet of things
Singh et al. A blockchain-based approach for usage based insurance and incentive in its
CN112241891A (en) Charging transaction management system based on alliance chain
CN113919938A (en) Domestic buyer's warranty financing method, device, equipment and medium based on block chain
Xu et al. An intelligent scheduling access privacy protection model of electric vehicle based on 5G‐V2X
CN112330443A (en) Public credit information system based on block chain
Zhao et al. Research on a shared bicycle deposit management system based on blockchain technology
US11748807B1 (en) Community-based digital transaction authentication
CN115760125B (en) Method, system and storage medium for controlling risk of producing and thawing data based on block chain
CN116228412A (en) Carbon transaction system and method of operating the same
Deng et al. Blockchain technology in automobile insurance claim systems research

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201208