CN110825776A - Air quality detection report processing method and device, computing equipment and storage medium - Google Patents

Air quality detection report processing method and device, computing equipment and storage medium Download PDF

Info

Publication number
CN110825776A
CN110825776A CN201911081111.9A CN201911081111A CN110825776A CN 110825776 A CN110825776 A CN 110825776A CN 201911081111 A CN201911081111 A CN 201911081111A CN 110825776 A CN110825776 A CN 110825776A
Authority
CN
China
Prior art keywords
air quality
air
equipment
quality detection
report
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911081111.9A
Other languages
Chinese (zh)
Other versions
CN110825776B (en
Inventor
李亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Cloud Computing Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Cloud Computing Beijing Co Ltd filed Critical Tencent Cloud Computing Beijing Co Ltd
Priority to CN201911081111.9A priority Critical patent/CN110825776B/en
Publication of CN110825776A publication Critical patent/CN110825776A/en
Application granted granted Critical
Publication of CN110825776B publication Critical patent/CN110825776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06395Quality analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Bioethics (AREA)
  • Operations Research (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides an air quality detection report processing method, an air quality detection report processing device, a computing device and a storage medium, which relate to the technical field of block chains and comprise the following steps: receiving an inquiry request for inquiring a building air quality report, wherein the inquiry request at least comprises indication information of a building to be inquired; acquiring an air quality detection report corresponding to the indication information of the building to be inquired from the block chain system, and responding to the inquiry request according to an inquiry result; the air quality detection report is stored when the blockchain system authenticates the air quality detection report as a legitimate report; and the air quality detection report comprises the indication information of the building to be inquired and an air quality detection result. In this way, more reliable air quality test reports of the house can be obtained based on the blockchain system.

Description

Air quality detection report processing method and device, computing equipment and storage medium
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a method and an apparatus for processing an air quality detection report, a computing device, and a storage medium.
Background
At present, in each city, the house renting service provided based on the long-renting apartment platform brings great convenience to people living and working in each city. However, it is difficult for a user to obtain an air quality detection report regarding a long-rental apartment before renting the long-rental apartment, and on one hand, the long-rental apartment platform may not perform air quality detection on the apartment under the long-rental apartment platform for cost reduction, and on the other hand, the air quality detection mechanism selected by the long-rental apartment platform does not meet the national regulation standard, or the detected environment does not meet the detection standard requirement. In addition, whether renting or buying a house, the user is concerned about the air quality of the house. Based on this, a new air quality detection report processing method is needed to solve the problem that it is difficult for users to obtain effective room air quality detection reports.
Disclosure of Invention
The embodiment of the application provides an air quality detection report processing method and device, computing equipment and a storage medium, which are used for solving the problem that an effective air quality detection report cannot be obtained in the related art.
In a first aspect, an embodiment of the present application provides an air quality detection report processing method, where the method includes:
receiving an inquiry request for inquiring a building air quality report, wherein the inquiry request at least comprises indication information of a building to be inquired;
acquiring an air quality detection report corresponding to the indication information of the building to be inquired from the block chain system, and responding to the inquiry request according to an inquiry result; the air quality detection report is stored when the blockchain system authenticates the air quality detection report as a legitimate report;
and the air quality detection report comprises the indication information of the building to be inquired and an air quality detection result.
In a second aspect, an embodiment of the present application provides an air quality detection report processing method, which is applied to a report uploading device of a detection mechanism, and the method includes:
acquiring an air quality detection report of a detected building from air analysis equipment, wherein the air quality detection report comprises an air quality detection result;
and after the building indication information of the detected building is added to the air quality detection report, uploading the air quality detection report to a blockchain system, so that the building indication information and the air quality detection report are stored in a correlated manner when the blockchain system authenticates the air quality detection report as a legal report.
In a third aspect, an embodiment of the present application provides an air quality detection report processing method, which is applied to an air collection device, and the method includes;
sampling gas in the environment of the detected building;
sending the sampled gas to an air analysis device, so that the air analysis device generates an air quality detection report of the detected building and uploads the air quality detection report to a blockchain system for report legality authentication and storage through a report uploading device of a detection structure.
In one embodiment, the method further comprises:
acquiring acquisition description information, wherein the acquisition description information comprises at least one of the following information: the method comprises the following steps of collecting equipment identification of air collecting equipment, collecting environmental position information, collecting environmental height information, video Hash values in the whole collecting process, collecting starting time and collecting finishing time;
signing the acquisition description information by using a private key of the air acquisition equipment to obtain a signature of the air acquisition equipment;
and sending the collection description information and the signature of the air collection device to the air analysis device.
In a fourth aspect, an embodiment of the present application provides an air quality detection report processing method, which is applied to an air analysis device, and the method includes:
acquiring a sampled gas from an air collection device;
analyzing the sampled gas to obtain an air quality detection result;
and generating an air quality detection report according to the air quality detection result, and sending the air quality detection report to report uploading equipment of a detection mechanism, so that the report uploading equipment uploads the air quality detection report to a block chain system for report legality authentication and storage.
In one embodiment, the method further comprises:
acquiring a signature and acquisition description information of the air acquisition equipment from the air acquisition equipment; the acquisition description information includes at least one of the following information: the method comprises the following steps of collecting equipment identification of air collecting equipment, collecting environmental position information, collecting environmental height information, video Hash values in the whole collecting process, collecting starting time and collecting finishing time;
the signature of the air acquisition equipment is obtained by the air acquisition equipment by utilizing a private key of the air acquisition equipment to sign the acquisition description information;
the signature of the air analysis equipment is obtained by signing the following information according to the private key of the air analysis equipment, and the signature comprises the following steps: the air collection device signature, the air quality detection result, analysis description information, and the collection description information, the analysis description information including at least one of: the air quality detection report identifier, and the equipment identifier of the air analysis equipment;
generating an air quality detection report according to the air quality detection result, comprising:
adding the signature of the air collection device, the collection description information, the signature of the air analysis device, the air quality detection result, and the analysis description information to the air quality detection report.
In a fifth aspect, an embodiment of the present application provides an air quality detection report processing method, which is applied to a client, and the method includes:
responding to query operation implemented on an air quality query interface, and acquiring indication information of a building to be queried;
generating an inquiry request carrying the indication information of the building to be inquired; and the number of the first and second electrodes,
and calling a query interface provided by the blockchain system, and sending the query request to the blockchain node of the blockchain system.
In one embodiment, the query interface comprises a building image corresponding to the building indication information or an input box of the building information to be queried.
In a sixth aspect, an embodiment of the present application provides an air quality detection report processing apparatus, which is applied to a blockchain node, and includes:
the receiving module is used for receiving an inquiry request for inquiring the air quality report of the building, wherein the inquiry request at least comprises the indication information of the building to be inquired;
the acquisition module is used for acquiring an air quality detection report corresponding to the indication information of the building to be inquired from the block chain system and responding to the inquiry request according to an inquiry result; the air quality detection report is stored when the blockchain system authenticates the air quality detection report as a legitimate report;
and the air quality detection report comprises the indication information of the building to be inquired and an air quality detection result.
In a seventh aspect, an embodiment of the present application provides an air quality detection report processing apparatus, which is applied to a report uploading device of a detection mechanism, and includes:
the system comprises an acquisition module, a detection module and a control module, wherein the acquisition module is used for acquiring an air quality detection report of a detected building from air analysis equipment, and the air quality detection report comprises an air quality detection result;
and the uploading module is used for uploading the air quality detection report to a blockchain system after the building indication information of the detected building is added to the air quality detection report, so that the building indication information and the air quality detection report are stored in a correlated manner when the blockchain system authenticates the air quality detection report as a legal report.
In an eighth aspect, an embodiment of the present application provides an air quality detection report processing apparatus, which is applied to an air collection device, and includes;
the sampling module is used for sampling gas in the environment of the detected building;
and the sending module is used for sending the sampled gas to air analysis equipment so that the air analysis equipment generates an air quality detection report of the detected building and uploads the air quality detection report to a block chain system for report legality authentication and storage through report uploading equipment of a detection structure.
In a ninth aspect, an embodiment of the present application provides an air quality detection report processor apparatus, which is applied to an air analysis device, and includes:
the acquisition module is used for acquiring sampling gas from the air acquisition equipment;
the analysis module is used for analyzing the sampling gas to obtain an air quality detection result;
and the detection result generation module is used for generating an air quality detection report according to the air quality detection result and sending the air quality detection report to report uploading equipment of a detection mechanism, so that the report uploading equipment uploads the air quality detection report to a block chain system for report legality authentication and storage.
In a tenth aspect, an embodiment of the present application provides an air quality detection report processing apparatus, which is applied to a client, and includes:
the acquisition module is used for responding to the query operation implemented on the air quality query interface and acquiring the indication information of the building to be queried;
the generating module is used for generating a query request carrying the indication information of the building to be queried;
and the calling module is used for calling a query interface provided by the blockchain system and sending the query request to the blockchain node of the blockchain system.
In an eleventh aspect, an embodiment of the present application further provides a computing device, including:
a memory and a processor;
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and carrying out the air quality detection report processing method according to any one of the first aspect, the second aspect, the third aspect, the fourth aspect and the fifth aspect of the obtained program.
In a twelfth aspect, embodiments of the present application further provide a computer storage medium, where the computer storage medium stores computer-executable instructions for causing a computer to execute any one of the air quality detection report processing methods in the embodiments of the present application.
According to the method, firstly, an inquiry request for inquiring the air quality report of the building is received, wherein the inquiry request at least comprises indication information of the building to be inquired, then the air quality detection report corresponding to the indication information of the building to be inquired is obtained from a block chain system, and the inquiry request is responded according to an inquiry result; the air quality detection report is stored when the blockchain system authenticates the air quality detection report as a legitimate report; and the air quality detection report comprises the indication information of the building to be inquired and an air quality detection result. In this way, more reliable air quality test reports of the house can be obtained based on the blockchain system.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic view of an application scenario of a method for processing an air quality detection report according to an embodiment of the present application;
fig. 1B is a schematic view of an application scenario of a blockchain system for processing an air quality detection report according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of an air quality detection report processing method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a query interface provided by an embodiment of the present application;
fig. 4 is a schematic flow chart of an air quality detection report processing method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a process of detecting uplink on device information according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a method for verifying information of a detection device according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a verification method for a detection report according to an embodiment of the present application;
fig. 8 is a schematic flow chart of an air quality detection report processing method according to an embodiment of the present application;
fig. 9 is a schematic flow chart of an air quality detection report processing method according to an embodiment of the present application;
fig. 10 is a schematic flow chart of an air quality detection report processing method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
As described in the background art, since the long-rental apartment rented by the user does not perform air quality detection, or the detection environment, the detection unit, and the detection equipment do not meet the predetermined standard when performing air quality detection, when the tenant does not know, if the air quality of the long-rental apartment does not meet the predetermined standard, the tenant directly entering the long-rental apartment may affect the physical condition, and therefore, there is a need for an air quality detection report processing method to solve the problem.
To address the above-mentioned problem of failing to obtain an effective room air quality detection report, the inventors have found that this problem can be solved in conjunction with Blockchain (Blockchain) technology. The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The block chain, which is essentially a decentralized database, is a string of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, which is used for verifying the validity (anti-counterfeiting) of the information and generating a next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability and the characteristics of the superposed business. The application service layer provides the application service based on the block chain scheme for the business participants to use.
Fig. 1A is a schematic view of an application scenario of an air quality detection report processing method according to an embodiment of the present application, in which a blockchain system for air quality detection is provided, and includes a plurality of blockchain nodes 101, where the plurality of blockchain nodes 101 may be any type of computing device in an access network, such as a server, a terminal, and the like, and each blockchain node 101 may receive input information during normal operation and maintain shared air quality detection data in the blockchain system based on the received input information. For the purposes of the present application, each blockchain node in the blockchain system may be a node into which data is written by a computing device for a detection device manufacturer, a house air quality detection mechanism, and a supervision department.
In order to ensure information intercommunication in the blockchain system, information connection may exist between each blockchain node 101 in the blockchain system, and information transmission may be performed between the blockchain nodes 101 through the information connection. For example, when an arbitrary blockchain node 101 in the blockchain system receives input information, other blockchain nodes 101 in the blockchain system acquire the input information according to a consensus mechanism, and store the input information as air quality detection reports corresponding to the same house code, so that the air quality detection reports corresponding to the house code stored on all blockchain nodes 101 in the blockchain system are consistent.
In the embodiment of the application, data uploading, inquiring and other operations in the air quality detection process can be performed in the block chain system through the intelligent contract, and the uploading permission of the related data of the air quality detection is obtained, so that data analysis is performed, management is performed through the intelligent contract, and the assurance of the public trust of the intelligent contract can be given due to the irredifilability and the transparency of the intelligent contract. And further, the generated air quality detection report has public confidence.
Referring to fig. 1B, it can be seen that the schematic diagram includes an uploading device 11 of a detection device manufacturer, an uploading device 12 of a detection mechanism, an uploading device 13 of a monitoring mechanism, an information interface 14, a terminal 15, and a user 16, it is to be noted that the content of an intelligent contract is predetermined in advance by the detection device manufacturer, the detection mechanism, and the monitoring mechanism, and it is required that the data uploaded and obtained by the uploading device in the block chain system by the detection device manufacturer, the detection mechanism, and the monitoring mechanism are all agreed to meet the intelligent contract.
It should be noted that the uploading device 11 of the manufacturer of the detection device may be used to store the already produced detection device such as: air collection equipment, air analysis equipment, can add detection equipment to the block chain system for detection mechanism uses. The uploading device 12 of the detection mechanism acquires the detection devices recorded in the block system for air quality detection, and transmits the acquired detection results to the block chain system. If the monitoring authority finds that some detection equipment manufacturers or detection authorities already added to the blockchain system have obviously out-of-specification behaviors, the authority of the detection equipment manufacturers or the detection authorities to add to the blockchain system can be cancelled through the uploading equipment 13 of the monitoring authority. The user 16 can access the information interface 14 corresponding to the blockchain system through the terminal 15 to view the air quality detection report in the blockchain system. The connection between the terminal 15 and the information interface 14 may be via a communication network, which may be a local area network, a wide area network, etc. The terminal 15 may be a mobile phone, a tablet computer, a notebook computer, a personal computer, or the like.
The embodiment of the application provides an air quality detection report processing method, which is applied to a client, as shown in fig. 2, a user can inquire an air quality detection report through the client, the inquiry interface can input the indication information of a building to be inquired through a link address provided by a related platform for inquiry, and the inquiry interface can also input the indication information of the building to be inquired through an inquiry platform provided by an air quality detection mechanism for inquiry. It should be noted that the user may be a general user who needs to query the air quality report of the building, or may also be a supervisory unit, the general user only has an authority to access the air quality detection report, and the supervisory unit may also upload data to the blockchain system according to actual needs, for example: indicating the air quality detection unit to give out an air quality detection report, or forbidding some obvious unreasonable behaviors, etc.
The client may perform step 201: and responding to the query operation implemented on the air quality query interface, and acquiring the indication information of the building to be queried. It should be noted that the query interface includes a building image corresponding to the building indication information, or an input box of the building information to be queried. If the building to be queried is a house, the indication information of the building to be queried may be a house code, and fig. 3 shows a query interface, where the user in fig. 3-a may input the house code 123 to be queried in an input window, and the user in fig. 3-B may click a picture corresponding to the house by logging in a software application of a long-rented apartment platform, so that the client obtains the house code to be queried.
Thereafter, the client performs step 202: and generating an inquiry request carrying indication information of the building to be inquired. Based on the generated query request, step 203 is performed: and calling a query interface provided by the blockchain system, and sending a query request to the blockchain node of the blockchain system.
The air quality detection is carried out in the mode, so that the experience degree of the user can be improved, and the credible house air quality detection report can be fed back to the user.
Accordingly, an embodiment of the present application provides an air quality detection report processing method, which is applied to a blockchain node, as shown in fig. 4, when acquiring an air quality detection report for each blockchain node in a blockchain system, step 401 may be performed first: and receiving an inquiry request for inquiring the air quality report of the building, wherein the inquiry request at least comprises the indication information of the building to be inquired. Based on the query request, by performing step 402: and acquiring an air quality detection report corresponding to the indication information of the building to be inquired from the block chain system, and responding to the inquiry request according to the inquiry result. The air quality detection report is stored when the block chain system authenticates the air quality detection report as a legal report, and the air quality detection report comprises the indication information of the building to be inquired and an air quality detection result. The reliability of the air quality detection report obtained based on the block chain is higher.
In one embodiment, before step 402 is executed, the block corresponding to the query request may be queried according to the correspondence between the building indication information and the block stored in the intelligent contract in the block chain system, and when step 402 is executed, the step may be executed to obtain the air quality detection report corresponding to the building indication information to be queried in the query request from the corresponding block. In the mode, the block corresponding to the query request in the block system is searched based on the intelligent contract, all blocks in the block system do not need to be traversed one by one, the searching efficiency is improved, and the air quality detection report can be obtained more quickly.
In one embodiment, in order to facilitate the user to obtain the air quality detection report within the same access specified time period, the query request further includes: and the specified time period can be used for acquiring the air quality detection report of the specified time period corresponding to the indication information of the building to be inquired from the corresponding block. The air quality detection report can also comprise the air starting acquisition time and the air ending acquisition time, and after the detection report set corresponding to the indication information of the building to be inquired is obtained from the block chain system, the air quality detection report with the starting acquisition time and/or the air ending acquisition time in a specified time period is screened from the detection report set. Such as: the air quality detected by the detection mechanism 1 does not reach the standard in 4 months and 15 days, namely 10:00-11:00, of the same house, and an air quality detection report is generated, but the air of the house is controlled, the detection mechanism 2 detects the air quality of the house again in 5 months and 17 days, namely 13:00-14:00, and generates the air quality detection report, the detection mechanism 3 also detects the air quality in 6 months and 20 days, namely 16:00-17:00, and generates the air quality detection report, and a user can inquire the air quality detection reports in 4 months and 15 days, namely 10:00-11:00, 5 months and 17 days, namely 13:00-14:00, and 6 months and 20 days, namely 16:00-17: 00. Therefore, the user can send air quality detection reports in different specified time periods for different quality inspection mechanisms in the same house. In this way, the user can know the air quality information of the building more comprehensively.
It should be noted that when the manufacturer of the test device adds the information of the test device to the blockchain system, the information of the test device can be called by the smart contract. For the block chain link points in the block chain system, the detection device information may be added to the block chain system by the method as shown in fig. 5. The method can be implemented as follows:
step 501: receiving a reporting request for reporting the detection equipment; the report request includes a signature of a detection device manufacturer of each detection device and description information of each detection device.
It should be noted that the detection device description information includes: the public key information of the detection device, the Central Processing Unit (CPU) information of the detection device, etc. are not specifically limited herein, and all information that can characterize the detection device may be used as description information. The detection equipment manufactured by the detection equipment manufacturer comprises: the information included in the report request of the air collection device and the air analysis device can be displayed through table 1, and for the fact that the ID of the air collection device is stored in the KEY of the air collection device, the device information of the air collection device and the signature information generated by a detection device manufacturer through a private KEY of the detection device are stored in the VALUE. For the air analysis device KEY storing the ID of the air analysis device, the VALUE stores device information of the air analysis device and signature information generated by a detection device manufacturer through a private KEY thereof.
TABLE 1
Figure BDA0002263984040000121
Step 502: acquiring a public key of a detection equipment manufacturer; and the public key of the detection equipment manufacturer is stored in the intelligent contract or the block of the block chain system after being authenticated in advance.
Step 503: and verifying the signature of the detection equipment manufacturer according to the public key of the detection equipment manufacturer. If the signature check is passed, step 504 is executed, and if the signature check is not passed, step 505 is executed.
It should be noted that, according to the intelligent contract or the public key information of the detection device manufacturer is queried from the block of the blockchain system, the signature information of the detection device manufacturer is verified, and it is determined whether the detection device manufacturer is a manufacturer that can write data through the blockchain node, and if so, the detection device information can be written into the blockchain system.
Step 504: and storing the description information of the detection equipment and the signature of the manufacturer of the detection equipment into a block of the block chain system so as to carry out validity verification on the subsequently received air quality detection report.
Step 505: the test device description information and the test device manufacturer signature are not stored in the blockchain system.
In one embodiment, before storing the information of the detection device and the signature of the manufacturer of the detection device in the blockchain system, the information type and the information format of the detection device need to be verified, and referring to fig. 6, the following steps are performed:
step 601: the type of information and the format of information specified in the check device information required in the smart contract are determined.
Step 602: detecting whether the detection equipment information in the report request meets the required information type and information format; if yes, go to step 603; if not, go to step 604.
Step 603: and storing the detection equipment information and the signature of the detection equipment manufacturer into the blockchain system.
And step 604, not storing the detection equipment information and the signature of the detection equipment manufacturer in the blockchain system.
By the method, the information of the detection device in the block chain system is ensured to be in accordance with the specification.
Further, after the manufacturer of the detection device adds the information of the detection device to the blockchain system, the information of the detection device can be called through the intelligent contract. It should be noted that the detection device description information includes: the validity of the detection report can be verified by the method shown in fig. 7 for the respective public key of each detection device.
The method can be implemented as follows:
step 701: receiving an uploading request carrying an air quality detection report and a detection mechanism identifier; the air quality detection report further comprises: the signature of the detection mechanism, the signature of the air collection device, the signature of the air analysis device, the device identification of the air analysis device, and the device identification of the air collection device.
Step 702: acquiring a public key of the detection mechanism according to the detection mechanism identification; and the public key of the detection mechanism is stored in the intelligent contract or the block of the block chain system after being authenticated in advance.
Step 703: verifying the signature of the detection mechanism according to the public key of the detection mechanism; if the check is passed, go to step 704; if the verification fails, step 705 is performed.
Step 704: and acquiring the public key of the air analysis equipment and the public key of the air collection equipment from prestored description information of the detection equipment according to the equipment identifier of the air collection equipment and the equipment identifier of the air analysis equipment in the air quality detection report.
Step 705: determining that the detection mechanism is out of specification.
Step 706: according to the public key of the air analysis equipment, signature verification is carried out on the signature of the air analysis equipment, and according to the public key of the air collection equipment, signature verification is carried out on the signature of the air collection equipment; if the verification is passed, go to step 707; if the verification is not passed, step 708 is performed.
It should be noted that, since the detection device includes the air collection device and the air analysis device, when signature verification is performed, the signatures of the air collection device and the air analysis device need to be verified respectively, and the air detection report can be stored in the block chain system only when the signatures are verified to be passed.
Step 707: the air detection report is stored into the blockchain system.
Step 708: the air detection report is not stored into the blockchain system.
The reliability of the air quality detection report obtained in the mode is higher.
To more clearly illustrate the processing method of the air quality detection report of the present application, first, a station is described in terms of an air collection device, and referring to fig. 8, the processing method can be executed as step 801: the gas in the environment of the building being tested is sampled.
Step 802: and sending the sampled gas to an air analysis device, so that the air analysis device generates an air quality detection report of the detected building and uploads the air quality detection report to a block chain system through a report uploading device of the detection structure for legality authentication and storage of the report.
In one embodiment, the air collection device needs to obtain the collection description information, sign the collection description information by using a private key of the air collection device to obtain a signature of the air collection device, and then send the collection description information and the signature of the air collection device to the air analysis device. The collection description information is signed by a private key of the air collection equipment so as to ensure the safety of the information.
Wherein the acquisition description information includes at least one of the following information: the method comprises the steps of collecting equipment identification of the air collecting equipment, position information of the collected environment, height information of the collected environment, video Hash values of the whole collecting process, collecting starting time and collecting finishing time.
It should be noted that the device identifier of the air collection device is mainly used to characterize the identity of the device, such as: the same equipment manufacturer produces the same type of air collection equipment, and each air collection equipment corresponds to an equipment identifier for representing identity. The position information of the collected environment can be acquired through a positioning module arranged in the air collecting device, such as: if the detected building is a house, the collected environment position information can be longitude and latitude information of the house. The height information of the collected environment can be acquired through an infrared detection module arranged in the air collection device, and can also be acquired through other modes without specific limitation. Accurate time information during air quality detection can be obtained through the acquisition starting time and the acquisition ending time.
In addition, it should be noted that, the video records can be cut and edited by the prior art, and in order to prevent others from maliciously tampering the video records in the air collection process at will, the video records in the collection process are encrypted by hash to obtain the hash value of the video records in the collection process. The hash value of the video in the collection process is used for being provided for an inquiry client of an air quality detection report, so that the client can be compared with the video data of the environment where the building is located outside the blockchain system to verify the legality of the video data of the environment where the building is located outside the blockchain system.
Based on the above, the air collection device has positioning capability, high positioning capability, collection environment video recording capability, time synchronization capability, air timing collection capability, public and private key storage capability and signature capability. In addition, it should be noted that when the air quality collection device collects the air quality, the collection period and the environmental factors triggering the collection should meet the collection rule of the collection device, so as to ensure the normalization of the collection process.
It should be noted that the air collection device may combine with Artificial Intelligence (AI) to analyze the collection environment to determine whether the collection environment meets the requirement, and only if the collection environment meets the requirement, the air detection is performed. The air analysis equipment can be in communication connection with the air collection equipment, so that after the air collection equipment collects air, the data are transmitted to the air analysis equipment to be subjected to air quality analysis.
After the air collection device collects the gas in the detected environment, the air collection device transmits the sampled gas to the air analysis device, and the air analysis device may execute step 901 by using the method flow shown in fig. 9: a sample gas is obtained from an air collection device.
Step 902: and analyzing the sampled gas to obtain an air quality detection result.
Step 903: and generating an air quality detection report according to the air quality detection result, and sending the air quality detection report to report uploading equipment of a detection mechanism, so that the report uploading equipment uploads the air quality detection report to a blockchain system for report legality authentication and storage.
In one embodiment, the air analysis device may obtain the signature and the collection description information of the air collection device from the air collection device, and obtain the signature of the air analysis device by signing the following information according to a private key of the air analysis device, including: the air collection device signature, air quality detection results, analysis description information and collection description information, wherein the analysis description information comprises at least one of the following information: and the air quality detection report identifier and the equipment identifier of the air analysis equipment are added into the air quality detection report after the signature, the acquisition description information, the signature of the air analysis equipment, the air quality detection result and the analysis description information of the air acquisition equipment are added.
It should be noted that the device identifier of the air analysis device is mainly used to characterize the identity of the device, such as: the same equipment manufacturer produces the same type of air analysis equipment, and each air analysis equipment corresponds to an equipment identifier for representing identity.
In this way, the reporting of the air analysis device detection means can be guaranteed to be effective.
When the detection mechanism receives the air quality detection report transmitted by the air analysis device, step 1001 may be executed with reference to fig. 10: and acquiring an air quality detection report of the detected building from the air analysis equipment, wherein the air quality detection report comprises an air quality detection result.
Step 1002: and after the building indication information of the detected building is added to the air quality detection report, uploading the air quality detection report to the blockchain system, so that the building indication information and the air quality detection report are stored in a correlated manner when the blockchain system authenticates the air quality detection report as a legal report.
It should be noted that the building indication information of the detected building may be acquired online by a worker of the detection mechanism and entered through a reporting device of the detection mechanism, or may be determined by the air collecting device according to the position information of the collected environment and the height information of the collected environment. The method for obtaining the indication information of the detected building is not particularly limited and is applicable to the present application.
In one embodiment, the air quality test report obtained from the air analysis device further includes a signature of the air collection device and a signature of the air analysis device, and the uploading device of the detection agency further generates a signature of the detection agency and adds the signature of the detection agency to the control quality test report.
The legality of the detection mechanism can be ensured by means of signature.
It should be noted that the air quality detection report obtained from the air analysis device further includes: acquiring description information and analyzing the description information, wherein the acquiring description information comprises at least one of the following information: the method comprises the steps of collecting equipment identification of the air collecting equipment, position information of the collected environment, height information of the collected environment, video Hash values of the whole collecting process, collecting starting time and collecting finishing time. The analysis description information includes at least one of the following information: the air quality detection report identification and the equipment identification of the air analysis equipment.
The signature of the air collection equipment is obtained by the air collection equipment by utilizing a private key of the air collection equipment to sign the collection description information. The signature of the air analysis device is obtained by the air analysis device after signing the following information, and comprises the following steps: the air collection device signature, the air quality detection result, the analysis description information, and the collection description information.
The signature of the detection mechanism is obtained by signing the following information by using the private key of the detection mechanism, and the signature comprises the following steps: the building indication information, the collection description information, the analysis description information, the air quality detection result, the signature of the air collection device, and the signature of the air analysis device.
It should be noted that information included in an air quality detection report reported by a reporting device of a detection mechanism may be displayed through table 2, where an air quality report number is stored in KEY, and signature information of an air collecting device, signature information of an air analyzing device, building indication information to be queried, signature information of the detection mechanism, collection description information, analysis description information, and an air quality detection result are stored in VALUE, where the air collecting device signs an device identifier of the air collecting device, location information of a collection environment, altitude information of the collection environment, a video hash VALUE of a whole collection process, a collection start time, and a collection end time of the air collecting device through its own private KEY, and obtains the signature information of the air collecting device. The air analysis equipment signs the air collection equipment through the own private key signature, the air quality detection result, the equipment identification of the air collection equipment, the position information of the collection environment, the height information of the collection environment, the video hash value of the whole collection process, the collection starting time and the collection ending time, the air analysis equipment identification and the air quality detection report identification.
TABLE 2
Figure BDA0002263984040000181
The air quality detection report acquired by the method is safer and more reliable.
Fig. 11 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application, applied to a block chain node, including: a receiving module 111 and an obtaining module 112.
The receiving module 111 is configured to receive an inquiry request for inquiring the air quality report of the building, where the inquiry request includes at least indication information of the building to be inquired.
An obtaining module 112, configured to obtain an air quality detection report corresponding to the indication information of the building to be queried from a blockchain system, and respond to the query request according to a query result; the air quality detection report is stored when the blockchain system authenticates the air quality detection report as a legitimate report; and the air quality detection report comprises the indication information of the building to be inquired and an air quality detection result.
Fig. 12 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application, and a report uploading device applied to a detection mechanism includes: an acquisition module 121 and an upload module 122.
And the obtaining module 121 is configured to obtain an air quality detection report of the detected building from the air analysis device, where the air quality detection report includes an air quality detection result.
An uploading module 122, configured to add the building indication information of the detected building to the air quality detection report, and then upload the air quality detection report to a blockchain system, so that the building indication information and the air quality detection report are stored in an associated manner when the blockchain system authenticates the air quality detection report as a legal report.
Fig. 13 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application, applied to an air collection device, including; a sampling module 131 and a sending module 132.
And a sampling module 131 for sampling gas in the environment of the building to be detected.
A sending module 132, configured to send the sampled gas to an air analysis device, so that the air analysis device generates an air quality detection report of the detected building, and uploads the air quality detection report to a blockchain system for validity authentication and storage of the report through a report uploading device of a detection structure.
Fig. 14 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application, applied to an air analysis device, including: an acquisition module 141, an analysis module 142, and a detection result generation module 143.
An acquisition module 141 for acquiring the sampled gas from the air collection device.
And the analysis module 142 is configured to analyze the sampled gas to obtain an air quality detection result.
And the detection result generating module 143 is configured to generate an air quality detection report according to the air quality detection result, and send the air quality detection report to a report uploading device of a detection mechanism, so that the report uploading device uploads the air quality detection report to the blockchain system for report validity authentication and storage.
Fig. 15 is a schematic structural diagram of an air quality detection report processing apparatus according to an embodiment of the present application, applied to a client, and including: an acquisition module 151, a generation module 152, and a calling module 153.
And the obtaining module 151 is configured to obtain the indication information of the building to be queried in response to a query operation implemented on the air quality query interface.
The generating module 152 is configured to generate an inquiry request carrying the indication information of the building to be inquired.
The invoking module 153 is configured to invoke a query interface provided by the blockchain system, and send the query request to a blockchain node of the blockchain system.
In some possible implementations, a computing device according to the present application may include at least one processor, and at least one memory. Wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the air quality detection report processing method according to various exemplary embodiments of the present application described above in the present specification. For example, the processor may perform step 201-step 203 as shown in fig. 2 or step 401-step 402 as shown in fig. 4 or step 801-step 802 as shown in fig. 8 or step 901-step 903 as shown in fig. 9 or step 1001-step 1002 as shown in fig. 10.
The computing device 130 according to this embodiment of the present application is described below with reference to fig. 16. The computing device 130 shown in fig. 16 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present application.
As shown in fig. 16, the computing apparatus 130 is embodied in the form of a general purpose computing device. Components of computing device 130 may include, but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 that connects the various system components (including the memory 132 and the processor 131).
Bus 133 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The memory 132 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
Memory 132 may also include a program/utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The computing device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), and/or with any device (e.g., router, modem, etc.) that enables the computing device 130 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 135. Also, computing device 130 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via network adapter 136. As shown, network adapter 136 communicates with other modules for computing device 130 over bus 133. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computing device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, various aspects of the position information processing method of the terminal provided by the present application may also be implemented in the form of a program product including a computer program for causing a computer device to perform the steps in the air quality detection report processing method according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device, for example, the computer device may perform the steps 201 to 203 shown in fig. 2 or the steps 401 to 402 shown in fig. 4 or the steps 801 to 802 shown in fig. 8 or the steps 901 to 903 shown in fig. 9 or the steps 1001 to 1002 shown in fig. 10.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for parameter processing of the embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include a computer program, and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with a readable computer program embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer program embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer programs for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer program may execute entirely on the target object computing device, partly on the target object apparatus, as a stand-alone software package, partly on the target object computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the target object computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having a computer-usable computer program embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. An air quality detection report processing method applied to a block chain node includes:
receiving an inquiry request for inquiring a building air quality report, wherein the inquiry request at least comprises indication information of a building to be inquired;
acquiring an air quality detection report corresponding to the indication information of the building to be inquired from the block chain system, and responding to the inquiry request according to an inquiry result; the air quality detection report is stored when the blockchain system authenticates the air quality detection report as a legitimate report;
and the air quality detection report comprises the indication information of the building to be inquired and an air quality detection result.
2. The method of claim 1, wherein the query request further comprises: a specified time period;
the air quality detection report also comprises the starting acquisition time and the ending acquisition time of the air;
the acquiring of the air quality detection report corresponding to the indication information of the building to be queried from the block chain system includes:
acquiring a detection report set corresponding to the indication information of the building to be queried from the block chain system;
and screening the air quality detection reports of which the acquisition starting time and/or the acquisition ending time are within the specified time period from the detection report set.
3. The method of claim 1, further comprising:
receiving a reporting request for reporting the detection equipment; the reporting request comprises the signature of a detection equipment manufacturer of each detection equipment and the description information of the detection equipment of each detection equipment;
acquiring a public key of the detection equipment manufacturer; the public key of the detection equipment manufacturer is stored in an intelligent contract or a block of the block chain system after being authenticated in advance;
according to the public key of the detection equipment manufacturer, verifying the signature of the detection equipment manufacturer;
and if the signature passes the verification, storing the description information of the detection equipment and the signature of the manufacturer of the detection equipment into a block of the block chain system so as to conveniently verify the legality of a subsequently received air quality detection report.
4. The method of claim 3, wherein the detection device comprises: air collection equipment and air analysis equipment; the detection equipment description information comprises equipment identification of each detection equipment and a public key of the detection equipment corresponding to the equipment identification;
and carrying out validity verification on the air quality detection report, wherein the validity verification comprises the following steps:
receiving an uploading request carrying an air quality detection report and a detection mechanism identifier; the air quality detection report further comprises: detecting a signature of a mechanism, a signature of air collection equipment, a signature of air analysis equipment, an equipment identifier of the air analysis equipment and an equipment identifier of the air collection equipment;
acquiring a public key of the detection mechanism according to the detection mechanism identification; the public key of the detection mechanism is stored in the intelligent contract or the block of the block chain system after being authenticated in advance;
verifying the signature of the detection mechanism according to the public key of the detection mechanism;
if the verification is passed, acquiring a public key of the air analysis equipment and a public key of the air collection equipment from the pre-stored description information of the detection equipment according to the equipment identifier of the air collection equipment and the equipment identifier of the air analysis equipment in the air quality detection report;
according to the public key of the air analysis equipment, signature verification is carried out on the signature of the air analysis equipment, and according to the public key of the air collection equipment, signature verification is carried out on the signature of the air collection equipment;
and if the signature of the air analysis equipment and the signature of the air collection equipment are verified, storing the air quality detection report into a block of the block chain system.
5. The method of claim 1, wherein before the obtaining the air quality detection report corresponding to the building indication information to be queried from the blockchain system, the method further comprises:
inquiring the block corresponding to the inquiry request according to the corresponding relation between the building indication information stored in the intelligent contract in the block chain system and the block;
the acquiring of the air quality detection report corresponding to the indication information of the building to be queried from the block chain system includes:
and acquiring an air quality detection report corresponding to the indication information of the building to be inquired in the inquiry request from the corresponding block.
6. An air quality detection report processing method, which is applied to report uploading equipment of a detection mechanism, and comprises the following steps:
acquiring an air quality detection report of a detected building from air analysis equipment, wherein the air quality detection report comprises an air quality detection result;
and after the building indication information of the detected building is added to the air quality detection report, uploading the air quality detection report to a blockchain system, so that the building indication information and the air quality detection report are stored in a correlated manner when the blockchain system authenticates the air quality detection report as a legal report.
7. The method of claim 6, wherein the air quality detection report obtained from the air analysis device further includes a signature of the air collection device and a signature of the air analysis device, the method further comprising:
generating a signature of the detection structure;
before the uploading the air quality detection report to a blockchain system, the method further comprises:
adding a signature of the detection structure to the air quality detection report.
8. The method of claim 7, wherein the air quality detection report obtained from the air analysis device further comprises: acquiring description information and analyzing the description information, wherein the acquiring description information comprises at least one of the following information: the method comprises the following steps of collecting equipment identification of air collecting equipment, collecting environmental position information, collecting environmental height information, video Hash values in the whole collecting process, collecting starting time and collecting finishing time;
the analysis description information includes at least one of the following information: the air quality detection report identifier, and the equipment identifier of the air analysis equipment;
the signature of the air acquisition equipment is obtained by the air acquisition equipment by utilizing a private key of the air acquisition equipment to sign the acquisition description information;
the signature of the air analysis device is obtained by the air analysis device after signing the following information, and comprises the following steps: the air collection device signature, the air quality detection result, the analysis description information, and the collection description information;
the generating a signature of the detection structure comprises:
the signature of the detection mechanism is obtained by signing the following information by using the private key of the detection mechanism, and the signature comprises the following steps: the building indication information, the collection description information, the analysis description information, the air quality detection result, the signature of the air collection device, and the signature of the air analysis device.
9. A computing device, comprising: a memory and a processor;
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to perform the method of any of claims 1-5 or 6-8 in accordance with the obtained program.
10. A computer storage medium storing computer-executable instructions for performing the method of any one of claims 1-5 or 6-8.
CN201911081111.9A 2019-11-07 2019-11-07 Air quality detection report processing method and device, computing equipment and storage medium Active CN110825776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911081111.9A CN110825776B (en) 2019-11-07 2019-11-07 Air quality detection report processing method and device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911081111.9A CN110825776B (en) 2019-11-07 2019-11-07 Air quality detection report processing method and device, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110825776A true CN110825776A (en) 2020-02-21
CN110825776B CN110825776B (en) 2023-04-18

Family

ID=69553420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911081111.9A Active CN110825776B (en) 2019-11-07 2019-11-07 Air quality detection report processing method and device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110825776B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240322A (en) * 2021-05-31 2021-08-10 平安科技(深圳)有限公司 Climate risk exposure quality method, device, electronic equipment and storage medium
CN116383859A (en) * 2023-06-06 2023-07-04 四川省建筑科学研究院有限公司 Detection report generation method and device, electronic equipment and storage medium
CN116737743A (en) * 2023-08-14 2023-09-12 中煤科工集团信息技术有限公司 Coal heat detecting system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108701302A (en) * 2016-02-18 2018-10-23 康文科展有限公司 Investigation system
CN108960820A (en) * 2018-03-20 2018-12-07 翟红鹰 A kind of real name identification method based on block chain, system and storage medium
CN109191144A (en) * 2018-08-03 2019-01-11 食品安全与营养(贵州)信息科技有限公司 A kind of laboratory information business management system and working method based on block chain
US20190036681A1 (en) * 2016-07-29 2019-01-31 Trusted Key Solutions Inc. System and method for blockchain-based device authentication based on a cryptographic challenge
CN109302415A (en) * 2018-11-09 2019-02-01 四川虹微技术有限公司 A kind of authentication method, block chain node and storage medium
CN109523261A (en) * 2018-11-29 2019-03-26 北京元心科技有限公司 Transaction verification method, relevant apparatus and the readable storage medium storing program for executing of block chain terminal
CN109587238A (en) * 2018-12-03 2019-04-05 百度在线网络技术(北京)有限公司 The data processing of block chain and synchronous method, device, equipment and storage medium
CN110022298A (en) * 2019-03-04 2019-07-16 阿里巴巴集团控股有限公司 The method, apparatus of proof validation based on block chain, electronic equipment
US20190288846A1 (en) * 2018-03-13 2019-09-19 Paul Zawierka Method and system for verifying a voter through the use of blockchain validation
CN110278090A (en) * 2019-06-27 2019-09-24 尚菊红 Environment monitoring data monitoring system, processing method, computer equipment and storage medium
CN110324174A (en) * 2019-05-23 2019-10-11 深圳壹账通智能科技有限公司 Block chain environment detection method, unit and storage medium
CN110365730A (en) * 2018-04-10 2019-10-22 普天信息技术有限公司 Air quality information sharing method and device
US20190373472A1 (en) * 2018-03-14 2019-12-05 Clyde Clinton Smith Method and System for IoT Code and Configuration using Smart Contracts

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108701302A (en) * 2016-02-18 2018-10-23 康文科展有限公司 Investigation system
US20190036681A1 (en) * 2016-07-29 2019-01-31 Trusted Key Solutions Inc. System and method for blockchain-based device authentication based on a cryptographic challenge
US20190288846A1 (en) * 2018-03-13 2019-09-19 Paul Zawierka Method and system for verifying a voter through the use of blockchain validation
US20190373472A1 (en) * 2018-03-14 2019-12-05 Clyde Clinton Smith Method and System for IoT Code and Configuration using Smart Contracts
CN108960820A (en) * 2018-03-20 2018-12-07 翟红鹰 A kind of real name identification method based on block chain, system and storage medium
CN110365730A (en) * 2018-04-10 2019-10-22 普天信息技术有限公司 Air quality information sharing method and device
CN109191144A (en) * 2018-08-03 2019-01-11 食品安全与营养(贵州)信息科技有限公司 A kind of laboratory information business management system and working method based on block chain
CN109302415A (en) * 2018-11-09 2019-02-01 四川虹微技术有限公司 A kind of authentication method, block chain node and storage medium
CN109523261A (en) * 2018-11-29 2019-03-26 北京元心科技有限公司 Transaction verification method, relevant apparatus and the readable storage medium storing program for executing of block chain terminal
CN109587238A (en) * 2018-12-03 2019-04-05 百度在线网络技术(北京)有限公司 The data processing of block chain and synchronous method, device, equipment and storage medium
CN110022298A (en) * 2019-03-04 2019-07-16 阿里巴巴集团控股有限公司 The method, apparatus of proof validation based on block chain, electronic equipment
CN110324174A (en) * 2019-05-23 2019-10-11 深圳壹账通智能科技有限公司 Block chain environment detection method, unit and storage medium
CN110278090A (en) * 2019-06-27 2019-09-24 尚菊红 Environment monitoring data monitoring system, processing method, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
M. SHYAMALA DEVI 等: ""Integration of Blockchain and IoT in Satellite Monitoring Process"" *
周万锴 等: ""基于区块链的环境监测数据安全传输方案"" *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113240322A (en) * 2021-05-31 2021-08-10 平安科技(深圳)有限公司 Climate risk exposure quality method, device, electronic equipment and storage medium
CN113240322B (en) * 2021-05-31 2023-05-26 平安科技(深圳)有限公司 Climate risk disclosure quality method, apparatus, electronic device, and storage medium
CN116383859A (en) * 2023-06-06 2023-07-04 四川省建筑科学研究院有限公司 Detection report generation method and device, electronic equipment and storage medium
CN116383859B (en) * 2023-06-06 2023-08-22 四川省建筑科学研究院有限公司 Detection report generation method and device, electronic equipment and storage medium
CN116737743A (en) * 2023-08-14 2023-09-12 中煤科工集团信息技术有限公司 Coal heat detecting system
CN116737743B (en) * 2023-08-14 2023-11-24 中煤科工集团信息技术有限公司 Coal heat detecting system

Also Published As

Publication number Publication date
CN110825776B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN110825776B (en) Air quality detection report processing method and device, computing equipment and storage medium
CN104240342A (en) Access control method and device
KR101883400B1 (en) detecting methods and systems of security vulnerability using agentless
CN112398860A (en) Safety control method and device
CN110598434B (en) House information processing method and device based on blockchain network, electronic equipment and storage medium
CN104240013A (en) Door access control method and door access control platform
US11212105B2 (en) Systems and methods of providing and validating digital tickets
CN110597541B (en) Interface updating processing method, device, equipment and storage medium based on block chain
CN104240014A (en) Door access control method and door access control platform
CN110598474B (en) Block chain-based data acquisition method, system, device and storage medium
CN110502889B (en) Login method, login device, computer readable storage medium and computer equipment
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN114372296A (en) Block chain-based user behavior data auditing method and system
CN111339141A (en) Data transmission method, block link node equipment and medium
CN105491102A (en) Intelligent monitoring system based on cloud computing technology and device thereof
WO2020243818A1 (en) System and method for certifying integrity of data assets
CN112995357A (en) Domain name management method, device, medium and electronic equipment based on cloud hosting service
CN112862487A (en) Digital certificate authentication method, equipment and storage medium
CN110490536A (en) A kind of electronic seal system
CN111443976A (en) Application program generation method and device, electronic equipment and storage medium
CN113127919A (en) Data processing method and device, computing equipment and storage medium
CN115756255A (en) Method, device and equipment for processing equipment parameters of parking lot equipment and storage medium
CN114189800A (en) Vehicle driving track sharing method and device, equipment and storage medium
CN115809863B (en) Work management method and system based on block chain
TWI810853B (en) Cloud platform with an industrial iot model forecast function and a proactive audit function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant