Production data transmission method based on data request and electronic equipment

By responding to data requests in the blockchain network, determining the virtual request time and key, and judging the abnormality of data requests, the problem of difficult verification of the authenticity and validity of data requests in the traditional blockchain network is solved, and the problem of data requests is realized The security and privacy protection of production line data requests improves the security and reliability of data transmission.

CN119496637APending Publication Date: 2025-02-21LENOVO (BEIJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411537144.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

In traditional blockchain networks, the authenticity and validity of data requests are difficult to verify, and in the production line, it is not feasible to fully disclose the data because of confidentiality and privacy. The existing privacy request protection methods have privacy leakage and malicious time tampering. safety hazards.

Method used

By responding to data requests, the virtual request time is determined based on the sending time and preset time of the data requester; the data request key is determined based on the basic information and virtual request time of the data requester; and the virtual request time in the key is determined through the virtual request time in the key In addition to the current time, determine whether there is an exception in the data request, thereby determining whether to send the data requesting party to access.

Benefits of technology

It effectively protects the private information of the data requester, reduces the risk of privacy leakage, prevents malicious time tampering, improves the security and reliability of data transmission, and enhances the intelligence of production line data requests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496637A_ABST
    Figure CN119496637A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a production data transmission method based on a data request and electronic equipment, and the method comprises the steps: responding to the data request, and determining virtual request time based on the sending time of a data requester and first preset time; determining a key of the data request based on the basic information of the data requester and the virtual request time; the basic information of the data requester can reflect data to be accessed by the data requester and an access mode; determining whether the data request is abnormal or not based on the virtual request time and the current time in the secret key; and if the data request is not abnormal, sending the data to be accessed by the data requester to the data requester.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of production and manufacturing technology, and in particular to a production data transmission method and electronic equipment based on data request. Background Art

[0002] In traditional blockchain networks, all institutions participating in data requests (blockchain nodes) communicate with other institutions using a centralized network. In the traditional model, data is owned by each institution, and modification operations are easy to perform, but it is difficult to verify the authenticity and validity of data requests between institutions. However, in production lines, because the production plan of the production line, the information of the products produced, and other data involve a lot of confidentiality and privacy, it is not feasible to fully disclose the data, and the protection of privacy information is particularly important. Summary of the invention

[0003] In order to solve the above technical problems, the embodiments of the present application hope to provide a production data transmission method and electronic device based on data request.

[0004] The technical solution of this application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for production data transmission based on a data request, and the method for production data transmission based on a data request includes:

[0006] In response to the data request, determine a virtual request time based on a sending time of the data requester and a first preset time;

[0007] Determine the data request key based on the basic information of the data requester and the virtual request time; the basic information of the data requester can reflect the data that the data requester wants to access and the access method;

[0008] Determine whether the data request is abnormal based on the virtual request time and the current time in the key;

[0009] If there is no abnormality in the data request, the data that the data requester wants to access is sent to the data requester.

[0010] In the above scheme, the key for the data request is determined based on the basic information of the data requester and the virtual request time, including:

[0011] Send the basic information of the data requester to the privacy node for processing to obtain private data; the private data can reflect the identity information of the data requester;

[0012] Encrypt the private data and virtual request time to obtain the key.

[0013] In the above solution, the production data transmission method based on data request also includes:

[0014] Send the basic information of the data requester to the privacy node for processing to obtain the registration data;

[0015] Based on the registration data and the key, it is determined whether the data request satisfies the processing rights.

[0016] In the above scheme, based on the registration data and the key, determining whether the data request satisfies the processing authority includes:

[0017] Determine whether the data request satisfies the operation authority based on the request record, credit score, and authority in the registration data;

[0018] Based on the private data in the key, determine whether the data request satisfies the transmission permission;

[0019] If the data request satisfies the operation authority and the transmission authority, it is determined that the data request satisfies the processing authority;

[0020] If the data request does not satisfy the operation authority and / or the data request does not satisfy the transmission authority, it is determined that the data request does not satisfy the operation authority.

[0021] In the above scheme, based on the private data in the key, determining whether the data request satisfies the transmission permission includes:

[0022] Sending the key to the matching node so that the matching node obtains the private data based on the key, and determines a matching result representing whether the data request satisfies the transmission authority based on a matching relationship between the private data and a plurality of preset authority data;

[0023] Receive the matching results sent by the matching node.

[0024] In the above scheme, based on the virtual request time and the current time in the key, determining whether the data request is abnormal includes:

[0025] Decrypt the key and obtain the virtual request time;

[0026] Determine the time interval between the virtual request time and the current time;

[0027] If the time interval meets the time threshold, it is determined that there is no abnormality in the data request;

[0028] If the time interval does not meet the time threshold, it is determined that there is an abnormality in the data request.

[0029] In the above scheme, the data to be accessed by the data requester is sent to the data requester, including:

[0030] Send the private data to the data rights holder so that the data rights holder can initiate a data transmission channel based on the private data;

[0031] The data that the data requester wants to access is sent to the data requester through the data transmission channel.

[0032] In the above solution, the production data transmission method based on data request also includes:

[0033] Determine whether the data request is an operable request based on a preset data request operation table;

[0034] If the data request is an operational request, the basic information of the data requester and the sending time of the data requester are obtained.

[0035] In the above solution, the production data transmission method based on data request also includes:

[0036] If there is an abnormality in the data request, the private data will not be sent to the data rights holder for data transmission.

[0037] In a second aspect, an embodiment of the present application provides a production data transmission device based on a data request, wherein the production data transmission device based on a data request includes:

[0038] A first determination module, configured to respond to a data request and determine a virtual request time based on a sending time of a data requester and a first preset time;

[0039] The second determination module is used to determine the key of the data request based on the basic information of the data requester and the virtual request time; the basic information of the data requester can reflect the data and access method to be accessed by the data requester;

[0040] A third determination module is used to determine whether the data request is abnormal based on the virtual request time and the current time in the key;

[0041] The sending module is used to send the data that the data requester wants to access to the data requester if there is no abnormality in the data request.

[0042] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.

[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements some or all of the steps in the above method when executed by a processor.

[0044] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program or instructions, which implement some or all of the steps in the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of the implementation process of a production data transmission method based on data request provided in an embodiment of the present application Figure 1 ;

[0046] Figure 2 A schematic diagram of the implementation process of a production data transmission method based on data request provided in an embodiment of the present application Figure 2 ;

[0047] Figure 3 A schematic diagram of the composition structure of a production data transmission device based on data request provided in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0050] It should be understood that the "embodiments of the present application" or "the aforementioned embodiments" mentioned throughout the specification mean that specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, "in the embodiments of the present application" or "in the aforementioned embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.

[0051] Unless otherwise specified, the electronic device performs any step in the embodiments of the present application, and the processor of the electronic device may perform the step. It is also worth noting that the embodiments of the present application do not limit the order in which the electronic device performs the following steps. In addition, the methods used to process data in different embodiments may be the same method or different methods. It should also be noted that any step in the embodiments of the present application can be independently executed by the electronic device, that is, when the electronic device executes any step in the following embodiments, it may not rely on the execution of other steps.

[0052] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0053] The embodiment of the present application provides a production data transmission method based on a data request. The method can be applied to an electronic device. The electronic device may refer to a device where a data responder is located. Figure 1 As shown, the method includes the following steps 101 to 104:

