The method for automatically setting the wireless gateway register mapping table relates to the parameter setting technology of the gateway, in particular to the method for automatically setting the parameters of the wireless gateway used in the detection and monitoring system of the railway transport LNG container. The wireless gateway is connected to a computer that stores and sets the gateway information, sets the parameter storage area and the flag position in the wireless gateway, adds a parameter writing module in the computer, and adds a start-up inspection module in the wireless gateway. The method includes the following steps: A, computer reading Information, B, write the read information into the parameter storage area, C, set the flag, D, restart the wireless gateway, the wireless gateway judges the flag, if the flag is not set, go to step F, otherwise, execute step E, E. Read the information in the parameter storage area and write the information into the actual storage area of the gateway parameters, clear the flag bit, F, execute the normal start-up procedure. Using this method can reduce the workload and avoid errors in the process.