Vehicle information processing method and device, storage medium, and computer equipment
By integrating the vehicle information management system through blockchain technology and utilizing alliance chains and blockchain nodes, the problems of vehicle information integrity and authenticity are solved, the security and accuracy of vehicle information queries are achieved, and the needs of users with different permissions are met.
Patent Information
- Application Number
- CN202310377522.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-10
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2043-04-10
AI Technical Summary
Existing vehicle information is usually provided by the seller, with low completeness and authenticity, and buyers cannot effectively verify it, especially the informal maintenance records after the vehicle has an accident.
Through blockchain technology, a vehicle information management system is built, and the alliance chain is used to integrate accounting blockchain nodes and query blockchain nodes, store vehicle information classification labels, and determine the target blockchain node for query based on key information and transaction status to ensure the integrity and authenticity of the information.
It achieves the security and integrity of vehicle information, ensures the non-tamperability and accuracy of information, meets the query needs of users with different permissions, and improves the credibility of vehicle information.
Smart Images

Figure CN116467364B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a vehicle information processing method and device, a storage medium, and a computer device. Background Art
[0002] With the implementation of the national dual carbon emission reduction policy of "carbon peak and carbon neutrality", more and more vehicles are entering the used car trading market. From new cars to used cars, vehicles will go through a series of events such as insurance, maintenance, annual inspections, violations, and even accidents. The content of these events is vehicle information, and this vehicle information is an important basis for vehicle buyers to judge the value of the vehicle. It is also an important foundation for establishing credit between the two parties in used car transactions.
[0003] Existing vehicle information is usually provided by the seller of the vehicle and usually only includes information such as vehicle appearance, insurance information, maintenance information, vehicle mileage, etc., and the buyer cannot verify the integrity and authenticity of the vehicle information. For example, if the seller chooses an informal vehicle repair shop to repair the vehicle after a serious accident, the repair record cannot be verified, resulting in the vehicle information obtained by the buyer to have lower integrity and authenticity. Summary of the Invention
[0004] In view of this, the present invention provides a vehicle information processing method and device, a storage medium, and a computer device, the main purpose of which is to solve the problem of low integrity and accuracy of existing vehicle information.
[0005] According to one aspect of the present invention, a vehicle information processing method is provided, comprising:
[0006] In response to an information operation request of a target vehicle, obtaining at least one of key information, service transaction information, and vehicle transaction status information of a user issuing the request, and determining a target blockchain node from blockchain nodes based on the key information, wherein the blockchain nodes include a query blockchain node and a bookkeeping blockchain node, the query blockchain node storing vehicle information classification labels corresponding to different information categories, the vehicle information classification labels being determined based on original vehicle information in the bookkeeping blockchain node;
[0007] If the target blockchain node is a query blockchain node, forwarding the vehicle transaction status information, the service transaction information, and the information operation request to the target blockchain node, so that the target blockchain node executes a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request;
[0008] Obtain the target vehicle information query result of the target blockchain node, and send the target vehicle information query result to the terminal.
[0009] Furthermore, the target blockchain node performs a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request, including:
[0010] determining a first operation information tag from the vehicle information classification tags based on the vehicle transaction status information, and determining a second operation information tag from the vehicle information classification tags based on the service transaction information;
[0011] Determine the intersection of the first operation information tag, the second operation information tag, and the initial operation information tag carried in the information operation request as a target operation information tag;
[0012] The information of the target vehicle is queried and processed according to the target operation information tag.
[0013] Furthermore, the determining of the first operation information tag from the vehicle information classification tags according to the vehicle transaction status information includes:
[0014] If the vehicle transaction status information is a transaction status, determining at least one category of vehicle information among maintenance information, insurance information, violation information, transaction information, and accident information in the vehicle classification information as a first operation information tag;
[0015] If the vehicle transaction status information is a non-transaction status, the content of the first operation information tag is configured to be empty.
[0016] Furthermore, the determining of a second operation information tag from the vehicle information classification tag based on the service transaction information includes:
[0017] matching a target service group from a service group mapping relationship set according to the service transaction information, wherein the service group mapping relationship set includes mapping relationships between different vehicle information groups and different preset service levels;
[0018] The vehicle information tag that matches the information category in the target service group in the vehicle information classification tags is determined as the second operation information tag.
[0019] Furthermore, determining a target blockchain node from blockchain nodes according to the key information includes:
[0020] Parsing the key information to determine a user category of the user issuing the request, where the user category includes a first user category and a second user category; if the user category is the first user category, obtaining the historical accounting category of the user, and determining a blockchain node in the accounting blockchain node that matches the historical accounting category as a target blockchain node;
[0021] If the user category is the second user category, the login attribute information of the user is obtained, and a query blockchain node is matched from the query blockchain nodes as the target blockchain node according to the login attribute information.
[0022] Furthermore, the method further comprises:
[0023] If the target blockchain node is an accounting blockchain node, the information operation content and the key information carried in the information operation request are forwarded to the target blockchain node, so that the target blockchain node performs authority verification based on the key information, and when the authority verification result is passed, the information of the target vehicle is accounted for according to the information operation content.
[0024] Furthermore, the blockchain node also includes a supervisory blockchain node, and the method further includes:
[0025] Forwarding the service transaction information and / or the information operation request to the regulatory blockchain node, so that the vehicle information regulatory side verifies the vehicle information transaction and / or vehicle information operation;
[0026] The result of the verification is obtained. If the result of the verification is that the verification has failed, a warning message is generated to indicate that the vehicle information transaction and / or vehicle information operation is in violation of the regulations, and the warning message is sent to the monitoring terminal.
[0027] According to another aspect of the present invention, a vehicle information processing device is provided, comprising:
[0028] an acquisition module, configured to, in response to an information operation request of a target vehicle, acquire at least one of key information, service transaction information, and vehicle transaction status information of a user issuing the request, and determine a target blockchain node from blockchain nodes based on the key information, wherein the blockchain nodes include a query blockchain node and a bookkeeping blockchain node, the query blockchain node storing vehicle information classification labels corresponding to different information categories, the vehicle information classification labels being determined based on original vehicle information in the bookkeeping blockchain node;
[0029] a determination module configured to, if the target blockchain node is a query blockchain node, forward the vehicle transaction status information, the service transaction information, and the information operation request to the target blockchain node, so that the target blockchain node executes a query on the target vehicle information based on the vehicle transaction status information, the service transaction information, and the information operation request;
[0030] The sending module is used to obtain the target vehicle information query result of the target blockchain node and send the target vehicle information query result to the terminal.
[0031] Furthermore, the determining module includes:
[0032] a first determining unit, configured to determine a first operation information tag from the vehicle information classification tags according to the vehicle transaction state information, and to determine a second operation information tag from the vehicle information classification tags according to the service transaction information;
[0033] a second determining unit, configured to determine an intersection of the first operation information tag, the second operation information tag, and the initial operation information tag carried in the information operation request as a target operation information tag;
[0034] The query unit is used to query the information of the target vehicle according to the target operation information tag.
[0035] Furthermore, in a specific application scenario, the first determining unit is specifically configured to determine, if the vehicle transaction status information is a transaction status, at least one category of vehicle information among maintenance information, insurance information, violation information, transaction information, and accident information in the vehicle classification information as a first operation information tag;
[0036] If the vehicle transaction status information is a non-transaction status, the content of the first operation information tag is configured to be empty.
[0037] Furthermore, in a specific application scenario, the second determining unit is specifically configured to match a target service group from a service group mapping relationship set according to the service transaction information, wherein the service group mapping relationship set includes mapping relationships between different vehicle information groups and different preset service levels;
[0038] The vehicle information tag that matches the information category in the target service group in the vehicle information classification tags is determined as the second operation information tag.
[0039] Furthermore, the acquisition module includes:
[0040] a parsing unit configured to parse the key information to determine a user category of the user issuing the request, the user category including a first user category and a second user category; a third determining unit configured to obtain a historical accounting category of the user if the user category is the first user category, and determine a blockchain node among the accounting blockchain nodes that matches the historical accounting category as a target blockchain node;
[0041] A matching unit is used to obtain the login attribute information of the user if the user category is the second user category, and match a query blockchain node from the query blockchain nodes as a target blockchain node based on the login attribute information.
[0042] Furthermore, the device further comprises:
[0043] The first forwarding module is used to forward the information operation content and the key information carried in the information operation request to the target blockchain node if the target blockchain node is an accounting blockchain node, so that the target blockchain node performs authority verification according to the key information, and when the authority verification result is passed, performs accounting processing on the information of the target vehicle according to the information operation content.
[0044] Furthermore, the device further comprises:
[0045] A second forwarding module, configured to forward the service transaction information and / or the information operation request to the regulatory blockchain node, so that the vehicle information regulatory side verifies the vehicle information transaction and / or vehicle information operation;
[0046] The acquisition module is also used to obtain the verification result. If the verification result is failure, it generates warning information indicating violation of vehicle information transaction and / or vehicle information operation, and sends the warning information to the monitoring terminal.
[0047] According to another aspect of the present invention, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a processor to execute operations corresponding to the above-mentioned vehicle information processing method.
[0048] According to another aspect of the present invention, there is provided a computer device comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0049] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned vehicle information processing method.
[0050] By means of the above technical solution, the technical solution provided by the embodiment of the present invention has at least the following advantages:
[0051] The present invention provides a vehicle information processing method and device, a storage medium, and a computer device. First, in response to an information operation request of a target vehicle, at least one of the key information, service transaction information, and vehicle transaction status information of the user who issued the request is obtained, and a target blockchain node is determined from the blockchain node according to the key information. The blockchain node includes a query blockchain node and an accounting blockchain node. The query blockchain node stores vehicle information classification labels corresponding to different information categories. The vehicle information classification labels are determined based on the original vehicle information in the accounting blockchain node. If the target blockchain node is a query blockchain node, the vehicle transaction status information, the service transaction information, and the information classification labels are stored in the blockchain node. The operation request is forwarded to the target blockchain node, so that the target blockchain node executes a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request; the target vehicle information query result of the target blockchain node is obtained, and the target vehicle information query result is sent to the terminal. Compared with the prior art, the embodiment of the present invention closely links the accounting and query of vehicle information by configuring accounting blockchain nodes and query blockchain nodes, thereby greatly avoiding the loss or omission of vehicle information. At the same time, the operating users are distinguished based on the key information, and the operating permissions of users with different permissions are restricted, thereby ensuring the security of vehicle information, thereby effectively improving the integrity and authenticity of vehicle information.
[0052] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0054] Figure 1 A flow chart of a vehicle information processing method provided by an embodiment of the present invention is shown;
[0055] Figure 2 A flow chart of another vehicle information processing method provided by an embodiment of the present invention is shown;
[0056] Figure 3 A block diagram of a vehicle information processing device provided by an embodiment of the present invention is shown;
[0057] Figure 4A schematic structural diagram of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0058] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0059] Existing vehicle information is usually provided by the seller of the vehicle, and usually only includes information such as vehicle appearance, insurance information, maintenance information, and vehicle mileage. The buyer cannot verify the integrity and authenticity of the vehicle information. For example, if the seller chooses an informal vehicle repair shop to repair the vehicle after a serious accident, the repair record cannot be verified, resulting in low integrity and authenticity of the vehicle information obtained by the buyer. The embodiment of the present invention provides a vehicle information processing method, such as Figure 1 As shown, the method includes:
[0060] 101. In response to an information operation request of a target vehicle, obtain at least one of the key information, service transaction information, and vehicle transaction status information of the user who issued the request, and determine the target blockchain node from the blockchain nodes based on the key information.
[0061] In an embodiment of the present invention, a user can log in to the vehicle information management system through any terminal device and initiate an information operation request to manipulate vehicle information based on the system. Upon receiving the request, the system server obtains one or more of the current user's key information, service transaction information, and the target vehicle's transaction status information. Based on the key information, the server determines the user category of the currently logged-in user. For example, the server can determine whether the currently logged-in user is a vehicle information query user, a vehicle management office, or an insurance company. This determines the blockchain nodes that the user can operate based on the user category. The vehicle information management system is connected to a vehicle information consortium chain. The consortium chain utilizes an authorization mechanism, granting keys corresponding to different information operation permissions to different user categories. This consortium chain connects the vehicle information management system to entities with vehicle information management qualifications, such as vehicle manufacturers, vehicle management offices, insurance companies, used car trading companies, and vehicle repair shops; the querying side, such as individual users and used car trading companies; and the regulatory side, such as vehicle information regulatory authorities, to form a comprehensive vehicle information management ecosystem. Among them, for the accounting link of the accounting blockchain node, based on the blockchain application component WeBase (WeBank Blockchain Application Software Extension), it integrates FISCO BCOS JavaSDK, provides a RESTful-style interface, connects the accounting system to the WeBase application component, authorizes the private key to the corresponding accounting service unit through WeBase, and connects the accounting service unit to the alliance chain.
[0062] It should be noted that blockchain nodes include query blockchain nodes and accounting blockchain nodes. The query blockchain nodes store vehicle information classification tags corresponding to different information categories. These vehicle information classification tags are derived from processing the raw vehicle information in the accounting blockchain nodes. That is, the vehicle information stored in the query blockchain nodes is derived from the integration of accounting information from different authorized entities. For example, the raw vehicle information in each accounting blockchain node is aggregated and divided according to time attributes and business attributes to obtain multiple different categories of vehicle information, including vehicle factory information, vehicle maintenance information, vehicle violation annual inspection information, and vehicle circulation information. Different classification tags are assigned to different information categories. By integrating the accounting information from relevant accounting nodes in the consortium chain and storing the resulting vehicle information classification tags in the query blockchain node, an effective connection between vehicle information query and vehicle information accounting is achieved. Furthermore, because the consortium chain represents a compromise between public and private blockchains for accounting, it effectively ensures the immutability of vehicle information, thereby effectively guaranteeing the security, integrity, and accuracy of queried vehicle information.
[0063] 102. If the target blockchain node is a query blockchain node, the vehicle transaction status information, the service transaction information, and the information operation request are forwarded to the target blockchain node, so that the target blockchain node executes a query on the target vehicle information based on the vehicle transaction status information, the service transaction information, and the information operation request.
[0064] In an embodiment of the present invention, a public access platform for vehicle information query is built based on web3.0 technology. Users can purchase vehicle information query services for designated vehicles by logging into the platform. Vehicle information on the platform is packaged as services available for purchase by users according to different classification tags. Different service prices correspond to different transaction levels, and different transaction levels correspond to vehicle information under different classification tags. If the target blockchain node is a query blockchain node, indicating that the information operation request issued by the current user is for a query of vehicle information, that is, the current user has purchased the vehicle information query service for the target vehicle, the information operation request is forwarded to the target blockchain node for processing. At the same time, the scope of the vehicle information query is determined by the target vehicle's transaction status information and service transaction information. Therefore, the target vehicle's transaction status information and service transaction information also need to be forwarded to the target blockchain node so that the target blockchain node can determine the vehicle information tags that can be queried based on the target vehicle's transaction status information and service transaction information, and query the target vehicle's information based on the vehicle information tags.
[0065] It should be noted that since the public access platform for vehicle information query is built based on web3.0 technology, users can log in to the system platform through associated clients, such as wallet account clients, WeChat clients, etc., without having to use user private information such as email, mobile phone number, ID number, etc. to register and log in to the account, which better meets the user's privacy and confidentiality needs.
[0066] 103. Obtain the target vehicle information query result of the target blockchain node, and send the target vehicle information query result to the terminal.
[0067] In this embodiment of the present invention, after the target blockchain node completes its query for the target vehicle's information, it also needs to obtain the target vehicle information query results and send them to the terminal device that initiated the information operation request, so that the terminal device can display the target vehicle information query results to the user, allowing users who purchase the target vehicle information service to view the corresponding vehicle information. Because the vehicle information comes from the consortium chain, the recorded vehicle information is authentic vehicle information uploaded by a third-party credit entity and cannot be tampered with or deleted, fully guaranteeing the integrity, authenticity, and objectivity of the vehicle information.
[0068] In one embodiment of the present invention, for further explanation and limitation, as Figure 2 As shown, the step wherein the target blockchain node performs a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request includes:
[0069] 201. Determine a first operation information tag from the vehicle information classification tags based on the vehicle transaction status information, and determine a second operation information tag from the vehicle information classification tags based on the service transaction information.
[0070] 202. Determine an intersection of the first operation information tag, the second operation information tag, and the initial operation information tag carried in the information operation request as a target operation information tag.
[0071] 203. Query and process the target vehicle information according to the target operation information tag.
[0072] In the embodiments of the present invention, since vehicle information records events throughout the vehicle's life cycle, from factory to scrapping, vehicle information is the owner's private information. To ensure the security of vehicle information, vehicle information query services cannot be provided under all circumstances. Instead, services need to be provided under specific scenario requirements. For example, when a vehicle is in a used car transaction state, a vehicle information query service can be provided to meet the vehicle buyer's assessment of the vehicle's residual value. However, if the target vehicle has not entered the used car transaction market, a vehicle information query service for the target vehicle cannot be provided, or only a query service for some publicly available vehicle information can be provided. Therefore, it is necessary to determine the label of the vehicle information that can be operated based on the vehicle transaction status information, namely the first operation information label. The vehicle transaction status can be a transaction status or a non-transaction status. Other states can also be set according to the actual application scenario, such as a transaction completion status, a transaction processing status, etc., which are not specifically limited in the embodiments of the present invention.
[0073] In this embodiment of the present invention, vehicle information query services under different classification tags correspond to different transaction permissions, meaning that users purchase different vehicle information query permissions by paying different prices. For example, 10 yuan can purchase vehicle information query services under the target vehicle's accident and annual inspection information tag, while 20 yuan can purchase vehicle information query services under the target vehicle's accident and annual inspection information tag and repair information tag. Different prices can also correspond to vehicle information under different time range tags, though this embodiment is not specifically limited. Therefore, it is necessary to determine the information classification tags that the current user can view, namely the second operation information tag, based on the service transaction information. To meet user needs, after determining the first and second operation information tags, it is necessary to parse the initial operation information tag carried in the information operation request and take the common intersection tag of the three tags as the target operation information tag for the final query. The initial operation information tag can be a vehicle information tag option entered by the user through the terminal device, or it can be generated based on the user's vehicle information grouping options, though this embodiment is not specifically limited. By jointly determining the target operation information tag based on vehicle transaction status information, service transaction information, and information operation requests, vehicle information transaction services are standardized while meeting user needs, thereby significantly ensuring the security of vehicle information.
[0074] In one embodiment of the present invention, for further explanation and limitation, the step of determining the first operation information tag from the vehicle information classification tag based on the vehicle transaction status information includes:
[0075] If the vehicle transaction status information is a transaction status, determining at least one category of vehicle information among maintenance information, insurance information, violation information, transaction information, and accident information in the vehicle classification information as a first operation information tag;
[0076] If the vehicle transaction status information is a non-transaction status, the content of the first operation information tag is configured to be empty.
[0077] In an embodiment of the present invention, in order to ensure the privacy of the target vehicle's vehicle information, it is determined whether to provide query services to the information query user and which categories of vehicle information query services to provide based on the vehicle transaction status information. For example, if the target vehicle is a vehicle that has been in a serious accident, when the vehicle transaction status information is in a transaction status, in order to enable the user to understand the condition of the target vehicle, maintenance information and accident information are used as information for query, and the maintenance information label and the accident information label are used as the first operation information label. For another example, if the target vehicle is a vehicle that has been traded as a used car, when the vehicle transaction status information is in a transaction status, in order to enable the user to understand the circulation status of the target vehicle, transaction information and insurance information are used as information for query, and the transaction information label and the insurance information label are used as the first operation information label. The type of vehicle information based on which the first operation information label is determined can be customized according to the actual application scenario, and the embodiment of the present invention does not make any specific restrictions. When the vehicle transaction status information is in a non-transaction state, that is, the target vehicle has not entered the used car market for sale, there is no need to disclose the information of the target vehicle to the public. By leaving the content of the first operation information tag blank, the information of the target vehicle can be prevented from being queried to protect the privacy of the owner of the target vehicle.
[0078] In one embodiment of the present invention, for further explanation and limitation, the step of determining the second operation information tag from the vehicle information classification tag based on the service transaction information includes:
[0079] Matching a target service group from a service group mapping relationship set according to the service transaction information;
[0080] The vehicle information tag that matches the information category in the target service group in the vehicle information classification tags is determined as the second operation information tag.
[0081] In an embodiment of the present invention, a service group mapping relationship set includes mapping relationships between different vehicle information groups and different preset service levels. A vehicle information group includes a vehicle information classification tag for at least one vehicle information category, and the preset service levels may include multiple preset service levels. For example, a first preset service level corresponds to a first vehicle information group, which includes two vehicle information classification tags, and a second preset service level corresponds to a second vehicle information group, which includes three vehicle information classification tags. The first vehicle information group may also include specific vehicle information classification tags, for example, a repair information tag and an accident information tag, and an insurance information tag, a violation information tag, and a transaction information tag. The embodiment of the present invention does not specifically limit the specific division of preset service levels and vehicle information groups. Furthermore, different vehicle information groups may also include classification tags corresponding to vehicle residual value assessment reports and vehicle affordability assessment reports based on multiple vehicle information categories to meet the vehicle information query needs of different users. By classifying and grouping vehicle information to form a vehicle information service product, flexible and diversified vehicle information query services are achieved, thereby meeting the needs of different vehicle information query users and improving the user experience.
[0082] In one embodiment of the present invention, for further explanation and limitation, the step of determining the target blockchain node from the blockchain nodes based on the key information includes:
[0083] Parsing the key information to determine the user category of the user issuing the request;
[0084] If the user category is the first user category, obtaining the user's historical accounting category, and determining the blockchain node that matches the historical accounting category among the accounting blockchain nodes as the target blockchain node;
[0085] If the user category is the second user category, the login attribute information of the user is obtained, and a query blockchain node is matched from the query blockchain nodes as the target blockchain node according to the login attribute information.
[0086] In an embodiment of the present invention, user categories include a first user category and a second user category. The first user category is a user with accounting authority, and its key type is a private key. The second user category is a user with vehicle information query authority, and its key type is a public key. With respect to the first user category, since there are multiple accounting blockchain nodes, and each user is usually only authorized to perform accounting on one category of accounting blockchain nodes, for example, a user affiliated with a vehicle management office can only operate on the accounting blockchain node corresponding to the vehicle management office. Therefore, it is necessary to match the user's historical accounting category with the category of the accounting blockchain node to determine the accounting blockchain node that the user can operate. In addition, a mapping relationship between key information and accounting blockchain node operation authority can be pre-constructed, and then the accounting blockchain node to which the user's operation authority points can be determined based on the key information, and the pointed accounting blockchain node is used as the target blockchain node.
[0087] In an embodiment of the present invention, the login attribute information may be the geographic region information of the user's network IP address. For the second user category, since the query blockchain nodes supporting user queries may be distributed across multiple geographic regions, i.e., vehicle information within different geographic regions is stored within query blockchain nodes within corresponding regions, to improve query efficiency, the login attribute information may be obtained, and the user's login geographic region may be determined based on the login attribute information. The query blockchain node corresponding to the same geographic region may then be identified as the target blockchain node. Alternatively, the query blockchain node with the lowest query volume may be identified as the target blockchain node based on the query volume of the query blockchain node, but this is not specifically limited in the embodiment of the present invention.
[0088] In one embodiment of the present invention, for further illustration and limitation, the method further includes:
[0089] If the target blockchain node is an accounting blockchain node, the information operation content and the key information carried in the information operation request are forwarded to the target blockchain node, so that the target blockchain node performs authority verification based on the key information, and when the authority verification result is passed, the information of the target vehicle is accounted for according to the information operation content.
[0090] In this embodiment of the present invention, when the target blockchain node is a bookkeeping blockchain node, indicating that the information operation is a bookkeeping operation on vehicle information, it is necessary to obtain the information operation content carried in the information operation request and perform bookkeeping based on the information operation content. For example, if the target blockchain node corresponds to the bookkeeping node of an authorized repair shop, the information operation content may include recording vehicle maintenance information or vehicle repair information, etc., although this embodiment of the present invention does not impose specific limitations. Because the key of the bookkeeping blockchain node is a private key, key information must be verified to verify the operating authority of the current operating user, thereby ensuring the authenticity and accuracy of the bookkeeping information.
[0091] In one embodiment of the present invention, for further illustration and limitation, the method further includes:
[0092] Forwarding the service transaction information and / or the information operation request to the regulatory blockchain node, so that the vehicle information regulatory side verifies the vehicle information transaction and / or vehicle information operation;
[0093] The result of the verification is obtained. If the result of the verification is that the verification has failed, a warning message is generated to indicate that the vehicle information transaction and / or vehicle information operation is in violation of the regulations, and the warning message is sent to the monitoring terminal.
[0094] In an embodiment of the present invention, the blockchain node also includes a supervisory blockchain node, which corresponds to the supervisory side of the information query service. When the target blockchain node is a query blockchain node, service transaction information and / or information operation requests are sent to the supervisory blockchain node to verify the service transaction information and information operation requests based on first preset verification conditions. The first preset verification conditions may include a service transaction amount threshold, a vehicle information classification tag corresponding to the service transaction, and the like, but are not specifically limited in this embodiment. If the service transaction information or information operation request does not meet the corresponding preset verification conditions, it indicates that the current vehicle information query service transaction has violated the operation rules. When the target blockchain node is a bookkeeping blockchain node, the information operation request is sent to the supervisory blockchain node to verify the information operation request based on second preset verification conditions. The second preset verification conditions may include deletion, addition, modification, and other operations, and can also be customized based on actual application needs, but are not specifically limited in this embodiment. For example, if the vehicle information on the vehicle management office blockchain node is only allowed to be added, if the information operation content carried in the information operation request includes a modification operation, the verification result is considered to have failed. When the warning information is generated, it will be sent to the terminal device of the supervisor, that is, the monitoring terminal, so that the supervisor can intervene or deal with the current user's operation behavior accordingly, thereby ensuring the security of vehicle information and the standardization of vehicle information query services.
[0095] The present invention provides a vehicle information processing method, which first responds to an information operation request of a target vehicle, obtains at least one of the key information, service transaction information, and vehicle transaction status information of the user who issued the request, and determines the target blockchain node from the blockchain node according to the key information, wherein the blockchain node includes a query blockchain node and an accounting blockchain node, and the query blockchain node stores vehicle information classification labels corresponding to different information categories, and the vehicle information classification labels are determined based on the original vehicle information in the accounting blockchain node; if the target blockchain node is a query blockchain node, the vehicle transaction status information, the service transaction information, and the information operation request are forwarded to The target blockchain node is configured to enable the target blockchain node to execute a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request; obtain the target vehicle information query result of the target blockchain node, and send the target vehicle information query result to the terminal. Compared with the prior art, the embodiment of the present invention closely links the accounting and query of vehicle information by configuring the accounting blockchain node and the query blockchain node, thereby greatly avoiding the loss or omission of vehicle information. At the same time, the operating users are distinguished based on the key information, and the operating permissions of users with different permissions are restricted, thereby ensuring the security of vehicle information, thereby effectively improving the integrity and authenticity of vehicle information.
[0096] Furthermore, as a response to the above Figure 1 In order to realize the method shown in FIG, an embodiment of the present invention provides a vehicle information processing device, such as Figure 3 As shown, the device includes:
[0097] an acquisition module 31 for, in response to an information operation request for a target vehicle, acquiring at least one of key information, service transaction information, and vehicle transaction status information of a requesting user, and determining a target blockchain node from blockchain nodes based on the key information, wherein the blockchain nodes include query blockchain nodes and accounting blockchain nodes, the query blockchain node storing vehicle information classification labels corresponding to different information categories, the vehicle information classification labels being determined based on the original vehicle information in the accounting blockchain node;
[0098] a determination module 32 configured to forward the vehicle transaction status information, the service transaction information, and the information operation request to the target blockchain node if the target blockchain node is a query blockchain node, so that the target blockchain node executes a query on the target vehicle information based on the vehicle transaction status information, the service transaction information, and the information operation request;
[0099] The sending module 33 is used to obtain the target vehicle information query result of the target blockchain node and send the target vehicle information query result to the terminal.
[0100] Furthermore, the determining module 32 includes:
[0101] a first determining unit, configured to determine a first operation information tag from the vehicle information classification tags according to the vehicle transaction state information, and to determine a second operation information tag from the vehicle information classification tags according to the service transaction information;
[0102] a second determining unit, configured to determine an intersection of the first operation information tag, the second operation information tag, and the initial operation information tag carried in the information operation request as a target operation information tag;
[0103] The query unit is used to query the information of the target vehicle according to the target operation information tag.
[0104] Furthermore, in a specific application scenario, the first determining unit is specifically configured to determine, if the vehicle transaction status information is a transaction status, at least one category of vehicle information among maintenance information, insurance information, violation information, transaction information, and accident information in the vehicle classification information as a first operation information tag;
[0105] If the vehicle transaction status information is a non-transaction status, the content of the first operation information tag is configured to be empty.
[0106] Furthermore, in a specific application scenario, the second determining unit is specifically configured to match a target service group from a service group mapping relationship set according to the service transaction information, wherein the service group mapping relationship set includes mapping relationships between different vehicle information groups and different preset service levels;
[0107] The vehicle information tag that matches the information category in the target service group in the vehicle information classification tags is determined as the second operation information tag.
[0108] Furthermore, the acquisition module includes:
[0109] A parsing unit, configured to parse the key information to determine a user category of a user issuing the request, wherein the user category includes a first user category and a second user category;
[0110] A third determining unit, if the user category is the first user category, obtains the historical accounting category of the user, and determines a blockchain node in the accounting blockchain node that matches the historical accounting category as a target blockchain node;
[0111] A matching unit is used to obtain the login attribute information of the user if the user category is the second user category, and match a query blockchain node from the query blockchain nodes as a target blockchain node based on the login attribute information.
[0112] Furthermore, the device further comprises:
[0113] The first forwarding module is used to forward the information operation content and the key information carried in the information operation request to the target blockchain node if the target blockchain node is an accounting blockchain node, so that the target blockchain node performs authority verification according to the key information, and when the authority verification result is passed, performs accounting processing on the information of the target vehicle according to the information operation content.
[0114] Furthermore, the device further comprises:
[0115] A second forwarding module, configured to forward the service transaction information and / or the information operation request to the regulatory blockchain node, so that the vehicle information regulatory side verifies the vehicle information transaction and / or vehicle information operation;
[0116] The acquisition module 31 is further configured to obtain the verification result. If the verification result is failure, a warning message indicating a violation of vehicle information transaction and / or vehicle information operation is generated and sent to the monitoring terminal.
[0117] The present invention provides a vehicle information processing device, which first responds to an information operation request of a target vehicle, obtains at least one of the key information, service transaction information, and vehicle transaction status information of the user who issued the request, and determines the target blockchain node from the blockchain node according to the key information, wherein the blockchain node includes a query blockchain node and an accounting blockchain node, and the query blockchain node stores vehicle information classification labels corresponding to different information categories, and the vehicle information classification labels are determined based on the original vehicle information in the accounting blockchain node; if the target blockchain node is a query blockchain node, the vehicle transaction status information, the service transaction information, and the information operation request are forwarded to The target blockchain node is configured to enable the target blockchain node to execute a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request; obtain the target vehicle information query result of the target blockchain node, and send the target vehicle information query result to the terminal. Compared with the prior art, the embodiment of the present invention closely links the accounting and query of vehicle information by configuring the accounting blockchain node and the query blockchain node, thereby greatly avoiding the loss or omission of vehicle information. At the same time, the operating users are distinguished based on the key information, and the operating permissions of users with different permissions are restricted, thereby ensuring the security of vehicle information, thereby effectively improving the integrity and authenticity of vehicle information.
[0118] According to one embodiment of the present invention, a storage medium is provided, wherein the storage medium stores at least one executable instruction. The computer-executable instruction can execute the vehicle information processing method in any of the above method embodiments.
[0119] Figure 4 A schematic structural diagram of a computer device provided according to an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the computer device.
[0120] like Figure 4 As shown, the computer device may include: a processor 402 , a communications interface 404 , a memory 406 , and a communication bus 408 .
[0121] The processor 402 , the communication interface 404 , and the memory 406 communicate with each other via a communication bus 408 .
[0122] The communication interface 404 is used to communicate with other devices such as clients or other servers.
[0123] The processor 402 is configured to execute the program 410 , and specifically to execute the relevant steps in the above-mentioned vehicle information processing method embodiment.
[0124] Specifically, the program 410 may include program codes, which include computer operation instructions.
[0125] Processor 402 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in a computer device may be of the same type, such as one or more CPUs, or may be of different types, such as one or more CPUs and one or more ASICs.
[0126] The memory 406 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0127] The program 410 may be specifically configured to cause the processor 402 to perform the following operations:
[0128] In response to an information operation request of a target vehicle, obtaining at least one of key information, service transaction information, and vehicle transaction status information of a user issuing the request, and determining a target blockchain node from blockchain nodes based on the key information, wherein the blockchain nodes include a query blockchain node and a bookkeeping blockchain node, the query blockchain node storing vehicle information classification labels corresponding to different information categories, the vehicle information classification labels being determined based on original vehicle information in the bookkeeping blockchain node;
[0129] If the target blockchain node is a query blockchain node, forwarding the vehicle transaction status information, the service transaction information, and the information operation request to the target blockchain node, so that the target blockchain node executes a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request;
[0130] Obtain the target vehicle information query result of the target blockchain node, and send the target vehicle information query result to the terminal.
[0131] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described can be performed in a different order than herein, or can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0132] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A vehicle information processing method, characterized in that: include: In response to an information operation request of a target vehicle, obtaining at least one of key information, service transaction information, and vehicle transaction status information of a user issuing the request, and determining a target blockchain node from blockchain nodes based on the key information, wherein the blockchain nodes include a query blockchain node and a bookkeeping blockchain node, the query blockchain node storing vehicle information classification labels corresponding to different information categories, the vehicle information classification labels being determined based on original vehicle information in the bookkeeping blockchain node; If the target blockchain node is a query blockchain node, forwarding the vehicle transaction status information, the service transaction information, and the information operation request to the target blockchain node, so that the target blockchain node executes a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request; Obtaining a target vehicle information query result of the target blockchain node, and sending the target vehicle information query result to the terminal; The target blockchain node performs a query on the target vehicle information according to the vehicle transaction status information, the service transaction information, and the information operation request, including: determining a first operation information tag from the vehicle information classification tags based on the vehicle transaction status information, and determining a second operation information tag from the vehicle information classification tags based on the service transaction information; Determine the intersection of the first operation information tag, the second operation information tag, and the initial operation information tag carried in the information operation request as a target operation information tag; The information of the target vehicle is queried and processed according to the target operation information tag.
2. The method according to claim 1, characterized in that Determining the first operation information tag from the vehicle information classification tag according to the vehicle transaction status information includes: If the vehicle transaction status information is a transaction status, determining at least one category of vehicle information among maintenance information, insurance information, violation information, transaction information, and accident information in the vehicle information classification tag as a first operation information tag; If the vehicle transaction status information is a non-transaction status, the content of the first operation information tag is configured to be empty.
3. The method according to claim 1, characterized in that Determining a second operation information tag from the vehicle information classification tag according to the service transaction information includes: matching a target service group from a service group mapping relationship set according to the service transaction information, wherein the service group mapping relationship set includes mapping relationships between different vehicle information groups and different preset service levels; The vehicle information tag that matches the information category in the target service group in the vehicle information classification tags is determined as the second operation information tag.
4. The method according to claim 1, wherein Determining a target blockchain node from the blockchain nodes according to the key information includes: Parsing the key information to determine a user category of a user issuing the request, the user category including a first user category and a second user category; If the user category is the first user category, obtaining the user's historical accounting category, and determining the blockchain node that matches the historical accounting category among the accounting blockchain nodes as the target blockchain node; If the user category is the second user category, the login attribute information of the user is obtained, and a query blockchain node is matched from the query blockchain nodes as the target blockchain node according to the login attribute information.
5. The method according to claim 1, wherein The method further comprises: If the target blockchain node is an accounting blockchain node, the information operation content and the key information carried in the information operation request are forwarded to the target blockchain node, so that the target blockchain node performs authority verification based on the key information, and when the authority verification result is passed, the information of the target vehicle is accounted for according to the information operation content.
6. The method according to claim 1, characterized in that The blockchain node also includes a supervisory blockchain node, and the method further includes: Forwarding the service transaction information and / or the information operation request to the regulatory blockchain node, so that the vehicle information regulatory side verifies the vehicle information transaction and / or vehicle information operation; The result of the verification is obtained. If the result of the verification is that the verification has failed, a warning message is generated to indicate that the vehicle information transaction and / or vehicle information operation is in violation of the regulations, and the warning message is sent to the monitoring terminal.
7. A vehicle information processing device, characterized in that: include: an acquisition module, configured to, in response to an information operation request of a target vehicle, acquire at least one of key information, service transaction information, and vehicle transaction status information of a user issuing the request, and determine a target blockchain node from blockchain nodes based on the key information, wherein the blockchain nodes include a query blockchain node and a bookkeeping blockchain node, the query blockchain node storing vehicle information classification labels corresponding to different information categories, the vehicle information classification labels being determined based on original vehicle information in the bookkeeping blockchain node; a determination module configured to, if the target blockchain node is a query blockchain node, forward the vehicle transaction status information, the service transaction information, and the information operation request to the target blockchain node, so that the target blockchain node executes a query on the target vehicle information based on the vehicle transaction status information, the service transaction information, and the information operation request; A sending module, configured to obtain a target vehicle information query result of the target blockchain node and send the target vehicle information query result to a terminal; The determination module includes: a first determining unit, configured to determine a first operation information tag from the vehicle information classification tags according to the vehicle transaction state information, and to determine a second operation information tag from the vehicle information classification tags according to the service transaction information; a second determining unit, configured to determine an intersection of the first operation information tag, the second operation information tag, and the initial operation information tag carried in the information operation request as a target operation information tag; The query unit is used to query the information of the target vehicle according to the target operation information tag.
8. A storage medium storing at least one executable instruction, wherein the executable instruction enables a processor to execute an operation corresponding to the vehicle information processing method according to any one of claims 1 to 6.
9. A computer device comprising: A processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the vehicle information processing method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for inquiring transaction information in block chain network, accounting node and medium
CN109447811A
Query method and device for account privacy information in blockchain
CN111008228A