[0054] Step 101: In response to a data request, a virtual request time is determined based on a sending time of a data requester and a first preset time.

[0055] Data requests in production lines mainly refer to requests involved in the real-time collection, transmission, processing and analysis of various data on production lines during industrial production. Data in production lines may include but are not limited to: the operating status of production lines, data generated during production, process parameters, manufacturing parameters, etc.

[0056] The data requester refers to the party that initiates the data request. The sending time refers to the time when the data requester sends the data request. The first preset time refers to a preset time; for example, the first preset time can be half an hour. The first preset time is obtained by the technical personnel of this application through a large number of tests, which can well implement the production data transmission method based on data request proposed in this application, and greatly improve the usability of this application.

[0057] The virtual request time refers to the time virtualized based on the sending time of the data requester. In a feasible implementation, the sending time of the data requester can be encrypted to obtain the virtual time, or a preset time (or other mask used to disguise the sending time) can be added to the sending time of the data requester to obtain the virtual time.

[0058] The purpose of setting the virtual request time is to protect the time when the actual data requester sends the data request (sending time). During the data transmission process, the virtual request time is transmitted instead of directly transmitting the actual sending time. This can prevent other organizations from capturing the sending time of the data requester and maliciously changing the system time or using a virtual machine to set the time, thereby improving the security and reliability of production line data requests.

[0059] In some implementations, a specific implementation of step 101 may be: determining the sum of the sending time of the data requester and the first preset time to obtain the virtual request time.

[0060] Step 102: Determine a key for the data request based on the basic information of the data requester and the virtual request time.

[0061] The basic information of the data requester can reflect the data that the data requester wants to access and the access method.

[0062] The basic information of the data requester refers to the basic information of the individual, team or system that initiates the data request in the production line. This information helps to ensure the accuracy, security and effectiveness of the data request. The basic information of the data requester may include, but is not limited to: the name of the data requester (individual name or team / department name), the purpose of the request, the specific reason or purpose of the data request, how the data will be used and the expected results, the type and scope of the data, the data format, the method and frequency of data transmission (real-time, batch, on-demand, etc.), the contact information of the requester, and other information.

