Intelligent solder paste tank storage control method, system, device and storage medium
By performing permission authentication and real-time environmental monitoring during the solder paste storage process, the problems of inconvenience and inefficiency of traditional solder paste storage methods are solved, and the full information management and quality control of solder paste are realized, which enhances safety. Welding quality is improved by optimizing communication performance.
Patent Information
- Application Number
- CN202410628038.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-05-21
AI Technical Summary
Traditional solder paste storage methods are inconvenient, inefficient and difficult to trace. The existing technology has failed to effectively improve communication performance, affecting the soldering quality.
By performing permission authentication when feeding and discharging, recording solder paste information, installing sensors to monitor environmental data in real time, and analyzing and adjusting environmental parameters through remote servers, optimizing communication performance to ensure that solder paste is stored under optimal conditions.
The full information management of solder paste is realized, the quality control and traceability is improved, the security of solder paste is enhanced, and communication performance is improved through data processing and preset transmission rules.
Smart Images

Figure CN118605657B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of solder paste control, and specifically relates to an intelligent solder paste tank storage control method, system, device and storage medium. Background Art
[0002] In the electronics manufacturing industry, solder paste is an important welding material, and its storage and management methods have a direct impact on the welding quality. Traditional solder paste storage methods have problems such as inconvenient management, low efficiency, and difficulty in traceability.
[0003] A similar prior art Chinese patent application document with publication number CN115892828A, this invention patent is a storage supervision system for storage devices used in chemical production, including a storage supervision platform, the storage supervision platform is communicatively connected with a region division module, an environmental detection module, a hazard monitoring module, a hazard handling module, a controller and a storage module; the region division module is used to divide the storage warehouse of the chemical plant into several supervision areas; this document can detect and analyze the storage environment of each supervision area through the environmental detection module, conduct a comprehensive analysis of various environmental parameters that affect the stability of chemical products, and provide feedback on the necessity of environmental adjustment, so that when the environment needs to be adjusted, the solenoid valve of the corresponding ventilation duct is opened to ventilate the supervision area. However, this document does not consider the issue of improving communication performance when the storage supervision platform is communicatively connected to other modules.
[0004] Similar prior art includes a Chinese patent application document with publication number CN113104459A, which discloses a storage equipment management and control platform based on information aggregation, including an operation layer, a management layer, an interaction layer, and an equipment layer from top to bottom, and each layer is connected to each other through communication; the operation layer is the warehouse logistics management WMS system, the enterprise resource planning ERP system, and the middle office system; the management layer is the storage equipment management and control platform, core modules, network service platform, and message middleware; the interaction layer is the FA control layer integrated application; and the equipment layer is various warehouse equipment. However, this document does not consider the issue of improving communication performance when the layers are connected to each other through communication.
[0005] Therefore, the present invention provides an intelligent solder paste tank storage control method, system, device and storage medium. Summary of the invention
[0006] The present invention ensures the safety of solder paste by authenticating the authority of staff during feeding and discharging, and records the solder paste information, feeding time and discharging time during feeding and discharging to realize the whole process information management of solder paste, so as to facilitate the quality control and traceability of solder paste. It also installs multiple sensors in the solder paste cabinet to obtain the environmental data of solder paste in real time, and transmits the environmental data to a remote server in real time for analysis, so as to achieve the purpose of real-time monitoring the environmental data of solder paste storage. When the environmental data obtained does not meet the optimal conditions for solder paste storage, the environmental parameters of the solder paste cabinet are adjusted to ensure that the solder paste is always kept under the optimal conditions for solder paste storage. When transmitting the environmental data, the amount of data transmission is reduced by processing the environmental data, and the data is sent according to the preset transmission rules, so as to improve the performance of communication.
[0007] In order to achieve the above-mentioned purpose of the invention, the present invention provides an intelligent solder paste tank storage control method as described below, which is implemented by executing the following steps:
[0008] S1. Authenticate the authority of the feeding personnel. If the authentication is successful, store the solder paste according to the feeding information. When feeding, obtain the solder paste information of the solder paste tank, which includes the solder paste type, supplier code, batch number, production date, temperature return time, stirring time and solder paste storage conditions, and store the solder paste information and feeding time.
[0009] S2. Multiple sensors are arranged in the solder paste cabinet to monitor the storage environment of the solder paste, and the environmental data in the solder paste cabinet is obtained in real time, wherein the environmental data includes temperature, humidity and pressure. The sensor sends the environmental data to the data sending module, and the data sending module combines the environmental data and the acquisition time corresponding to the environmental data to generate time series environmental data. The data sending module processes the time series environmental data to obtain the processed data to be sent, and a communication connection is established between the data sending module and the remote server. The data sending module groups the data to be sent to generate multiple data groups, and sends the data groups to the remote server according to the preset transmission rules;
[0010] S3. After receiving the data to be sent, the remote server restores the data to be sent to obtain the time series environment data, analyzes the time series environment data to obtain an analysis result, and determines whether the storage environment meets the optimal conditions for solder paste storage according to the analysis result. If the storage environment does not meet the optimal conditions for solder paste storage, the environmental parameters of the solder paste cabinet are adjusted to make the storage environment meet the optimal conditions for solder paste storage;
[0011] S4. The authority of the discharging personnel is authenticated when discharging materials. If the authentication is successful, the solder paste can with the earliest feeding time among the same type of solder paste is obtained according to the material collection information. The solder paste can is pre-placed in the temperature recovery zone for temperature recovery according to the temperature recovery time and the stirring time. When different types of solder pastes are taken out at the same time, different types of solder pastes are simultaneously temperature recovered based on different temperature recovery zones. After temperature recovery, the solder paste can is placed in the stirring zone for stirring. After stirring, the discharging time of the solder paste can and the discharging personnel are recorded while the discharging time of the solder paste can and the effective use period of the solder paste after discharging are generated according to the solder paste storage conditions.
[0012] As a preferred technical solution of the present invention, in S2, the data sending module processes the time series environmental data to obtain processed data to be sent, including the following steps:
[0013] S211, obtaining a first set of time series environmental data from the time series environmental data as reference data;
[0014] S212, using the time series environmental data other than the reference data as comparison data, comparing the comparison data with the reference data to determine whether the two are identical, if they are identical, obtaining time feature data of the comparison data, replacing the comparison data with the time feature data and a first mark combination, if they are not identical, using the comparison data as new reference data;
[0015] S213, repeat S212 until all the time series environmental data are processed.
[0016] As a preferred technical solution of the present invention, in S2, sending the plurality of data groups to a remote server according to a preset transmission rule comprises the following steps:
[0017] S221, the data sending module obtains the round-trip time of communication with the remote server, defines and initializes a first number, divides each of the data groups again to generate multiple data blocks, sends the first number of data blocks to the remote server every first time, reduces the first number by one each time a data block is sent, and defines relevant information of the corresponding data block, the relevant information includes a sending timestamp and a sending number, and initializes the sending number to one;
[0018] S222, the remote server initializes the receiving quantity to zero, defines the waiting time and uses half of the round-trip time as the initial value of the waiting time. Each time the remote server receives a data block, it generates corresponding confirmation information and increases the receiving quantity by one. It also determines whether it is necessary to wait for the confirmation information to be sent. If so, the confirmation information is added to the list to be sent. If not, the remote server sends the confirmation information to the data sending module, and the data sending module receives the confirmation information.
[0019] As a preferred technical solution of the present invention, in S222, judging whether it is necessary to wait for sending the confirmation information includes the following steps:
[0020] S2221, calculating the interval between receiving the last data block and receiving the last data block, when the data block is received for the first time, the interval is zero, determining whether the interval is less than or equal to a first threshold, if so, increasing the number of received data by one, and determining whether the number of received data is less than or equal to a second threshold, if so, determining that there is no need to wait for sending the confirmation information;
[0021] S2222. Otherwise, when the interval duration is greater than the first threshold or the received quantity is greater than the second threshold, it is determined that it is necessary to wait for sending the confirmation information.
[0022] As a preferred technical solution of the present invention, in S221, in the process of sending the first number of data blocks to the remote server, the following steps are further performed:
[0023] S2211, the data sending module determines whether the corresponding confirmation information is received for each data block, if not, obtains the sending time in the relevant information corresponding to the data block, calculates the time difference between the sending time and the current time, and if the time difference is greater than the preset second time length, the data sending module resends the data block to the remote server and increases the number of sending times in the relevant information by one;
[0024] S2212. The data sending module determines whether the number of data blocks sent more than the first time is greater than a second threshold every third time period. If so, the data sending module modifies the first time period to 1.5 times the original time period, and sends the data blocks with the modified first time period as the sending interval.
[0025] As a preferred technical solution of the present invention, in S222, after the data sending module receives the confirmation information, it further performs the following steps:
[0026] Add one to the first number and compare the first number with a second threshold. If the first number is greater than or equal to the second threshold, the data sending module modifies the first duration to 0.5 times the original duration. After modifying the first duration, the data sending module sends data blocks according to the modified first duration as the sending interval.
[0027] As a preferred technical solution of the present invention, in S222, after adding the confirmation information to the list to be sent, the following steps are further performed:
[0028] After the waiting time, the remote server sends the confirmation information in the to-be-sent list to the data sending module in a first-in-first-out order. Every third time, the remote server obtains a new round-trip time with the data sending module and modifies the waiting time to half of the new round-trip time.
[0029] The present invention also provides an intelligent solder paste tank storage management and control system, comprising the following modules:
[0030] The solder paste feeding module is used to authenticate the authority of the person who receives the materials. If the authentication is successful, the solder paste is stored according to the feeding information. When feeding, the solder paste information of the solder paste tank is obtained. The solder paste information includes the solder paste type, supplier code, batch number, production date, temperature recovery time, stirring time and solder paste storage conditions, and the solder paste information and feeding time are stored;
[0031] A data sending module is used to set a variety of sensors in the solder paste cabinet to monitor the storage environment of the solder paste, and obtain environmental data in the solder paste cabinet in real time. The environmental data includes temperature, humidity and pressure. The sensor sends the environmental data to the data sending module. The data sending module combines the environmental data and the acquisition time corresponding to the environmental data to generate time series environmental data. The data sending module processes the time series environmental data to obtain processed data to be sent, establishes a communication connection between the data sending module and a remote server, and the data sending module groups the data to be sent to generate multiple data groups, and sends the data groups to the remote server according to a preset transmission rule;
[0032] A remote server module is used to restore the data to be sent to obtain the time series environmental data after receiving the data to be sent, analyze the time series environmental data to obtain an analysis result, and judge whether the storage environment meets the optimal conditions for solder paste storage according to the analysis result; if the storage environment does not meet the optimal conditions for solder paste storage, adjust the environmental parameters of the solder paste cabinet to make the storage environment meet the optimal conditions for solder paste storage;
[0033] The solder paste discharging module is used to authenticate the authority of the discharging personnel during discharging. If the authentication is successful, the solder paste can with the earliest feeding time among the same type of solder paste is obtained according to the material collection information, and the solder paste can is pre-placed in the temperature recovery zone for temperature recovery according to the temperature recovery time and the stirring time. When different types of solder paste are taken out at the same time, different types of solder paste are simultaneously temperature recovered based on different temperature recovery zones. After temperature recovery, the solder paste can is placed in the stirring zone for stirring. After stirring, the discharging time and the discharging personnel of the solder paste can are recorded while the effective use period of the solder paste after discharging is generated according to the solder paste storage conditions.
[0034] The present invention also provides a device, characterized in that it comprises:
[0035] Memory for storing computer programs;
[0036] A processor is used to implement any one of the above-mentioned intelligent solder paste tank storage management and control methods when executing the computer program.
[0037] The present invention also provides a storage medium, which stores program instructions, wherein when the program instructions are executed, the device where the storage medium is located is controlled to execute any one of the above-mentioned intelligent solder paste can storage control methods.
[0038] Compared with the prior art, the beneficial effects of the present invention are at least as follows:
[0039] In the present invention, firstly, the purpose of facilitating the quality control and traceability of solder paste is achieved by realizing the whole process information management of solder paste. It also supports setting different temperature recovery time and stirring time for different types to adapt to the characteristics of different solder pastes. It also ensures that the solder paste is managed by dedicated personnel by authenticating the authority of the feeding and discharging personnel to enhance the safety of the solder paste. It also ensures that the solder paste is always in the best storage conditions by acquiring the environmental data of the solder paste in real time and transmitting the environmental data to a remote server for analysis in real time. When transmitting environmental data, the amount of data transmission is reduced by processing the environmental data. The data is sent according to preset transmission rules to improve the performance of communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A flowchart of the steps of an intelligent solder paste tank storage control method of the present invention;
[0041] Figure 2 This is a structural diagram of an intelligent solder paste tank storage control system of the present invention;
[0042] In the figure: 101, solder paste feeding module; 102, data sending module; 103, remote server module; 104, solder paste discharging module. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0044] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.
[0045] The present invention provides Figure 1 The method for intelligent solder paste tank storage control shown is implemented by executing the following steps:
[0046] S1. Authenticate the authority of the feeding personnel. If the authentication is successful, store the solder paste according to the feeding information. When feeding, obtain the solder paste information of the solder paste tank. The solder paste information includes solder paste type, supplier code, batch number, production date, reheating time, stirring time and solder paste storage conditions. Store the solder paste information and feeding time.
[0047] Specifically, solder paste, as a new type of welding material, has very strict requirements on the storage environment. The temperature, humidity and pressure must all be within an appropriate range. Improper storage will destroy the original properties of the solder paste. In order to store solder paste more efficiently, the solder paste is stored in solder paste cans, and the solder paste cans are placed in solder paste cabinets for storage and control of the solder paste.
[0048] When feeding materials, the feeding personnel are authenticated for their authority. Only authorized personnel can deposit and withdraw solder paste to prevent the solder paste from being abused or wasted due to improper use. At the same time, the safety of the solder paste is ensured. According to the feeding information, the solder paste cans are stored in the solder paste cabinet. When storing, the solder paste information and feeding time of the solder paste cans stored in the solder paste cabinet are recorded. Through this information, the whole process of information management of the solder paste is realized, which is convenient for quality control and traceability.
[0049] S2. Various sensors are arranged in the solder paste cabinet to monitor the storage environment of the solder paste, and the environmental data in the solder paste cabinet is obtained in real time. The environmental data includes temperature, humidity and pressure. The sensor sends the environmental data to the data sending module 102. The data sending module 102 combines the environmental data and the acquisition time corresponding to the environmental data to generate time series environmental data. The data sending module 102 processes the time series environmental data to obtain the processed data to be sent, and establishes a communication connection between the data sending module 102 and the remote server 103. The data sending module 102 groups the data to be sent to generate multiple data groups, and sends the data groups to the remote server 103 according to the preset transmission rules.
[0050] Specifically, in order to manage and store solder paste more effectively and rigorously, so that the storage environment of solder paste is always maintained under suitable storage conditions, a variety of sensors are set in the solder paste cabinet to monitor the storage environment of solder paste in real time and obtain environmental data in the solder paste cabinet in real time. Since there are multiple sensors, the environmental data obtained by multiple sensors are sent to the data sending module 102 in a unified manner. The data sending module 102 combines the environmental data and the corresponding acquisition time to generate time series environmental data. In order to analyze the time series environmental data and determine whether the storage environment meets the storage conditions, the time series environmental data needs to be sent to the remote server 103. Since the environmental data is obtained in real time, the environmental data obtained in a similar time period may be the same. In order to reduce the amount of data transmission when sending data subsequently, the time series environmental data is processed to obtain the data to be sent. The specific processing process will be explained in detail later. In order to improve the performance of communication, the data sending module 102 also groups the data to be sent to generate multiple data groups, and then sends the data groups to the remote server 103 according to the preset transmission rules.
[0051] S3. After receiving the data to be sent, the remote server 103 restores the data to be sent to obtain time series environment data, analyzes the time series environment to obtain analysis results, and determines whether the storage environment meets the optimal conditions for solder paste storage based on the analysis results. If the storage environment does not meet the optimal conditions for solder paste storage, the environmental parameters of the solder paste cabinet are adjusted to make the storage environment meet the optimal conditions for solder paste storage.
[0052] Specifically, after the remote server 103 receives the data to be sent, since the data to be sent has been processed, it is necessary to restore the data to be sent to obtain the original time series data, and then analyze the storage conditions of the solder paste through the time series environmental data to determine whether the storage environment meets the optimal conditions for solder paste storage, wherein the optimal conditions for solder paste storage are obtained by recording the storage conditions when feeding, such as the optimal conditions for the temperature of solder paste storage is 5-10 degrees Celsius. If the current environment of the solder paste cabinet meets the optimal conditions for solder paste storage, there is no need to adjust the solder paste cabinet. If it is concluded through analysis that the current environment of the solder paste cabinet does not meet the optimal conditions for solder paste storage, the environment of the solder paste cabinet needs to be adjusted. For example, if the current temperature is 11 degrees Celsius, the environmental parameters of the solder paste cabinet are adjusted to lower the temperature of the solder paste cabinet so that the storage environment reaches the optimal conditions for solder paste storage. Through the above method, the storage environment of the solder paste can always be kept under the optimal storage conditions. The premise for achieving the above purpose is to obtain the time series environmental data in a timely and correct manner, so the time series environmental data is processed and transmitted through S2 to achieve the above purpose. The specific processing and transmission details will be explained in detail later.
[0053] S4. The authority of the discharging personnel is authenticated when discharging materials. If the authentication is successful, the solder paste can with the earliest feeding time among the same type of solder paste is obtained according to the material collection information. The solder paste can is placed in the temperature recovery zone for temperature recovery according to the temperature recovery time and the stirring time. When different types of solder paste are taken out at the same time, different types of solder paste are simultaneously heated up based on different temperature recovery zones. After temperature recovery, the solder paste can is placed in the stirring zone for stirring. After stirring, the discharging time and the discharging personnel of the solder paste can are recorded while the effective use period of the solder paste after discharging is generated according to the solder paste storage conditions.
[0054] Specifically, when discharging, the authority of the discharging personnel is authenticated to ensure that the solder paste is taken by authorized staff, thereby avoiding waste caused by arbitrary use of the solder paste. When taking out the solder paste, since the storage time of the solder paste is controlled, generally under the best storage conditions, the solder paste can only be stored for three to six months. Therefore, when taking out the solder paste, the first-in-first-out principle is adopted to give priority to the earliest stored solder paste. Before taking it out, the solder paste is warmed up and stirred according to the warming up time and stirring time. Different types of solder pastes can also be warmed up at the same time based on different warming up zones. When stirring, it also supports setting different stirring times and stirring speeds. After discharging, the solder paste is discharged, and the discharging time of the solder paste is also recorded to achieve the purpose of full information management of the solder paste. After the solder paste is taken out from the solder paste cabinet, it generally needs to be used up within a certain period of time, otherwise it will affect the effectiveness of the solder paste. Therefore, when the solder paste is discharged, a reminder of the effective use period of the solder paste is generated according to the solder paste storage conditions to avoid waste caused by long-term non-use.
[0055] Through the above method, the purpose of facilitating the quality control and traceability of solder paste is achieved by realizing the whole process information management of solder paste, and the safety of solder paste is enhanced by authenticating the authority of the feeding and discharging personnel to ensure that the solder paste is managed by dedicated personnel. The environmental data of the solder paste is obtained in real time and the environmental data is transmitted to the remote server 103 in real time for analysis to ensure that the solder paste is always in the best storage conditions. When transmitting environmental data, the amount of data transmission is reduced by processing the environmental data, and the data is sent according to preset transmission rules to improve the performance of communication.
[0056] Further, in S2, the data sending module 102 processes the time series environmental data to obtain processed data to be sent, including the following steps:
[0057] S211, obtaining a first set of time series environmental data from the time series environmental data as reference data;
[0058] S212, using the time series environmental data other than the reference data as comparison data, comparing the comparison data with the reference data to determine whether the two are identical, if they are identical, obtaining time feature data of the comparison data, replacing the comparison data with the time feature data and the first mark combination, if they are not identical, using the comparison data as new reference data;
[0059] S213. Repeat S212 until all time series environmental data are processed.
[0060] Specifically, since the environmental data is acquired in real time, the environmental data acquired in a similar time period may be the same. The time series environmental data is composed of environmental data and time characteristic data. In order to reduce the amount of data transmission when sending data subsequently, the first set of time series environmental data is obtained from the time series environmental data as reference data, and the subsequent time series environmental data is used as comparison data to determine whether the environmental data of the comparison data is the same as the environmental data of the reference data. If they are the same, it means that the environmental data acquired at this time point is the same as the environmental data acquired at the previous time point, and only the time characteristic data is different. Therefore, the time characteristic data of the corresponding time series environmental data and the first marker are combined to replace the original time series environmental data. The first marker can be used with the remote server. The remote server 103 agrees on this, for example, setting it to zero, so that after receiving the first mark, the remote server 103 obtains the environmental data of the most recent previous reference data to fill in the original time series environmental data. If they are not the same, it means that the environmental data has changed after a period of time. At this time, the time series environmental data that is different from the reference data, that is, the current comparison data, is used as the new reference data, and continues to be compared with the subsequent time series environmental data. S212 is repeated until all time series environmental data are processed. Through the above method, the time series environmental data with the same environmental data is processed, reducing the amount of data sent, so that the remote server 103 can obtain the time series environmental data faster, thereby analyzing it faster.
[0061] Furthermore, in S2, multiple data groups are sent to the remote server 103 according to a preset transmission rule, including the following steps:
[0062] S221, the data sending module 102 obtains the round-trip time of communication with the remote server 103, defines and initializes a first quantity, divides each data group again to generate multiple data blocks, and sends the first number of data blocks to the remote server 103 every first time period. Each time a data block is sent, the first quantity is reduced by one, and relevant information of the corresponding data block is defined, the relevant information includes a sending timestamp and a sending number, and the sending number is initialized to one.
[0063] Specifically, in order to improve the performance of communication between the data sending module 102 and the remote server 103, the round-trip time of the communication between the two is first obtained, and each data group is divided again to generate multiple data blocks, and data is sent in units of data blocks with smaller data volume. When data loss, data error, etc. are encountered in the future and data needs to be resent, the lost or erroneous data can be obtained more accurately, and the amount of resent data can also be reduced. The data sending module 102 sends a first number of data blocks to the remote server 103 every first time period, and defines relevant information of the data block each time a data block is sent. The relevant information is used as a basis for judging the subsequent modification of the sending interval. The sending interval is the first time period, which is the basis for judging the subsequent modification of the first time period.
[0064] S222, the remote server 103 initializes the receiving quantity to zero, defines the waiting time and uses half of the round-trip time as the initial value of the waiting time. Each time the remote server 103 receives a data block, it generates corresponding confirmation information and increases the receiving quantity by one. It also determines whether it is necessary to wait for sending confirmation information. If so, the confirmation information is added to the list to be sent. If not, the remote server 103 sends the confirmation information to the data sending module 102, and the data sending module 102 receives the confirmation information.
[0065] Specifically, each time the remote server 103 receives a data block, it generates corresponding confirmation information and sends the confirmation information to the data sending module 102, notifying the data sending module 102 that the corresponding data block has been successfully received. Usually, when the communication conditions are good, there is no need to wait for the confirmation information to be sent. When the communication conditions are poor, the confirmation information is sent after waiting for a certain period of time. Therefore, by determining whether to wait for the confirmation information to be sent, it is ensured that the confirmation information can be sent to the data sending module 102 when the communication conditions are good. Sending confirmation information when the communication conditions are good can reduce the loss or error in the sending process and improve the communication performance. The specific process of determining whether to wait for the confirmation information to be sent will be explained later.
[0066] Further, in S222, it is determined whether it is necessary to wait for sending confirmation information, including the following steps:
[0067] S2221. Calculate the interval duration between receiving the previous data block and receiving the previous data block. When receiving the data block for the first time, the interval duration is zero. Determine whether the interval duration is less than or equal to the first threshold. If so, increase the number of received data by one and determine whether the number of received data is less than or equal to the second threshold. If so, determine that there is no need to wait for sending confirmation information.
[0068] Specifically, in order to determine whether it is necessary to wait for sending confirmation information, the interval duration between calculating and receiving the previous data block, and in the case of the first time receiving the data block, since there is no comparison, the interval duration is regarded as zero, and in the case of not the first time receiving the data block, it is determined whether the interval duration is less than or equal to the first threshold value. If so, it means that the reception efficiency of the data block is high and the current network condition is good. Then, it is determined whether the number of received data blocks is less than or equal to the second threshold value. If so, it means that multiple data blocks are currently received continuously and evenly and the number of received data blocks is less than or equal to the second threshold value, which means that the current communication condition is good and there is no risk of change in the communication condition. In this case, the confirmation information is sent immediately so that the confirmation information can reach the data sending module 102 faster, wherein the first threshold value and the second threshold value are set according to historical experience data.
[0069] S2222. Otherwise, when the interval duration is greater than the first threshold or the number of received messages is greater than the second threshold, it is determined that it is necessary to wait for sending confirmation information.
[0070] Specifically, if the interval time is greater than the first threshold, it means that the transmission time for the data block to reach the remote server 103 becomes longer, and it also means that the communication condition may deteriorate. If the received number is greater than the second threshold, it means that the remote server 103 has continuously received a large number of data blocks. In this case, since the remote server 103 has to process more data blocks, the performance of the remote server 103 may be reduced. Therefore, in order to enable the remote server 103 to maintain better performance and thus be able to communicate better with the data sending module 102, it is determined that it is necessary to wait for the sending of confirmation information, and the generated confirmation information will be sent to the data sending module 102 after the waiting period.
[0071] Furthermore, in S221, in the process of sending the first number of data blocks to the remote server 103, the following steps are also performed:
[0072] S2211, the data sending module 102 determines whether the corresponding confirmation information is received for each data block. If not, obtains the sending time in the relevant information corresponding to the data block, calculates the time difference between the sending time and the current time, and if the time difference is greater than the preset second time length, the data sending module 102 resends the data block to the remote server 103, and increases the number of sending times in the relevant information by one.
[0073] Specifically, in order to improve the performance of communication and reduce data loss and data errors during the sending process, the data sending module 102 determines whether the corresponding confirmation information has been received for each data block. If not, it means that the data block may not have been successfully sent to the remote server 103. At this time, the time difference between the sending time of the data block and the current time is obtained. If the time difference is greater than the preset second time period, the second time period can be set according to historical experimental data. Generally, the data sending module 102 should receive the corresponding confirmation information within the second time period. If it is not received, it means that the data block may not have been successfully sent to the remote server 103. In order to ensure that the remote server 103 can receive the data block, the data sending module 102 resends the data block to the remote server 103 and increases the number of transmissions by one.
[0074] S2212, the data sending module 102 determines whether the number of data blocks sent more than the first time is greater than the second threshold every third time period. If so, the data sending module 102 modifies the first time period to be 1.5 times the original time period, and sends the data blocks according to the modified first time period as the sending interval.
[0075] Specifically, the data sending module 102 may encounter a situation where the network condition becomes better or worse during the process of sending data. If the network condition improves, it means that the current network can send data blocks at a shorter sending interval, but it may not be able to fully utilize the network if the data blocks are still sent at the previous first time interval. If the network condition deteriorates, data blocks may frequently experience data loss or data errors during the sending process. Therefore, the data sending module 102 obtains the number of data blocks with a corresponding sending number greater than the first number every third time interval, that is, the number of data blocks with a large number of repeated sending times, and determines whether it is greater than the second threshold. If so, it means that the current network condition may become worse than before, such as encountering network congestion, etc. At this time, it is necessary to reduce the sending frequency of data blocks, so the data sending module 102 increases the sending interval by modifying the first time interval to be 1.5 times the original time interval, and sends data blocks according to the modified first time interval as the sending interval.
[0076] Furthermore, in S222, after receiving the confirmation information, the data sending module 102 further performs the following steps:
[0077] The first number is increased by one, and the first number is compared with the second threshold. If the first number is greater than or equal to the second threshold, the data sending module 102 modifies the first duration to 0.5 times the original duration. After modifying the first duration, the data sending module 102 sends data blocks with the modified first duration as the sending interval.
[0078] Specifically, after receiving the confirmation information, the data sending module 102 adds one to the first number, and then compares the first number with the second threshold. If the first number is greater than the second threshold, it means that the data sending module 102 receives the confirmation information faster, so the first number increases faster. It also means that the current network condition is getting better, so the data sending module 102 modifies the first duration to 0.5 times the original one, reduces the sending interval of the data block, and can send data blocks faster while making full use of the network. Therefore, the remote server 103 can receive data faster, analyze the data faster and draw conclusions, thereby achieving the purpose of ensuring that the storage environment of the solder paste is always maintained in the best conditions.
[0079] Furthermore, after the confirmation information is added to the list to be sent, the following steps are also performed:
[0080] After the waiting time, the remote server 103 sends the confirmation information in the to-be-sent list to the data sending module 102 in a first-in-first-out order. Every third time period, the remote server 103 obtains a new round-trip time with the data sending module 102, and the remote server 103 modifies the waiting time to half of the new round-trip time.
[0081] Specifically, after the remote server 103 adds the confirmation information to the list to be sent, after the waiting time, the remote server 103 sends the confirmation information in the list to be sent to the data sending module 102 in a first-in-first-out order. In order to ensure that the remote server 103 can always send the confirmation information with an appropriate waiting time, every third time, the remote server 103 obtains a new round-trip time with the data sending module 102. If the new round-trip time is less than or equal to the round-trip time obtained previously, it means that the communication status of the remote server 103 and the data sending module 102 has improved. The remote server 103 will modify the waiting time to half of the new round-trip time, so as to reduce the time interval for sending the confirmation information, so that the confirmation information can be sent to the data sending module 102 more quickly. If the new round-trip time is greater than the round-trip time obtained previously, it means that the communication status of the remote server 103 and the data sending module 102 has deteriorated. The remote server 103 will modify the waiting time to half of the new round-trip time, so as to increase the time interval for sending the confirmation information, and reduce the probability of loss and error of the confirmation information during the data sending process.
[0082] According to another aspect of the embodiment of the present invention, Figure 2 As shown, an intelligent solder paste tank storage management and control system is also provided, including a solder paste feeding module 101, a data sending module 102, a remote server module 103 and a solder paste discharging module 104, which is used to implement an intelligent solder paste tank storage management and control method as described above. The specific functions of each module are as follows:
[0083] The solder paste feeding module 101 is used to authenticate the authority of the person receiving the materials. If the authentication is successful, the solder paste is stored according to the feeding information. When feeding, the solder paste information of the solder paste tank is obtained. The solder paste information includes the solder paste type, supplier code, batch number, production date, return to temperature time, stirring time and solder paste storage conditions, and the solder paste information and feeding time are stored.
[0084] The data sending module 102 is used to set up multiple sensors in the solder paste cabinet to monitor the storage environment of the solder paste, and obtain the environmental data in the solder paste cabinet in real time. The environmental data includes temperature, humidity and pressure. The sensor sends the environmental data to the data sending module 102. The data sending module 102 combines the environmental data and the acquisition time corresponding to the environmental data to generate time series environmental data. The data sending module 102 processes the time series environmental data to obtain the processed data to be sent, and establishes a communication connection between the data sending module 102 and the remote server 103. The data sending module 102 groups the data to be sent to generate multiple data groups, and sends the data groups to the remote server 103 according to preset transmission rules.
[0085] The remote server module 103 is used to restore the data to be sent to obtain time series environment data after receiving the data to be sent, analyze the time series environment to obtain analysis results, and determine whether the storage environment meets the optimal conditions for solder paste storage based on the analysis results. If the storage environment does not meet the optimal conditions for solder paste storage, the environmental parameters of the solder paste cabinet are adjusted to make the storage environment meet the optimal conditions for solder paste storage.
[0086] The solder paste discharging module 104 is used to authenticate the authority of the discharging personnel when discharging. If the authentication is successful, the solder paste can with the earliest feeding time among the same type of solder paste is obtained according to the material collection information, and the solder paste can is pre-placed in the temperature recovery zone for temperature recovery according to the temperature recovery time and the stirring time. When different types of solder paste are taken out at the same time, different types of solder paste are simultaneously heated up based on different temperature recovery zones. After heating, the solder paste can is placed in the stirring zone for stirring. After stirring, the discharging time and the discharging personnel of the solder paste can are recorded while the effective use period of the solder paste after discharging is generated according to the solder paste storage conditions.
[0087] According to another aspect of an embodiment of the present invention, there is further provided a device, characterized in that it includes:
[0088] Memory for storing computer programs;
[0089] A processor for implementing any one of the above-mentioned intelligent solder paste tank storage control methods when executing a computer program
[0090] According to another aspect of an embodiment of the present invention, a storage medium is further provided, wherein the storage medium stores program instructions, wherein when the program instructions are executed, the device where the storage medium is located is controlled to execute any one of the above-mentioned intelligent solder paste tank storage management and control methods.
[0091] In summary, the present invention provides an intelligent solder paste tank storage control method, system, device and storage medium. The method includes storing solder paste according to feeding information, storing solder paste information and feeding time, setting multiple sensors in the solder paste cabinet to monitor the storage environment of solder paste in real time, obtaining environmental data in the solder paste cabinet in real time, and the data sending module 102 generates and processes the time series environmental data for grouping and processing to generate multiple data groups, and sends the data groups to the remote server 103 according to the preset transmission rules. The remote server 103 analyzes the time series environment to obtain the analysis results, and determines whether the storage environment meets the optimal conditions for solder paste storage according to the analysis results, and keeps the storage environment of solder paste storage in the optimal conditions at all times. When discharging, the solder paste tank with the earliest feeding time among the same type of solder paste is obtained according to the material collection information. The present invention can keep the solder paste tank in the optimal storage condition at all times.
[0092] It should be understood that, although the various steps in the flowchart of each embodiment of the present invention are displayed in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0093] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0094] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0095] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0096] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent solder paste tank storage control method, characterized in that: The steps include: S1. Authenticate the authority of the feeding personnel. If the authentication is successful, store the solder paste according to the feeding information. When feeding, obtain the solder paste information of the solder paste tank, which includes the solder paste type, supplier code, batch number, production date, temperature return time, stirring time and solder paste storage conditions, and store the solder paste information and feeding time. S2. Multiple sensors are arranged in the solder paste cabinet to monitor the storage environment of the solder paste, and the environmental data in the solder paste cabinet is obtained in real time, wherein the environmental data includes temperature, humidity and pressure. The sensor sends the environmental data to the data sending module, and the data sending module combines the environmental data and the acquisition time corresponding to the environmental data to generate time series environmental data. The data sending module processes the time series environmental data to obtain the processed data to be sent, and a communication connection is established between the data sending module and the remote server. The data sending module groups the data to be sent to generate multiple data groups, and sends the data groups to the remote server according to the preset transmission rules; S3. After receiving the data to be sent, the remote server restores the data to be sent to obtain the time series environment data, analyzes the time series environment data to obtain an analysis result, and determines whether the storage environment meets the optimal conditions for solder paste storage according to the analysis result. If the storage environment does not meet the optimal conditions for solder paste storage, the environmental parameters of the solder paste cabinet are adjusted to make the storage environment meet the optimal conditions for solder paste storage; S4. Authenticate the authority of the discharging personnel when discharging. If the authentication is successful, obtain the solder paste can with the earliest feeding time among the same type of solder paste according to the material collection information, and place the solder paste can in the temperature recovery zone in advance for temperature recovery according to the temperature recovery time and stirring time. When taking out different types of solder paste at the same time, temperature recovery is performed on different types of solder pastes based on different temperature recovery zones. After temperature recovery, place the solder paste can in the stirring zone for stirring. After stirring, discharge the solder paste can while recording the discharging time and discharging personnel of the solder paste can. Also, generate the effective use period of the solder paste after discharge according to the solder paste storage conditions. In S2, the plurality of data groups are sent to a remote server according to a preset transmission rule, including the following steps: S221, the data sending module obtains the round-trip time of communication with the remote server, defines and initializes a first number, divides each of the data groups again to generate multiple data blocks, sends the first number of data blocks to the remote server every first time, reduces the first number by one each time a data block is sent, and defines relevant information of the corresponding data block, the relevant information includes a sending timestamp and a sending number, and initializes the sending number to one; S222, the remote server initializes the receiving quantity to zero, defines the waiting time and uses half of the round-trip time as the initial value of the waiting time. Each time the remote server receives a data block, it generates corresponding confirmation information and increases the receiving quantity by one. It also determines whether it is necessary to wait for the confirmation information to be sent. If so, the confirmation information is added to the list to be sent. If not, the remote server sends the confirmation information to the data sending module, and the data sending module receives the confirmation information.
2. The method according to claim 1, characterized in that: In S2, the data sending module processes the time series environmental data to obtain processed data to be sent, including the following steps: S211, obtaining a first set of time series environmental data from the time series environmental data as reference data; S212, using the time series environmental data other than the reference data as comparison data, comparing the comparison data with the reference data to determine whether the two are identical, if they are identical, obtaining time feature data of the comparison data, replacing the comparison data with the time feature data and a first mark combination, if they are not identical, using the comparison data as new reference data; S213, repeat S212 until all the time series environmental data are processed.
3. The method according to claim 1, characterized in that In the step S222, determining whether it is necessary to wait for sending the confirmation information comprises the following steps: S2221, calculating the interval between receiving the last data block and receiving the last data block, when the data block is received for the first time, the interval is zero, determining whether the interval is less than or equal to a first threshold, if so, increasing the number of received data by one, and determining whether the number of received data is less than or equal to a second threshold, if so, determining that there is no need to wait for sending the confirmation information; S2222. Otherwise, when the interval duration is greater than the first threshold or the received quantity is greater than the second threshold, it is determined that it is necessary to wait for sending the confirmation information.
4. The method according to claim 1, characterized in that: In the step S221, in the process of sending the first number of data blocks to the remote server, the following steps are further performed: S2211, the data sending module determines whether the corresponding confirmation information is received for each data block, if not, obtains the sending time in the relevant information corresponding to the data block, calculates the time difference between the sending time and the current time, and if the time difference is greater than the preset second time length, the data sending module resends the data block to the remote server and increases the number of sending times in the relevant information by one; S2212. The data sending module determines whether the number of data blocks sent more than the first time is greater than a second threshold every third time period. If so, the data sending module modifies the first time period to 1.5 times the original time period, and sends the data blocks with the modified first time period as the sending interval.
5. The method according to claim 1, characterized in that In S222, after receiving the confirmation information, the data sending module further performs the following steps: Add one to the first number and compare the first number with a second threshold. If the first number is greater than or equal to the second threshold, the data sending module modifies the first duration to 0.5 times the original duration. After modifying the first duration, the data sending module sends data blocks with the modified first duration as the sending interval.
6. The method according to claim 1, characterized in that In S222, after adding the confirmation information to the list to be sent, the following steps are further performed: After the waiting time, the remote server sends the confirmation information in the to-be-sent list to the data sending module in a first-in-first-out order. Every third time, the remote server obtains a new round-trip time with the data sending module and modifies the waiting time to half of the new round-trip time.
7. An intelligent solder paste tank storage management and control system, used to implement the method according to any one of claims 1 to 6, characterized in that: Includes the following modules: The solder paste feeding module is used to authenticate the authority of the person who receives the materials. If the authentication is successful, the solder paste is stored according to the feeding information. When feeding, the solder paste information of the solder paste tank is obtained. The solder paste information includes the solder paste type, supplier code, batch number, production date, temperature recovery time, stirring time and solder paste storage conditions, and the solder paste information and feeding time are stored; A data sending module is used to set a variety of sensors in the solder paste cabinet to monitor the storage environment of the solder paste, and obtain the environmental data in the solder paste cabinet in real time. The environmental data includes temperature, humidity and pressure. The sensor sends the environmental data to the data sending module. The data sending module combines the environmental data and the acquisition time corresponding to the environmental data to generate time series environmental data. The data sending module processes the time series environmental data to obtain the processed data to be sent, and establishes a communication connection between the data sending module and the remote server. The data sending module groups the data to be sent to generate multiple data groups, and sends the data groups to the remote server according to the preset transmission rules. The specific steps are as follows: the data sending module obtains the round-trip time of communication with the remote server, defines and initializes a first number, divides each of the data groups again to generate multiple data blocks, sends the first number of data blocks to the remote server every first time, reduces the first number by one each time a data block is sent, and defines the relevant information of the corresponding data block, the relevant information includes a sending timestamp and a sending number, and initializes the sending number to one; The remote server initializes the number of received data to zero, defines the waiting time and uses half of the round-trip time as the initial value of the waiting time. Each time the remote server receives a data block, it generates corresponding confirmation information and increases the number of received data by one. It also determines whether it is necessary to wait for the confirmation information to be sent. If so, the confirmation information is added to a list to be sent. If not, the remote server sends the confirmation information to a data sending module, and the data sending module receives the confirmation information. A remote server module is used to restore the data to be sent to obtain the time series environmental data after receiving the data to be sent, analyze the time series environmental data to obtain an analysis result, and judge whether the storage environment meets the optimal conditions for solder paste storage according to the analysis result; if the storage environment does not meet the optimal conditions for solder paste storage, adjust the environmental parameters of the solder paste cabinet to make the storage environment meet the optimal conditions for solder paste storage; The solder paste discharging module is used to authenticate the authority of the discharging personnel during discharging. If the authentication is successful, the solder paste can with the earliest feeding time among the same type of solder paste is obtained according to the material collection information, and the solder paste can is pre-placed in the temperature recovery zone for temperature recovery according to the temperature recovery time and the stirring time. When different types of solder paste are taken out at the same time, different types of solder paste are simultaneously temperature recovered based on different temperature recovery zones. After temperature recovery, the solder paste can is placed in the stirring zone for stirring. After stirring, the discharging time and the discharging personnel of the solder paste can are recorded while the effective use period of the solder paste after discharging is generated according to the solder paste storage conditions.
8. An intelligent solder paste tank storage control device, characterized in that: include: Memory for storing computer programs; A processor, used to implement the intelligent solder paste tank storage management and control method as described in any one of claims 1 to 6 when executing the computer program.
9. A storage medium for intelligent solder paste tank storage control, characterized in that: The storage medium stores program instructions, wherein when the program instructions are executed, the device where the storage medium is located is controlled to execute the intelligent solder paste tank storage control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Warehousing equipment management and control platform based on information aggregation
CN113104459A
Storage supervision system for storage device for chemical production
CN115892828A
Full-intelligent solder paste temperature returning storage and pickup device
CN106270911A