Offline data transmission method for shipbuilding management
By setting verification information and real-time monitoring of transmission status in ship construction management, the problem of privacy and omission in data offline transmission is solved, and the security and efficiency of data transmission are achieved.
Patent Information
- Application Number
- CN202410902992.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-08
AI Technical Summary
During the ship construction management process, data privacy cannot be guaranteed when data is transmitted offline, and data may be omitted or not transmitted in a timely manner, affecting data security and efficiency.
By setting verification information in agreement between the sender and the offline client before data transmission, the transmission server generates encrypted offline data packets and monitors the transmission status in real time to ensure data integrity and no omissions.
It improves the security and efficiency of data transmission, prevents data loss or tampering, and handles missing data packets in a timely manner to ensure the integrity and reliability of data transmission.
Smart Images

Figure CN118449785B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of shipbuilding management, and in particular to an offline data transmission method for shipbuilding management. Background Art
[0002] Shipbuilding management is to regulate the implementation process of ship design, construction, acceptance and ship acceptance, so as to ensure that the technical performance of the newly built ship is reasonable, the quality is reliable, and it meets the requirements of safety and environmental protection, so as to meet the needs of construction production. In the process of shipbuilding management implementation, a large number of files will be transmitted. However, in the process of transmission, the privacy of the data cannot be guaranteed in the offline data transmission state, which poses a threat to data security. In addition, there may be unsuccessful transmission when the data is transmitted offline, which may cause data to be omitted and unable to be transmitted in time. Therefore, it does not meet the existing needs, and a method for offline data transmission for shipbuilding management is proposed. Summary of the invention
[0003] The purpose of the present invention is to provide an offline data transmission method for ship construction management. Before data transmission, the sending end and the offline client agree to set data transmission verification information. The transmission server transmits the offline data packet to the offline client offline, and the offline client verifies the offline data packet using the verification information to verify the integrity of the transmitted ship construction management file. At the same time, it monitors in real time whether the transmission server works according to the data transmission request, thereby obtaining the processing status of the offline data packet and feeding it back to the transmission server. The transmission server determines whether the transmission server has missed offline data packets and has not processed them based on the fed-back offline data packet processing status, and processes the missed offline data packets in time to ensure that no offline data packets are missed, thereby solving the problems raised in the above-mentioned background technology.
[0004] To achieve the above object, the present invention provides the following technical solution: a data offline transmission method for ship construction management, comprising the following steps:
[0005] Step 1: The sending end sends a data transmission request to the transmission server, and the transmission server transmits the ship construction management file to the offline client according to the received data transmission request;
[0006] Step 2: The transmission server generates an encrypted offline data packet, which contains the ship construction management file to be transmitted, and transmits the offline data packet to the offline client offline;
[0007] Step 3: Before each data transmission, the sender establishes a connection with the offline client. After the connection is established, the sender and the offline client agree on setting verification information for data transmission;
[0008] Step 4: Monitor the transmission server in real time to determine whether the transmission server has missed any offline data packets that have not been processed.
[0009] Furthermore, in step 1:
[0010] A sending end, used to generate a data transmission request and send the data transmission request to a transmission server;
[0011] The transmission server is used to accept the data transmission request from the sending end and retrieve the ship construction management file to be transmitted according to the data transmission request;
[0012] Offline client, used to receive transmitted ship construction management files.
[0013] Furthermore, the data transmission workflow of the transmission server includes the following steps:
[0014] Determine the transmission needs: After receiving the data transmission request, the transmission server needs to clarify the purpose and needs of the transmission, including the transmitted data information, the amount of data transmitted and the transmission speed, and retrieve the ship construction management files to be transmitted according to the transmitted data information;
[0015] Data preparation: Before data transmission, the ship construction management files to be transmitted must be prepared, including data sorting and format conversion.
[0016] Furthermore, in the step 3, before data transmission, a connection needs to be established between the sending end and the offline client, and after the connection is established, the sending end and the offline client set verification information of the transmitted data by mutual agreement, and the verification information is used by the offline client to verify the integrity of the ship construction management file transmitted offline;
[0017] The verification information is generated in real time after agreement between the sender and the offline client, and is updated during each transmission.
[0018] Further, the transmission data of the offline data packet is divided into a number of data segments of the same length, the amount of data to be transmitted is determined according to the number of data segments, and it is determined that the transmission channels for signal transmission are no less than six;
[0019] confirming the remaining channel capacity and channel signal strength of each transmission channel, and selecting a transmission channel whose data transmission capacity is less than the remaining channel capacity as a first transmission channel;
[0020] When there are multiple first transmission channels, the channel with the strongest signal strength among the multiple first transmission channels is selected as the final transmission channel; and whether to replace the communication channel is determined by the following method:
[0021] Determine the number of the first transmission channels, and when there are multiple first transmission channels, retrieve the historical communication records and signal strength of each first transmission channel;
[0022] Retrieving the first transmission channel with the strongest signal as the final transmission channel;
[0023] Retrieving the communication operation parameters of the final transmission channel from the historical communication records of the final transmission channel; wherein the communication operation parameters include signal strength change rate, bandwidth utilization, throughput and transmission delay;
[0024] The quality evaluation reference value of the final sensing channel is obtained by using the communication operation parameters of the final transmission channel; wherein the quality evaluation reference value is obtained by the following formula:
[0025]
[0026] Wherein, Y represents the quality evaluation reference value; n represents the number of unit time contained in the historical communication record, and the unit time is 1s; B i represents the throughput of the final transmission channel at the i-th unit time; B e represents the preset minimum throughput of the final transmission channel for measuring the communication quality; α represents the first quality evaluation factor; λ represents the second quality evaluation factor; wherein the first quality evaluation factor is obtained by the following formula:
[0027]
[0028] Among them, P i represents the signal strength change rate corresponding to the i-th unit time; L i Indicates the bandwidth utilization corresponding to the i-th unit time;
[0029] At the same time, the second quality evaluation factor is obtained by the following formula:
[0030]
[0031] Where m represents the number of data transmissions in the i-th unit time; k represents the number of transmissions with data delay in the m data transmissions; T pi represents the average delay time of the i-th unit time; T y represents the delay threshold; t represents the factor compensation coefficient; e represents a constant, which is 2.71; T sj represents the actual data transmission duration during the jth data transmission process; T j The theoretical data communication transmission time corresponding to the data volume of the j-th data transmission;
[0032] The communication operation parameters of the final transmission channel are monitored in real time, and a comparison relationship between the operation quality parameters of the final transmission channel and a preset quality evaluation reference value is used to determine whether the communication channel needs to be replaced.
[0033] Furthermore, when determining whether to replace the communication channel, the method further includes:
[0034] monitoring the communication operation parameters of the final transmission channel in real time;
[0035] The operation quality parameter of the final transmission channel is obtained by using the communication operation parameter of the final transmission channel; wherein the operation quality parameter is obtained by the following formula:
[0036]
[0037] Wherein, Q represents the operation quality parameter of the final transmission channel; r represents the number of communication experiences per unit time of the final transmission channel;
[0038] When the operation quality parameter of the final transmission channel is lower than the quality evaluation reference value, calling other first transmission channels except the final transmission channel;
[0039] Acquire the corresponding operation quality parameters according to the communication operation parameters in the historical records of other first transmission channels except the final transmission channel; and use the first transmission channel with the strongest signal among other first transmission channels whose operation quality parameters exceed the quality evaluation reference value as the replacement transmission channel;
[0040] The final transmission channel is replaced by the replacement transmission channel.
[0041] Furthermore, the verification information includes file information and an encryption password, specifically:
[0042] The offline client receives the encrypted offline data packet transmitted offline, and the receiving end verifies the transmitted ship construction management file through the verification information agreed upon by both parties in advance, inputs the encryption password to decrypt the encrypted offline data packet, obtains the ship construction management file, and then verifies whether the ship construction management file is complete based on the file information, and completes the verification of the ship construction management data through the verification information.
[0043] Furthermore, in the step four, whether the transmission server works according to the data transmission request is monitored in real time, the processing status of the offline data packet is obtained and fed back to the transmission server, and the transmission server determines whether the transmission server has missed offline data packets based on the fed-back offline data packet processing status, and processes the missed offline data packets in time.
[0044] Furthermore, whether the transmission server performs real-time monitoring according to the data transmission request specifically includes the following steps:
[0045] Real-time monitoring: After receiving a data transmission request, the transmission server is monitored in real time to see whether it generates an encrypted offline data packet according to the data transmission request and transmits it offline to the offline client, thereby obtaining the processing status of the offline data packet and providing feedback;
[0046] Feedback status: Based on the feedback of offline data packet processing status, determine whether there are offline data packets that have not been successfully transmitted, and then determine whether the transmission server has missed offline data packets that have not been processed.
[0047] Furthermore, the offline data packet processing status is the offline transmission status of each offline data packet, and the offline transmission status is divided into offline data packet offline transmission success and offline data packet offline transmission failure. Whether the offline data packet is successfully transmitted offline is determined according to the offline transmission status to avoid offline data packets not being processed;
[0048] If the offline data packet is successfully transmitted offline, a message of successful offline transmission is fed back to the sending end;
[0049] If the offline data packet is not successfully transmitted offline, a message of the offline transmission failure is fed back to the transmission server, and the transmission server immediately retransmits the offline data packet that was not successfully transmitted offline.
[0050] Compared with the prior art, the present invention has the following beneficial effects:
[0051] 1. In the present invention, before data transmission, after the sending end and the offline client establish a connection, the verification information of the data transmission is set by mutual agreement, and the verification information can be updated at each transmission to ensure the security of each transmission. The sending end sends a data transmission request to the transmission server, and the transmission server executes the data transmission request. The transmission server generates an encrypted offline data packet based on the verification information, and transmits the offline data packet to the offline client offline. After receiving the offline data packet, the offline client verifies the transmitted ship construction management file through the verification information. First, the encryption password is input to decrypt the encrypted offline data packet to obtain the ship construction management file, and then the ship construction management file is verified to be complete according to the file information. The ship construction management data is verified through the verification information. Through the verification, it can be known whether the ship construction management file is lost or tampered with during the offline process, thereby ensuring the security of the offline data transmission process.
[0052] 2. The present invention monitors the transmission server in real time when the transmission server executes a data transmission request. Through real-time monitoring, it can be known whether the transmission server works according to the data transmission request after receiving the data transmission request, thereby obtaining the processing status of the offline data packet and providing feedback. According to the feedback offline data packet processing status, it can be determined whether there is an offline data packet that has not been successfully transmitted, thereby avoiding missing offline data packets that have not been processed. If the offline data packet is not successfully transmitted offline, the message of the unsuccessful offline transmission is fed back to the transmission server, so that the transmission server immediately retransmits the offline data packet that has not been successfully transmitted, thereby ensuring that the missed offline data packet can be processed in time. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 The present invention is a flow chart of the offline data transmission method for shipbuilding management. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] In order to solve the technical problem that the privacy of existing data cannot be guaranteed during the transmission process if the data is in an offline transmission state, thus posing a threat to data security, please refer to Figure 1 , this embodiment provides the following technical solutions:
[0056] The method for offline data transmission for ship construction management comprises the following steps:
[0057] Step 1: The sending end sends a data transmission request to the transmission server, and the transmission server transmits the ship construction management file to the offline client according to the received data transmission request;
[0058] Step 2: The transmission server generates an encrypted offline data packet, which contains the ship construction management file to be transmitted, and transmits the offline data packet to the offline client offline;
[0059] Step 3: Before each data transmission, the sender establishes a connection with the offline client. After the connection is established, the sender and the offline client agree on setting verification information for data transmission;
[0060] Step 4: Monitor the transmission server in real time to determine whether the transmission server has missed any offline data packets that have not been processed.
[0061] In step one:
[0062] A sending end, used to generate a data transmission request and send the data transmission request to a transmission server;
[0063] The transmission server is used to accept the data transmission request from the sending end and retrieve the ship construction management file to be transmitted according to the data transmission request;
[0064] Offline client, used to receive transmitted ship construction management files.
[0065] Among them, the transmission server and the data transmission workflow include the following steps:
[0066] Determine the transmission needs: After receiving the data transmission request, the transmission server needs to clarify the purpose and needs of the transmission, including the transmitted data information, the amount of data transmitted and the transmission speed, and retrieve the ship construction management files to be transmitted according to the transmitted data information;
[0067] Data preparation: Before data transmission, the ship construction management files to be transmitted must be prepared, including data sorting and format conversion.
[0068] The technical effect of the above content is as follows: the transmission server plays a transmission role. After the sending end generates a data transmission request and sends it to the transmission server, the transmission server performs the transmission task according to the data transmission request. Before data transmission, the transmission server first clarifies the purpose and needs of the transmission according to the data transmission request, that is, clarifies the transmitted data information, the amount of data transmitted and the transmission speed, so as to retrieve the ship construction management file to be transmitted and transmit it to the offline client according to the transmission speed. Before data transmission, the ship construction management file to be transmitted is prepared. The preparation work includes data sorting and format conversion. Through sorting and format conversion, the integrity and accuracy of the ship construction management file can be ensured. After completing the above operations, the transmission server packages the ship construction management file into an offline data packet, and encrypts the offline data packet based on the verification information. The transmission server then transmits the encrypted offline data packet offline to the offline client, thereby completing the data transmission between the sending end and the offline client.
[0069] In step 3, before data transmission, a connection needs to be established between the sender and the offline client. After the connection is established, the sender and the offline client set the verification information of the transmitted data by mutual agreement. The verification information is used by the offline client to verify the integrity of the ship construction management file transmitted offline.
[0070] During the data transmission process, the transmission data of the offline data packet is divided into a number of data segments of the same length, the amount of data transmitted is determined according to the number of data segments, and it is determined that the transmission channels for signal transmission are no less than six;
[0071] confirming the remaining channel capacity and channel signal strength of each transmission channel, and selecting a transmission channel whose data transmission capacity is less than the remaining channel capacity as a first transmission channel;
[0072] When there are multiple first transmission channels, the channel with the strongest signal strength among the multiple first transmission channels is selected as the final transmission channel; and whether to replace the communication channel is determined by the following method:
[0073] Determine the number of the first transmission channels, and when there are multiple first transmission channels, retrieve the historical communication records and signal strength of each first transmission channel;
[0074] Retrieving the first transmission channel with the strongest signal as the final transmission channel;
[0075] Retrieving the communication operation parameters of the final transmission channel from the historical communication records of the final transmission channel; wherein the communication operation parameters include signal strength change rate, bandwidth utilization, throughput and transmission delay;
[0076] The quality evaluation reference value of the final sensing channel is obtained by using the communication operation parameters of the final transmission channel; wherein the quality evaluation reference value is obtained by the following formula:
[0077]
[0078] Wherein, Y represents the quality evaluation reference value; n represents the number of unit time contained in the historical communication record, and the unit time is 1s; B i represents the throughput of the final transmission channel at the i-th unit time; B e represents the preset minimum throughput of the final transmission channel for measuring the communication quality; α represents the first quality evaluation factor; λ represents the second quality evaluation factor; wherein the first quality evaluation factor is obtained by the following formula:
[0079]
[0080] Among them, P i represents the signal strength change rate corresponding to the i-th unit time; L i Indicates the bandwidth utilization corresponding to the i-th unit time;
[0081] At the same time, the second quality evaluation factor is obtained by the following formula:
[0082]
[0083] Where m represents the number of data transmissions in the i-th unit time; k represents the number of transmissions with data delay in the m data transmissions; T pi represents the average delay time of the i-th unit time; T y represents the delay threshold; t represents the factor compensation coefficient; e represents a constant, which is 2.71; T sj represents the actual data transmission duration during the jth data transmission process; T j The theoretical data communication transmission time corresponding to the data volume of the j-th data transmission;
[0084] The communication operation parameters of the final transmission channel are monitored in real time, and a comparison relationship between the operation quality parameters of the final transmission channel and a preset quality evaluation reference value is used to determine whether the communication channel needs to be replaced.
[0085] The technical effect of the above technical solution is that the system can intelligently analyze the historical communication records and signal strengths of multiple first transmission channels and select the channel with the strongest signal as the final transmission channel. This ensures the stability and efficiency of data transmission. Key communication operation parameters such as signal strength change rate, bandwidth utilization, throughput and transmission delay are retrieved from the historical communication records of the final transmission channel. These parameters provide data support for comprehensive evaluation of channel quality.
[0086] The quality evaluation reference value is calculated by a specific formula using the acquired communication operation parameters. This reference value not only takes into account key factors such as throughput and signal strength change rate, but also scientifically weights the first and second quality evaluation factors to make the evaluation more accurate and comprehensive. The communication operation parameters of the final transmission channel are monitored in real time and compared with the preset quality evaluation reference value. Once the channel quality is detected to have deteriorated, the system will promptly determine whether the communication channel needs to be replaced to ensure the stability and efficiency of communication.
[0087] In summary, this technical solution effectively improves the stability and transmission efficiency of the communication system by intelligently selecting the best transmission channel, comprehensively evaluating channel quality, scientifically setting quality evaluation reference values, and real-time monitoring and channel replacement decisions.
[0088] When determining whether to replace the communication channel, the following is also included:
[0089] monitoring the communication operation parameters of the final transmission channel in real time;
[0090] The operation quality parameter of the final transmission channel is obtained by using the communication operation parameter of the final transmission channel; wherein the operation quality parameter is obtained by the following formula:
[0091]
[0092] Wherein, Q represents the operation quality parameter of the final transmission channel; r represents the number of communication experiences per unit time of the final transmission channel;
[0093] When the operation quality parameter of the final transmission channel is lower than the quality evaluation reference value, calling other first transmission channels except the final transmission channel;
[0094] Acquire the corresponding operation quality parameters according to the communication operation parameters in the historical records of other first transmission channels except the final transmission channel; and use the first transmission channel with the strongest signal among other first transmission channels whose operation quality parameters exceed the quality evaluation reference value as the replacement transmission channel;
[0095] The final transmission channel is replaced by the replacement transmission channel.
[0096] The technical effect of the above technical solution is that the system can continuously monitor the communication operation parameters of the final transmission channel. This allows the system to respond quickly to any changes in channel performance and ensure the stability and continuity of data transmission. A specific formula is used to calculate the operation quality parameters of the final transmission channel. This method takes into account the performance of the channel in multiple unit times, thereby providing a more comprehensive and scientific evaluation method, which helps to accurately judge the quality of the channel. When it is monitored that the operation quality of the final transmission channel is lower than the preset quality evaluation reference value, other available first transmission channels can be quickly called. This mechanism ensures that data transmission is not interrupted due to the performance degradation of a single channel. Not only the operation quality parameters of other first transmission channels are considered, but also their signal strength, so as to select the best replacement transmission channel. This method ensures that the replaced channel can provide better transmission performance. And when the channel quality degradation is detected, it can quickly and seamlessly switch to the replacement transmission channel, thereby minimizing the interruption and delay of data transmission.
[0097] In summary, this technical solution significantly improves the stability and reliability of data transmission through real-time monitoring, scientific operation quality assessment, flexible channel switching mechanism, efficient replacement channel selection, and seamless channel replacement. This design enables the system to respond quickly and effectively when facing channel performance degradation, ensuring the continuity and efficiency of data transmission.
[0098] The verification information includes file information and encryption password, specifically:
[0099] The offline client receives the encrypted offline data packet transmitted offline, and the receiving end verifies the transmitted ship construction management file through the verification information agreed upon by both parties in advance, inputs the encryption password to decrypt the encrypted offline data packet, obtains the ship construction management file, and then verifies whether the ship construction management file is complete based on the file information, and completes the verification of the ship construction management data through the verification information.
[0100] The technical effect of the above content is: before each data transmission, a connection needs to be established between the sender and the offline client. By establishing a connection between the two parties, the sender and the offline client can generate verification information in real time before data transmission, and the transmission server encrypts the offline data packet based on the verification information, and the offline client verifies the offline data packet transmitted offline according to the verification information. The specific verification process is as follows:
[0101] When the offline client receives it;
[0102] First, input the encryption password to decrypt the encrypted offline data packet and obtain the ship construction management file;
[0103] Then verify whether the ship construction management documents are complete based on the document information;
[0104] After passing the above verification process, the ship construction management file received by the offline client is complete and accurate; if the offline client fails to decrypt the offline data packet after entering the encryption password, it means that the transmitted data is inconsistent with the verification information set in advance by the offline client. The offline client can feedback to the sender and request retransmission; if the offline client decrypts and verifies that there is a problem with the ship construction management file based on the file information, it means that the ship construction management file is lost or tampered with during the offline transmission process. The offline client immediately feedbacks to the sender and requires it to check immediately. The setting of verification information is to ensure the security of data during offline transmission. Since the verification information is set by the sender and the offline client through a mutual agreement, it has a certain confidentiality. Therefore, the offline client can verify whether the received ship construction management file is complete based on the verification information set.
[0105] It should be noted that the verification information is generated in real time after agreement between the sender and the offline client, and is updated during each transmission. By updating the verification information during each transmission, the security of the data transmission process can be further improved.
[0106] In order to solve the technical problem that the existing data may not be successfully transmitted when it is transmitted offline, which may cause data to be missed and unable to be transmitted in time, please refer to Figure 1 , this embodiment provides the following technical solutions:
[0107] In step 4, whether the transmission server is working according to the data transmission request is monitored in real time, the processing status of the offline data packet is obtained and fed back to the transmission server, and the transmission server determines whether the transmission server has missed offline data packets based on the fed-back offline data packet processing status, and processes the missed offline data packets in time.
[0108] The real-time monitoring of whether the transmission server works according to the data transmission request specifically includes the following steps:
[0109] Real-time monitoring: After receiving a data transmission request, the transmission server is monitored in real time to see whether it generates an encrypted offline data packet according to the data transmission request and transmits it offline to the offline client, thereby obtaining the processing status of the offline data packet and providing feedback;
[0110] Feedback status: Based on the feedback of offline data packet processing status, determine whether there are offline data packets that have not been successfully transmitted, and then determine whether the transmission server has missed offline data packets that have not been processed.
[0111] The offline data packet processing status is the offline transmission status of each offline data packet. The offline transmission status is divided into offline data packet offline transmission success and offline data packet offline transmission failure. Whether the offline data packet is successfully transmitted offline is determined according to the offline transmission status to avoid offline data packets not being processed.
[0112] If the offline data packet is successfully transmitted offline, a message of successful offline transmission is fed back to the sending end;
[0113] If the offline data packet is not successfully transmitted offline, a message of the offline transmission failure is fed back to the transmission server, and the transmission server immediately retransmits the offline data packet that was not successfully transmitted offline.
[0114] The technical effect of the above content is as follows: the transmission server will be monitored in real time when executing a data transmission request, and whether the transmission server generates an encrypted offline data packet according to the data transmission request and transmits it offline to the offline client, so as to obtain the processing status of the offline data packet. The processing status of the offline data packet is the offline transmission status of each offline data packet, and the offline transmission status is divided into two types: offline data packet offline transmission success and offline data packet offline transmission failure. According to the feedback offline data packet processing status, it can be judged whether the current data is transmitted successfully. If the offline data packet offline transmission is unsuccessful, it is necessary to feedback the offline transmission failure message to the transmission server, and the transmission server immediately retransmits the offline data packet that failed to be transmitted successfully according to the feedback message, so as to avoid data being missed and not transmitted, and at the same time ensure that the missed data can be processed in time, thereby ensuring the efficiency of offline data transmission.
[0115] Working principle: Before each data transmission, a connection is established between the sender and the offline client, so that verification information is generated in real time by mutual agreement before data transmission. The transmission server performs the transmission task according to the data transmission request generated by the sender. Before data transmission, the transmission server clarifies the purpose and needs of the transmission according to the data transmission request, and organizes and converts the format of the ship construction management files to be transmitted, so as to ensure the integrity and accuracy of the ship construction management files. After completing the above operations, the transmission server packages the ship construction management files into offline data packets, and encrypts the offline data packets based on the verification information. The transmission server then transmits the encrypted offline data packets offline to the offline client, and the offline client verifies the offline data packets transmitted offline according to the verification information, decrypts the encrypted offline data packets by entering the encryption password, and verifies the ship construction management files obtained by decryption according to the file information. Whether the management file is complete or not can be verified whether the ship construction management file is lost or tampered with during the offline process, thereby ensuring the security of the offline data transmission process. The transmission server will be monitored in real time when executing the data transmission request. By real-time monitoring whether the offline data packet is transmitted offline to the offline client in time, the processing status of the offline data packet can be obtained and feedback can be given. According to the processing status of the offline data packet, the offline transmission status of each offline data packet can be known, so as to judge whether the current data is successfully transmitted according to the feedback offline data packet processing status. If there is an offline data packet that fails to be transmitted offline, the message of the unsuccessful offline transmission needs to be fed back to the transmission server, and the transmission server immediately retransmits the offline data packet that failed to be transmitted successfully according to the feedback message, so as to avoid data being missed and not transmitted, and at the same time ensure that the missed data can be processed in time, thereby ensuring the efficiency of offline data transmission.
[0116] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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.
[0117] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A data off-line transmission method for shipbuilding management, characterized in that: The following steps are involved: Step 1: The sending end sends a data transmission request to the transmission server, and the transmission server transmits the ship construction management file to the offline client according to the received data transmission request; Step 2: The transmission server generates an encrypted offline data packet, which contains the ship construction management file to be transmitted, and transmits the offline data packet to the offline client offline; Step 3: Before each data transmission, the sender establishes a connection with the offline client. After the connection is established, the sender and the offline client agree on setting verification information for data transmission; Step 4: Monitor the transmission server in real time to determine whether the transmission server has missed any offline data packets that have not been processed; The transmission data of the offline data packet is divided into a number of data segments of the same length, the amount of data to be transmitted is determined according to the number of data segments, and the transmission channels for signal transmission are determined to be no less than six; confirming the remaining channel capacity and channel signal strength of each transmission channel, and selecting a transmission channel whose data transmission capacity is less than the remaining channel capacity as a first transmission channel; When there are multiple first transmission channels, the channel with the strongest signal strength among the multiple first transmission channels is selected as the final transmission channel; and whether to replace the transmission channel is determined by the following method: Determine the number of the first transmission channels, and when there are multiple first transmission channels, retrieve the historical communication records and signal strength of each first transmission channel; Retrieving the first transmission channel with the strongest signal as the final transmission channel; Retrieving the communication operation parameters of the final transmission channel from the historical communication records of the final transmission channel; wherein the communication operation parameters include signal strength change rate, bandwidth utilization, throughput and transmission delay; The quality evaluation reference value of the final transmission channel is obtained by using the communication operation parameter of the final transmission channel; wherein the quality evaluation reference value is obtained by the following formula: ; Wherein, Y represents the quality evaluation reference value; n represents the number of unit time contained in the historical communication record, and the unit time is 1s; B i represents the throughput of the final transmission channel at the i-th unit time; B e represents the preset minimum throughput of the final transmission channel for measuring the communication quality; α represents the first quality evaluation factor; λ represents the second quality evaluation factor; wherein the first quality evaluation factor is obtained by the following formula: ; Among them, P i represents the signal strength change rate corresponding to the i-th unit time; L i Indicates the bandwidth utilization corresponding to the i-th unit time; At the same time, the second quality evaluation factor is obtained by the following formula: ; Where m represents the number of data transmissions in the i-th unit time; k represents the number of transmissions with data delay in the m data transmissions; T pi represents the average delay time of the i-th unit time; T y represents the delay threshold; t represents the factor compensation coefficient; e represents a constant, which is 2.71; T sj represents the actual data transmission duration during the jth data transmission process; T j The theoretical data communication transmission time corresponding to the data volume of the j-th data transmission; The communication operation parameters of the final transmission channel are monitored in real time, and a comparison relationship between the operation quality parameters of the final transmission channel and a preset quality evaluation reference value is used to determine whether the communication channel needs to be replaced.
2. The method for offline data transmission for shipbuilding management according to claim 1, characterized in that: In the step 1: A sending end, used to generate a data transmission request and send the data transmission request to a transmission server; The transmission server is used to accept the data transmission request from the sending end and retrieve the ship construction management file to be transmitted according to the data transmission request; Offline client, used to receive transmitted ship construction management files.
3. The method for offline data transmission for shipbuilding management according to claim 1, characterized in that: The transmission server and the data transmission workflow include the following steps: Determine the transmission needs: After receiving the data transmission request, the transmission server needs to clarify the purpose and needs of the transmission, including the transmitted data information, the amount of data transmitted and the transmission speed, and retrieve the ship construction management files to be transmitted according to the transmitted data information; Data preparation: Before data transmission, the ship construction management files to be transmitted must be prepared, including data sorting and format conversion.
4. The method for offline data transmission for shipbuilding management according to claim 1, characterized in that: In the step 3, before data transmission, a connection needs to be established between the sending end and the offline client, and after the connection is established, the sending end and the offline client set the verification information of the transmitted data by mutual agreement, and the verification information is used by the offline client to verify the integrity of the ship construction management file transmitted offline; The verification information is generated in real time after agreement between the sender and the offline client, and is updated during each transmission.
5. The method for offline data transmission for shipbuilding management according to claim 1, characterized in that: When determining whether to replace the communication channel, the following is also included: monitoring the communication operation parameters of the final transmission channel in real time; The operation quality parameter of the final transmission channel is obtained by using the communication operation parameter of the final transmission channel; wherein the operation quality parameter is obtained by the following formula: ; Wherein, Q represents the operation quality parameter of the final transmission channel; r represents the number of communication experiences per unit time of the final transmission channel; When the operation quality parameter of the final transmission channel is lower than the quality evaluation reference value, calling other first transmission channels except the final transmission channel; Acquire the corresponding operation quality parameters according to the communication operation parameters in the historical records of the other first transmission channels except the final transmission channel; and use the first transmission channel with the strongest signal among the other first transmission channels whose operation quality parameters exceed the quality evaluation reference value as the replacement transmission channel; The final transmission channel is replaced by the replacement transmission channel.
6. The method for offline data transmission for shipbuilding management according to claim 4, characterized in that: The verification information includes file information and encryption password, specifically: The offline client receives the encrypted offline data packet transmitted offline, and the receiving end verifies the transmitted ship construction management file through the verification information agreed upon by both parties in advance, inputs the encryption password to decrypt the encrypted offline data packet, obtains the ship construction management file, and then verifies whether the ship construction management file is complete based on the file information, and completes the verification of the ship construction management data through the verification information.
7. The method for offline data transmission for shipbuilding management according to claim 1, characterized in that: In the step 4, whether the transmission server works according to the data transmission request is monitored in real time, the processing status of the offline data packet is obtained and fed back to the transmission server, and the transmission server determines whether the transmission server has missed offline data packets based on the fed-back offline data packet processing status, and processes the missed offline data packets in time.
8. The method for offline data transmission for shipbuilding management according to claim 7, characterized in that: Whether the transmission server performs real-time monitoring according to the data transmission request specifically includes the following steps: Real-time monitoring: After receiving a data transmission request, the transmission server is monitored in real time to see whether it generates an encrypted offline data packet according to the data transmission request and transmits it offline to the offline client, thereby obtaining the processing status of the offline data packet and providing feedback; Feedback status: Based on the feedback of offline data packet processing status, determine whether there are offline data packets that have not been successfully transmitted, and then determine whether the transmission server has missed offline data packets that have not been processed.
9. The method for offline data transmission for shipbuilding management according to claim 7, characterized in that: The offline data packet processing status is the offline transmission status of each offline data packet. The offline transmission status is divided into offline data packet offline transmission success and offline data packet offline transmission failure. Whether the offline data packet is successfully transmitted offline is determined according to the offline transmission status to avoid offline data packets not being processed. If the offline data packet is successfully transmitted offline, a message of successful offline transmission is fed back to the sending end; If the offline data packet is not successfully transmitted offline, a message of the offline transmission failure is fed back to the transmission server, and the transmission server immediately retransmits the offline data packet that was not successfully transmitted offline.