[0063] In some implementations, step 102 may be specifically implemented by determining the key based on the target information and the virtual request time in the basic information of the data requester. Since the amount of information in the basic information is large and the attacker would not expect that the key is determined by the target information in the basic information, inconspicuous information may be selected from the basic information and the key may be determined using the information and the virtual request time.

[0064] In some implementations, step 102 may be specifically implemented as follows: determining the private data based on the basic information of the data requester; and determining the key based on the private data and the virtual request time.

[0065] It should be noted that the key is determined based on the privacy data and virtual request time to ensure that the privacy data and virtual request time cannot be captured or even arbitrarily modified by other organizations. The key is then transmitted during transmission, and the privacy data and virtual request time are obtained by decrypting the key when used. In this way, the system time can be prevented from being maliciously changed or the time is set using a virtual machine during data transmission, thereby improving the security and reliability of production line data requests.

[0066] Step 103: Determine whether the data request is abnormal based on the virtual request time and the current time in the key.

[0067] The purpose of determining whether there is an abnormality in the data request based on the virtual request time and the current time in the key is to determine whether the current data has been maliciously tampered with, so as to increase the security and reliability of production data during transmission.

[0068] In some implementations, step 103 may be specifically implemented by determining whether there is an abnormality in the data request based on the time interval between the virtual request time and the current time.

[0069] It should be noted that the larger the time interval between the virtual request time and the current time, the more likely the data has been maliciously tampered with or someone has used the virtual machine to set the time, and the time interval does not meet the requirements and the transmission operation cannot be performed.

[0070] Step 104: If there is no abnormality in the data request, the data that the data requester wants to access is sent to the data requester.

[0071] In the embodiment of the present application, the sending time of the data requester can be protected by the first preset time, and then the data can be transmitted with the virtual request time; the key of the data request is determined based on the basic information of the data requester and the virtual request time, and the virtual request time can be saved in the key. Then, when transmitting, the key is transmitted instead of the actual information, which can prevent the problem of maliciously changing the system time or using the virtual machine to set the time during the data transmission process, so as to improve the security and reliability of the production line data request. Based on the virtual request time and the current time in the key, it is determined whether the data request is abnormal, and it can be determined whether the current data has been maliciously tampered with, further improving the security and reliability of the production data during the transmission process. At the same time, even if the identity authority of the requester is diverse, it can greatly increase the security of the data transmission process, and maximize the intelligence, security and reliability of the production line data request.

[0072] Based on the above embodiments, the present application embodiment provides a production data transmission method based on data request, referring to Figure 2 As shown, the method comprises the following steps:

[0073] Step 201: In response to a data request, determine whether the data request is an operable request based on a preset data request operation table.

[0074] The data request operation table is pre-set and includes multiple operable data requests.

[0075] For example, if only requests for reading data can be processed currently, but requests for modifying data cannot be processed; then, various requests for reading data are stored in the data request operation table. In this way, after receiving a data request, the data request is matched with the requests in the data request operation table. If the match is successful, the data request is determined to be an operable request. If the match fails, it is not processed.

[0076] Step 202: If the data request is an operable request, basic information of the data requester and the sending time of the data requester are obtained.

[0077] In some implementations, step 202 may be specifically implemented as follows: if the data request carries basic information and sending time of the data requester, the basic information and sending time of the data requester may be directly obtained from the data request.

[0078] In some implementations, the specific implementation of step 202 may also be: in response to the data request, a basic information acquisition request is sent to the data requester to obtain the basic information of the data requester. Since the operation request carries timestamp information, the timestamp information in the operation request may be directly used as the sending time. The data transmission between the data requester and the data responder is encrypted transmission.

[0079] Step 203: Determine a virtual request time based on the sending time of the data requester and the first preset time.

[0080] Step 204: Send the basic information of the data requester to the privacy node for processing to obtain private data.

[0081] The privacy data may reflect the identity information of the data requester.

[0082] The privacy node is used to obtain the corresponding private data and registration data based on the basic information of the data requester, and can also be used to encrypt the private data and virtual request time to obtain the key.

[0083] In some implementations, step 204 may be specifically implemented by sending the basic information of the data requester to a privacy node for registration, and the privacy node matches the basic information of the data requester with a pre-stored correspondence between multiple data requesters and corresponding privacy data to obtain the corresponding privacy data.

[0084] Step 205: Encrypt the private data and the virtual request time to obtain the key.

[0085] The basic information of the data requester can reflect the data that the data requester wants to access and the access method.

[0086] In some implementations, an encryption algorithm may be used to encrypt the private data and the virtual request time to obtain a key. The encryption algorithm may be: a symmetric encryption algorithm, a secure hash algorithm, a stream encryption algorithm, or a hybrid encryption algorithm.

[0087] Step 206: Determine whether the data request is abnormal based on the virtual request time and the current time in the key.

