[go: up one dir, main page]

CN116739743A - A method for carrying passengers in an unmanned vehicle and an unmanned vehicle - Google Patents

A method for carrying passengers in an unmanned vehicle and an unmanned vehicle Download PDF

Info

Publication number
CN116739743A
CN116739743A CN202310681089.1A CN202310681089A CN116739743A CN 116739743 A CN116739743 A CN 116739743A CN 202310681089 A CN202310681089 A CN 202310681089A CN 116739743 A CN116739743 A CN 116739743A
Authority
CN
China
Prior art keywords
passenger
blockchain
information
unmanned vehicle
bill
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
CN202310681089.1A
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 Institute of Science and Technology
Original Assignee
Guangdong Institute of Science and Technology
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 Institute of Science and Technology filed Critical Guangdong Institute of Science and Technology
Priority to CN202310681089.1A priority Critical patent/CN116739743A/en
Publication of CN116739743A publication Critical patent/CN116739743A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0609Buyer or seller confidence or verification
    • 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/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • 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/02Reservations, e.g. for tickets, services or events
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/42Confirmation, e.g. check or permission by the legal debtor of payment
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Primary Health Care (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention relates to the technical field of unmanned aerial vehicles, in particular to an unmanned vehicle passenger carrying method and an unmanned vehicle. Wherein the method comprises the following steps: generating passenger bill information of passengers after the unmanned vehicle passenger runs to the destination; sending the riding bill information to the blockchain to trigger the blockchain to execute an intelligent contract, so that after the blockchain commonly verifies the passenger bill information, riding fees are deducted from a digital wallet of the passenger; presenting the passenger with the passenger bill information returned by the blockchain; when the bill confirmation information sent by the passenger is obtained, the bill confirmation information is sent to the blockchain to trigger the blockchain to execute the intelligent contract, so that after the bill confirmation information is verified by the blockchain consensus, the bill confirmation information and the passenger bill information are packaged in the same block, and the block is input into the blockchain; the ride bill information is used to calculate a credit score for the passenger. The embodiment of the invention can standardize the riding behavior of passengers and is convenient for passenger carrying management of unmanned vehicles.

Description

一种无人车载客方法及无人车A method for carrying passengers in an unmanned vehicle and an unmanned vehicle

技术领域Technical field

本发明涉及无人驾驶技术领域,特别是涉及一种无人车载客方法及无人车。The present invention relates to the field of unmanned driving technology, and in particular to an unmanned vehicle passenger carrying method and an unmanned vehicle.

背景技术Background technique

随着无人驾驶技术的发展,可将无人车应用于公共交通,为人们出行带来便利。然而,现有的无人车在载客方面的监管力度有限,无法应对逃票、大喊大叫、毁坏车辆等不良乘车行为。With the development of driverless technology, driverless cars can be used in public transportation to bring convenience to people's travels. However, existing unmanned vehicles have limited supervision on carrying passengers and cannot deal with bad riding behaviors such as fare evasion, yelling, and vehicle damage.

发明内容Contents of the invention

本发明实施例旨在提供一种无人车载客方法及无人车,其能够规范乘客的乘车行为,便于无人车的载客管理。Embodiments of the present invention aim to provide an unmanned vehicle passenger carrying method and an unmanned vehicle, which can standardize passengers' riding behavior and facilitate passenger carrying management of unmanned vehicles.

为解决上述技术问题,本发明实施例提供以下技术方案:In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:

第一方面,本发明实施例提供了一种基于区块链的无人车载客方法,包括:In the first aspect, embodiments of the present invention provide a blockchain-based method for carrying passengers in unmanned vehicles, including:

获取乘客的人脸图像;Get the passenger’s face image;

发送所述人脸图像至所述区块链,以使所述区块链根据所述人脸图像,搜索所述乘客的区块数据,所述区块数据携带所述乘客的历史乘车记录;Send the face image to the blockchain so that the blockchain searches the passenger's block data based on the face image, and the block data carries the passenger's historical ride record ;

根据所述乘客的历史乘车记录,计算所述乘客的信用得分;Calculate the passenger's credit score based on the passenger's historical ride record;

当所述信用得分大于或等于预设信用阈值时,控制所述无人车打开车门。When the credit score is greater than or equal to the preset credit threshold, the unmanned vehicle is controlled to open the door.

在一些实施例中,在获取乘客的人脸图像之前,所述方法还包括:In some embodiments, before acquiring the passenger's face image, the method further includes:

获取所述无人车所在车道两旁的用户点云;Obtain user point clouds on both sides of the lane where the unmanned vehicle is located;

基于深度学习模型,从所述用户点云提取出用户姿态;Based on the deep learning model, extract the user posture from the user point cloud;

若所述用户姿态匹配预设叫车姿态,则控制所述无人车行驶至与所述用户姿态匹配的乘客所在位置。If the user's posture matches the preset taxi-calling posture, the unmanned vehicle is controlled to drive to the location of the passenger that matches the user's posture.

在一些实施例中,所述无人车安装有显示屏,所述控制所述无人车行驶至与所述用户姿态匹配的乘客所在位置包括:In some embodiments, the unmanned vehicle is equipped with a display screen, and controlling the unmanned vehicle to drive to a passenger position that matches the user's posture includes:

判断所述用户姿态与所述预设叫车姿态匹配的乘客所在位置是否处于违停区域;Determine whether the location of the passenger whose posture matches the preset taxi-hailing posture is in an illegal parking area;

若是,追踪所述乘客,并在所述显示屏呈现第一提示信息,所述第一提示信息用于提示所述乘客前往指定区域乘车;If so, track the passenger and present first prompt information on the display screen. The first prompt information is used to prompt the passenger to go to the designated area to take the bus;

若否,控制所述无人车行驶至所述乘客的所在位置。If not, control the unmanned vehicle to drive to the location of the passenger.

在一些实施例中,在获取所述无人车所在车道两旁的用户点云之前,所述方法还包括:In some embodiments, before obtaining user point clouds on both sides of the lane where the unmanned vehicle is located, the method further includes:

判断是否接收到载客预约请求;Determine whether a passenger reservation request is received;

若是,根据所述载客预约请求,控制所述无人车行驶至预约地点;If so, control the unmanned vehicle to drive to the reservation location according to the passenger reservation request;

若否,进入获取所述无人车所在车道两旁的用户点云的步骤。If not, proceed to the step of obtaining user point clouds on both sides of the lane where the unmanned vehicle is located.

在一些实施例中,所述发送所述人脸图像至所述区块链,以使所述区块链根据所述人脸图像,搜索所述乘客的区块数据包括:In some embodiments, sending the face image to the blockchain so that the blockchain searches the passenger's block data based on the face image includes:

根据图像分析算法,从所述人脸图像提取出特征矩阵;extract a feature matrix from the face image according to an image analysis algorithm;

发送所述特征矩阵至所述区块链,以使所述区块链搜索出包含所述特征矩阵的区块数据。Send the feature matrix to the blockchain, so that the blockchain searches for block data containing the feature matrix.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

当驾驶所述乘客行驶至目的地后,生成所述乘客的乘车账单信息,所述乘车账单信息包括所述乘客的特征矩阵、出发地及出发时间、目的地及到达时间、行驶时间、乘车费用、车内表现行为的评价信息、无人车SN编号;After driving the passenger to the destination, the passenger's ride bill information is generated. The ride bill information includes the passenger's feature matrix, departure place and departure time, destination and arrival time, driving time, Ride fare, evaluation information of behavior in the car, and unmanned vehicle SN number;

发送所述乘客的乘车账单信息至所述区块链,以触发所述区块链执行智能合约,使得所述区块链共识验证所述乘客账单信息后,从所述乘客的数字钱包扣除所述乘车费用;Send the passenger's ride bill information to the blockchain to trigger the blockchain to execute the smart contract, so that after the blockchain consensus verifies the passenger bill information, it will be deducted from the passenger's digital wallet The cost of said ride;

向所述乘客呈现所述区块链返回的乘车账单信息;Present the ride bill information returned by the blockchain to the passenger;

当获取到所述乘客发送的账单确认信息后,发送所述账单确认信息至所述区块链,以触发所述区块链执行智能合约,使得所述区块链共识验证所述账单确认信息后,将所述账单确认信息及所述乘客账单信息打包在相同区块内,并将所述区块录入所述区块链中。After obtaining the bill confirmation information sent by the passenger, the bill confirmation information is sent to the blockchain to trigger the blockchain to execute the smart contract, so that the blockchain consensus verifies the bill confirmation information. Finally, the bill confirmation information and the passenger bill information are packaged in the same block, and the block is entered into the blockchain.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

当获取到所述区块链发送的区块录入信息时,控制所述无人车打开车门。When the block entry information sent by the blockchain is obtained, the unmanned vehicle is controlled to open the door.

在一些实施例中,所述根据所述乘客的历史乘车记录,计算所述乘客的信用得分包括:In some embodiments, calculating the passenger's credit score based on the passenger's historical ride records includes:

根据语义算法,从所述车内表现行为的评价信息提取出每个评价关键词,其中,每个所述评价关键词皆对应一个信用值;According to the semantic algorithm, each evaluation keyword is extracted from the evaluation information of the in-car performance behavior, where each evaluation keyword corresponds to a credit value;

累加所述评价信息中每个评价关键词的信用值,得到所述乘客的信用得分。The credit value of each evaluation keyword in the evaluation information is accumulated to obtain the credit score of the passenger.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

当获取到所述区块链发送的用于指示所述乘客未注册无人打车账号的检测信息时,生成第二提示信息,所述第二提示信息用于提示所述乘客需注册无人打车账号;When the detection information sent by the blockchain indicating that the passenger has not registered an autonomous taxi account is obtained, a second prompt message is generated. The second prompt information is used to prompt the passenger to register for an autonomous taxi. account;

当获取到所述乘客发送的注册确认信息时,根据所述特征矩阵,建立属于所述乘客的数字钱包,所述数字钱包包括账户地址、公钥及私钥。When the registration confirmation information sent by the passenger is obtained, a digital wallet belonging to the passenger is established based on the characteristic matrix. The digital wallet includes an account address, a public key and a private key.

第二方面,本发明实施例提供了一种无人车,包括:In a second aspect, embodiments of the present invention provide an unmanned vehicle, including:

至少一个处理器;以及at least one processor; and

与所述至少一个处理器通信连接的存储器;a memory communicatively connected to the at least one processor;

其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权上任一项所述的基于区块链的无人车载客方法。Wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method based on any one of the above. Blockchain’s method of carrying passengers in unmanned vehicles.

第三方面,本发明实施例了提供了一种基于区块链的无人车载客装置,包括:In a third aspect, embodiments of the present invention provide a blockchain-based unmanned vehicle passenger device, including:

第一获取模块,用于获取乘客的人脸图像;The first acquisition module is used to acquire facial images of passengers;

发送模块,用于发送所述人脸图像至所述区块链,以使所述区块链根据所述人脸图像,搜索所述乘客的区块数据,所述区块数据携带所述乘客的历史乘车记录;A sending module, configured to send the face image to the blockchain, so that the blockchain searches for the passenger's block data based on the face image, and the block data carries the passenger's block data. historical ride records;

计算模块,用于根据所述乘客的历史乘车记录,计算所述乘客的信用得分;A calculation module used to calculate the credit score of the passenger based on the passenger's historical ride record;

第一控制模块,用于当所述信用得分大于或等于预设信用阈值时,控制所述无人车打开车门。The first control module is used to control the unmanned vehicle to open the door when the credit score is greater than or equal to the preset credit threshold.

在一些实施例中,在获取乘客的人脸图像之前,所述装置还包括:In some embodiments, before acquiring the passenger's face image, the device further includes:

第二获取模块,用于获取所述无人车所在车道两旁的用户点云;The second acquisition module is used to acquire user point clouds on both sides of the lane where the unmanned vehicle is located;

提取模块,用于基于深度学习模型,从所述用户点云提取出用户姿态;An extraction module, used to extract user gestures from the user point cloud based on a deep learning model;

第二控制模块,用于若所述用户姿态匹配预设叫车姿态,则控制所述无人车行驶至与所述用户姿态匹配的乘客所在位置。The second control module is used to control the unmanned vehicle to drive to the location of the passenger that matches the user's posture if the user's posture matches the preset taxi-calling posture.

在一些实施例中,所述无人车安装有显示屏,所述第二控制模块包括:In some embodiments, the unmanned vehicle is equipped with a display screen, and the second control module includes:

判断单元,用于判断所述用户姿态与所述预设叫车姿态匹配的乘客所在位置是否处于违停区域;A judgment unit configured to judge whether the position of the passenger whose posture matches the preset taxi-calling posture is in an illegal parking area;

追踪显示单元,用于若与所述用户姿态匹配的乘客所在位置处于违停区域,追踪所述乘客,并在所述显示屏呈现第一提示信息,所述第一提示信息用于提示所述乘客前往指定区域乘车;A tracking display unit is configured to track the passenger if the position of the passenger matching the user's posture is in an illegal parking area, and present first prompt information on the display screen, where the first prompt information is used to prompt the Passengers go to the designated area to board the bus;

控制单元,用于若与所述用户姿态匹配的乘客所在位置不处于违停区域,控制所述无人车行驶至所述乘客的所在位置。A control unit configured to control the unmanned vehicle to drive to the passenger's position if the position of the passenger matching the user's posture is not in an illegal parking area.

在一些实施例中,在获取所述无人车所在车道两旁的用户点云之前,所述装置还包括:In some embodiments, before acquiring user point clouds on both sides of the lane where the unmanned vehicle is located, the device further includes:

判断模块,用于判断是否接收到载客预约请求;A judgment module used to judge whether a passenger reservation request is received;

第三控制模块,用于若接收到载客预约请求,根据所述载客预约请求,控制所述无人车行驶至预约地点;The third control module is used to, if a passenger reservation request is received, control the unmanned vehicle to drive to the reservation location according to the passenger reservation request;

若否,进入获取所述无人车所在车道两旁的用户点云的步骤。If not, proceed to the step of obtaining user point clouds on both sides of the lane where the unmanned vehicle is located.

在一些实施例中,所述发送模块包括:In some embodiments, the sending module includes:

第一提取单元,用于根据图像分析算法,从所述人脸图像提取出特征矩阵;A first extraction unit, configured to extract a feature matrix from the face image according to an image analysis algorithm;

发送单元,用于发送所述特征矩阵至所述区块链,以使所述区块链搜索出包含所述特征矩阵的区块数据。A sending unit, configured to send the feature matrix to the blockchain, so that the blockchain can search for block data containing the feature matrix.

在一些实施例中,所述装置还包括:In some embodiments, the device further includes:

第一生成模块,用于当驾驶所述乘客行驶至目的地后,生成所述乘客的乘车账单信息,所述乘车账单信息包括所述乘客的特征矩阵、出发地及出发时间、目的地及到达时间、行驶时间、乘车费用、车内表现行为的评价信息、无人车SN编号;The first generation module is used to generate the passenger's ride bill information after driving the passenger to the destination. The ride bill information includes the passenger's feature matrix, departure place and departure time, and destination. And arrival time, driving time, ride cost, evaluation information of in-car behavior, and unmanned vehicle SN number;

扣除模块,用于发送所述乘客的乘车账单信息至所述区块链,以触发所述区块链执行智能合约,使得所述区块链共识验证所述乘客账单信息后,从所述乘客的数字钱包扣除所述乘车费用;The deduction module is used to send the passenger's ride bill information to the blockchain to trigger the blockchain to execute the smart contract, so that after the blockchain consensus verifies the passenger bill information, it will deduct the passenger bill information from the blockchain. The passenger’s digital wallet debits the said ride fee;

呈现模块,用于向所述乘客呈现所述区块链返回的乘车账单信息;A presentation module, configured to present the ride bill information returned by the blockchain to the passenger;

录入模块,用于当获取到所述乘客发送的账单确认信息后,发送所述账单确认信息至所述区块链,以触发所述区块链执行智能合约,使得所述区块链共识验证所述账单确认信息后,将所述账单确认信息及所述乘客账单信息打包在相同区块内,并将所述区块录入所述区块链中。The input module is used to, after obtaining the bill confirmation information sent by the passenger, send the bill confirmation information to the blockchain to trigger the execution of the smart contract on the blockchain so that the blockchain consensus verification After the bill confirmation information is received, the bill confirmation information and the passenger bill information are packaged in the same block, and the block is entered into the blockchain.

在一些实施例中,所述装置还包括:In some embodiments, the device further includes:

第四控制模块,用于当获取到所述区块链发送的区块录入信息时,控制所述无人车打开车门。The fourth control module is used to control the unmanned vehicle to open the door when the block entry information sent by the blockchain is obtained.

在一些实施例中,所述计算模块包括:In some embodiments, the computing module includes:

第二提取单元,用于根据语义算法,从所述车内表现行为的评价信息提取出每个评价关键词,其中,每个所述评价关键词皆对应一个信用值;The second extraction unit is configured to extract each evaluation keyword from the evaluation information of the in-car performance behavior based on a semantic algorithm, where each evaluation keyword corresponds to a credit value;

累加单元,用于累加所述评价信息中每个评价关键词的信用值,得到所述乘客的信用第二提取单元,用于得分。An accumulation unit is used to accumulate the credit value of each evaluation keyword in the evaluation information to obtain a second extraction unit of the passenger's credit for scoring.

在一些实施例中,所述装置还包括:In some embodiments, the device further includes:

第二生成模块,用于当获取到所述区块链发送的用于指示所述乘客未注册无人打车账号的检测信息时,生成第二提示信息,所述第二提示信息用于提示所述乘客需注册无人打车账号;The second generation module is configured to generate second prompt information when the detection information sent by the blockchain indicating that the passenger has not registered an unmanned taxi account is obtained, and the second prompt information is used to prompt the passenger to The above passengers need to register an unmanned taxi account;

建立模块,用于当获取到所述乘客发送的注册确认信息时,根据所述特征矩阵,建立属于所述乘客的数字钱包,所述数字钱包包括账户地址、公钥及私钥。An establishment module, configured to establish a digital wallet belonging to the passenger according to the characteristic matrix when the registration confirmation information sent by the passenger is obtained. The digital wallet includes an account address, a public key and a private key.

第四方面,本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使无人车能够执行如上任一项所述的基于区块链的无人车载客方法。In a fourth aspect, embodiments of the present invention provide a non-volatile computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to enable an unmanned vehicle to execute Blockchain-based unmanned vehicle passenger carrying method as described in any of the above items.

第五方面,本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使无人车执行如上任一项所述的基于区块链的无人车载客方法。In a fifth aspect, embodiments of the present invention also provide a computer program product. The computer program product includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions. When the When the program instructions are executed by the computer, the unmanned vehicle will execute the blockchain-based unmanned vehicle passenger carrying method as described in any of the above items.

本发明实施例的有益效果是:区别于现有技术的情况下,本发明实施例提供的一种基于区块链的无人车载客方法及无人车,通过获取乘客的人脸图像,发送人脸图像至区块链,以使区块链根据人脸图像,搜索乘客的区块数据,区块数据携带乘客的历史乘车记录,根据乘客的历史乘车记录,计算乘客的信用得分,当信用得分大于或等于预设信用阈值时,控制无人车打开车门,因此,本发明实施例能够规范乘客的乘车行为,便于无人车的载客管理。The beneficial effects of the embodiments of the present invention are: different from the existing technology, the embodiments of the present invention provide a blockchain-based unmanned vehicle passenger carrying method and the unmanned vehicle, by acquiring the passenger's face image, sending The face image is transferred to the blockchain so that the blockchain can search the passenger's block data based on the face image. The block data carries the passenger's historical ride record and calculates the passenger's credit score based on the passenger's historical ride record. When the credit score is greater than or equal to the preset credit threshold, the unmanned vehicle is controlled to open the door. Therefore, the embodiment of the present invention can regulate the passenger's riding behavior and facilitate the passenger management of the unmanned vehicle.

附图说明Description of drawings

一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings. These illustrative illustrations do not constitute limitations to the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings are not intended to be limited to scale.

图1是本发明实施例提供的一种区块链网络的架构模型示意图;Figure 1 is a schematic diagram of an architectural model of a blockchain network provided by an embodiment of the present invention;

图2是本发明实施例提供的一种区块链系统的结构示意图;Figure 2 is a schematic structural diagram of a blockchain system provided by an embodiment of the present invention;

图3是本发明实施例提供的其中一种基于区块链的无人车载客方法的方法流程图;Figure 3 is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by the embodiment of the present invention;

图4是图3中步骤S32的其中一种方法流程图;Figure 4 is a method flow chart of step S32 in Figure 3;

图5是图3中步骤S33的其中一种方法流程图;Figure 5 is a method flow chart of step S33 in Figure 3;

图6是本发明实施例提供的其中一种基于区块链的无人车载客方法的方法流程图;Figure 6 is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by the embodiment of the present invention;

图7图6中步骤S43的其中一种方法流程图;Figure 7 is a flow chart of one of the methods in step S43 in Figure 6;

图8是本发明实施例提供的其中一种基于区块链的无人车载客方法的方法流程图;Figure 8 is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by the embodiment of the present invention;

图9是本发明实施例提供的基于图3-图8的其中一种基于区块链的无人车载客方法的方法流程图;Figure 9 is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by the embodiment of the present invention based on Figures 3-8;

图10是本发明实施例提供的基于图9的其中一种基于区块链的无人车载客方法的方法流程图;Figure 10 is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods based on Figure 9 provided by the embodiment of the present invention;

图11是本发明实施例提供的基于图3-图8的其中一种基于区块链的无人车载客方法的方法流程图;Figure 11 is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by the embodiment of the present invention based on Figures 3-8;

图12是本发明实施例提供的其中一种基于区块链的无人车载客装置的结构示意图;Figure 12 is a schematic structural diagram of one of the blockchain-based unmanned vehicle passenger devices provided by the embodiment of the present invention;

图13是本发明实施例提供的其中一种基于区块链的无人车载客装置的结构示意图;Figure 13 is a schematic structural diagram of one of the blockchain-based unmanned vehicle passenger devices provided by the embodiment of the present invention;

图14是本发明实施例提供的一种无人车的结构示意图;Figure 14 is a schematic structural diagram of an unmanned vehicle provided by an embodiment of the present invention;

图15是本发明实施例提供的其中一种基于区块链的无人车载客方法的方法流程图。Figure 15 is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by the embodiment of the present invention.

具体实施方式Detailed ways

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

需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。另外,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。It should be noted that although the functional modules are divided in the device schematic diagram and the logical sequence is shown in the flow chart, in some cases, the modules can be divided into different modules in the device or the order in the flow chart can be executed. The steps shown or described. In addition, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

请参阅图1,图1是本发明实施例提供一种区块链网络的架构模型示意图。如图1所示,该区块链网络100包括数据层11、网络层12、共识层13以及智能合约层14。Please refer to Figure 1. Figure 1 is a schematic diagram of an architectural model of a blockchain network provided by an embodiment of the present invention. As shown in Figure 1, the blockchain network 100 includes a data layer 11, a network layer 12, a consensus layer 13 and a smart contract layer 14.

数据层11封装了底层数据区块以及相关的数据加密和时间戳等基础数据和基本算法。网络层12包括分布式组网机制、数据传播机制和数据验证机制等等。共识层13封装网络节点的各类共识算法。智能合约层14封装各类脚本、算法和智能合约。Data layer 11 encapsulates the underlying data blocks and related basic data and basic algorithms such as data encryption and timestamps. Network layer 12 includes distributed networking mechanism, data dissemination mechanism, data verification mechanism, etc. Consensus layer 13 encapsulates various consensus algorithms of network nodes. Smart contract layer 14 encapsulates various scripts, algorithms and smart contracts.

本发明实施例的基于区块链的无人车载客方法,可以在与任何合适类型、具有运算能力的区块链节点通信连接的无人车中执行,区块链节点包括服务器、台式计算机、智能手机、平板电脑以及其他电子产品等。其中,此处的服务器可以是一个物理服务器或者多个物理服务器虚拟而成的一个逻辑服务器。服务器也可以是多个可互联通信的服务器组成的服务器群,且各个功能模块可分别分布在服务器群中的各个服务器上。The blockchain-based method for carrying passengers in an unmanned vehicle according to the embodiment of the present invention can be executed in an unmanned vehicle that is communicatively connected to any suitable type of blockchain node with computing capabilities. The blockchain node includes a server, a desktop computer, Smartphones, tablets and other electronic products, etc. The server here may be a physical server or a logical server virtualized by multiple physical servers. The server can also be a server group composed of multiple servers that can communicate with each other, and each functional module can be distributed on each server in the server group.

本发明实施例提供的区块链包括诸如公有区块链(Public Block Chains)、联合区块链(Consortium Block Chains)及私有区块链(Private Block Chains)。Blockchains provided by embodiments of the present invention include, for example, public block chains (Public Block Chains), consortium block chain (Consortium Block Chains) and private block chain (Private Block Chains).

请参阅图2,是本发明实施例提供的一种区块链系统的结构示意图。如图2所示,所述区块链系统200包括无人车10、客户端20、普通节点21、代理节点22及共识节点23。Please refer to Figure 2, which is a schematic structural diagram of a blockchain system provided by an embodiment of the present invention. As shown in FIG. 2 , the blockchain system 200 includes an unmanned vehicle 10 , a client 20 , an ordinary node 21 , an agent node 22 and a consensus node 23 .

无人车10与普通节点21通讯连接,客户端20与普通节点21通讯连接,普通节点21与代理节点22通讯连接,代理节点22还与共识节点23通讯连接。其中,各个区块链节点之间的通讯支持点对点通讯方式(Point to point communication,P2P)。The unmanned vehicle 10 is communicatively connected with the ordinary node 21, the client 20 is communicatively connected with the ordinary node 21, the ordinary node 21 is communicatively connected with the agent node 22, and the agent node 22 is also communicatively connected with the consensus node 23. Among them, the communication between various blockchain nodes supports point-to-point communication (P2P).

无人车10用于获取乘客的人脸图像,发送所述人脸图像至所述普通节点21,以使所述普通节点21所属区块链根据所述人脸图像,搜索所述乘客的区块数据,所述区块数据携带所述乘客的历史乘车记录,并且,根据所述乘客的历史乘车记录,计算所述乘客的信用得分,当所述信用得分大于或等于预设信用阈值时,控制所述无人车10打开车门。The unmanned vehicle 10 is used to obtain the face image of the passenger and send the face image to the ordinary node 21 so that the blockchain to which the ordinary node 21 belongs searches the passenger's area based on the face image. Block data, the block data carries the passenger's historical ride record, and calculates the passenger's credit score based on the passenger's historical ride record. When the credit score is greater than or equal to the preset credit threshold When, the unmanned vehicle 10 is controlled to open the door.

客户端20用于发送载客预约请求。客户端20配置有各类电学组件,诸如控制器、摄像组件、音频组件等等。无人车10还用于判断是否接收到载客预约请求,若是,根据所述载客预约请求,控制所述无人车10行驶至预约地点;若否,获取所述无人车10所在车道两旁的用户点云。The client 20 is used to send a passenger reservation request. The client 20 is configured with various electrical components, such as controllers, camera components, audio components, etc. The unmanned vehicle 10 is also used to determine whether it has received a passenger reservation request. If so, control the unmanned vehicle 10 to drive to the reservation location according to the passenger reservation request; if not, obtain the lane where the unmanned vehicle 10 is located. User point clouds on both sides.

普通节点21持有流通的电子货币,在区块链系统200中拥有投票选举的权利。普通节点21可以进行相关交易操作,但是没有区块的打包记账权,只能从拥有打包记账权的相关节点处同步记录区块数据。Ordinary nodes 21 hold circulating electronic currencies and have the right to vote in the blockchain system 200 . Ordinary nodes 21 can perform related transaction operations, but do not have the right to package and record blocks, and can only record block data synchronously from relevant nodes with rights to package and record.

在一些实施例中,普通节点21还可以完成乘客的乘车账单信息的验证工作。In some embodiments, the ordinary node 21 can also complete the verification of the passenger's ride bill information.

代理节点22编写有智能合约代码,普通节点21向代理节点22发送区块的原始数据,触发代理节点22的智能合约,使得代理节点的智能合约执行原始区块数据。其中,普通节点21维护有智能合约列表,该智能合约列表记录1能够执行智能合约的各个代理节点名单。每当普通节点21接收到区块的原始数据时,普通节点21调取智能合约列表,从智能合约列表中查找出各个代理节点的地址,并向各个代理节点发送原始区块数据。The agent node 22 is written with smart contract code. The ordinary node 21 sends the original data of the block to the agent node 22, triggering the smart contract of the agent node 22, so that the intelligent contract of the agent node executes the original block data. Among them, the ordinary node 21 maintains a smart contract list, and the smart contract list records 1 a list of each agent node that can execute the smart contract. Whenever the ordinary node 21 receives the original data of the block, the ordinary node 21 calls the smart contract list, finds the address of each agent node from the smart contract list, and sends the original block data to each agent node.

在本实施例中,代理节点22可以预存多种类型智能合约,其可以根据普通节点21发送的触发请求,解析出智能合约的执行类型。代理节点22再根据解析出的智能合约的执行类型,执行对应的智能合约。In this embodiment, the agent node 22 can pre-store multiple types of smart contracts, and it can parse the execution type of the smart contract based on the trigger request sent by the ordinary node 21 . The agent node 22 then executes the corresponding smart contract according to the parsed execution type of the smart contract.

当某个代理节点陷入故障,其余代理节点将该某个代理节点的地址广播至全网,普通节点21监测到该广播信息,并更新智能合约列表,后续发送区块的原始数据时,普通节点21不向该某个代理节点22发送数据,以提高工作效率。When an agent node fails, the other agent nodes broadcast the address of the agent node to the entire network. The ordinary node 21 monitors the broadcast information, updates the smart contract list, and subsequently sends the original data of the block. 21 does not send data to the certain agent node 22 to improve work efficiency.

智能合约的代码是根据业务场景逻辑编写的,例如,在无人车载客的应用场景中,智能合约可以用于验证乘客的乘车账单信息。The code of the smart contract is written based on the business scenario logic. For example, in the application scenario of unmanned vehicles carrying passengers, the smart contract can be used to verify the passenger's ride bill information.

代理节点22根据智能合约执行原始区块数据后,输出待验证的区块数据。接着,代理节点22还将待验证的区块数据作签名,并将签名后的区块数据打包发送至共识节点23。共识节点23利用代理节点22的公钥验证签名后的区块数据,若验证成功,则认为该签名后的区块数据是合法代理节点22发送的,后续接着对该区块数据进行共识处理。若验证未成功,则认为该签名后的区块数据是非法代理节点22发送的。例如,代理节点22使用自身私钥对当前区块的哈希内容作签名运算,得到该签名。After the agent node 22 executes the original block data according to the smart contract, it outputs the block data to be verified. Next, the agent node 22 also signs the block data to be verified, and packages the signed block data and sends it to the consensus node 23 . The consensus node 23 uses the public key of the proxy node 22 to verify the signed block data. If the verification is successful, it is considered that the signed block data is sent by the legitimate proxy node 22, and then consensus processing is performed on the block data. If the verification is unsuccessful, the signed block data is considered to be sent by the illegal proxy node 22. For example, the proxy node 22 uses its own private key to perform a signature operation on the hash content of the current block to obtain the signature.

共识节点23用于共识验证代理节点22上传的区块数据。其中,共识节点23可以支持以下任意一种共识算法:工作量证明(Proof of Work,PoW)、权益证明(Proof of Stake,POS)、股份授权证明(Delegate proof of Stake,DPoS)、实用拜占庭容错(practicalByzantine Fault Tolerance,PBFT)、授权拜占庭容错(Delegated Byzantine FaultTolerance,DBFT)等等。The consensus node 23 is used for consensus verification of the block data uploaded by the proxy node 22. Among them, the consensus node 23 can support any of the following consensus algorithms: Proof of Work (PoW), Proof of Stake (POS), Delegate proof of Stake (DPoS), Practical Byzantine Fault Tolerance (practicalByzantine Fault Tolerance, PBFT), authorized Byzantine Fault Tolerance (Delegated Byzantine Fault Tolerance, DBFT) and so on.

每个共识节点23皆需要在代理节点22注册,待注册成功后,该共识节点便为合法共识节点。注册过程如下:Each consensus node 23 needs to be registered with the agent node 22. After the registration is successful, the consensus node will be a legal consensus node. The registration process is as follows:

1、共识节点23向代理节点22提交注册信息。1. The consensus node 23 submits the registration information to the agent node 22.

其中,该注册信息包括以下一种或多种信息:共识节点23的设备序列号SN、用户信息及矿工钱包地址。The registration information includes one or more of the following information: the device serial number SN of the consensus node 23, user information, and miner wallet address.

2、代理节点22对注册信息进行检查。2. The agent node 22 checks the registration information.

检查过程包括:检测SN编号格式是否正确、SN是否存在数据库中、SN是否已被绑定了其他用户等等。The checking process includes: checking whether the SN number format is correct, whether the SN exists in the database, whether the SN has been bound to other users, etc.

3、代理节点22记录注册信息。3. The agent node 22 records registration information.

4、代理节点22将注册结果返回给共识节点23。4. The agent node 22 returns the registration result to the consensus node 23.

5、代理节点22将新的注册数据广播至区块链系统200。5. The agent node 22 broadcasts the new registration data to the blockchain system 200 .

在上述区块链系统200中,区块是用于存储乘客的历史乘车记录的载体,每个区块皆包含区块头与区块体,区块头记载的信息用于标识区块本身、前一个区块的信息摘要以及区块在整个账本中的位置。区块体用于存储乘客的历史乘车记录以及验证交易信息并保存交易不被篡改。In the above-mentioned blockchain system 200, blocks are carriers used to store historical ride records of passengers. Each block includes a block header and a block body. The information recorded in the block header is used to identify the block itself, the previous A summary of the information about a block and its location in the entire ledger. The block body is used to store passengers’ historical ride records, verify transaction information, and save transactions from being tampered with.

区块链为将每个区块按照生成时间的顺序逐个连接起来,便形成了一个链式的数据存储结构。在整个区块链中,第一个区块称为创世区块,其区块高度为0,之后的每个区块的区块高度依次加1,并且在区块头中写入前一个区块头的哈希值。区块链上的各个区块之间由各个区块上的上一个区块头哈希值进行链接。The blockchain forms a chained data storage structure by connecting each block one by one in the order of generation time. In the entire blockchain, the first block is called the genesis block, and its block height is 0. The block height of each subsequent block is increased by 1, and the previous area is written in the block header. The hash value of the block header. Each block on the blockchain is linked by the hash value of the previous block header on each block.

因此,区块链具有不可篡改性。基于此,本发明实施例提供一种基于区块链的无人车载客方法,基于区块链的无人车载客方法应用于无人车。Therefore, blockchain is immutable. Based on this, embodiments of the present invention provide a blockchain-based method for carrying passengers in an unmanned vehicle. The blockchain-based method for carrying passengers in an unmanned vehicle is applied to unmanned vehicles.

请参阅图3,是本发明实施例提供的其中一种基于区块链的无人车载客方法的方法流程图。如图3所示,所述基于区块链的无人车载客方法S300包括:Please refer to Figure 3, which is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by an embodiment of the present invention. As shown in Figure 3, the blockchain-based unmanned vehicle passenger carrying method S300 includes:

S31、获取乘客的人脸图像。S31. Obtain the passenger's face image.

可以理解,所述无人车上安装有若干个摄像头,所述若干个摄像头用于采集所述无人车所行使道路两旁的乘客的人脸图像。It can be understood that the unmanned vehicle is equipped with several cameras, and the several cameras are used to collect face images of passengers on both sides of the road on which the unmanned vehicle travels.

S32、发送所述人脸图像至所述区块链,以使所述区块链根据所述人脸图像,搜索所述乘客的区块数据,所述区块数据携带所述乘客的历史乘车记录。S32. Send the face image to the blockchain, so that the blockchain searches for the passenger's block data based on the face image. The block data carries the passenger's historical times. Car records.

在一些实施例中,请参阅图4,是图3中步骤S32的其中一种方法流程图。基于图3所示的方法,所述发送所述人脸图像至所述区块链,以使所述区块链根据所述人脸图像,搜索所述乘客的区块数据包括:In some embodiments, please refer to FIG. 4 , which is a method flow chart of step S32 in FIG. 3 . Based on the method shown in Figure 3, sending the face image to the blockchain so that the blockchain searches the passenger's block data based on the face image includes:

S321、根据图像分析算法,从所述人脸图像提取出特征矩阵;S321. Extract a feature matrix from the face image according to the image analysis algorithm;

S322、发送所述特征矩阵至所述区块链,以使所述区块链搜索出包含所述特征矩阵的区块数据。S322. Send the feature matrix to the blockchain, so that the blockchain searches for block data containing the feature matrix.

其中,所述区块链搜索出包含所述特征矩阵的区块数据为同一乘客产生的存储于所述区块链的所有历史乘车记录。S33、根据所述乘客的历史乘车记录,计算所述乘客的信用得分。Wherein, the blockchain searches out that the block data containing the feature matrix are all historical ride records generated by the same passenger and stored in the blockchain. S33. Calculate the credit score of the passenger based on the passenger's historical riding record.

在一些实施例中,请参阅图5,是图3中步骤S33的其中一种方法流程图。基于图3所示的方法,所述根据所述乘客的历史乘车记录,计算所述乘客的信用得分包括:In some embodiments, please refer to FIG. 5 , which is a method flow chart of step S33 in FIG. 3 . Based on the method shown in Figure 3, calculating the credit score of the passenger based on the passenger's historical riding record includes:

S331、根据语义算法,从所述车内表现行为的评价信息提取出每个评价关键词,其中,每个所述评价关键词皆对应一个信用值。S331. According to the semantic algorithm, extract each evaluation keyword from the evaluation information of the in-car performance behavior, where each evaluation keyword corresponds to a credit value.

S332、累加所述评价信息中每个评价关键词的信用值,得到所述乘客的信用得分。S332: Accumulate the credit value of each evaluation keyword in the evaluation information to obtain the credit score of the passenger.

其中,所述评价关键词预先存储于所述无人车,所述评价关键词用于评价所述乘客的某一类乘车行为,例如,以乘车行为包括逃票行为为例,相应地,所述评价关键词包括从未逃票、较少逃票、经常逃票等。S34、当所述信用得分大于或等于预设信用阈值时,控制所述无人车打开车门。Wherein, the evaluation keywords are pre-stored in the unmanned vehicle, and the evaluation keywords are used to evaluate a certain type of riding behavior of the passenger. For example, taking the riding behavior including fare evasion behavior as an example, accordingly, The evaluation keywords include never evading fares, rarely evading fares, often evading fares, etc. S34. When the credit score is greater than or equal to the preset credit threshold, control the unmanned vehicle to open the door.

可以理解,每个所述评价关键词皆对应一个信用值,累加所述评价信息中每个评价关键词的信用值,得到所述乘客的信用得分,所述信用得分可全面评价所述乘客的乘车行为,基于所述信用得分,控制所述无人车的车门,以此决定所述乘客是否具有乘车资格。从而,通过一种公开的、严格的方式,在一定程度上规范了乘客的乘车行为,便于无人车的载客管理。It can be understood that each evaluation keyword corresponds to a credit value. The credit value of each evaluation keyword in the evaluation information is accumulated to obtain the credit score of the passenger. The credit score can comprehensively evaluate the passenger's credit score. The riding behavior, based on the credit score, controls the door of the unmanned vehicle to determine whether the passenger is qualified to ride. Therefore, through an open and strict method, the riding behavior of passengers is regulated to a certain extent, which facilitates the passenger management of unmanned vehicles.

在一些实施例中,请参阅图6,是本发明实施例提供的其中一种基于区块链的无人车载客方法的方法流程图。基于图3所示的方法,在获取乘客的人脸图像之前,所述基于区块链的无人车载客方法S400还包括:In some embodiments, please refer to FIG. 6 , which is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by an embodiment of the present invention. Based on the method shown in Figure 3, before acquiring the face image of the passenger, the blockchain-based unmanned vehicle passenger carrying method S400 also includes:

S41、获取所述无人车所在车道两旁的用户点云。S41. Obtain user point clouds on both sides of the lane where the unmanned vehicle is located.

S42、基于深度学习模型,从所述用户点云提取出用户姿态。S42. Based on the deep learning model, extract the user posture from the user point cloud.

S43、若所述用户姿态匹配预设叫车姿态,则控制所述无人车行驶至与所述用户姿态匹配的乘客所在位置。S43. If the user's posture matches the preset taxi-calling posture, control the unmanned vehicle to drive to the location of the passenger that matches the user's posture.

可见,本发明实施例通过对所述用户姿态匹配预设叫车姿态进行匹配,可精确识别需要叫车的乘客,避免了无人车混淆行人与乘客的问题,提升了无人车载客的可靠性。It can be seen that the embodiment of the present invention can accurately identify the passengers who need to call a car by matching the user posture with the preset car-hailing posture, avoiding the problem of unmanned vehicles confusing pedestrians and passengers, and improving the reliability of unmanned vehicles carrying passengers. sex.

在一些实施例中,所述无人车安装有显示屏。请参阅图7,其示出了图6中步骤S43的其中一种方法流程图,基于图6所示的方法,所述控制所述无人车行驶至与所述用户姿态匹配的乘客所在位置包括:In some embodiments, the unmanned vehicle is equipped with a display screen. Please refer to Figure 7, which shows a method flow chart of step S43 in Figure 6. Based on the method shown in Figure 6, the unmanned vehicle is controlled to drive to the location of the passenger that matches the user posture. include:

S431、判断所述用户姿态与所述预设叫车姿态匹配的乘客所在位置是否处于违停区域。S431. Determine whether the location of the passenger whose posture matches the preset taxi-calling posture is in an illegal parking area.

S432、若是,追踪所述乘客,并在所述显示屏呈现第一提示信息,所述第一提示信息用于提示所述乘客前往指定区域乘车。S432. If yes, track the passenger and present the first prompt information on the display screen. The first prompt information is used to prompt the passenger to go to the designated area to take the bus.

S433、若否,控制所述无人车行驶至所述乘客的所在位置。S433. If not, control the unmanned vehicle to drive to the location of the passenger.

在一些情况下,虽然所述乘客的所述用户姿态与所述预设叫车姿态匹配,但所述乘客的位置处于违停区域,导致所述无人车无法行进至所述位置搭载所述乘客。违停区域的空间有限,例如公交车站等,所述无人车在其显示屏呈现第一提示信息,提示所述乘客前往指定区域乘车,所述乘客移动至违停区域外,同时,所述无人车追踪所述乘客,行驶至所述乘客的所在位置,从而,避免了在无人车在违停区域无法搭载乘客的问题,提升了无人车载客的灵活性。在一些实施例中,请参阅图8,是本发明实施例提供的其中一种基于区块链的无人车载客方法的方法流程图,在获取所述无人车所在车道两旁的用户点云之前,基于区块链的无人车载客方法S500还包括:In some cases, although the user posture of the passenger matches the preset taxi-hailing posture, the passenger's location is in an illegal parking area, resulting in the unmanned vehicle being unable to travel to the location to pick up the vehicle. passenger. The space in the illegal parking area is limited, such as a bus station, etc., the unmanned vehicle displays a first prompt message on its display screen, prompting the passenger to go to the designated area to take the bus, and the passenger moves outside the illegal parking area, and at the same time, The unmanned vehicle tracks the passenger and drives to the passenger's location, thereby avoiding the problem of the unmanned vehicle being unable to carry passengers in illegally parked areas and improving the flexibility of the unmanned vehicle in carrying passengers. In some embodiments, please refer to Figure 8, which is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by the embodiment of the present invention. After obtaining the user point clouds on both sides of the lane where the unmanned vehicle is located, Previously, the blockchain-based unmanned vehicle passenger method S500 also included:

S51、判断是否接收到载客预约请求。S51. Determine whether a passenger reservation request is received.

S52、若是,根据所述载客预约请求,控制所述无人车行驶至预约地点。S52. If yes, control the unmanned vehicle to drive to the reservation location according to the passenger reservation request.

S53、若否,进入获取所述无人车所在车道两旁的用户点云的步骤。S53. If not, enter the step of obtaining user point clouds on both sides of the lane where the unmanned vehicle is located.

在本实施例中,无人车至少包括基于终端设备发送的载客预约请求,或者基于判断所述无人车所在车道两旁的用户是否为意愿乘客,控制所述无人车行驶至预约地点,以搭载乘客。在以上两种方式中,由于基于终端设备发送的载客预约请求的判断方式更为直接可靠,处理开销更小,故而,基于终端设备发送的载客预约请求的优先级高于基于判断所述无人车所在车道两旁的用户是否为意愿乘客的方式。In this embodiment, the unmanned vehicle at least controls the unmanned vehicle to drive to the reservation location based on a passenger reservation request sent by the terminal device, or based on determining whether the users on both sides of the lane where the unmanned vehicle is located are willing passengers. to carry passengers. Among the above two methods, since the judgment method based on the passenger reservation request sent by the terminal device is more direct and reliable, and the processing overhead is smaller, therefore, the priority of the passenger reservation request sent by the terminal device is higher than that based on the judgment method. Whether the users on both sides of the lane where the autonomous vehicle is located are willing passengers.

在一些实施例中,请参阅图9和图15,本发明实施例提供的基于图3-图8的其中一种基于区块链的无人车载客方法的方法流程图。如图9所示,所述基于区块链的无人车载客方法S600还包括:In some embodiments, please refer to FIG. 9 and FIG. 15 , which is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided by the embodiment of the present invention based on FIGS. 3 to 8 . As shown in Figure 9, the blockchain-based unmanned vehicle passenger carrying method S600 also includes:

S61、当驾驶所述乘客行驶至目的地后,生成所述乘客的乘车账单信息,所述乘车账单信息包括所述乘客的特征矩阵、出发地及出发时间、目的地及到达时间、行驶时间、乘车费用、车内表现行为的评价信息、无人车SN编号。S61. After driving the passenger to the destination, generate the passenger's ride bill information. The ride bill information includes the passenger's feature matrix, departure place and departure time, destination and arrival time, travel time Time, ride cost, evaluation information of behavior in the car, and unmanned vehicle SN number.

S62、发送所述乘客的乘车账单信息至所述区块链,以触发所述区块链执行智能合约,使得所述区块链共识验证所述乘客账单信息后,从所述乘客的数字钱包扣除所述乘车费用。S62. Send the passenger's ride bill information to the blockchain to trigger the blockchain to execute the smart contract, so that after the blockchain consensus verifies the passenger bill information, the passenger's digital The wallet deducts the cost of said ride.

S63、向所述乘客呈现所述区块链返回的乘车账单信息。S63. Present the ride bill information returned by the blockchain to the passenger.

S64、当获取到所述乘客发送的账单确认信息后,发送所述账单确认信息至所述区块链,以触发所述区块链执行智能合约,使得所述区块链共识验证所述账单确认信息后,将所述账单确认信息及所述乘客账单信息打包在相同区块内,并将所述区块录入所述区块链中。S64. After obtaining the bill confirmation information sent by the passenger, send the bill confirmation information to the blockchain to trigger the blockchain to execute the smart contract so that the blockchain consensus verifies the bill. After confirming the information, the bill confirmation information and the passenger bill information are packaged in the same block, and the block is entered into the blockchain.

可以理解,本实施例完成了所述乘客的历史乘车记录的采集,所述乘车账单信息组成所述乘客的历史乘车记录。依据所述乘客的所有乘车账单信息,可计算所述乘客的信用得分,所述信用得分可用于评价所述用户的乘车行为。在一些实施例中,根据所述乘车账单信息,还可智能化推测所述乘客的喜好路线、职业地点等。在一些实施例中,请参阅图10,是本发明实施例提供的基于图9的其中一种基于区块链的无人车载客方法的方法流程图。请参阅图10,所述基于区块链的无人车载客方法S700还包括:It can be understood that this embodiment completes the collection of the passenger's historical ride record, and the ride bill information constitutes the passenger's historical ride record. Based on all ride bill information of the passenger, the passenger's credit score can be calculated, and the credit score can be used to evaluate the user's ride behavior. In some embodiments, based on the ride bill information, the passenger's preferred route, workplace, etc. can also be intelligently inferred. In some embodiments, please refer to FIG. 10 , which is a method flow chart of one of the blockchain-based unmanned vehicle passenger carrying methods provided in FIG. 9 according to an embodiment of the present invention. Please refer to Figure 10. The blockchain-based unmanned vehicle passenger carrying method S700 also includes:

S71、当获取到所述区块链发送的区块录入信息时,控制所述无人车打开车门。S71. When the block entry information sent by the blockchain is obtained, control the unmanned vehicle to open the door.

上述步骤为乘客下车步骤,当所述乘客完成预定行程,并且,完成订单支付且更新其历史乘车记录,控制所述无人车打开车门,以使所述乘客下车,结束所述无人车的该次载客。The above step is the step of getting the passenger off. When the passenger completes the scheduled itinerary, completes the order payment and updates his historical riding record, the unmanned vehicle is controlled to open the door so that the passenger gets off, ending the unmanned vehicle. The vehicle carries passengers this time.

在一些实施例中,请参阅图11,是本发明实施例提供的基于图3-图8是我其中一种基于区块链的无人车载客方法的方法流程图。如图11所示,基于区块链的无人车载客方法S800还包括:In some embodiments, please refer to Figure 11, which is a method flow chart based on Figures 3 to 8 provided by an embodiment of the present invention, which is one of my methods for carrying passengers in an unmanned vehicle based on blockchain. As shown in Figure 11, the blockchain-based unmanned vehicle passenger carrying method S800 also includes:

S81、当获取到所述区块链发送的用于指示所述乘客未注册无人打车账号的检测信息时,生成第二提示信息,所述第二提示信息用于提示所述乘客需注册无人打车账号。S81. When the detection information sent by the blockchain indicating that the passenger has not registered an unmanned taxi account is obtained, the second prompt information is generated. The second prompt information is used to prompt the passenger to register an unmanned taxi account. Taxi account.

S82、当获取到所述乘客发送的注册确认信息时,根据所述特征矩阵,建立属于所述乘客的数字钱包,所述数字钱包包括账户地址、公钥及私钥。S82. When the registration confirmation information sent by the passenger is obtained, establish a digital wallet belonging to the passenger according to the characteristic matrix. The digital wallet includes an account address, a public key and a private key.

其中,私钥作为数字钱包的支付凭证,乘客输入私钥后,基于加密算法,生成公钥,以使区块链验证该次支付的真实性,验证成功后,所述数字钱包自动扣除相应的款项,其中,所述公钥携带所述数字钱包的账户地址信息和私钥信息。Among them, the private key is used as the payment voucher of the digital wallet. After the passenger inputs the private key, a public key is generated based on the encryption algorithm so that the blockchain can verify the authenticity of the payment. After the verification is successful, the digital wallet automatically deducts the corresponding Payment, wherein the public key carries the account address information and private key information of the digital wallet.

本发明实施例提供的一种基于区块链的无人车载客方法,通过获取乘客的人脸图像,发送人脸图像至区块链,以使区块链根据人脸图像,搜索乘客的区块数据,区块数据携带乘客的历史乘车记录,根据乘客的历史乘车记录,计算乘客的信用得分,当信用得分大于或等于预设信用阈值时,控制无人车打开车门,因此,本发明实施例能够规范乘客的乘车行为,便于无人车的载客管理。An embodiment of the present invention provides a method for carrying passengers in an unmanned vehicle based on blockchain, by obtaining the face image of the passenger and sending the face image to the blockchain, so that the blockchain can search the passenger's area based on the face image. Block data. The block data carries the passenger's historical ride record. Based on the passenger's historical ride record, the passenger's credit score is calculated. When the credit score is greater than or equal to the preset credit threshold, the unmanned vehicle is controlled to open the door. Therefore, this The embodiments of the invention can standardize the riding behavior of passengers and facilitate passenger management of unmanned vehicles.

请参阅图12,是本发明实施例提供的其中一种基于区块链的无人车载客装置的结构示意图。如图12所示,所述基于区块链的无人车载客装置300包括第一获取模块301、发送模块302、计算模块303以及第一控制模块304。Please refer to FIG. 12 , which is a schematic structural diagram of one of the blockchain-based unmanned vehicle passenger-carrying devices provided by an embodiment of the present invention. As shown in Figure 12, the blockchain-based unmanned vehicle passenger device 300 includes a first acquisition module 301, a sending module 302, a calculation module 303 and a first control module 304.

所述第一获取模块301用于获取乘客的人脸图像。The first acquisition module 301 is used to acquire facial images of passengers.

所述发送模块302用于发送所述人脸图像至所述区块链,以使所述区块链根据所述人脸图像,搜索所述乘客的区块数据,所述区块数据携带所述乘客的历史乘车记录。The sending module 302 is used to send the face image to the blockchain, so that the blockchain searches for the block data of the passenger based on the face image, and the block data carries the Describe the passenger’s historical travel records.

在一些实施例中,请参阅图13,所述发送模块302包括第一提取单元3021和发送单元3022。In some embodiments, referring to Figure 13, the sending module 302 includes a first extraction unit 3021 and a sending unit 3022.

所述第一提取单元3021用于根据图像分析算法,从所述人脸图像提取出特征矩阵。The first extraction unit 3021 is configured to extract a feature matrix from the face image according to an image analysis algorithm.

所述发送单元3022用于发送所述特征矩阵至所述区块链,以使所述区块链搜索出包含所述特征矩阵的区块数据。The sending unit 3022 is configured to send the feature matrix to the blockchain, so that the blockchain can search for block data containing the feature matrix.

所述计算模块303用于根据所述乘客的历史乘车记录,计算所述乘客的信用得分。The calculation module 303 is used to calculate the credit score of the passenger based on the passenger's historical ride record.

在一些实施例中,请参阅图13,所述计算模块303包括第二提取单元3031和累加单元3032。In some embodiments, please refer to FIG. 13 , the calculation module 303 includes a second extraction unit 3031 and an accumulation unit 3032.

所述第二提取单元3031用于根据语义算法,从所述车内表现行为的评价信息提取出每个评价关键词,其中,每个所述评价关键词皆对应一个信用值。The second extraction unit 3031 is configured to extract each evaluation keyword from the evaluation information of the in-car performance behavior according to a semantic algorithm, where each evaluation keyword corresponds to a credit value.

所述累加单元3032用于累加所述评价信息中每个评价关键词的信用值,得到所述乘客的信用第二提取单元,用于得分。The accumulation unit 3032 is used to accumulate the credit value of each evaluation keyword in the evaluation information to obtain a second extraction unit of the passenger's credit for scoring.

所述第一控制模块304用于当所述信用得分大于或等于预设信用阈值时,控制所述无人车打开车门。The first control module 304 is used to control the unmanned vehicle to open the door when the credit score is greater than or equal to a preset credit threshold.

请再次参阅图13,是本发明实施例提供的其中一种基于区块链的无人车载客装置的结构示意图。基于图12所阐述的基于区块链的无人车载客装置300,所述基于区块链的无人车载客装置400还包括第二获取模块401、提取模块402、第二控制模块403、判断模块404、第三控制模块405、第一生成模块406、扣除模块407、呈现模块408、录入模块409、第四控制模块410、第二生成模块411以及建立模块412。Please refer to FIG. 13 again, which is a schematic structural diagram of one of the blockchain-based unmanned vehicle passenger devices provided by an embodiment of the present invention. Based on the blockchain-based unmanned vehicle passenger device 300 illustrated in Figure 12, the blockchain-based unmanned vehicle passenger device 400 also includes a second acquisition module 401, an extraction module 402, a second control module 403, a judgment Module 404, third control module 405, first generation module 406, deduction module 407, presentation module 408, entry module 409, fourth control module 410, second generation module 411 and establishment module 412.

在一些实施例中,在获取乘客的人脸图像之前,所述装置400还包括:In some embodiments, before acquiring the passenger's face image, the device 400 further includes:

所述第二获取模块401用于获取所述无人车所在车道两旁的用户点云。The second acquisition module 401 is used to acquire user point clouds on both sides of the lane where the unmanned vehicle is located.

所述提取模块402用于基于深度学习模型,从所述用户点云提取出用户姿态。The extraction module 402 is used to extract user gestures from the user point cloud based on a deep learning model.

所述第二控制模块403用于若所述用户姿态匹配预设叫车姿态,则控制所述无人车行驶至与所述用户姿态匹配的乘客所在位置。The second control module 403 is used to control the unmanned vehicle to drive to the location of the passenger that matches the user's posture if the user's posture matches the preset taxi-calling posture.

在一些实施例中,所述无人车安装有显示屏,所述第二控制模块403包括判断单元4031、追踪显示单元4032以及控制单元4033。In some embodiments, the unmanned vehicle is equipped with a display screen, and the second control module 403 includes a judgment unit 4031, a tracking display unit 4032, and a control unit 4033.

所述判断单元4031用于判断所述用户姿态与所述预设叫车姿态匹配的乘客所在位置是否处于违停区域。The determination unit 4031 is used to determine whether the location of the passenger whose posture matches the preset taxi-calling posture is in an illegal parking area.

所述追踪显示单元4032用于若与所述用户姿态匹配的乘客所在位置处于违停区域,追踪所述乘客,并在所述显示屏呈现第一提示信息,所述第一提示信息用于提示所述乘客前往指定区域乘车。The tracking display unit 4032 is used to track the passenger if the position of the passenger matching the user posture is in an illegal parking area, and present first prompt information on the display screen, and the first prompt information is used to prompt Said passengers go to the designated area to board the bus.

所述控制单元4033用于若与所述用户姿态匹配的乘客所在位置不处于违停区域,控制所述无人车行驶至所述乘客的所在位置。The control unit 4033 is configured to control the unmanned vehicle to drive to the passenger's position if the passenger's position matching the user's posture is not in an illegal parking area.

在一些实施例中,在获取所述无人车所在车道两旁的用户点云之前,所述装置400还包括判断模块404和第三控制模块405。In some embodiments, before acquiring user point clouds on both sides of the lane where the unmanned vehicle is located, the device 400 further includes a judgment module 404 and a third control module 405.

所述判断模块404用于判断是否接收到载客预约请求。The determination module 404 is used to determine whether a passenger reservation request is received.

所述第三控制模块405用于若接收到载客预约请求,根据所述载客预约请求,控制所述无人车行驶至预约地点;若否,进入获取所述无人车所在车道两旁的用户点云的步骤。The third control module 405 is used to, if a passenger reservation request is received, control the unmanned vehicle to drive to the reservation location according to the passenger reservation request; if not, obtain the information on both sides of the lane where the unmanned vehicle is located. Steps for user point cloud.

在一些实施例中,所述装置400还包括第一生成模块406、扣除模块407、呈现模块408以及录入模块409。In some embodiments, the device 400 further includes a first generation module 406, a deduction module 407, a presentation module 408 and an entry module 409.

所述第一生成模块406用于当驾驶所述乘客行驶至目的地后,生成所述乘客的乘车账单信息,所述乘车账单信息包括所述乘客的特征矩阵、出发地及出发时间、目的地及到达时间、行驶时间、乘车费用、车内表现行为的评价信息、无人车SN编号。The first generation module 406 is used to generate the passenger's ride bill information after driving the passenger to the destination. The ride bill information includes the passenger's feature matrix, departure place and departure time, Destination and arrival time, driving time, ride cost, evaluation information of in-car behavior, and unmanned vehicle SN number.

所述扣除模块407用于发送所述乘客的乘车账单信息至所述区块链,以触发所述区块链执行智能合约,使得所述区块链共识验证所述乘客账单信息后,从所述乘客的数字钱包扣除所述乘车费用。The deduction module 407 is used to send the passenger's ride bill information to the blockchain to trigger the blockchain to execute a smart contract, so that after the blockchain consensus verifies the passenger bill information, from The ride fee is deducted from the passenger's digital wallet.

所述呈现模块408用于向所述乘客呈现所述区块链返回的乘车账单信息。The presentation module 408 is used to present the ride bill information returned by the blockchain to the passenger.

所述录入模块409用于当获取到所述乘客发送的账单确认信息后,发送所述账单确认信息至所述区块链,以触发所述区块链执行智能合约,使得所述区块链共识验证所述账单确认信息后,将所述账单确认信息及所述乘客账单信息打包在相同区块内,并将所述区块录入所述区块链中。The entry module 409 is configured to, after obtaining the bill confirmation information sent by the passenger, send the bill confirmation information to the blockchain to trigger the blockchain to execute the smart contract, so that the blockchain After the consensus verifies the bill confirmation information, the bill confirmation information and the passenger bill information are packaged in the same block, and the block is entered into the blockchain.

在一些实施例中,所述装置400还包括第四控制模块410。In some embodiments, the device 400 further includes a fourth control module 410.

所述第四控制模块410用于当获取到所述区块链发送的区块录入信息时,控制所述无人车打开车门。The fourth control module 410 is used to control the unmanned vehicle to open the door when the block entry information sent by the blockchain is obtained.

在一些实施例中,所述装置400还包括第二生成模块411和建立模块412。In some embodiments, the device 400 further includes a second generating module 411 and a establishing module 412.

所述第二生成模块411用于当获取到所述区块链发送的用于指示所述乘客未注册无人打车账号的检测信息时,生成第二提示信息,所述第二提示信息用于提示所述乘客需注册无人打车账号。The second generation module 411 is configured to generate second prompt information when the detection information sent by the blockchain indicating that the passenger has not registered an unmanned taxi account is obtained, and the second prompt information is used to The passengers are reminded that they need to register an unmanned taxi account.

所述建立模块412用于当获取到所述乘客发送的注册确认信息时,根据所述特征矩阵,建立属于所述乘客的数字钱包,所述数字钱包包括账户地址、公钥及私钥。The establishment module 412 is configured to, when obtaining the registration confirmation information sent by the passenger, establish a digital wallet belonging to the passenger according to the feature matrix. The digital wallet includes an account address, a public key and a private key.

本发明实施例提供的一种基于区块链的无人车载客装置,通过第一获取模块获取乘客的人脸图像,发送模块发送人脸图像至区块链,以使区块链根据人脸图像,搜索乘客的区块数据,区块数据携带乘客的历史乘车记录,计算模块根据乘客的历史乘车记录,计算乘客的信用得分,第一控制模块当信用得分大于或等于预设信用阈值时,控制无人车打开车门,因此,本发明实施例能够规范乘客的乘车行为,便于无人车的载客管理。An embodiment of the present invention provides a blockchain-based unmanned vehicle passenger device. The passenger's face image is acquired through the first acquisition module, and the sending module sends the face image to the blockchain, so that the blockchain can be based on the face image. Image, search the passenger's block data, the block data carries the passenger's historical ride record, the calculation module calculates the passenger's credit score based on the passenger's historical ride record, the first control module when the credit score is greater than or equal to the preset credit threshold , the unmanned vehicle is controlled to open the door. Therefore, the embodiment of the present invention can regulate the passenger's riding behavior and facilitate the passenger management of the unmanned vehicle.

请参阅图14,是本发明实施例提供的一种无人车的结构示意图。如图14所示,其示出了能够执行图3至图11中的所述基于区块链的无人车载客方法的无人车的硬件结构,所述无人车10可以是图2所示的无人车10。Please refer to Figure 14, which is a schematic structural diagram of an unmanned vehicle provided by an embodiment of the present invention. As shown in Figure 14, it shows the hardware structure of an unmanned vehicle capable of executing the blockchain-based unmanned vehicle passenger carrying method in Figures 3 to 11. The unmanned vehicle 10 can be the one shown in Figure 2 Autonomous vehicle shown 10.

所述无人车10包括:至少一个处理器101;以及,与所述至少一个处理器101通信连接的存储器102,图14中以其以一个处理器101为例。所述存储器102存储有可被所述至少一个处理器101执行的指令,所述指令被所述至少一个处理器101执行,以使所述至少一个处理器101能够执行上述图3至图11所述的基于区块链的无人车载客方法。The unmanned vehicle 10 includes: at least one processor 101; and a memory 102 communicatively connected to the at least one processor 101. In FIG. 14, one processor 101 is taken as an example. The memory 102 stores instructions that can be executed by the at least one processor 101, and the instructions are executed by the at least one processor 101, so that the at least one processor 101 can perform the above-mentioned steps of FIGS. 3 to 11. The above-mentioned blockchain-based unmanned vehicle passenger carrying method.

所述处理器101和所述存储器102可以通过总线或者其他方式连接,图10中以通过总线连接为例。The processor 101 and the memory 102 may be connected through a bus or other means. In FIG. 10 , the connection through a bus is taken as an example.

存储器102作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中基于区块链的无人车载客方法对应的程序指令/模块,例如,附图12和附图13所示的各个模块。处理器101通过运行存储在存储器102中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例所述的基于区块链的无人车载客方法。As a non-volatile computer-readable storage medium, the memory 102 can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the blockchain-based unmanned vehicle in the embodiment of the present invention. The program instructions/modules corresponding to the guest methods are, for example, the modules shown in Figure 12 and Figure 13. The processor 101 executes various functional applications and data processing of the server by running non-volatile software programs, instructions and modules stored in the memory 102, that is, realizing the blockchain-based unmanned aerial vehicle described in the above method embodiment. Car passenger method.

存储器102可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据基于区块链的无人车载客装置的使用所创建的数据等。此外,存储器102可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器102可选包括相对于处理器101远程设置的存储器,这些远程存储器可以通过网络连接至控制无人车行车的装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program required for at least one function; the storage data area may store data generated according to the use of the blockchain-based unmanned vehicle passenger device. Created data, etc. In addition, the memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 102 may optionally include memories remotely located relative to the processor 101, and these remote memories may be connected to a device for controlling autonomous vehicle driving through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.

所述一个或者多个模块存储在所述存储器102中,当被所述一个或者多个处理器101执行时,执行上述任意方法实施例中的基于区块链的无人车载客方法,例如,执行以上描述的图3至图11的方法步骤,实现图12至图13中的各模块和各单元的功能。The one or more modules are stored in the memory 102, and when executed by the one or more processors 101, execute the blockchain-based unmanned vehicle passenger carrying method in any of the above method embodiments, for example, Execute the above-described method steps of Figures 3 to 11 to realize the functions of each module and unit in Figures 12 to 13.

上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。The above-mentioned products can execute the methods provided by the embodiments of the present invention, and have corresponding functional modules and beneficial effects for executing the methods. For technical details that are not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如,执行以上描述的图3至图11的方法步骤,实现图12至图13中的各模块的功能。Embodiments of the present invention also provide a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example, execute The above-described method steps in Figures 3 to 11 implement the functions of each module in Figures 12 to 13.

本发明实施例还提供了一种计算机程序产品,包括存储在非易失性计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使无人车执行上述任意方法实施例中的基于区块链的无人车载客方法,例如,执行以上描述的图3至图11的方法步骤,实现图12至图13中的各模块的功能。Embodiments of the present invention also provide a computer program product, which includes a computing program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the The driver and vehicle execute the blockchain-based unmanned vehicle passenger carrying method in any of the above method embodiments, for example, execute the method steps of Figures 3 to 11 described above to realize the functions of each module in Figures 12 to 13.

需要说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。It should be noted that the device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physically separate. The unit can be located in one place, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Through the above description of the embodiments, those of ordinary skill in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium, and the program can be stored in a computer-readable storage medium. When executed, the process may include the processes of the above method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (Random Access Memory, RAM), etc.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not to limit it; under the idea of the present invention, the technical features of the above embodiments or different embodiments can also be combined. The steps may be performed in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the invention has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art Skilled persons should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent substitutions for some of the technical features; and these modifications or substitutions do not deviate from the essence of the corresponding technical solutions from the implementation of the present invention. Example scope of technical solutions.

Claims (10)

1. An unmanned vehicular guest method, the method being based on blockchain technology, the method comprising:
acquiring a face image of a passenger, and extracting a feature matrix of the passenger from the face image according to an image analysis algorithm;
after the unmanned vehicle passenger runs to a destination, generating passenger bill information of the passenger, wherein the passenger bill information comprises characteristic matrixes of the passenger, passenger fees and evaluation information of in-vehicle behavior;
sending the riding billing information to a blockchain to trigger the blockchain to execute an intelligent contract, so that after the blockchain consensus verifies the passenger billing information, the riding fee is deducted from the digital wallet of the passenger;
presenting the passenger with the passenger bill information returned by the blockchain;
when bill confirmation information sent by the passenger is acquired, the bill confirmation information is sent to the blockchain to trigger the blockchain to execute an intelligent contract, so that after the blockchain is commonly identified to verify the bill confirmation information, the bill confirmation information and the passenger bill information are packaged in the same block, and the block is recorded into the blockchain, wherein the riding bill information is used for calculating credit scores of the passenger, and the credit scores are used for evaluating riding behaviors of the passenger;
And when the block input information sent by the block chain is acquired, controlling the unmanned vehicle to open a vehicle door.
2. The method of claim 1, wherein the ride bill information further comprises departure and departure times, destination and arrival times, travel times, and unmanned SN numbers.
3. The method as recited in claim 2, further comprising:
acquiring a face image of a passenger, and extracting a feature matrix from the face image according to an image analysis algorithm;
transmitting the feature matrix to the blockchain so that the blockchain searches out block data containing the feature matrix, wherein the block data carries a historical bus taking record of the passenger, and the historical bus taking record comprises bus taking bill information of the passenger;
calculating the credit score of the passenger according to the passenger bill information of the passenger;
and when the credit score is greater than or equal to a preset credit threshold value, controlling the unmanned vehicle to open a vehicle door.
4. A method according to claim 3, wherein said calculating a credit score for said passenger from said passenger's billing information comprises:
extracting each evaluation keyword from the evaluation information of the behavior in the vehicle according to a semantic algorithm, wherein each evaluation keyword corresponds to a credit value;
And accumulating the credit value of each evaluation keyword in the evaluation information to obtain the credit score of the passenger.
5. A method according to claim 3, further comprising:
and predicting the favorite route of the passenger according to the riding bill information.
6. The method according to claim 1, wherein the method further comprises:
acquiring user point clouds at two sides of a lane where the unmanned vehicle is located;
extracting a user gesture from the user point cloud based on a deep learning model;
and if the user gesture is matched with the preset vehicle calling gesture, controlling the unmanned vehicle to run to the position of the passenger matched with the user gesture.
7. The method of claim 6, wherein the drone is equipped with a display screen, and wherein controlling the drone to travel to a location of the passenger that matches the user gesture comprises:
judging whether the position of the passenger with the user gesture matched with the preset vehicle calling gesture is in a parking violation area or not;
if yes, tracking the passenger, and presenting first prompt information on the display screen, wherein the first prompt information is used for prompting the passenger to travel to a designated area for riding;
And if not, controlling the unmanned vehicle to travel to the position of the passenger.
8. The method of claim 6, wherein prior to acquiring the user point clouds on both sides of the lane in which the drone is located, the method further comprises:
judging whether a passenger reservation request is received or not;
if yes, controlling the unmanned vehicle to travel to a reserved place according to the passenger carrying reservation request;
if not, entering a step of acquiring user point clouds at two sides of a lane where the unmanned vehicle is located.
9. A method according to claim 3, characterized in that the method further comprises:
when the detection information sent by the blockchain and used for indicating that the passenger does not register the unmanned taxi taking account is obtained, generating second prompt information, wherein the second prompt information is used for prompting the passenger to register the unmanned taxi taking account;
when the registration confirmation information sent by the passenger is obtained, a digital wallet belonging to the passenger is established according to the feature matrix, wherein the digital wallet comprises an account address, a public key and a private key.
10. An unmanned vehicle, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor;
Wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the blockchain-based unmanned vehicle-based guest method of any of claims 1 to 9.
CN202310681089.1A 2019-12-31 2019-12-31 A method for carrying passengers in an unmanned vehicle and an unmanned vehicle Pending CN116739743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310681089.1A CN116739743A (en) 2019-12-31 2019-12-31 A method for carrying passengers in an unmanned vehicle and an unmanned vehicle

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310681089.1A CN116739743A (en) 2019-12-31 2019-12-31 A method for carrying passengers in an unmanned vehicle and an unmanned vehicle
CN201911422565.8A CN111199461B (en) 2019-12-31 2019-12-31 Unmanned vehicle passenger carrying method based on blockchain and unmanned vehicle

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201911422565.8A Division CN111199461B (en) 2019-12-31 2019-12-31 Unmanned vehicle passenger carrying method based on blockchain and unmanned vehicle

Publications (1)

Publication Number Publication Date
CN116739743A true CN116739743A (en) 2023-09-12

Family

ID=70746621

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310681089.1A Pending CN116739743A (en) 2019-12-31 2019-12-31 A method for carrying passengers in an unmanned vehicle and an unmanned vehicle
CN201911422565.8A Active CN111199461B (en) 2019-12-31 2019-12-31 Unmanned vehicle passenger carrying method based on blockchain and unmanned vehicle

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201911422565.8A Active CN111199461B (en) 2019-12-31 2019-12-31 Unmanned vehicle passenger carrying method based on blockchain and unmanned vehicle

Country Status (1)

Country Link
CN (2) CN116739743A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117974129A (en) * 2024-03-29 2024-05-03 成都智元汇信息技术股份有限公司 Account checking method and system based on intelligent complement of riding behavior

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966087A (en) * 2020-07-02 2020-11-20 新石器慧通(北京)科技有限公司 Unmanned vehicle control method and unmanned vehicle
CN111985764A (en) * 2020-07-02 2020-11-24 新石器慧通(北京)科技有限公司 Unmanned vehicle-mounted passenger method and unmanned vehicle
CN114407827B (en) * 2021-12-24 2023-07-14 北京百度网讯科技有限公司 Vehicle door control method, device, equipment, storage medium and automatic driving vehicle
CN114331616A (en) * 2021-12-29 2022-04-12 上海商汤临港智能科技有限公司 Order processing method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107045650B (en) * 2016-10-25 2021-06-11 罗轶 Network car booking system based on block chain
CN110020842B (en) * 2019-03-05 2021-08-13 宁波吉利汽车研究开发有限公司 A method and system for intelligent management of automobiles based on blockchain
CN110135852B (en) * 2019-04-17 2023-11-14 深圳市雄帝科技股份有限公司 Riding payment method, riding payment system, payment acceptance equipment and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117974129A (en) * 2024-03-29 2024-05-03 成都智元汇信息技术股份有限公司 Account checking method and system based on intelligent complement of riding behavior

Also Published As

Publication number Publication date
CN111199461B (en) 2023-06-23
CN111199461A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN111199461B (en) Unmanned vehicle passenger carrying method based on blockchain and unmanned vehicle
US10719884B2 (en) Blockchain-based service execution method and apparatus, and electronic device
US10296883B2 (en) Systems and methods for driver authentication through embedded sensing
US11142190B2 (en) System and method for controlling autonomous driving vehicle
WO2017041644A1 (en) Vehicle toll collection method, server, system and storage medium
CN114446056B (en) Vehicle information code generation and vehicle passing control method, device and equipment
US12282964B2 (en) Hub for automated recovery after a critical event in shared mobility services
CN111868762A (en) Proximity-based shared vehicle reservations
US11886615B2 (en) Variable transport data retention and deletion
JP6401849B1 (en) Parking lot management system and control method thereof
JP2022040073A (en) Wireless energy transfer to transport based on route data
KR20210065764A (en) System for providing non face-to-face vehicle utilization rate management service using artificial intelligence on shared economy platform
US12307538B2 (en) Traffic accident handling method and device, and storage medium
US20240233731A1 (en) Data structure for task-oriented dialog modeling
CN115151963A (en) Transport means repositioning
TWM573308U (en) The fleet monitoring management system and vehicle hosts
CN112017347B (en) A visitor registration method, device, electronic equipment and storage medium
US20220227228A1 (en) Transport display representation for external device
US20250065758A1 (en) Reservation-linked content delivery to electric vehicles at charging stations
US20250225774A1 (en) System for vehicle axle count using vision
US20240346833A1 (en) Cannabis impairment detection and safety system for vehicles
US20240232663A1 (en) Task-oriented dialog modeling and action determination
CN112131909B (en) Complaint method, complaint server, client and complaint system
KR20240055348A (en) Method for guiding parking location using a car-stopper and computing device for executing the method
WO2025047251A1 (en) Information processing device, information processing method, recording medium, and information processing system

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