Safe starting working system in tetramethylurea production process
Through the combined use of RFID card readers, QR code identifiers and touch screens, combined with network communication modules and cloud platforms, safe startup control of the tetramethylurea production process is achieved, solving the risk of safety accidents in the production process and ensuring data security.
Patent Information
- Application Number
- CN202510876572.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2025-10-10
AI Technical Summary
There is a risk of safety accidents in the production process of tetramethylurea, and the existing technology lacks effective safety control measures.
A tetramethylurea production method and safe working system are adopted. Through the combined use of RFID card reader, QR code identifier and touch display screen, combined with network communication module and cloud platform, safe startup control of photochemical reactor is achieved, ensuring the security of data transmission and the legality of operation.
The safety of the tetramethylurea production process is improved, the occurrence of safety accidents is prevented, and the safety of production data is guaranteed.
Smart Images

Figure CN120754785A_ABST
Abstract
Description
[0001] This application is a divisional application of application number 202211165159X, application date September 23, 2022, and invention name “A method for producing tetramethylurea and a safe working method in the production process”. Technical Field
[0002] The present invention relates to the technical field of tetramethylurea production, in particular to a safe starting working system in a tetramethylurea production process. Background Art
[0003] Tetramethylurea is a colorless, transparent liquid with a slightly pleasant odor. It is non-toxic and soluble in water, ethanol, ether, and other substances. It is flammable when exposed to open flames, high temperatures, or strong oxidants, producing toxic nitrogen oxide fumes. Fires can be extinguished with foam, carbon dioxide, dry powder, sand, or other fire extinguishing agents. It can be used in the synthesis of pesticides, dyes, and alkali metals. To prevent safety accidents during the production of tetramethylurea, data security measures should be implemented. Summary of the Invention
[0004] The present invention aims to at least solve the technical problems existing in the prior art, and particularly innovatively proposes a method for producing tetramethylurea. The present invention also provides a safe working method in the tetramethylurea process.
[0005] In order to achieve the above-mentioned object of the present invention, the present invention provides a method for producing tetramethylurea, comprising the following steps:
[0006] S1, receiving and preparing photochemical raw materials;
[0007] S2, acquisition of raw and / or refined products.
[0008] In a preferred embodiment of the present invention, step S1 includes the following steps:
[0009] S11, Preparation for receiving caustic soda and dimethylamine
[0010] The caustic soda from the tank area enters the caustic soda metering tank and is measured according to the feed ratio before being added to the photochemical reactor;
[0011] A% dimethylamine, a raw material, from the loading and unloading station, enters the dimethylamine intermediate tank for buffering, where A is a positive number greater than or equal to 35 and less than or equal to 45. The dimethylamine in the dimethylamine intermediate tank is transported to the metering tank using a dimethylamine pump, and after quantitative metering, is added to the photochemical reactor;
[0012] Fresh water or water from the external pipe is measured by flow meter according to the feed ratio and then added into the photochemical reactor;
[0013] S12, phosgene condensation;
[0014] S13, phosgene vaporization.
[0015] In a preferred embodiment of the present invention, step S12 includes:
[0016] Gaseous phosgene from the phosgene synthesis unit is continuously conveyed to the phosgene condensation system and condensed in a three-stage phosgene condenser whose cooling medium is -B°C chilled brine, where B is a positive number greater than or equal to 35 and less than or equal to 45;
[0017] The condensed liquid phosgene is measured by the flow meter according to the feed ratio based on the level difference and then enters the phosgene vaporization unit;
[0018] Step S13 includes:
[0019] The metered liquid phosgene enters the phosgene vaporizer whose heating medium is low-pressure water vapor and is vaporized;
[0020] The vaporized phosgene is fed into the photochemical reactor after passing through the phosgene buffer tank.
[0021] In a preferred embodiment of the present invention, step S12 further includes: a liquid phosgene pipeline connected to the condenser is provided with a differential pressure level gauge, and the phosgene liquid level is controlled by adjusting the flow rate of gaseous phosgene by a phosgene level regulating valve to control the phosgene liquid level;
[0022] The tail gas from the phosgene condenser is sent to the water destruction tower of the methyl chloroformate unit for destruction treatment to control the tail gas pressure.
[0023] In a preferred embodiment of the present invention, step S2 includes the following steps:
[0024] S21, photochemical reaction
[0025] After the photochemical reactor is filled, start stirring;
[0026] Sampling analysis, pH = C ~ D, C, D are positive numbers greater than or equal to 7 and less than or equal to 10, D>C, amine content ≤ E% is qualified, E is a positive number greater than or equal to 10 and less than or equal to 12;
[0027] S22, filtration
[0028] The photochemical crude product is transferred to the suction filtration kettle by nitrogen pressure, and the crude product is pumped into the salt crude product tank through the suction filter hose connected to the salt crude product tank;
[0029] S23, desalting
[0030] The salt-containing crude product in the crude product storage tank is fed into the desalting kettle via the crude product pump;
[0031] S24, dehydration
[0032] The crude product in the crude product storage tank is sent to the dehydration tower through the crude product pump for dehydration;
[0033] S25, distillation
[0034] The material in the extraction buffer tank of the dehydration tower kettle is transported to the kettle tank of the distillation tower by the distillation tower feed pump for intermittent distillation.
[0035] The present invention also discloses a safe working system in a tetramethylurea production process, comprising a photochemical kettle, wherein a field control panel fixing mounting base for fixing a field control panel is provided on the outer side wall of the photochemical kettle body, the field control panel is fixedly mounted on the field control panel fixing mounting base, an RFID card reader fixing mounting base for fixing an RFID card reader, a QR code reader fixing mounting base for fixing a QR code identifier, and a touch screen fixing mounting base for fixing a touch screen are provided on the field control panel, the RFID card reader is fixedly mounted on the RFID card reader fixing mounting base, the QR code identifier is fixedly mounted on the QR code identifier fixing mounting base, and the touch screen is fixedly mounted on the touch screen fixing mounting base;
[0036] The invention also includes a field control panel controller and a network communication module provided on the field control panel, wherein the network data communication terminal of the field control panel controller is connected to the network data communication terminal of the network communication module, the data reading output terminal of the RFID card reader is connected to the data reading input terminal of the field control panel controller, the data recognition output terminal of the QR code reader is connected to the data recognition input terminal of the field control panel controller, and the data touch display terminal of the touch screen is connected to the data touch display terminal of the field control panel controller;
[0037] After the cloud platform receives the secure transmission information sent by the RFID reader, it sends the user code to the smart mobile handheld terminal. After the RFID reader receives the user code sent by the cloud platform, it displays the terminal QR code on the display screen of the smart mobile handheld terminal. The QR code reader obtains the terminal QR code information displayed on the display screen of the smart mobile handheld terminal. After verification, the photochemical reactor starts stirring.
[0038] In a preferred embodiment of the present invention, the network communication module includes a network wired communication module and / or a network wireless communication module;
[0039] The wired network data communication terminal of the field control panel controller is connected to the network data communication terminal of the network wired communication module, and the wireless network data communication terminal of the field control panel controller is connected to the network data communication terminal of the network wireless communication module.
[0040] In a preferred embodiment of the present invention, the network wireless communication module includes one or any combination of a 3G network communication module, a 4G network communication module, a 5G network communication module, and a WiFi network communication module;
[0041] The wireless network data communication 3G terminal of the field control panel controller is connected to the network data communication terminal of the 3G network communication module, the wireless network data communication 4G terminal of the field control panel controller is connected to the network data communication terminal of the 4G network communication module, the wireless network data communication 5G terminal of the field control panel controller is connected to the network data communication terminal of the 5G network communication module, and the wireless network data communication WiFi terminal of the field control panel controller is connected to the network data communication terminal of the WiFi network communication module;
[0042] The network wired communication module includes one of a 100M network cable network communication module, a 100M network cable network communication module, and an RS485 network communication module, or any combination thereof;
[0043] The 100M wired network data communication terminal of the field control panel controller is connected to the network data communication terminal of the 100M network cable network communication module, the 100M wired network data communication terminal of the field control panel controller is connected to the network data communication terminal of the 100M network cable network communication module, and the RS485 wired network data communication terminal of the field control panel controller is connected to the network data communication terminal of the RS485 network communication module.
[0044] The present invention also discloses a safe working method in a tetramethylurea process, comprising the following steps:
[0045] S1, place the user card in the sensing position so that the RFID reader can obtain the secure communication information;
[0046] S2, after the RFID reader obtains the security communication information, it obtains the security transmission information according to the security communication information;
[0047] S3: After the cloud platform obtains the secure transmission information, it obtains the user code based on the secure transmission information;
[0048] S4, after the smart mobile handheld terminal obtains the user code, it generates a terminal QR code according to the user code;
[0049] S5: The QR code reader obtains the terminal user code based on the terminal QR code, and the on-site control panel controller determines whether the terminal user code is consistent with the security decryption information:
[0050] If the terminal user code is consistent with the security decryption information, the on-site control panel controller sends a confirmation to the photochemical reactor to start the photochemical reactor stirring process;
[0051] If the terminal user code is inconsistent with the security decryption information, the on-site control panel controller does not send a confirmation to the photochemical reactor to start the photochemical reactor stirring process.
[0052] In a preferred embodiment of the present invention, step S1 includes the following steps:
[0053] S11, the user card establishes communication with the RFID card reader. After the user card establishes communication with the RFID card reader, the next step is executed;
[0054] S12, the user card transmits the user card public key to the RFID reader, and the RFID reader determines whether it has received the user card public key sent by the user card:
[0055] If the RFID card reader receives the user card public key sent by the user card, it executes the next step;
[0056] If the RFID card reader does not receive the user card public key sent by the user card, it returns to step S12;
[0057] S13, after the RFID card reader receives the user card public key sent by the user card, the RFID card reader transmits the cloud platform public key to the user card, and the user card determines whether it has received the cloud platform public key sent by the RFID card reader:
[0058] If the user card receives the cloud platform public key sent by the RFID reader, proceed to the next step;
[0059] If the user card does not receive the cloud platform public key sent by the RFID reader, return to step S13;
[0060] S14, after the user card receives the cloud platform public key sent by the RFID card reader, the user card obtains the security information stored in the user card, and obtains the secure communication information based on the obtained security information using the cloud platform public key and the user card private key;
[0061] S15, the user card transmits the security communication information CommunicationData to the RFID card reader.
[0062] In summary, due to the adoption of the above technical solution, the present invention can ensure data security during the production of tetramethylurea.
[0063] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments with reference to the accompanying drawings, in which:
[0065] Figure 1 It is a schematic block diagram of the process of the present invention. DETAILED DESCRIPTION
[0066] Embodiments of the present application are described in detail below with reference to the attached drawing figures, wherein like or similar constituent elements or features may be denoted by like reference characters throughout the drawings. The embodiments described below are exemplary only, and are not to be construed as limiting the present application.
[0067] 1 Raw material receiving and preparation
[0068] 1.1 Caustic soda and dimethylamine receiving and preparation
[0069] Caustic soda from the tank farm is fed into the caustic soda metering tank according to the feed ratio, and then added to the photochemical kettle.
[0070] The raw material 40% dimethylamine from the loading and unloading station is stored in the dimethylamine intermediate tank, and the liquid level of the intermediate tank is controlled to be 10% to 90%. (When the lower limit of the liquid level of the dimethylamine intermediate tank is 5% or the upper limit is 94%, an alarm is given, when the lower limit of the lower limit is 2%, DCS interlocking stops the dimethylamine pump, and when the upper limit of the upper limit is 96%, SIS interlocking closes the dimethylamine cut-off valve into the device and the dimethylamine pump in the tank farm.)
[0071] The dimethylamine in the dimethylamine intermediate tank is transported to the metering tank by the dimethylamine pump, and then added to the photochemical kettle after quantitative metering. (When the dimethylamine flow meter of the photochemical kettle accumulates to the feed ratio value, SIS interlocking opens the light gas inlet cut-off valve of the photochemical kettle.)
[0072] Fresh water or recycled water from the outer pipe is metered according to the feed ratio by the flow meter, and then added to the photochemical kettle.
[0073] 1.2 Light gas condensation
[0074] Gaseous light gas from the light gas synthesis device is continuously transported to the light gas condensation system and condensed in the three-stage light gas condenser with -40°C chilled brine as the cooling medium. (When the temperature of the -40°C chilled brine is higher than -28°C or the pressure is lower than 0.15 MPa(G), an alarm is given, and when the upper limit of the temperature is -25°C or the lower limit of the pressure is 0.12 MPa(G), SIS interlocking closes the gaseous light gas cut-off valve into the device.)
[0075] The liquid light gas pipeline connected to the condenser is provided with a differential pressure type liquid level meter, and the light gas liquid level is controlled by adjusting the gaseous light gas flow through the light gas liquid level regulating valve. (When the light gas liquid level is higher than 80%, an alarm is given, and when the upper limit is 90%, SIS interlocking closes the gaseous light gas cut-off valve into the device.)
[0076] The tail gas of the light gas condenser is sent to the water destruction tower of the methyl chloroformate device for destruction treatment, and the tail gas pressure is controlled. (When the tail gas pressure is higher than 35 KPa(G), an alarm is given, and when the upper limit is 40 KPa(G), SIS interlocking closes the gaseous light gas cut-off valve into the device.)
[0077] The condensed liquid phosgene is measured by the flow meter according to the feed ratio based on the position difference and then enters the phosgene vaporization unit. The phosgene flow rate is adjusted and controlled by the phosgene flow regulating valve.
[0078] 1.3 Phosgene vaporization
[0079] The metered liquid phosgene enters the phosgene vaporizer, where the heating medium is low-pressure steam, for vaporization. The phosgene temperature is controlled by adjusting the opening of the phosgene temperature steam regulating valve to maintain a certain temperature range. (The phosgene temperature is set to alarm at a low of 25°C, and the SIS interlock closes the phosgene flow regulating valve at a low of 20°C.)
[0080] After vaporization, the phosgene is fed into the photochemical reactor through the phosgene buffer tank. The phosgene flow rate is adjusted to control the phosgene vaporization pressure within a certain range. (When the phosgene vaporization pressure upper limit is 75 kPa (G), an alarm is triggered. When the upper limit is 85 kPa (G), the SIS interlock closes the phosgene flow control valve.)
[0081] 2 Photochemical and crude and refined product acquisition
[0082] 2.1 Photochemical reaction
[0083] The photochemical reactor ingredients are completed and stirring is started.
[0084] When the cumulative flow of a single batch of dimethylamine feed flow meter in the photochemical reactor reaches the set value, the stirring of the photochemical reactor is started, the temperature and pressure are controlled, and manual confirmation is made to enter the photochemical reaction step.
[0085] The temperature in the photochemical reactor is adjusted, and phosgene is introduced to carry out the photochemical reaction. The photochemical stage is divided into four stages, and the stage division is based on the amount of phosgene used:
[0086] ① Early stage (phosgene cumulative addition amount M1kg, temperature T1℃): There is a lot of smoke in the early stage, and heat release is obvious. The phosgene flow rate should not be too large. The phosgene flow rate can be adjusted appropriately according to the smoke situation, and the opening of the jacketed chilled brine outlet valve can be adjusted according to the temperature situation;
[0087] ② Middle stage (phosgene cumulative dripping amount M2kg, M2>M1, temperature T2℃): In the middle stage, the smoke is thin, the phosgene flow rate can be increased, and the temperature can be controlled to rise steadily and quickly to a certain range;
[0088] ③ Late stage (accumulated phosgene addition amount M3kg, M3>M2, temperature T3℃): The raw material content has dropped significantly in the late stage, and increasing the temperature can promote the reaction. At this time, the jacketed chilled brine is kept closed most of the time, allowing the reaction heat to gradually increase the kettle temperature. The process should be smooth, uniform, and slow;
[0089] ④ End point (accumulated amount of phosgene added M4kg~end point, M4>M3, temperature T4℃): In the final stage, the temperature must rise to above the specified temperature, and pay attention to the pressure in the kettle.
[0090] When there is a slight positive pressure in the kettle, it indicates the photochemical end point. When the photochemical end point is about to be reached, notify the dispatcher in advance to stop receiving phosgene.
[0091] When the pressure in the kettle reaches a certain value, photochemical reaction stops.
[0092] After the addition of phosgene is completed, keep the temperature for a period of time to maintain it within a certain range.
[0093] Take samples for analysis. If the pH value is 7-9 and the amine content is ≤12%, it is qualified. If it is unqualified, add phosgene and caustic soda according to the amine content and pH value until it is qualified.
[0094] The temperature of the photochemical reactor can be controlled by adjusting the opening of the -15°C chilled brine in the jacket via the photochemical reactor temperature control valve. (When the photochemical reactor's upper temperature limit is 45°C or its upper pressure limit is 55kPa(G), an alarm is triggered. When the upper and lower temperature limits are 50°C or the upper and lower pressure limits are 65kPa(G), the SIS interlock closes the photochemical reactor's phosgene feed shut-off valve, and simultaneously closes the phosgene flow control valve and the phosgene temperature control valve. When the photochemical reactor stops stirring, the SIS interlock closes the photochemical reactor's phosgene feed shut-off valve, and simultaneously closes the phosgene flow control valve and the phosgene temperature control valve.)
[0095] The photochemical tail gas is captured by the tail gas separator and then sent to the water destruction tower of the methyl chloroformate unit for treatment. The condensed captured liquid is transferred to the acid wastewater tank for accumulation and then sent to the sewage treatment station.
[0096] When the phosgene flow meter reaches the set cumulative value, the photochemical reaction ends and manual confirmation is required to exit the photochemical reaction sequence.
[0097] 2.2 Filtration
[0098] The crude photochemical product is transferred to a suction filtration kettle using nitrogen pressure and allowed to stand for a period of time. A vacuum is established in the crude salt product tank, and the crude product is pumped into the crude salt product tank using the suction filter hose connected to the crude salt product tank. The crude salt product tank liquid level is controlled after it is transferred to the crude salt product storage tank.
[0099] Add fresh water or water to the filtration kettle to dissolve the remaining crystallized salt in the kettle, stir evenly, and then use nitrogen pressure to transfer it to the high-salt wastewater tank. The high-salt wastewater will be transported to the high-salt wastewater collection tank and then transferred to MVR treatment.
[0100] 2.3 Desalination
[0101] The salty crude product from the crude product storage tank is pumped into the desalting kettle via the crude product pump to control the liquid level in the desalting kettle. (When the desalting kettle liquid level reaches 82% of the upper limit, an alarm is triggered, and when the upper limit reaches 85%, the DCS interlocks and stops the crude product pump.)
[0102] Desalination is performed in two stages: atmospheric distillation in the first stage and vacuum distillation in the second stage. Agitation is not activated, and the temperature of the desalter is raised by regulating the amount of biphenyl in the jacket using a temperature control valve. After heating and separation, the fore-fraction (dimethylamine, water) and the positive fraction (water, tetramethylurea) are distilled and condensed in a condenser before being transferred to the fore-fraction tank and the positive fraction tank, respectively. The temperature of the desalter is controlled by regulating the amount of biphenyl in the jacket using a temperature control valve.
[0103] The temperature in the first stage is controlled at T5℃. After a certain amount of the front fraction is received, the positive fraction (water, tetramethylurea) is received into the positive fraction tank.
[0104] When the flow rate of atmospheric distillation desalination condensate is significantly lower than normal, the desalination system establishes a vacuum, controls the vacuum degree and temperature in the desalination kettle within a certain range, and enters the second stage of reduced pressure distillation desalination. The vacuum establishment process should be carried out slowly to prevent sudden boiling and material rushing caused by the vacuum establishment being too fast.
[0105] Desalting is complete when there is no more distillate.
[0106] The positive fraction tank is transferred to the crude product storage tank to wait for the dehydration process; the front fraction is accumulated and transferred to the desalination wastewater storage tank, waiting to be transferred to the photochemical process for photochemical application according to the amine content.
[0107] Add fresh water or recycled water to the desalination kettle to dissolve the remaining crystallized salt in the kettle, stir evenly, and then use nitrogen to pressurize it into the high-salt wastewater storage tank. The high-salt wastewater will be transported to the high-salt wastewater collection tank and then transferred to MVR treatment.
[0108] 2.4 Dehydration
[0109] The dehydration tower establishes a vacuum and controls the vacuum at the top of the dehydration tower. The vacuum degree is controlled by a vacuum regulating valve. The crude product in the crude product storage tank is pressurized by the crude product pump, and the crude product feed flow rate is adjusted by the crude product feed regulating valve. After being preheated to a certain temperature in the crude product preheater, it enters the dehydration tower for dehydration.
[0110] The heat required for evaporation in the dehydration tower is provided by the heating steam of the dehydration tower reboiler. The inlet steam pressure is controlled by adjusting the opening of the dehydration tower reboiler steam pressure regulating valve, and the steam pressure and dehydration tower kettle temperature are controlled within a certain range.
[0111] The overhead gas phase (dimethylamine, water) is condensed by a first water condenser and a second water condenser, and the condensate (waste water) is flowed into the dehydration reflux tank by the difference in level. Part of the waste water is adjusted by the waste water withdrawal regulating valve and then enters the dehydration tower to establish reflux. The other part of the waste water is withdrawn by the waste water withdrawal regulating valve (reflux tank liquid level regulating valve) and then enters the recovery water tank. The liquid level of the dehydration reflux tank is maintained constant by adjusting the amount of waste water withdrawn by the waste water withdrawal regulating valve (reflux tank liquid level regulating valve), and the liquid level of the reflux tank is controlled within a certain range. The waste water in the recovery water tank is pumped by the waste water pump to the photochemical or desalination process for reuse.
[0112] The liquid in the dehydration tower (water, tetramethyl urea) is sampled and analyzed. When the water content is less than 0.5%, the liquid is withdrawn by the dehydration tower bottom withdrawal pump and then enters the tower bottom withdrawal buffer tank through the dehydration tower bottom liquid level regulating valve. The liquid level of the dehydration tower bottom is controlled within a certain range. The amount of material stored in the tower bottom withdrawal buffer tank for one day.
[0113] 2.5 Rectification
[0114] The material stored in the dehydration tower bottom withdrawal buffer tank for one day is pumped by the rectification tower feed pump and then enters the rectification tower bottom tank for batch rectification. The rectification tower is vacuumized, and the vacuum degree is controlled by the vacuum regulating valve.
[0115] The heat required for evaporation in the rectification tower is provided by the heating steam of the rectification tower bottom heater. The inlet steam pressure is controlled by adjusting the opening degree of the rectification tower bottom heater steam pressure regulating valve, and the temperature and steam pressure of the rectification tower bottom are controlled.
[0116] The overhead gas phase (tetramethyl urea) is condensed by a first water condenser and a second water condenser, and the condensate enters the rectification reflux tank. The condensate is adjusted by the rectification reflux flow regulating valve and then enters the rectification tower to establish reflux. The other part of the condensate is withdrawn by the withdrawal regulating valve (reflux tank liquid level regulating valve) and then enters the tetramethyl urea product storage tank. The liquid level of the rectification reflux tank is maintained constant by adjusting the amount of withdrawal by the withdrawal regulating valve (reflux tank liquid level regulating valve), and the liquid level of the reflux tank is controlled within a certain range. The product in the product storage tank is pumped by the product pump and then enters the liquid packaging tank.
[0117] The operation time of the rectification tower is about 3 hours / day (which can be adjusted according to the evaporation condition). The content of tetramethyl urea in the tower bottom material is still high. In order to increase the yield of tetramethyl urea, the tower bottom material can be not discharged and treated with the next batch of material. After multiple batches (the discharge time of the tower bottom material is determined according to the color and tetramethyl urea content) of rectification, water is added for washing and slagging.
[0118] The present invention also discloses a safe working system in a tetramethylurea production process, comprising a photochemical kettle, wherein a field control panel fixing mounting base for fixing a field control panel is provided on the outer side wall of the photochemical kettle body, the field control panel is fixedly mounted on the field control panel fixing mounting base, an RFID card reader fixing mounting base for fixing an RFID card reader, a QR code reader fixing mounting base for fixing a QR code identifier, and a touch screen fixing mounting base for fixing a touch screen are provided on the field control panel, the RFID card reader is fixedly mounted on the RFID card reader fixing mounting base, the QR code identifier is fixedly mounted on the QR code identifier fixing mounting base, and the touch screen is fixedly mounted on the touch screen fixing mounting base;
[0119] The invention also includes a field control panel controller and a network communication module provided on the field control panel, wherein the network data communication terminal of the field control panel controller is connected to the network data communication terminal of the network communication module, the data reading output terminal of the RFID card reader is connected to the data reading input terminal of the field control panel controller, the data recognition output terminal of the QR code reader is connected to the data recognition input terminal of the field control panel controller, and the data touch display terminal of the touch screen is connected to the data touch display terminal of the field control panel controller;
[0120] After the cloud platform receives the secure transmission information sent by the RFID reader, it sends the user code to the smart mobile handheld terminal. After the RFID reader receives the user code sent by the cloud platform, it displays the terminal QR code on the display screen of the smart mobile handheld terminal. The QR code reader obtains the terminal QR code information displayed on the display screen of the smart mobile handheld terminal. After verification, the photochemical reactor starts stirring.
[0121] In a preferred embodiment of the present invention, the network communication module includes a network wired communication module and / or a network wireless communication module;
[0122] The wired network data communication terminal of the field control panel controller is connected to the network data communication terminal of the network wired communication module, and the wireless network data communication terminal of the field control panel controller is connected to the network data communication terminal of the network wireless communication module.
[0123] In a preferred embodiment of the present invention, the network wireless communication module includes one or any combination of a 3G network communication module, a 4G network communication module, a 5G network communication module, and a WiFi network communication module;
[0124] The wireless network data communication 3G terminal of the field control panel controller is connected to the network data communication terminal of the 3G network communication module, the wireless network data communication 4G terminal of the field control panel controller is connected to the network data communication terminal of the 4G network communication module, the wireless network data communication 5G terminal of the field control panel controller is connected to the network data communication terminal of the 5G network communication module, and the wireless network data communication WiFi terminal of the field control panel controller is connected to the network data communication terminal of the WiFi network communication module;
[0125] The network wired communication module includes one of a 100M network cable network communication module, a 100M network cable network communication module, and an RS485 network communication module, or any combination thereof;
[0126] The 100M wired network data communication terminal of the field control panel controller is connected to the network data communication terminal of the 100M network cable network communication module, the 100M wired network data communication terminal of the field control panel controller is connected to the network data communication terminal of the 100M network cable network communication module, and the RS485 wired network data communication terminal of the field control panel controller is connected to the network data communication terminal of the RS485 network communication module.
[0127] The present invention also discloses a safe working method in a tetramethylurea process, comprising the following steps:
[0128] S1, place the user card in the sensing position so that the RFID reader can obtain the secure communication information;
[0129] S2, after the RFID reader obtains the security communication information, it obtains the security transmission information according to the security communication information;
[0130] S3: After the cloud platform obtains the secure transmission information, it obtains the user code based on the secure transmission information;
[0131] S4, after the smart mobile handheld terminal obtains the user code, it generates a terminal QR code according to the user code;
[0132] S5: The QR code reader obtains the terminal user code based on the terminal QR code, and the on-site control panel controller determines whether the terminal user code is consistent with the security decryption information:
[0133] If the terminal user code is consistent with the security decryption information, then there is a correlation between the user card and the terminal QR code displayed on the smart mobile handheld terminal, and the on-site control panel controller sends a confirmation to the photochemical reactor to start the photochemical reactor stirring process;
[0134] If the terminal user code is inconsistent with the security decryption information, there is no correlation between the user card and the terminal QR code displayed on the smart mobile handheld terminal, and the on-site control panel controller does not send a confirmation to the photochemical reactor to start the photochemical reactor stirring process.
[0135] In a preferred embodiment of the present invention, step S1 includes the following steps:
[0136] S11, the user card establishes communication with the RFID card reader. After the user card establishes communication with the RFID card reader, the next step is executed;
[0137] S12, the user card transmits the user card public key to the RFID reader, and the RFID reader determines whether it has received the user card public key sent by the user card:
[0138] If the RFID card reader receives the user card public key sent by the user card, it executes the next step;
[0139] If the RFID card reader does not receive the user card public key sent by the user card, it returns to step S12;
[0140] S13, after the RFID card reader receives the user card public key sent by the user card, the RFID card reader transmits the cloud platform public key to the user card, and the user card determines whether it has received the cloud platform public key sent by the RFID card reader:
[0141] If the user card receives the cloud platform public key sent by the RFID reader, proceed to the next step;
[0142] If the user card does not receive the cloud platform public key sent by the RFID reader, return to step S13;
[0143] S14, after the user card receives the cloud platform public key sent by the RFID card reader, the user card obtains the security information stored in the user card, and obtains the secure communication information based on the obtained security information using the cloud platform public key and the user card private key; the method for obtaining the secure communication information based on the obtained security information using the cloud platform public key and the user card private key includes the following steps:
[0144] S141, use the cloud platform public key to decrypt the security information to obtain the original information, which is calculated as:
[0145] RealData=Asymmetric decryption algorithm(SecurityData,CloudplatformPK),
[0146] Among them, RealData represents the original information;
[0147] Asymmetric decryption algorithm (,) represents an asymmetric decryption function;
[0148] SecurityData represents security information;
[0149] Cloudplatform PK represents the cloud platform public key;
[0150] The method for writing security information to the user card is as follows:
[0151] In the first step, the cloud platform obtains the original information to be written to the user card. This original information is not limited to user-defined ID strings such as admin123, user001, password33, etc. It can also be the user's own data information such as name, ID number, mobile phone number, etc. The cloud platform securely transmits information and binds it to the account logged in on the corresponding smart mobile handheld terminal.
[0152] The second step is to use the platform private key to encrypt the original information to obtain the security information to be written into the user card. The calculation expression is:
[0153] CommunicationData″=Asymmetric encryption algorithm(RealData,Cloudplatform SK),
[0154] Wherein, CommunicationData″ represents the security information to be written into the user card;
[0155] Asymmetric encryption algorithm (,) represents an asymmetric encryption function. Asymmetric encryption and decryption functions are asymmetric algorithms, and RSA and ECDSA can be used.
[0156] RealData represents the original information;
[0157] Cloudplatform SK represents the cloud platform private key;
[0158] The third step is to write the security information "CommunicationData" to be written into the user card into the user card.
[0159] S142, using the user card private key to encrypt the original information to obtain secure communication information, which is calculated as:
[0160] CommunicationData=Asymmetric encryption algorithm(RealData,UsercardSK),
[0161] Among them, CommunicationData represents secure communication information;
[0162] Asymmetric encryption algorithm (,) represents an asymmetric encryption function;
[0163] RealData represents the original information;
[0164] Usercard SK represents the user card private key;
[0165] S15, the user card transmits the security communication information CommunicationData to the RFID card reader.
[0166] In a preferred embodiment of the present invention, step S2 includes the following steps:
[0167] S21, after the RFID card reader receives the secure communication information CommunicationData sent by the user card, it uses the user card public key to decrypt the received secure communication information CommunicationData to obtain decrypted information, which is calculated as:
[0168] RealData′=Asymmetric decryption algorithm(SecurityData′,UsercardPK),
[0169] Wherein, RealData′ represents the decrypted information;
[0170] Asymmetric decryption algorithm (,) represents an asymmetric decryption function;
[0171] SecurityData′ represents the security communication information CommunicationData received by the RFID reader;
[0172] Usercard PK represents the user card public key;
[0173] S22, converting the decrypted information into secure decrypted information, which is calculated as:
[0174] RealData″=One-way math functions (RealData′),
[0175] RealData" represents the security decryption information; the security decryption information is a string of 16-bit 32-bit or 32-bit 32-bit characters; its corresponding value is:
[0176]
[0177]
[0178] One-way math functions() represents a one-way hash algorithm, generally the MD5 hash algorithm;
[0179] RealData′ represents the decrypted information;
[0180] S23, rewriting the secure decryption information into secure transmission information. The method of rewriting the secure decryption information into secure transmission information includes the following steps:
[0181] S231, determining whether the secure transmission information is in hexadecimal format:
[0182] If the secure transmission information is a sixty-binary value, then SecuretransmissionNumber = SecuretransmissionNumber sixtybinary ; SecuretransmissionNumber indicates secure transmission information, SecuretransmissionNumber sixtybinary Indicates sixty-binary secure transmission information; execute step S24;
[0183] If the secure transmission information SecuretransmissionNumber is not a sexagesimal value, the secure transmission information SecuretransmissionNumber is converted into sexagesimal secure transmission information. The method for converting the secure transmission information SecuretransmissionNumber into sexagesimal secure transmission information is:
[0184] S2311: Convert the secure transmission information SecuretransmissionNumber to a decimal value. The method for converting the secure transmission information SecuretransmissionNumber to a decimal value is:
[0185]
[0186] Among them, Secure transmission Number decimal Represents secure transmission information in decimal format;
[0187] ||S|| indicates the total number of digits of the secure transmission number;
[0188] S i Indicates the value corresponding to the i-th bit in the secure transmission information SecuretransmissionNumber sorted from the lowest bit to the highest bit;
[0189] <s> i-1 express <s>the i-1 power;
[0190] <s>Indicates the hexadecimal value corresponding to the secure transmission information SecuretransmissionNumber;
[0191] S2312, the decimal secure transmission information SecuretransmissionNumber decimal Converted to the secure transmission number of hexadecimal sixtybinary , the decimal secure transmission information SecuretransmissionNumber decimal Converted to the secure transmission number of hexadecimal sixtybinary The method is:
[0192] S23121, set the first increment number a=1; A1=SecuretransmissionNumber decimal ;
[0193] S23122,
[0194] Among them, A a+1 Indicates the result value of the a+1th iteration;
[0195] int| | means rounding down;
[0196] A a Indicates the result value of the ath iteration;
[0197] Judgment A a+1 The relationship between 0, 61 and 62:
[0198] If A a+1 ≥62, a=a+1, return to step S23122;
[0199] If 0≤A a+1 ≤61, then execute the following steps S231221~S231222;
[0200] S231221, set the second iteration increment b=1;
[0201] S231222, B b =A b mod62,
[0202] Among them, mod means remainder operation;
[0203] A b Indicates the result value of the bth iteration;
[0204] B b Indicates the b-th result value;
[0205] Determine the relationship between b and a:
[0206] If a≠b, then b=b+1, and return to S22132;
[0207] If a=b, then SecuretransmissionNumber sixtybinary =B a B a-1 B a-2 ...B3B2B1; proceed to step S24;
[0208] Among them, Secure transmission Number sixtybinary Indicates secure transmission of information in sixty-two binary;
[0209] B a Indicates the a-th result value;
[0210] B a-1 Indicates the a-1th result value;
[0211] B a-2 Indicates the a-2th result value;
[0212] B3 represents the third result value;
[0213] B2 represents the second result value;
[0214] B1 represents the first result value.
[0215] S24, secure transmission information SecuretransmissionNumber sixtybinary Transmit to the cloud platform.
[0216] In a preferred embodiment of the present invention, Figure 1 As shown, after the cloud platform obtains the secure transmission information in step S3, the method for obtaining the user code according to the secure transmission information includes the following steps:
[0217] S31, the received secure transmission information SecuretransmissionNumber sixtybinary Convert the received secure transmission information to a decimal value SecuretransmissionNumber sixtybinary The method to convert to decimal value is:
[0218]
[0219] Among them, Secure transmission Number decimal Represents decimal cloud platform security transmission information;
[0220] ||S′|| represents the received secure transmission information SecuretransmissionNumber sixtybinary total number of bits;
[0221] S′ i represents the received secure transmission information SecuretransmissionNumber sixtybinary the value corresponding to the i-th bit in the order from the lowest bit to the highest bit;
[0222] 62 i-1 represents 62 raised to the power of i-1;
[0223] S32, the cloud platform security transmission information SecuretransmissionNumber′ in decimal decimal is converted into the secure transmission information in the same base as the secure transmission information SecuretransmissionNumber in step S231, and the cloud platform security transmission information SecuretransmissionNumber′ in decimal decimal is converted into the secure transmission information in the same base as the secure transmission information SecuretransmissionNumber in step S231. The method for converting the cloud platform security transmission information SecuretransmissionNumber′ in decimal into the secure transmission information in the same base as the secure transmission information SecuretransmissionNumber in step S231 is:
[0224] S321, let the iterative third self-increment number a′ = 1; A′1 = SecuretransmissionNumber′ decimal ;
[0225] S322,
[0226] wherein A′ a′+1 represents the (a′+1)-th iteration cloud platform result value;
[0227] int|| represents the floor operation;
[0228] <s>Represents the hexadecimal value of the secure transmission information SecuretransmissionNumber;
[0229] A a ″ represents the result value of the cloud platform in the ath iteration;
[0230] Judge A′ a′+1 The relationship between 0, 61 and 62:
[0231] If A′ a′+1 ≥62, a′=a′+1, return to step S322;
[0232] If 0≤A′ a′+1 ≤61, then execute the following steps S3221~S3222;
[0233] S3221, set the fourth iterative increment number b′=1;
[0234] S3222, B b ″=A b ″mod <s>,
[0235] Among them, mod means remainder operation;
[0236] A b ″ represents the result value of the b′th iteration cloud platform;
[0237] B b ″ represents the result value of the b′th cloud platform;
[0238] <s>Represents the hexadecimal value of the secure transmission information SecuretransmissionNumber;
[0239] Determine the relationship between b′ and a′:
[0240] If a′≠b′, then b′=b′+1, and return to S3222;
[0241] If a′=b′, then Secure transmission Number′=B′ a′ B′ a′-1 B′ a′-2 ...B′3B′2B′1; execute step S33;
[0242] Among them, SecuretransmissionNumber′ represents the secure transmission information of the cloud platform;
[0243] B a ″ represents the result value of the a′th cloud platform;
[0244] B′ a′-1 Indicates the result value of the a′-1th cloud platform;
[0245] B′ a′-2 Indicates the result value of the a′-2th cloud platform;
[0246] B′3 represents the result value of the third cloud platform;
[0247] B′2 represents the result value of the second cloud platform;
[0248] B′1 represents the result value of the first cloud platform.
[0249] S33, converting the cloud platform secure transmission information SecuretransmissionNumber′ into a QR code image; extracting the values from the colors of the squares in the QR code image in order from left to right and from top to bottom to obtain a 0-1 string; the method for obtaining the values from the colors of the squares in the QR code image is:
[0250]
[0251] Among them, if represents the logical condition if;
[0252] D d,d′ =blacksquare means the color of the d′th square in the dth row is black; d=1, 2, 3, ..., d″, d′=1, 2, 3, ..., d″, d″′ represents the total number of squares in the two-dimensional code image, and d″ represents the total number of squares in each row or column in the two-dimensional code image; if d″>62, then d″=62;
[0253] D d,d′ =whitesquare means the color of the d′th square in the dth row is white;
[0254] E d,d′ The value representing the color of the d′th square in the dth row;
[0255] S34, converting the 0-1 string into a d″-base string. The method for converting the 0-1 string into a d″-base string is:
[0256] S341, convert a binary 0-1 string to a decimal value. The method for converting a binary 0-1 string to a decimal value is:
[0257]
[0258] Among them, Secure transmission Number decimal A string representing a decimal number;
[0259] ||S″|| represents the total number of digits in the 0-1 string;
[0260] S″ i Indicates the value corresponding to the i-th bit in the 0-1 string sorted from the lowest bit to the highest bit;
[0261] 2 i-1 represents 2 to the power of i-1;
[0262] S342, convert the decimal string SecuretransmissionNumber" decimal Convert to a d" base string, the d" base string is the user code; convert the decimal string SecuretransmissionNumber" decimal The method to convert to d" base string is:
[0263] S3421, set the fifth iteration increment a" = 1; A"1 = Secure transmission Number" decimal ;
[0264] S3422,
[0265] Among them, A a ″″ +1 Represents the image result value of the a″+1th iteration;
[0266] int|| means rounding down;
[0267] d″ represents the total number of squares in each row or column of the QR code image;
[0268] A" a″ represents the a"th iteration image result value;
[0269] judging A" a″+1 and the size relationship among 0, d" and d"-1:
[0270] if A" a″+1 ≥ d", a"=a"+1, return to step S3422;
[0271] if 0≤A" a″+1 ≤d"-1, then execute the following steps S34221~S34222;
[0272] S34221, let the iteration sixth self-increment number b"=1;
[0273] S34222, B" b″ =A" b″ mod d",
[0274] wherein, mod represents the modulo operation;
[0275] A" b″ represents the b"th iteration image result value;
[0276] B" b″ represents the b"th image result value;
[0277] d" represents the total number of each row or each column square in the two-dimensional code image;
[0278] judge the relationship between b" and a":
[0279] if a"≠b", then b"=b"+1, return to S34222;
[0280] if a"=b", then SecuretransmissionNumber"=B" a″ B" a″-1 B" a″-2 ...B"3B"2B"1; execute step S35; wherein, SecuretransmissionNumber" represents the d" base string;
[0281] B" a″ represents the a"th image result value;
[0282] B" a″-1 represents the a"-1th image result value;
[0283] B" a″-2 represents the a"-2th image result value;
[0284] B″3 represents the result value of the third image;
[0285] B″2 represents the result value of the second image;
[0286] B″1 represents the result value of the first image;
[0287] S35, sending the user code to the smart mobile handheld terminal.
[0288] In a preferred embodiment of the present invention, step S4 includes the following steps:
[0289] S41, converting the received user code Secure transmission Number "" into a decimal value. The method for converting the received user code Secure transmission Number "" into a decimal value is as follows:
[0290]
[0291] Among them, Secure transmission Number ′″ decimal Indicates the user code in decimal;
[0292] ||S″′|| represents the total number of digits of the received user code SecuretransmissionNumbe″′;
[0293] S″′ i Indicates the value corresponding to the i-th bit in the received user code Secure transmission Number "' sorted from the lowest bit to the highest bit;
[0294] d″ i-1 represents d″ to the power of i-1;
[0295] d″ represents the total number of squares in each row or column of the two-dimensional code image in step S33;
[0296] S42, the decimal user code Secure transmission Number "' decimal Convert the decimal user code to the binary user code Secure transmission Number "' decimal The method of converting to binary user code is:
[0297] S421, set the seventh iteration self-increment number a''=1; A''1=Secure transmission number'' decimal ;
[0298] S422,
[0299] wherein A'"a ″′+1 represents the a'"th iteration end result value;
[0300] int||represents a down-round operation;
[0301] A'"a a″′ represents the a'"th iteration end result value;
[0302] determines the relationship between A'"a a″′+1 and 0, 2 and 1:
[0303] if A'a a′+1 ≥ 2, a'"= a'"+ 1, return to step S422;
[0304] if 0≤ A'"a a″′+1 ≤ 1, the following steps S4221~S4222 are executed;
[0305] S4221, let the iteration eighth increment number b'"= 1;
[0306] S4222, B'"a b″′ = A'"a b″′ mod 2,
[0307] wherein mod represents a remainder operation;
[0308] A'"a b″′ represents the b'"th iteration end result value;
[0309] B'"a b″′ represents the b'"th iteration end result value;
[0310] determines the relationship between b'"a
[0311] if a'"≠ b'"a, b'"= b'"+ 1, return to S4222;
[0312] if a'"= b'"a, SecuretransmissionNumber'"= B'"a a″′ B'"a a″′ -1B'"a a″′-2 ... B'"3B'"2B'"1; execute step S43;
[0313] wherein SecuretransmissionNumber'"represents a binary terminal string;
[0314] B'"a a″′ represents the a'"th iteration end result value;
[0315] B'"a ″′-1 Represents the a″′-1th terminal result value;
[0316] B″′ a″′-2 Indicates the a″′-2th terminal result value;
[0317] B″′3 represents the third terminal result value;
[0318] B″′2 represents the second terminal result value;
[0319] B″′1 represents the first terminal result value.
[0320] S43, generate a table with d″ squares per row and d″ squares per column, fill the binary terminal string SecuretransmissionNumber″′ into the squares in order from left to right and top to bottom. If the square is filled with 1, paint the square white; if the square is filled with 0, paint the square black, remove the table lines, and obtain the terminal QR code.
[0321] While 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 invention, and that the scope of the invention is defined by the claims and their equivalents.< / s> < / s> < / s> < / s> < / s> < / s>
Claims
1. A safe start-up system for a tetramethylurea production process, comprising a photochemical reactor, characterized in that: It also includes an RFID card reader and a QR code identifier arranged on the outer side wall of the photochemical reactor body; After the cloud platform receives the secure transmission information sent by the RFID card reader, it sends the user code to the smart mobile handheld terminal. After the RFID card reader receives the user code sent by the cloud platform, it displays the terminal QR code on the display screen of the smart mobile handheld terminal. The QR code reader obtains the terminal QR code information displayed on the display screen of the smart mobile handheld terminal. After verification, the photochemical reactor starts stirring. After the cloud platform obtains the secure transmission information, the method for obtaining the user code according to the secure transmission information includes the following steps: S31, the received secure transmission information SecuretransmissionNumber sixtybinary Convert to decimal value; S32, the decimal cloud platform secure transmission information SecuretransmissionNumber′ decimal Convert to secure transmission information with the same base as SecuretransmissionNumber; S33, converting the cloud platform secure transmission information SecuretransmissionNumber′ into a QR code image; extracting the values of the squares in the QR code image in order from left to right and from top to bottom to obtain a 0-1 string; S34, converting the 0-1 character string into a d″-base character string; S35, sending the user code to the smart mobile handheld terminal.
2. The safe start-up working system in the tetramethylurea production process according to claim 1, characterized in that: The received secure transmission information SecuretransmissionNumber sixtybinary The method to convert to decimal value is: Among them, Secure transmission Number decimal Represents decimal cloud platform security transmission information; ||S′|| represents the received secure transmission information SecuretransmissionNumber sixtybinary The total number of digits; S′ i Indicates the received secure transmission information SecuretransmissionNumber sixtybinary The value corresponding to the i-th position in the order from the lowest position to the highest position; 62 i-1 It represents 62 to the power of i-1.
3. The safe start-up working system in the tetramethylurea production process according to claim 1, characterized in that, The decimal cloud platform secure transmission information SecuretransmissionNumber′ decimal The method of converting to the secure transmission information with the same base as the secure transmission information SecuretransmissionNumber is: S321, set the third iteration increment number a′=1; A′1=Secure transmission Number′ decimal ; S322, Among them, A′ a′+1 Indicates the result value of the cloud platform in the a′+1th iteration; int|| means rounding down; <s> Represents the hexadecimal value of the secure transmission information SecuretransmissionNumber;< / s> <s> A′ a′ Indicates the result value of the cloud platform in the ath iteration; Judge A′ a′+1 The relationship between 0, 61 and 62: If A′ a′+1 ≥62, a′=a′+1, return to step S322; If 0≤A′ a′+1 ≤61, then execute the following steps S3221~S3222; S3221, set the fourth iterative increment number b′=1; S3222,B′ b′ =A′ b′ mod <s>,< / s> <s> Among them, mod means remainder operation; A′ b′ represents the result value of the cloud platform for the b′th iteration; B′ b′ represents the result value of the b′th cloud platform; <s> Represents the hexadecimal value of the secure transmission information SecuretransmissionNumber;< / s> <s> Determine the relationship between b′ and a′: If a′≠b′, then b′=b′+1, and return to S3222; If a′=b′, then Secure transmission Number′=B′ a′ B′ a′-1 B′ a′-2 ...B′3B′2B′1; execute step S33; Among them, SecuretransmissionNumber′ represents the secure transmission information of the cloud platform; B′ a′ Indicates the result value of the a′th cloud platform; B′ a′-1 Indicates the result value of the a′-1th cloud platform; B′ a′-2 Indicates the result value of the a′-2th cloud platform; B′3 represents the result value of the third cloud platform; B′2 represents the result value of the second cloud platform; B′1 represents the result value of the first cloud platform.
4. The safe start-up working system in the tetramethylurea production process according to claim 1, characterized in that: The method to obtain the value according to the color of the square in the QR code image is: Among them, if represents the logical condition if; D d,d′ =blacksquare means the color of the d′th square in the dth row is black; d=1, 2, 3, ..., d″, d′=1, 2, 3, ..., d″, d″′ represents the total number of squares in the two-dimensional code image, and d″ represents the total number of squares in each row or column in the two-dimensional code image; if d″>62, then d″=62; D d,d′ =whitesquare means the color of the d′th square in the dth row is white; E d,d′ The value representing the color of the d′th square in the dth row.
5. The safe start-up working system in the tetramethylurea production process according to claim 1, characterized in that: The method to convert a 0-1 string into a d" base string is: S341, convert a binary 0-1 string to a decimal value. The method for converting a binary 0-1 string to a decimal value is: Among them, Secure transmission Number decimal A string representing a decimal number; ||S″|| represents the total number of digits in the 0-1 string; S″ i Indicates the value corresponding to the i-th bit in the 0-1 string sorted from the lowest bit to the highest bit; 2 i-1 represents 2 to the power of i-1; S342, convert the decimal string SecuretransmissionNumber" decimal Convert to a d" base string, the d" base string is the user code; convert the decimal string SecuretransmissionNumber" decimal The method to convert to d" base string is: S3421, set the fifth iteration increment a" = 1; A"1 = Secure transmission Number" decimal ; S3422, Among them, A d″+1 Represents the image result value of the a″+1th iteration; int|| means rounding down; d″ represents the total number of squares in each row or column of the QR code image; A″ a″ Represents the image result value of the a″th iteration; Judgment A″ a″+1 The relationship between 0, d″ and d″-1: If A″ a″+1 ≥d″, a″=a″+1, return to step S3422; If 0≤A″ a″+1 ≤d″-1, then execute the following steps S34221~S34222; S34221, set the sixth iterative increment number b″=1; S34222,B″ b″ =A″ b″ mode", Among them, mod means remainder operation; A″ b″ Represents the image result value of the b″th iteration; B″ b″ Indicates the result value of the b″th image; d″ represents the total number of squares in each row or column of the QR code image; Determine the relationship between b″ and a″: If a″≠b″, then b″=b″+1, and return to S34222; If a″=b″, then SecuretransmissionNumber″=B″ a″ B″ a″-1 B″ a″-2 …B″3B″2B″1; execute step S35; wherein SecuretransmissionNumber″ represents a d″-base character string; B″ a″ Indicates the result value of the a″th image; B″ a″-1 Indicates the result value of the a″-1th image; B″ a″-2 Indicates the result value of the a″-2th image; B″3 represents the result value of the third image; B″2 represents the result value of the second image; B″1 represents the first image result value. < / s> < / s> < / s>