[0088] In some implementations, step 206 may be specifically implemented by determining whether there is an abnormality in the data request based on a matching relationship between a time interval between the virtual request time and the current time and a preset time threshold.

[0089] In some embodiments, the specific implementation method of step 206 may be: decrypting the key to obtain the virtual request time; determining the time interval between the virtual request time and the current time; if the time interval meets the time threshold, determining that there is no abnormality in the data request; if the time interval does not meet the time threshold, determining that there is an abnormality in the data request.

[0090] The time interval satisfies the time threshold, which means that the time interval is less than or equal to the time threshold. The time interval does not satisfy the time threshold, which means that the time interval is greater than the time threshold.

[0091] In a feasible implementation, the key is decrypted using a decryption algorithm corresponding to the encryption algorithm to obtain the virtual request time.

[0092] Step 207: If there is no abnormality in the data request, the data that the data requester wants to access is sent to the data requester.

[0093] In some implementations, step 207 may be specifically implemented as follows: if the time interval is less than or equal to the time threshold, the data that the data requester wants to access is sent to the data requester.

[0094] In some embodiments, the specific implementation method of "sending the data that the data requester wants to access to the data requester" in step 207 can be: sending the private data to the data right holder so that the data right holder initiates a data transmission channel based on the private data; and sending the data that the data requester wants to access to the data requester through the data transmission channel.

[0095] The data rights holder is used to authorize data transmission, that is, to open the data transmission channel.

[0096] In some embodiments, the production data transmission method based on data request may further include: if there is an abnormality in the data request, the private data is not sent to the data right holder for data transmission.

[0097] In some implementations, if the time interval is greater than the time threshold, the private data is not sent to the data rights holder for data transmission.

[0098] Based on the above embodiment, in other embodiments of the present application, the production data transmission method based on data request may also include the following steps 208 to 209:

[0099] Step 208: Send the basic information of the data requester to the privacy node for processing to obtain registration data.

[0100] In some implementations, step 206 may be implemented by sending the basic information of the data requester to the privacy node, and the privacy node may extract registration data from the basic information of the data requester. The registration data may include, but is not limited to, the data requester's data request record, credit score, and authority.

[0101] In some implementations, the specific implementation method of step 206 can also be: sending the basic information of the data requester to the privacy node for registration, and the privacy node obtains the data requester's data request record, credit score, authority and other information from the database based on the basic information of the data requester to obtain the registration data.

[0102] Step 209: Determine whether the data request satisfies processing authority based on the registration data and the key.

[0103] In some implementations, step 209 may be specifically implemented as follows: determining whether the data request satisfies the operation authority based on the registration data; determining whether the data request satisfies the transmission authority based on the key; and processing authority includes operation authority and transmission authority.

[0104] In some implementations, step 209 may be implemented by steps 2091 to 2094 as follows:

[0105] Step 2091: Determine whether the data request satisfies the operation authority based on the request record, credit score, and authority in the registration data.

[0106] The authority may include but is not limited to: production worker, supervisor, and supervisor. The operation authority may be determined based on at least one of the request frequency, credit score, and authority. For example, the operation authority may be that the request frequency does not exceed 5 times per hour, the credit score is greater than 7, and the authority is a supervisor. The request frequency can be obtained based on the request record.

[0107] Step 2092: Based on the private data in the key, determine whether the data request satisfies the transmission authority.

[0108] In some implementations, step 2092 may be specifically implemented by: determining whether the representation data request satisfies the transmission authority based on a matching relationship between the privacy data and a plurality of preset authority data.

[0109] In some embodiments, the specific implementation method of step 2092 may be: sending the key to a matching node so that the matching node obtains the privacy data based on the key, and based on the matching relationship between the privacy data and a plurality of preset permission data, determines a matching result representing whether the data request satisfies the transmission permission; and receiving the matching result sent by the matching node.

[0110] The matching node can be used to determine whether the data request satisfies the transmission permission.

[0111] Step 2093: If the data request satisfies the operation authority and the transmission authority, determine that the data request satisfies the processing authority.

[0112] Step 2094: If the data request does not satisfy the operation authority and / or the data request does not satisfy the transmission authority, determine that the data request does not satisfy the operation authority.

[0113] In this way, step 207 may be: if the data request satisfies the processing authority and there is no abnormality in the data request, the data that the data requester wants to access is sent to the data requester.

[0114] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0115] It should be noted that, in the existing blockchain privacy protection method, although the request is fair and cannot be tampered with, when it comes to privacy requests, each request directly outputs the requester information, and it is impossible to guarantee that the information of the requesting participants will not be leaked. The risk of privacy leakage is high, and there is a problem of maliciously changing the system time or using a virtual machine to set the time, which leads to a great security risk in the request process. After obtaining the data request, the present application does not directly transmit the privacy data and sending time of the data requester, but obtains the privacy data by sending the basic information of the data requester to the privacy node, and saves the privacy data and the virtual request time in the key. In this way, the risk of privacy leakage can be minimized to the greatest extent, and the privacy data and the virtual request time can be prevented from being modified at will. It solves the problem of maliciously changing the system time or using a virtual machine to set the time during the data transmission process in the existing scheme, greatly increases the security of the data transmission process, and maximizes the intelligence, security and reliability of the production line data request.

