A supply chain parts traceability method based on blockchain
Through blockchain technology and hash function, the problem of traceability of parts in the automotive supply chain is solved, rapid traceability and data security are achieved, and the security and privacy protection of the automotive supply chain are ensured.
Patent Information
- Application Number
- CN202411027295.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The complexity and safety issues of the automotive supply chain make it difficult to trace the risks of parts and the long vulnerability repair cycle, threatening the security of the entire automotive system.
Adopt blockchain-based supply chain components traceability method, enter data through enterprise user terminals and form blocks, use hash functions and binary Merkel tree technology to ensure data immutability and rapid traceability, and dynamic adjustment Broadcast objects to improve operational efficiency.
It realizes secure storage and rapid traceability of automotive supply chain data, improves the security and traceability of the supply chain, and ensures data privacy protection and tamper-proof.
Smart Images

Figure CN118586039B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a supply chain parts tracing method based on blockchain. Background Art
[0002] The automotive supply chain has a long life cycle, complex links, and many exposed surfaces. Any weak point in the upstream, midstream, and downstream may be exploited by attackers to launch attacks on the entire automotive system. The lack of work mechanisms and process specifications, insufficient supplier security control, difficulty in remediating open source component vulnerabilities, imperfect supply chain security capacity building, and lagging supply chain security situation continuous monitoring have all led to a more severe security situation in the automotive supply chain today. Secondly, the risk of any automotive component may pose a potential risk to each software artifact, providing hackers with an opportunity to implant malware, backdoor programs, or other malicious codes, thereby endangering automotive components and their related supply chains. Automotive software supply chain attacks have become an increasingly rampant trend, threatening the security of the digital and real world. Once a security problem occurs, it is difficult to trace the vulnerability, the cycle is long, and it is difficult to repair it, which has become a major obstacle to improving the safety level of the automotive industry. The supply chain of the automotive industry is very complex, and component products with vulnerabilities will pose a great hidden danger to the safety of the car. The security levels of suppliers at all levels in the market vary greatly. Once component products without security protection enter the automotive supply chain channel, they will pose a great threat to the safety of the entire car. The introduction of blockchain technology can solve problems such as trust and traceability and improve the security of the automotive supply chain.
[0003] Based on this, this patent proposes a supply chain parts traceability method based on blockchain, which can ensure the security of the automotive supply chain and quickly locate the risks of parts. Summary of the invention
[0004] In view of the above problems, the present invention proposes a supply chain parts traceability method based on blockchain, which specifically includes the following steps:
[0005] S1. The enterprise user enters the first data, the second data, or the third data into the enterprise user terminal;
[0006] S2. The enterprise user terminal forms a block with the first data, the second data, or the third data, and adds the block to the blockchain node corresponding to the enterprise user terminal;
[0007] S3. The supervisory terminal determines the broadcast object according to the first data, the second data, or the third data;
[0008] S4. The enterprise user terminal broadcasts the hash value of the data in the block formed in step S2 to the current broadcast object in step S3;
[0009] S5. The broadcast object stores the hash value locally;
[0010] S6. The user inputs a query request and searches for the required data in the blockchain system formed by multiple enterprise users.
[0011] Furthermore, the step S1 comprises:
[0012] There are multiple enterprise users;
[0013] Among them, each enterprise user corresponds to an enterprise user terminal;
[0014] Multiple enterprise user terminals constitute the blockchain system.
[0015] Furthermore, the step S1 further includes:
[0016] The first data is sensitive data of enterprise users;
[0017] The second data is non-sensitive data of enterprise users;
[0018] The third data is transaction data between the enterprise user and other enterprise users.
[0019] Furthermore, the step S2 specifically includes the following steps:
[0020] S21. When the enterprise user terminal receives the first data entered by the enterprise user { }, storing the first data in a local server of the enterprise user terminal;
[0021] in, is the nth item of data in the first data, is the data type of the nth item of data, is the data content of the nth data item; n is the number of data items in the first data;
[0022] The data content is a numerical value or a character;
[0023] The enterprise user terminal performs a first process on the first data to form fourth data, and executes step S22;
[0024] The first process specifically includes the following steps:
[0025] S211. For the first data { }, divide the data into m parts evenly, and obtain the previous length of data, and the m copies The data of the length are concatenated to form the first sub-data item;
[0026] S212. Divide the first sub-data item into three equal parts in order from the beginning to the end, forming a first part of data, a second part of data, and a third part of data;
[0027] S213. Adjust the arrangement order of the first data, the second data, and the third data to form an arrangement order of the third data, the first data, and the second data from beginning to end, and combine the third data, the first data, and the second data to form a second sub-data item;
[0028] S214. For the first data { Each data in , step S211 to step S213 are executed until each data item in the first data forms a second sub-data item, and finally the fourth data { };in, is the i-th data item in the fourth data; ( , The corresponding second sub-data item);
[0029] Otherwise, when the enterprise user terminal receives the second data entered by the enterprise user { } or the third data { }, the second data or the third data entered by the enterprise user is stored in the cloud server or the local server of the enterprise user terminal, and step S22 is executed;
[0030] in, is the i-th data item in the second data; p is the number of data items in the second data; is the i-th data item in the third data; q is the number of data items in the third data;
[0031] S22. The enterprise user terminal uses a hash function to calculate the received data { }, forming a node set { };
[0032] in, is the i-th data item in the data received by the enterprise user terminal; k is the number of data items in the data received by the enterprise user terminal; the data received by the enterprise user terminal is the second data { }, or the third data { }, or the fourth data { };
[0033] For data items The hash value is a 256-bit binary string;
[0034] S23. When the node set { } is an even number, execute step S24; when the node set { }When k in is an odd number, execute step S25;
[0035] S24. Merge every two hash values in the node set { }, and use a hash function to perform a hash operation on the two hash values after merging to obtain a new hash value, and use the hash value as an intermediate node to point to the two nodes corresponding to the two hash values respectively; wherein, { }Use the hash function to perform hash operation on the two merged hash values to obtain a new hash value of { }, as a new node set;
[0036] in, for When merging, the hash function is used to merge the two hash values and A new hash value obtained by performing a hash operation;
[0037] S25. Divide the last data item in the node set into two parts evenly to form a node set { };in, For the general Divided into two equal parts;
[0038] The node collection { } Every two hash values are merged { }, and use a hash function to perform a hash operation on the two hash values after merging to obtain a new hash value, and use the hash value as an intermediate node to point to the two nodes corresponding to the two hash values respectively; wherein, { }Use the hash function to perform hash operation on the two merged hash values to obtain a new hash value of { }, as a new node set;
[0039] in, for When merging, the hash function is used to merge the two hash values and A new hash value obtained by performing a hash operation;
[0040] S26. For the new node set obtained in step S24 or step S25, repeat steps S23 to S25 until the new node set includes only one node, and use the node as the root node to form a node with { } is a binary Merkle tree with leaf nodes;
[0041] S27. The hash value corresponding to the root node of the binary Merkle tree is used as the header of the block, and the binary Merkle tree is used as the data part of the block to form a block;
[0042] S28. The enterprise user terminal adds the block to the blockchain node corresponding to the enterprise user terminal, and adds the hash value corresponding to the binary Merkle tree root node of the previous block stored in the header of the previous block to the header of the block in step S27.
[0043] 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 description and other purposes, features and advantages of the present invention more obvious and easy to understand, the preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0045] Figure 1 A flowchart of a supply chain parts traceability method based on blockchain. DETAILED DESCRIPTION
[0046] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the 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 described herein. On the contrary, these embodiments are provided in order 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.
[0047] In the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be connected, detachably connected, or integrated; it can be mechanically connected or electrically connected; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0048] The present invention proposes a supply chain parts traceability method based on blockchain, which specifically includes the following steps:
[0049] S1. The enterprise user enters the first data, the second data, or the third data into the enterprise user terminal;
[0050] S2. The enterprise user terminal forms a block with the first data, the second data, or the third data, and adds the block to the blockchain node corresponding to the enterprise user terminal;
[0051] S3. The supervisory terminal determines the broadcast object according to the first data, the second data, or the third data;
[0052] S4. The enterprise user terminal broadcasts the hash value of the data in the block formed in step S2 to the current broadcast object in step S3;
[0053] S5. The broadcast object stores the hash value locally;
[0054] S6. The user inputs a query request and searches for the required data in the blockchain system formed by multiple enterprise users.
[0055] Furthermore, the step S1 comprises:
[0056] There are multiple enterprise users;
[0057] Among them, each enterprise user corresponds to an enterprise user terminal;
[0058] Multiple enterprise user terminals constitute the blockchain system.
[0059] Furthermore, the step S1 further includes:
[0060] The first data is sensitive data of enterprise users;
[0061] The second data is non-sensitive data of enterprise users;
[0062] The third data is transaction data between the enterprise user and other enterprise users.
[0063] Furthermore, the step S2 specifically includes the following steps:
[0064] S21. When the enterprise user terminal receives the first data entered by the enterprise user { }, storing the first data in a local server of the enterprise user terminal;
[0065] in, is the nth item of data in the first data, is the data type of the nth item of data, is the data content of the nth data item; n is the number of data items in the first data;
[0066] The data content is a numerical value or a character;
[0067] The enterprise user terminal performs a first process on the first data to form fourth data, and executes step S22;
[0068] The first process specifically includes the following steps:
[0069] S211. For the first data { }, divide the data into m parts evenly, and obtain the previous length of data, and the m copies The data of the length are concatenated to form the first sub-data item;
[0070] S212. Divide the first sub-data item into three equal parts in order from the beginning to the end, forming a first part of data, a second part of data, and a third part of data;
[0071] S213. Adjust the arrangement order of the first data, the second data, and the third data to form an arrangement order of the third data, the first data, and the second data from beginning to end, and combine the third data, the first data, and the second data to form a second sub-data item;
[0072] S214. For the first data { Each data in , step S211 to step S213 are executed until each data item in the first data forms a second sub-data item, and finally the fourth data { };in, is the i-th data item in the fourth data; ( , The corresponding second sub-data item);
[0073] Otherwise, when the enterprise user terminal receives the second data entered by the enterprise user { } or the third data { }, the second data or the third data entered by the enterprise user is stored in the cloud server or the local server of the enterprise user terminal, and step S22 is executed;
[0074] in, is the i-th data item in the second data; p is the number of data items in the second data; is the i-th data item in the third data; q is the number of data items in the third data;
[0075] S22. The enterprise user terminal uses a hash function to calculate the received data { }, forming a node set {};
[0076] in, is the i-th data item in the data received by the enterprise user terminal; k is the number of data items in the data received by the enterprise user terminal; the data received by the enterprise user terminal is the second data { }, or the third data { }, or the fourth data { };
[0077] For data items The hash value is a 256-bit binary string;
[0078] S23. When the node set { } is an even number, execute step S24; when the node set { }When k in is an odd number, execute step S25;
[0079] S24. Merge every two hash values in the node set { }, and use a hash function to perform a hash operation on the two hash values after merging to obtain a new hash value, and use the hash value as an intermediate node to point to the two nodes corresponding to the two hash values respectively; wherein, { }Use the hash function to perform hash operation on the two merged hash values to obtain a new hash value of { }, as a new node set;
[0080] in, for When merging, the hash function is used to merge the two hash values and A new hash value obtained by performing a hash operation;
[0081] S25. Divide the last data item in the node set into two parts evenly to form a node set { };in, For the general Divided into two equal parts;
[0082] The node collection { } Every two hash values are merged { }, and use a hash function to perform a hash operation on the two hash values after merging to obtain a new hash value, and use the hash value as an intermediate node to point to the two nodes corresponding to the two hash values respectively; wherein, { }Use the hash function to perform hash operation on the two merged hash values to obtain a new hash value of { }, as a new node set;
[0083] in, for When merging, the hash function is used to merge the two hash values and A new hash value obtained by performing a hash operation;
[0084] S26. For the new node set obtained in step S24 or step S25, repeat steps S23 to S25 until the new node set includes only one node, and use the node as the root node to form a node with { } is a binary Merkle tree with leaf nodes;
[0085] S27. The hash value corresponding to the root node of the binary Merkle tree is used as the header of the block, and the binary Merkle tree is used as the data part of the block to form a block;
[0086] S28. The enterprise user terminal adds the block to the blockchain node corresponding to the enterprise user terminal, and adds the hash value corresponding to the binary Merkle tree root node of the previous block stored in the header of the previous block to the header of the block in step S27.
[0087] Furthermore, the step S28 further includes:
[0088] When the user inputs the third data, one of the two enterprise user terminals that input the third data sends the enterprise user terminals corresponding to the transaction parties in the third data to the supervision terminal;
[0089] The supervision terminal stores the names of the enterprise user terminals corresponding to the transaction parties in the transaction association information table;
[0090] The transaction association information table is stored in the supervision terminal.
[0091] Furthermore, the step S3 specifically includes the following steps:
[0092] S31. When the user inputs the first data or the second data, the monitoring terminal randomly determines r enterprise user terminals from multiple enterprise user terminals as the broadcast objects; wherein r is the number of randomly determined enterprise user terminals, and the value of r can be flexibly set according to actual experience.
[0093] Among them, multiple enterprise user terminals are set up in the blockchain system;
[0094] The role types corresponding to the multiple enterprise user terminals include: underlying software and hardware suppliers, parts suppliers, vehicle manufacturers, and end customers;
[0095] When the user inputs the third data, the supervision terminal searches the transaction association information table for multiple enterprise user terminals that have a transaction relationship with the enterprise user terminal corresponding to the user input data, removes the multiple enterprise user terminals that have a transaction relationship from the multiple enterprise user terminals, obtains multiple enterprise user terminals that do not have a transaction relationship, and executes step S32;
[0096] S32. Screening out multiple enterprise user terminals that have a first relationship with the enterprise user terminal corresponding to the user input data from the multiple enterprise user terminals that do not have a transaction relationship, and randomly determining r enterprise user terminals from the multiple enterprise user terminals after screening as the broadcast objects;
[0097] The first relationship is: parent-subsidiary relationship, brother-company relationship;
[0098] The relationship between the companies corresponding to the enterprise user terminals is stored in the enterprise user relationship table of the supervision system.
[0099] Furthermore, the step S4 specifically includes the following steps:
[0100] S41. The enterprise user terminal uses the hash value corresponding to the root node of the binary Merkle tree in the block obtained in step S28 as the broadcast data, and uses the broadcast object obtained in step S3 as the enterprise user node participating in this broadcast;
[0101] S42. When the user enters the first data or the second data, the enterprise user terminal corresponding to the entered data broadcasts the broadcast data to the current broadcast object;
[0102] When the user inputs the third data, one of the two enterprise user terminals corresponding to the input data broadcasts the broadcast data to the current broadcast object.
[0103] Furthermore, the step S6 specifically includes the following steps:
[0104] S61. The user inputs a query request, and the supervision system determines the enterprise user terminal corresponding to the query request according to the query request;
[0105] S62. The supervision system sends a query request to the enterprise user terminal corresponding to the query request;
[0106] S63. When the query request includes the first data, the enterprise user terminal obtains the first data from the server and controls the data content fed back to the user;
[0107] When the query request does not include the first data, the enterprise user terminal obtains the data corresponding to the query request from the local server or the cloud server, and feeds it back to the user.
[0108] The beneficial effects of the invention are as follows:
[0109] 1. The present invention realizes the on-chain storage of the data of each enterprise user and the transaction data between enterprise users by establishing a blockchain system, thus avoiding the tampering of historical data and improving the accuracy of problem tracing;
[0110] 2. The present invention adopts different processing methods for the sensitive data and non-sensitive data of enterprise users. For sensitive data, the first processing method is adopted to form a second sub-data item for each data item in the sensitive data, which not only protects the privacy of the enterprise user data, but also because each data item in the sensitive data is segmented, when searching for tampered data, the tampered position can be quickly and accurately located through the binary Merkle tree, which is more accurate than the traditional binary Merkle tree search.
[0111] 3. The present invention adopts a method of dynamically adjusting the broadcast object, which improves the overall operating efficiency of the method while ensuring the effectiveness of block tamper-proofing.
[0112] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A supply chain parts traceability method based on blockchain, It is characterized in that The method specifically comprises the following steps: S1. The enterprise user enters the first data, the second data, or the third data into the enterprise user terminal; There are multiple enterprise users; Among them, each enterprise user corresponds to an enterprise user terminal; Multiple enterprise user terminals form a blockchain system; The first data is sensitive data of enterprise users; The second data is non-sensitive data of enterprise users; The third data is transaction data between the enterprise user and other enterprise users; S2. The enterprise user terminal forms a block with the first data, the second data, or the third data, and adds the block to the blockchain node corresponding to the enterprise user terminal; S3. The supervisory terminal determines the broadcast object according to the first data, the second data, or the third data; S4. The enterprise user terminal broadcasts the hash value of the data in the block formed in step S2 to the current broadcast object in step S3; S5. The broadcast object stores the hash value locally; S6. The user inputs a query request and searches for the required data in the blockchain system formed by multiple enterprise users; Wherein, the step S2 specifically includes the following steps: S21. When the enterprise user terminal receives the first data entered by the enterprise user { }, storing the first data in a local server of the enterprise user terminal; in, is the nth item of data in the first data, is the data type of the nth item of data, is the data content of the nth data item; n is the number of data items in the first data; The data content is a numerical value or a character; The enterprise user terminal performs a first process on the first data to form fourth data, and executes step S22; The first process specifically includes the following steps: S211. For the first data { }, divide the data into m parts evenly, and obtain the previous length of data, and the m copies The data of the length are concatenated to form the first sub-data item; S212. Divide the first sub-data item into three equal parts in order from the beginning to the end, forming a first part of data, a second part of data, and a third part of data; S213. Adjust the arrangement order of the first data, the second data, and the third data to form an arrangement order of the third data, the first data, and the second data from beginning to end, and combine the third data, the first data, and the second data to form a second sub-data item; S214. For the first data { Each data in , step S211 to step S213 are executed until each data item in the first data forms a second sub-data item, and finally the fourth data { };in, is the i-th data item in the fourth data; ( , The corresponding second sub-data item); Otherwise, when the enterprise user terminal receives the second data entered by the enterprise user { } or the third data { }, the second data or the third data entered by the enterprise user is stored in the cloud server or the local server of the enterprise user terminal, and step S22 is executed; in, is the i-th data item in the second data; p is the number of data items in the second data; is the i-th data item in the third data; q is the number of data items in the third data; S22. The enterprise user terminal uses a hash function to calculate the received data { }, forming a node set { }; in, is the i-th data item in the data received by the enterprise user terminal; k is the number of data items in the data received by the enterprise user terminal; the data received by the enterprise user terminal is the second data { }, or the third data { }, or the fourth data { }; For data items The hash value is a 256-bit binary string; S23. When the node set { } is an even number, execute step S24; when the node set { }When k in is an odd number, execute step S25; S24. Merge every two hash values in the node set { }, and use a hash function to perform a hash operation on the two hash values after merging to obtain a new hash value, and use the hash value as an intermediate node to point to the two nodes corresponding to the two hash values respectively; wherein, { }Use the hash function to perform hash operation on the two merged hash values to obtain a new hash value of { }, as a new node set; in, for When merging, the hash function is used to merge the two hash values and A new hash value obtained by performing a hash operation; S25. Divide the last data item in the node set into two parts evenly to form a node set { };in, For the general Divided into two equal parts; The node collection { } Every two hash values are merged { }, and use a hash function to perform a hash operation on the two hash values after merging to obtain a new hash value, and use the hash value as an intermediate node to point to the two nodes corresponding to the two hash values respectively; wherein, { }Use the hash function to perform hash operation on the two merged hash values to obtain a new hash value of { }, as a new node set; in, for When merging, the hash function is used to merge the two hash values and A new hash value obtained by performing a hash operation; S26. For the new node set obtained in step S24 or step S25, repeat steps S23 to S25 until the new node set includes only one node, and use the node as the root node to form a node with { } is a binary Merkle tree with leaf nodes; S27. The hash value corresponding to the root node of the binary Merkle tree is used as the header of the block, and the binary Merkle tree is used as the data part of the block to form a block; S28. The enterprise user terminal adds the block to the blockchain node corresponding to the enterprise user terminal, and adds the hash value corresponding to the binary Merkle tree root node of the previous block stored in the header of the previous block to the header of the block in step S27.
2. According to the blockchain-based supply chain parts traceability method of claim 1, It is characterized in that The step S28 further includes: When the user inputs the third data, one of the two enterprise user terminals that input the third data sends the enterprise user terminals corresponding to the transaction parties in the third data to the supervision terminal; The supervision terminal stores the names of the enterprise user terminals corresponding to the transaction parties in the transaction association information table; The transaction association information table is stored in the supervision terminal.
3. According to the blockchain-based supply chain parts traceability method of claim 2, It is characterized in that The step S3 specifically includes the following steps: S31. When the user enters the first data or the second data, the supervision terminal randomly determines r enterprise user terminals from multiple enterprise user terminals as the broadcast object; Among them, multiple enterprise user terminals are set up in the blockchain system; The role types corresponding to the multiple enterprise user terminals include: underlying software and hardware suppliers, parts suppliers, vehicle manufacturers, and end customers; When the user inputs the third data, the supervision terminal searches the transaction association information table for multiple enterprise user terminals that have a transaction relationship with the enterprise user terminal corresponding to the user input data, removes the multiple enterprise user terminals that have a transaction relationship from the multiple enterprise user terminals, obtains multiple enterprise user terminals that do not have a transaction relationship, and executes step S32; S32. Screening out multiple enterprise user terminals that have a first relationship with the enterprise user terminal corresponding to the user input data from the multiple enterprise user terminals that do not have a transaction relationship, and randomly determining r enterprise user terminals from the multiple enterprise user terminals after screening as the broadcast objects; The first relationship is: parent-subsidiary relationship, brother-company relationship; The relationship between the companies corresponding to the enterprise user terminals is stored in the enterprise user relationship table of the supervision system.
4. According to the blockchain-based supply chain parts traceability method of claim 3, It is characterized in that The step S4 specifically includes the following steps: S41. The enterprise user terminal uses the hash value corresponding to the root node of the binary Merkle tree in the block obtained in step S28 as the broadcast data, and uses the broadcast object obtained in step S3 as the enterprise user node participating in this broadcast; S42. When the user enters the first data or the second data, the enterprise user terminal corresponding to the entered data broadcasts the broadcast data to the current broadcast object; When the user inputs the third data, one of the two enterprise user terminals corresponding to the input data broadcasts the broadcast data to the current broadcast object.
5. According to the blockchain-based supply chain parts traceability method of claim 4, It is characterized in that The step S6 specifically includes the following steps: S61. The user inputs a query request, and the supervision system determines the enterprise user terminal corresponding to the query request according to the query request; S62. The supervision system sends a query request to the enterprise user terminal corresponding to the query request; S63. When the query request includes the first data, the enterprise user terminal obtains the first data from the server and controls the data content fed back to the user; When the query request does not include the first data, the enterprise user terminal obtains the data corresponding to the query request from the local server or the cloud server, and feeds it back to the user.
