Data transmission method and system for waste-free city based on trusted computing technology
By using trusted devices with trusted computing technology to perform access message evaluation and server-side signature verification in data transmission in waste-free cities, the problem of insufficient anti-attack capabilities in data transmission is solved and the security and integrity of data are achieved. nature, suitable for data management in waste-free cities.
Patent Information
- Application Number
- CN202410027075.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-09
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-01-09
AI Technical Summary
Existing technologies cannot meet attack resistance in data transmission in waste-free cities, and cannot effectively prevent data tampering and denial.
Using a data transmission method based on trusted computing technology, the trustworthiness of access messages is evaluated through a trusted device, and the signature is verified on the server side to ensure the security and integrity of the data. The trusted device stores the remote gateway trustworthiness mapping table and encryption rule set, and dynamically adjusts the encryption method to enhance security.
It achieves anti-tampering and anti-repudiation of data transmission, improves the security and reliability of server-side data, and is suitable for the data management needs of waste-free cities.
Smart Images

Figure CN117879832B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data transmission, and in particular to a data transmission method and system for a waste-free city based on trusted computing technology. Background Art
[0002] A waste-free city refers to a city that achieves waste reduction, resource utilization and harmless treatment through scientific and technological means and management measures. Among them, data transmission is an important part of the construction of a waste-free city. Its purpose is to manage waste accurately, efficiently and traceably through digital technology. For different docking parties in a waste-free city, in the process of data transmission, it is necessary not only to adopt safe and reliable encryption technology and authentication mechanisms to ensure data privacy and security, but also to prevent data from being tampered with during transmission.
[0003] At present, methods to prevent data transmission from being tampered with include digital signatures, message digests and timestamps, but the anti-attack capabilities still cannot meet the data transmission needs of waste-free cities. Summary of the invention
[0004] In order to solve the above problems, the present invention proposes a data transmission method, system, device and storage medium for a waste-free city based on trusted computing technology.
[0005] The main contents of the present invention include:
[0006] A data transmission method for a waste-free city based on trusted computing technology, comprising a docking party, a trusted device and a server end; the server end receives an access message transmitted by the docking party through the trusted device; the trusted device receives an access message sent by the docking party, performs a trustworthiness assessment on the access message, and transmits the access message that passes the trustworthiness assessment to the server end; the server end receives the access message that passes the trustworthiness assessment for signature verification, and receives access information transmitted by the access message that passes the signature verification;
[0007] Among them, the access message includes a request message header and access information, and the request message header includes signature verification data and signature data; the signature verification data is a string obtained by splicing a random string, a timestamp when generating a verification string, a token pre-distributed by the server, and a first signature value encrypted by the docking party for the access message according to a splicing rule; the random string is generated according to a first generation rule.
[0008] Preferably, the docking party includes a remote gateway and a data access terminal connected to the remote gateway; the remote gateway is connected to the trusted device, the trusted device evaluates the trustworthiness of the remote gateway, and the remote gateway evaluates the trustworthiness of the data access terminal.
[0009] Preferably, the trusted device stores a remote gateway trust mapping table, a splicing rule set, and a first generation rule set; the remote gateway trust mapping table is the remote gateway connected to the trusted device and its trustworthiness; the splicing rule set is a set including different splicing rules; the first generation rule set is a set including several different generation rules.
[0010] Preferably, the trusted device evaluates the trustworthiness of the access message based on the original trustworthiness of the remote gateway connected to it, the trustworthiness of the data access party transmitted by the corresponding remote gateway, and the transmission path and mode of the access message; if the evaluation is passed, it is transmitted to the server side for signature verification.
[0011] Preferably, if the evaluation fails, the corresponding remote gateway and the server adjust the corresponding splicing rule and / or the first generation rule according to a predetermined strategy.
[0012] Preferably, the corresponding remote gateway and the server end adjust the corresponding splicing rules and / or the first generation rules according to the pre-agreed strategy, including selecting new splicing rules and / or first generation rules from the corresponding splicing rule set and / or the first generation rule set according to the pre-agreed strategy.
[0013] Preferably, the server side receives the access message that passes the trustworthiness and verifies the signature, including obtaining the signature data, obtaining the timestamp and signature verification data of the access message for the access message that passes the signature verification, verifying the timestamp of the access request message and the signature verification data, and if the verification passes, receiving the access information and transmitting the verification result to the trusted device; the trusted device updates the trustworthiness of the corresponding remote gateway according to the verification result.
[0014] Preferably, for an access message that passes the signature verification, obtaining a timestamp and signature verification data of the access message, and verifying the timestamp of the access message and the signature verification data include:
[0015] The server obtains the pre-distributed token, the first signature value, and the timestamp when the verification string is generated in the signature verification data for the access message that passes the signature verification;
[0016] Verify whether the pre-distributed token is valid. If it is invalid, reject data docking. If it is valid, compare the signature value of the access message with the first signature value to see if they are consistent. If they are inconsistent, reject data docking. If they are consistent, determine whether the difference between the timestamp of the access message and the timestamp when the verification string is generated exceeds the preset value. If so, reject data access. If not, conduct data docking with the docking party.
[0017] Preferably, the step of generating the first signature value of the access message encrypted by the docking party includes:
[0018] The docking party converts the pre-transmitted access information into a string and concatenates it with the random string obtained by the hash salt principle to obtain a pre-encrypted string;
[0019] The pre-encrypted character string is signed according to the agreed encryption method to obtain a first signature value.
[0020] The present invention also proposes a system using the above-mentioned data transmission method of a waste-free city based on trusted computing technology, comprising a plurality of docking parties, a trusted device, and a server end; a single docking party comprises a plurality of data access terminals and a remote gateway, and a plurality of the data access terminals are connected to the trusted device through the remote gateway; the trusted device is an isolated physical device and is configured on the side of the cloud server end, and the trusted device stores a remote gateway trustworthiness mapping table, a splicing rule set, and a first generation rule set;
[0021] The trusted device receives the access message sent by the docking party, performs a trustworthiness assessment on the access message, and transmits the access message that passes the trustworthiness assessment to the server side; the server side receives the access message that passes the trustworthiness assessment for signature verification, and receives the access information transmitted by the access message that passes the signature verification.
[0022] Compared with the prior art, the data transmission method and system for a waste-free city based on trusted computing technology proposed in the present invention have the following beneficial effects: first, the trustworthiness of the access message is evaluated by a trusted device, and the server only verifies the signature of the access message that passes the trustworthiness evaluation, and receives the access information contained in the access message that passes the signature verification. This can not only ensure the security of the server, but also realize tamper-proof and non-repudiation of data transmission, and is more suitable for data management in a waste-free city. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 The present invention is a flow chart of the data transmission method. DETAILED DESCRIPTION
[0024] The technical solution protected by the present invention is described in detail below with reference to the accompanying drawings.
[0025] Please refer to Figure 1. The present invention proposes a data transmission method for a waste-free city based on trusted computing technology, which is used to ensure the security of access information received by the server side of the waste-free city, and can also ensure the tamper-proof and anti-repudiation of the received access information; the access information to be collected by the waste-free city includes but is not limited to the supervision data of five major categories of solid waste, namely industrial solid waste, hazardous waste, domestic waste, agricultural waste and construction waste, the completion data of four lists, namely the solid waste generation quantity list, responsibility list, task list and project list, as well as the department linkage and regional linkage data, etc. The devices that generate these data are dispersed and may be connected to the server side in various ways, and the network environment is complex. Therefore, it is necessary for the server side to ensure the reliability of the data source. At the same time, it is also necessary to promptly discover the possibility of interception and tampering of the access information during the transmission process, which is not only conducive to ensuring the accuracy of the server-side data, but also can help to achieve traceable management.
[0026] Specifically, the data transmission system for a waste-free city based on the present invention includes several docking parties to which access information is to be uploaded and trusted devices and server ends that can be physically isolated; wherein the docking party includes a remote gateway and several data access ends connected to the trusted devices and the server end through the remote gateway; the data access end encapsulates the access information to be transmitted into an access message, and transmits it to the server end through the remote gateway; before receiving the access message, the server end first evaluates the trustworthiness of the access message through a trusted device; if the evaluation is passed, the server end then verifies the signature of the access message to verify whether the access information contained in the access message has been tampered with; if it has been tampered with, the access information transmitted by it is rejected to ensure the authenticity and reliability of the server-side data.
[0027] The trusted device is configured on the server side and is physically isolated. The trusted device stores a remote gateway trust mapping table, a splicing rule set, and a first generation rule set. It can not only evaluate the trustworthiness of access messages, but also safely store multiple encryption rules. When the trustworthiness of an access message transmitted by a remote gateway is lower than a set value or changes abnormally large, the remote gateway and the server can simultaneously select corresponding new splicing rules and first generation rules in the splicing rule set and the first generation rule set according to the agreed strategy, that is, change the encryption method of the access message. These encryption rules are stored on the trusted device, and it is difficult for attackers to obtain specific rules, which increases the difficulty of being attacked and cracked to a certain extent, thereby ensuring the security of transmitted data.
[0028] Several data access terminals can establish a connection with the remote gateway through a secure private network, etc., and physically isolate the remote gateway accordingly, and store corresponding encryption rules on the remote gateway, namely, a splicing rule set and a first generation rule set; in other embodiments, the remote gateway does not need to store corresponding encryption rules, but requests the encryption rules of the letter from a trusted device, and the trusted device can transmit the relevant rules to the data access terminal through a more secure network through the remote gateway for encryption; when a new encryption rule needs to be replaced, the trusted device only needs to feedback the need to change the encryption rule to the remote gateway and the server, and the remote gateway and the server will use the same encryption rule.
[0029] Each of the data access terminals may be a data center based on a district or a street, which transmits the data related to garbage classification within its jurisdiction to a higher-level data center. That is, in this embodiment, the server terminal may be a district-level data center connected to data centers on multiple streets, or it may be a municipal-level data center connected to data centers on multiple districts. That is, it is able to receive data that has not been tampered with and receive secure data sources, thereby ensuring the credibility and security of the data center at this level.
[0030] For each docking party, it has completed registration on the corresponding server side in advance. The server side distributes a token representing its identity information to it. The docking party stores the pre-distributed token. When the docking party has data to transmit, it first generates verification data according to the splicing rule and the first generation rule, and puts the verification data in the request message header, and then transmits the access message to the trusted device. The trusted device evaluates the trustworthiness of the access message based on the original trustworthiness of the remote gateway connected to it, the trustworthiness of the data access party transmitted by the corresponding remote gateway, and the transmission path and transmission mode of the access message. If the evaluation is passed, the server side verifies the access message. After receiving the access message, the server side undergoes a series of verifications to ensure that the transmitted data has not been tampered with. Only secure and trusted access data is accepted.
[0031] Specifically, the docking party signs the data to be transmitted according to the agreed encryption method, and records the obtained signature value as the first signature value; at the same time, a random string is generated using the first generation rule, and then the signature verification data is generated according to the splicing rule. The signature verification data includes the random string, the timestamp when the verification string is generated, the token pre-distributed by the server, and the first signature value of the docking party's encrypted access message.
[0032] Furthermore, the step of generating a first signature value for encrypting the access message by the docking party includes:
[0033] The docking party converts the pre-transmitted access information into a string and concatenates it with the random string obtained by the hash salt principle to obtain a pre-encrypted string;
[0034] The pre-encrypted character string is signed according to the agreed encryption method to obtain a first signature value.
[0035] In addition, the trusted device can also store and apply the access information received by the server. Specifically, the trusted device can integrate all access information based on metadata-based multi-source heterogeneous data to reduce storage pressure and cost, including: constructing a local analysis ontology based on the data type, and generating a zero-waste city five-category solid waste supervision domain ontology based on the local analysis ontology, and extracting the corresponding local metadata at the same time; integrating the local metadata under the guidance of the zero-waste city five-category solid waste supervision domain ontology to obtain global metadata. At the same time, the stored global metadata can also be analyzed by calling the corresponding analysis model to form an analysis result, wherein the analysis model is a solid waste collaborative analysis model based on neural network technology and a solid waste generation and disposal capacity matching analysis model; in addition, it can also display the analysis results of the analysis decision module, and further use the rich front-end technology to build a monitoring map of each link of the five categories of solid waste generation, collection, transportation, disposal, and storage, so as to realize the intelligent tracking and supervision of the five categories of solid waste throughout their life cycle.
[0036] The present invention also proposes a data transmission system for a waste-free city, comprising a plurality of docking parties, a trusted device, and a server end; a single docking party comprises a plurality of data access terminals and a remote gateway, and the plurality of data access terminals are connected to the trusted device through the remote gateway; the trusted device is an isolated physical device and is configured on the side of the cloud server end, and the trusted device stores a remote gateway trustworthiness mapping table, a splicing rule set, and a first generation rule set;
[0037] The trusted device receives the access message sent by the docking party, performs a trustworthiness assessment on the access message, and transmits the access message that passes the trustworthiness assessment to the server side; the server side receives the access message that passes the trustworthiness assessment for signature verification, and receives the access information transmitted by the access message that passes the signature verification.
[0038] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A data transmission method for a waste-free city based on trusted computing technology. It is characterized in that The invention comprises a docking party, a trusted device and a server; the server receives an access message transmitted by the docking party through the trusted device; the trusted device receives an access message sent by the docking party, performs a trustworthiness evaluation on the access message, and transmits the access message that passes the trustworthiness evaluation to the server; The server receives the access message that passes the trustworthiness assessment for signature verification, and receives access information transmitted by the access message that passes the signature verification; Among them, the access message includes a request message header and access information, and the request message header includes signature verification data and signature data; the signature verification data is a string obtained by splicing a random string, a timestamp when generating a verification string, a token pre-distributed by the server, and a first signature value encrypted by the docking party for the access message according to a splicing rule; the random string is generated according to a first generation rule.
2. According to claim 1, a data transmission method for a waste-free city based on trusted computing technology, It is characterized in that The docking party includes a remote gateway and a data access terminal connected to the remote gateway; the remote gateway is connected to the trusted device, the trusted device evaluates the trustworthiness of the remote gateway, and the remote gateway evaluates the trustworthiness of the data access terminal.
3. The data transmission method for a waste-free city based on trusted computing technology according to claim 2, It is characterized in that The trusted device stores a remote gateway trust mapping table, a splicing rule set, and a first generation rule set; the remote gateway trust mapping table is the remote gateway connected to the trusted device and its trustworthiness; the splicing rule set is a set including different splicing rules; the first generation rule set is a set including several different generation rules.
4. The data transmission method for a waste-free city based on trusted computing technology according to claim 3, It is characterized in that The trusted device evaluates the trustworthiness of the access message based on the original trustworthiness of the remote gateway connected to it, the trustworthiness of the data access party transmitted by the corresponding remote gateway, and the transmission path and mode of the access message; if the evaluation is passed, it is transmitted to the server for signature verification.
5. The data transmission method for a waste-free city based on trusted computing technology according to claim 4, It is characterized in that If the evaluation fails, the corresponding remote gateway and the server adjust the corresponding splicing rule and / or the first generation rule according to a predetermined strategy.
6. The data transmission method for a waste-free city based on trusted computing technology according to claim 5, It is characterized in that The corresponding remote gateway and the server end adjust the corresponding splicing rules and / or the first generation rules according to the pre-agreed strategy, including selecting new splicing rules and / or first generation rules from the corresponding splicing rule set and / or the first generation rule set according to the pre-agreed strategy.
7. The data transmission method for a waste-free city based on trusted computing technology according to claim 4, It is characterized in that The server receives the access message that passes the trustworthiness and verifies the signature, including obtaining the signature data, obtaining the timestamp and the signature verification data of the access message that passes the signature verification, and verifying the timestamp and the signature verification data of the access request message. If the verification passes, the server receives the access information and transmits the verification result to the trusted device; The trusted device updates the trustworthiness of the corresponding remote gateway according to the verification result.
8. The data transmission method for a waste-free city based on trusted computing technology according to claim 7, It is characterized in that For an access message that passes the signature verification, obtaining a timestamp and signature verification data of the access message, and verifying the timestamp of the access message and the signature verification data, including: The server obtains the pre-distributed token, the first signature value, and the timestamp when the verification string is generated in the signature verification data for the access message that passes the signature verification; Verify whether the pre-distributed token is valid. If it is invalid, reject data docking. If it is valid, compare the signature value of the access message with the first signature value to see if they are consistent. If they are inconsistent, reject data docking. If they are consistent, determine whether the difference between the timestamp of the access message and the timestamp when the verification string is generated exceeds the preset value. If so, reject data access. If not, conduct data docking with the docking party.
9. The data transmission method for a waste-free city based on trusted computing technology according to claim 1, It is characterized in that The step of generating a first signature value for encrypting the access message by the docking party includes: The docking party converts the pre-transmitted access information into a string and concatenates it with the random string obtained by the hash salt principle to obtain a pre-encrypted string; The pre-encrypted character string is signed according to the agreed encryption method to obtain a first signature value.
10. A system using the data transmission method for a waste-free city based on trusted computing technology as claimed in any one of claims 1 to 9, It is characterized in that The system comprises several docking parties, trusted devices and a server end; a single docking party comprises several data access terminals and a remote gateway, and the several data access terminals are connected to the trusted device through the remote gateway; the trusted device is an isolated physical device and is configured on the server end side, and the trusted device stores a remote gateway trustworthiness mapping table, a splicing rule set and a first generation rule set; The trusted device receives the access message sent by the docking party, performs a trustworthiness evaluation on the access message, and transmits the access message that passes the trustworthiness evaluation to the server end; The server receives the access message that passes the trustworthiness evaluation for signature verification, and receives access information transmitted by the access message that passes the signature verification.