[0116] In the embodiment of the present application, the sending time of the data requester can be protected by the first preset time, and then the data can be transmitted with the virtual request time; the key of the data request is determined based on the basic information of the data requester and the virtual request time, and the virtual request time can be saved in the key. Then, when transmitting, the key is transmitted instead of the actual information, which can prevent the problem of maliciously changing the system time or using the virtual machine to set the time during the data transmission process, so as to improve the security and reliability of the production line data request. Based on the virtual request time and the current time in the key, it is determined whether the data request is abnormal, and it can be determined whether the current data has been maliciously tampered with, further improving the security and reliability of the production data during the transmission process. At the same time, even if the identity authority of the requester is diverse, it can greatly increase the security of the data transmission process, and maximize the intelligence, security and reliability of the production line data request.

[0117] The following describes the application of the production data transmission method based on data request provided in an embodiment of the present application in a practical scenario.

[0118] In traditional blockchain networks, all institutions participating in data requests (blockchain nodes) communicate with other institutions using a centralized network. However, during the communication process, failures and restriction policies such as gateways, proxies, and central servers may cause communication interruptions between institutions or increase additional costs in the communication process. In the traditional model, data is owned by each institution, and modification operations are easy to perform, but it is difficult to verify the authenticity and validity of data requested between institutions.

[0119] In the production line, because the production plan of the production line, the information of the products produced and other data involve a lot of confidentiality and privacy, it is not feasible to fully disclose the data, and the protection of privacy information is particularly important. However, the request privacy protection method of the above blockchain still has the following shortcomings: although the request is fair and cannot be tampered with, the design of request authentication does require that once a privacy request is involved, each request directly outputs the requester information, and it cannot guarantee that the information of the requesting participants will not be leaked. The risk of privacy leakage is high, and the identity permissions of the sender and the requester are diverse, which may cause difficulties in data supervision, and there is a problem of maliciously changing the system time or using a virtual machine to set the time, which leads to great security risks in the request process.

[0120] To this end, an embodiment of the present application provides a production data transmission method based on a data request, including:

[0121] S100. When a data request is received, the data requester information and the request time node data are obtained, and virtual request time node data is calculated according to the request time node data and the preset time interval data.

[0122] Here, the data requester information may refer to the basic information of the data requester. The request time node data may refer to the sending time of the data requester. The preset time interval data may refer to the first preset time. The virtual request time node data may refer to the virtual request time.

[0123] It should be noted that, before step S100, the following may also be included: presetting a time threshold and preset time interval data in the control module.

[0124] The time threshold and preset time interval data can be set according to actual business needs.

[0125] In a feasible implementation method, the preset time interval data can be set to half an hour, and the time threshold can be set to 5 seconds. The above settings are obtained by the technical personnel of this application through a large number of tests, and can well implement the production data transmission method based on data request proposed in the embodiment of this application, thereby greatly improving the usability of this application.

[0126] In some embodiments, the specific implementation of "calculating the virtual request time node data according to the request time node data and the preset time interval data" in S100 can be: calculating the sum of the request time node data and the preset time interval data to obtain the virtual request time node data. The virtual request time node data in this application is later than the request time node data.

[0127] Specifically, the data request-based production data transmission method provided in the embodiment of the present application also includes: before executing step S100, establishing a data request operation table; when executing step S100, when an operation request is received, judging whether the operation request is a data request according to the data request operation table; if so, obtaining data requester information and request time node data, and calculating virtual request time node data according to the request time node data and the preset time interval data; if not, not executing the operation.

[0128] S200: Input the data requester information into the privacy node for registration, obtain registration data and privacy data, and encrypt the privacy data and virtual request time node data to obtain a key.

[0129] Specifically, the production data transmission method based on data request provided in the embodiment of the present application also includes:

[0130] Before executing step S200, a privacy node is established in the blockchain network.

[0131] Specifically, the production line production data exchange monitoring method based on data collection provided in an embodiment of the present application also includes: when executing step S200, the privacy data is stored in the privacy node, the privacy data and the virtual request time node data are encrypted to obtain a key, and the registration data and the key are sent back to the blockchain network.

[0132] S300: Determine whether the registration data meets the data request operation authority requirements, if so, execute step S400; otherwise, do not execute the operation.

[0133] Specifically, the registration data includes the data request record, score and authority of the data requester; when executing step S300, it is determined whether the data request record, score and authority in the registration data meet the data request operation authority requirements. If so, step S400 is executed; otherwise, no operation is performed.

[0134] S400: Match the data transmission operation of the data requester's private data through the key to determine whether the match is successful; if so, obtain the virtual request time node data and the current time node data through the key, calculate the time interval data between the virtual request time node data and the current time node data, determine whether the time interval data is less than or equal to the time threshold, and determine whether to send the private data to the data right holder for data transmission operation based on the judgment result.

[0135] Specifically, the embodiment of the present application determines whether the time interval data is less than or equal to the time threshold, and determines whether to send the private data to the data right holder for data transmission operation according to the determination result, including:

[0136] If the time interval data is less than or equal to the time threshold, the private data is sent to the data rights holder for data transmission.

[0137] It is understandable that if the time interval data is less than or equal to the time threshold, in the embodiment of the present application, that is, the time interval data is less than or equal to 5 seconds, at this time, it is proved that the time interval data between the virtual request time node data and the current time node data is small, and the time interval data is likely to be caused by non-human factors such as network delays, and the time interval data meets the requirements. At this time, it is safer to send the private data to the data right holder for data transmission operations. Therefore, the embodiment of the present application sends the private data to the data right holder for data transmission operations. In addition, the problem of maliciously changing the system time or using a virtual machine to set the time in the middle of the data exchange process is eliminated, which greatly increases the security of the middle process of production data exchange. The intelligence, security and reliability of production data exchange are greatly improved.

[0138] Specifically, the embodiment of the present application determines whether the time interval data is less than or equal to the time threshold, and determines whether to send the private data to the data right holder for data transmission operation according to the determination result, and further includes:

[0139] If the time interval data is greater than the time threshold, the private data will not be sent to the data rights holder for data transmission operations.

[0140] It is understandable that if the time interval data is greater than the time threshold, in the embodiment of the present application, that is, the time interval data is greater than 5 seconds, at this time, it proves that the time interval data between the virtual request time node data and the current time node data is large, and the time interval data is likely to be caused by human factors such as malicious changes to the system time or the use of a virtual machine to set the time, and the time interval data does not meet the requirements. At this time, it is unsafe to send the private data to the data right holder for data transmission operations. Therefore, the embodiment of the present application does not send the private data to the data right holder for data transmission operations. In addition, the problem of malicious changes to the system time or the use of a virtual machine to set the time in the middle of the production data exchange is eliminated, which greatly increases the security of the middle process of the production data exchange. The intelligence, security and reliability of the production data exchange are greatly improved.

[0141] Specifically, step S400 of the embodiment of the present application specifically includes:

[0142] Send the key to the matching node;

[0143] The matching node reads the private data and virtual request time node data according to the key;

[0144] The matching node reads the data transmission operation matching data; wherein, the matching data in the embodiment of the present application is at least one;

[0145] Matching the multiple matching data with the private data respectively in sequence;

[0146] Determine whether at least one matching data matches the privacy data, and if so, output the registration data; otherwise, do not output the data.

[0147] Specifically, private data includes identity data and occupational data.

[0148] Specifically, when executing step S400, after the data request operation is completed, the registration data, the key and the data request information are recorded.

[0149] It can be understood that when receiving a data request, the embodiment of the present application obtains the data requester information and the request time node data, calculates the virtual request time node data according to the request time node data and the preset time interval data, inputs the data requester information to the privacy node for registration, obtains the registration data and the privacy data, encrypts the privacy data and the virtual request time node data to obtain the key, matches the data transmission operation of the data requester's privacy data through the key, and determines whether the match is successful. If so, the virtual request time node data is obtained through the key, and the current time node data is obtained, and the time interval data between the virtual request time node data and the current time node data is calculated to determine whether the time interval data is less than or equal to the time threshold. According to the judgment result, it is determined whether to send the privacy data to the data requester for data transmission operation, so as to realize the protection of the request time node data by the preset time interval data, and when the data transmission operation is matched, the current time node is used to determine whether the calculated time interval data meets the requirements, thereby eliminating the problem of maliciously changing the system time or setting the time by using the virtual machine in the middle of the data transmission process, and at the same time solves the problem that the identity authority of the sender and the requester is diverse, which may cause data supervision difficulties, and greatly increases the security of the middle process of data transmission. It greatly improves the intelligence, security and reliability of production line data requests.

[0150] The present application provides another embodiment. This embodiment provides a production data transmission system based on data request, including:

[0151] An acquisition module, used to receive data requests, or to obtain data requester information and request time node data;

[0152] A control module is used to calculate the virtual request time node data according to the request time node data and the preset time interval data; or to input the data requester information into the privacy node for registration, obtain the registration data and the privacy data, and encrypt the privacy data and the virtual request time node data to obtain the key; or to determine whether the registration data meets the data request operation authority requirements, if so, execute step S400; otherwise, do not execute the operation; or to match the data transmission operation of the data requester's privacy data through the key, and determine whether the match is successful. If so, obtain the virtual request time node data through the key, obtain the current time node data, and calculate the time interval data of the virtual request time node data and the current time node data, determine whether the time interval data is less than or equal to the time threshold, and determine whether to send the privacy data to the data right holder for data transmission operation according to the judgment result.

[0153] It should be noted that, when receiving a data request, the embodiment of the present application obtains the data requester information and the request time node data, calculates the virtual request time node data according to the request time node data and the preset time interval data, inputs the data requester information to the privacy node for registration, obtains the registration data and the privacy data, encrypts the privacy data and the virtual request time node data to obtain the key, matches the data transmission operation of the data requester's privacy data through the key, and determines whether the match is successful. If so, obtain the virtual request time node data through the key, obtain the current time node data, and calculate the time interval data between the virtual request time node data and the current time node data, and determine whether the time interval data is less than or equal to the time threshold. According to the judgment result, it is determined whether to send the privacy data to the data requester for data transmission operation, and the preset time interval data is used to protect the request time node data, and when the data transmission operation is matched, the current time node is used to determine whether the calculated time interval data meets the requirements, thereby eliminating the problem of maliciously changing the system time or using the virtual machine to set the time in the middle of the data transmission process, and at the same time solves the problem that the identity permissions of the sender and the requester are diverse, which may cause data supervision difficulties, and greatly increases the security of the middle process of data transmission. It greatly improves the intelligence, security and reliability of production line data requests.

[0154] Based on the foregoing embodiments, an embodiment of the present application provides a production data transmission device based on data request, which includes the modules included and the units included in the modules, which can be implemented by a processor in a control device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.

[0155] The production data transmission device 300 based on data request, such as Figure 3 As shown, including:

[0156] A first determining module 31 is used to respond to a data request and determine a virtual request time based on a sending time of a data requester and a first preset time;

[0157] A second determination module 32 is used to determine the key of the data request based on the basic information of the data requester and the virtual request time; the basic information of the data requester can reflect the data to be accessed and the access method of the data requester;

[0158] A third determination module 33, configured to determine whether the data request is abnormal based on the virtual request time and the current time in the key;

[0159] The sending module 34 is configured to send the data that the data requester wants to access to the data requester if there is no abnormality in the data request.

[0160] In some embodiments, the second determining module includes:

[0161] A processing unit, used to send the basic information of the data requester to the privacy node for processing to obtain registration data and privacy data; the privacy data can reflect the identity information of the data requester;

[0162] An encryption unit is used to encrypt the private data and the virtual request time to obtain the key.

[0163] In some embodiments, the apparatus further comprises:

[0164] The fourth determination module is used to: send the basic information of the data requester to the privacy node for processing to obtain registration data; and determine whether the data request satisfies the processing authority based on the registration data and the key.

[0165] In some embodiments, the fourth determining module includes:

[0166] A first determination unit, configured to determine whether the data request satisfies the operation authority based on the request record, credit score, and authority in the registration data;

[0167] A second determining unit, configured to determine whether the data request satisfies the transmission authority based on the privacy data in the key;

[0168] a third determining unit, configured to determine that the data request satisfies the processing authority if the data request satisfies the operation authority and satisfies the transmission authority;

[0169] A fourth determining unit is configured to determine that the data request does not satisfy the operating authority if the data request does not satisfy the operating authority and / or the data request does not satisfy the transmission authority.

[0170] In some embodiments, the fourth determining module further includes:

[0171] a fifth determining unit, configured to send the key to a matching node, so that the matching node obtains the private data based on the key, and determines a matching result representing whether the data request satisfies the transmission permission based on a matching relationship between the private data and a plurality of preset permission data;

[0172] A receiving unit is used to receive the matching result sent by the matching node.

[0173] In some embodiments, a third determination module is used to decrypt the key to obtain the virtual request time; determine the time interval between the virtual request time and the current time; if the time interval meets the time threshold, determine that there is no abnormality in the data request; if the time interval does not meet the time threshold, determine that there is an abnormality in the data request.

[0174] In some embodiments, the sending module is also used to send the private data to the data rights holder so that the data rights holder can start a data transmission channel based on the private data; and send the data that the data requester wants to access to the data requester through the data transmission channel.

[0175] In some embodiments, the apparatus further comprises:

[0176] A fifth determination module, configured to determine whether the data request is an operable request based on a preset data request operation table;

[0177] The acquisition module is used to acquire the basic information of the data requester and the sending time of the data requester if the data request is an operable request.

[0178] In some embodiments, the apparatus further comprises:

[0179] The storage module is used to store the registration data, the key and the basic information of the data requester after the data request processing is completed.

[0180] In some embodiments, the device further includes: a processing module, configured to not send the private data to the data right holder for data transmission if there is an abnormality in the data request.

[0181] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0182] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.

[0183] An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.

[0184] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.

[0185] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.

[0186] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK) and the like.

[0187] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.

[0188] Figure 4 is a hardware entity schematic diagram of an electronic device in an embodiment of the present application, such as Figure 4 As shown, the hardware entity of the electronic device 400 includes: a processor 401, a communication interface 402 and a memory 403, wherein:

[0189] The processor 401 generally controls the overall operation of the electronic device 400 , and the overall operation may be to implement the processing method provided in the embodiment of the present application.

[0190] The communication interface 402 enables the computer device to communicate with other terminals or servers through a network.

[0191] The memory 403 is configured to store instructions and applications executable by the processor 401, and can also cache data to be processed or processed by the processor 401 and each module in the electronic device 400 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data transmission can be performed between the processor 401, the communication interface 402, and the memory 403 through the bus 404.

[0192] An embodiment of the present application provides a computer storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps of the processing method of any of the above embodiments.

[0193] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0194] The processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understandable that the electronic device that implements the functions of the processor may also be other, and the embodiments of the present application are not specifically limited.

[0195] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0196] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments.

[0197] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0198] The above are only implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A production data transmission method based on data request, the production data transmission method based on data request comprising: In response to the data request, determine a virtual request time based on a sending time of the data requester and a first preset time; Determining a key for the data request based on the basic information of the data requester and the virtual request time; The basic information of the data requester can reflect the data that the data requester wants to access and the access method; Determine whether the data request is abnormal based on the virtual request time and the current time in the key; If there is no abnormality in the data request, the data that the data requester wants to access is sent to the data requester.

2. According to the method for transmitting production data based on data request in claim 1, the step of determining the key of the data request based on the basic information of the data requester and the virtual request time comprises: Sending the basic information of the data requester to the privacy node for processing to obtain private data; The privacy data can reflect the identity information of the data requester; The private data and the virtual request time are encrypted to obtain the key.

3. The method for transmitting production data based on data request according to claim 1, further comprising: Send the basic information of the data requester to the privacy node for processing to obtain registration data; Based on the registration data and the key, it is determined whether the data request satisfies processing rights.

4. The method for transmitting production data based on data request according to claim 3, wherein determining whether the data request satisfies the processing authority based on the registration data and the key comprises: Determining whether the data request satisfies the operation authority based on the request record, credit score, and authority in the registration data; Determining whether the data request satisfies the transmission authority based on the private data in the key; If the data request satisfies the operation authority and the transmission authority, determining that the data request satisfies the processing authority; If the data request does not satisfy the operation authority and / or the data request does not satisfy the transmission authority, it is determined that the data request does not satisfy the operation authority.

5. According to the method for transmitting production data based on data request in claim 4, the determining whether the data request satisfies the transmission authority based on the privacy data in the key comprises: Sending the key to a matching node, so that the matching node obtains the private data based on the key, and determines a matching result representing whether the data request satisfies the transmission permission based on a matching relationship between the private data and a plurality of preset permission data; The matching result sent by the matching node is received.

6. According to any one of claims 1 to 5, the method for production data transmission based on data request, determining whether the data request is abnormal based on the virtual request time and the current time in the key comprises: Decrypting the key to obtain the virtual request time; Determine the time interval between the virtual request time and the current time; If the time interval meets the time threshold, it is determined that there is no abnormality in the data request; If the time interval does not meet the time threshold, it is determined that there is an abnormality in the data request.

7. The method for transmitting production data based on data request according to any one of claims 1 to 5, wherein the sending of the data to be accessed by the data requester to the data requester comprises: Sending the private data to a data rights holder so that the data rights holder initiates a data transmission channel based on the private data; The data to be accessed by the data requester is sent to the data requester through the data transmission channel.

8. The method for transmitting production data based on data request according to any one of claims 1 to 5, further comprising: Determining whether the data request is an operable request based on a preset data request operation table; If the data request is an operable request, basic information of the data requester and the sending time of the data requester are obtained.

9. The method for transmitting production data based on data request according to claim 1, further comprising: If there is an abnormality in the data request, the private data will not be sent to the data right holder for data transmission.

10. An electronic device, comprising: processor, memory, and communications bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the production data transmission program based on the data request in the memory to implement the following steps: In response to the data request, determine a virtual request time based on a sending time of the data requester and a first preset time; Determining a key for the data request based on the basic information of the data requester and the virtual request time; The basic information of the data requester can reflect the data that the data requester wants to access and the access method; Determine whether the data request is abnormal based on the virtual request time and the current time in the key; If there is no abnormality in the data request, the data that the data requester wants to access is sent to the data requester.

Citation Information

Patent Citations

  • Private data transaction method

    CN118569992A