Safety operation and maintenance method of gateway
By integrating a touch screen and camera on the gateway, combined with serial port, USB, keyboard and mouse and U disk operation and maintenance technologies, the time-consuming diagnosis problem caused by multiple internal components of the gateway is solved, a fast and safe operation and maintenance method is realized, and the usage is improved. Efficiency and safety.
Patent Information
- Application Number
- CN202411135727.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-10-11
AI Technical Summary
Due to the wide variety of internal components in existing gateways, problems are prone to occur during use, resulting in a long time to find and solve problems and affecting usage efficiency.
Adopt a security operation and maintenance method including the gateway body, touch screen and camera, through serial port connection, network configuration, USB interface settings, keyboard and mouse operation and maintenance, U disk operation and maintenance, device port viewing and event detection, combined with API interface and fingerprint recognition , enabling rapid diagnosis and resolution of gateway problems.
Implemented rapid operation and maintenance of gateway-related software to ensure safe use of the gateway, save time, improve security, and facilitate user operations.
Smart Images

Figure CN118764359A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of gateway operation and maintenance, and specifically relates to a gateway security operation and maintenance method. Background Art
[0002] A gateway is also called an internetwork connector or protocol converter. It realizes network interconnection above the network layer and is the most complex network interconnection device. It is only used for interconnection between two networks with different high-level protocols. Gateways can be used for both wide area network interconnection and local area network interconnection. A gateway is a computer system or device that performs the important task of conversion. It is used between two systems with different communication protocols, data formats or languages, or even completely different architectures. A gateway is a translator. Unlike a bridge that simply transmits information, a gateway repackages the received information to meet the needs of the destination system.
[0003] At present, when a gateway is in use, problems sometimes occur, which affects the use of the gateway. Since there are many types of internal components of the gateway, it is necessary to find the problem before solving it, which takes a lot of time and affects people's use. Therefore, a secure operation and maintenance method for the gateway is proposed. Summary of the invention
[0004] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a secure operation and maintenance method for a gateway, which effectively solves the problem that the gateway sometimes has usage problems when in use, affecting the use of the gateway. Since there are many types of internal components of the gateway, it is necessary to find the problem before solving it, which takes a lot of time and affects people's use.
[0005] To achieve the above object, the present invention provides the following technical solution: a gateway security operation and maintenance method, comprising a gateway body, a touch screen and a camera, wherein the touch screen is fixedly arranged on the front of the gateway body, the camera is fixedly installed on the back of the gateway body, and also comprises a power button and multiple interfaces arranged on the gateway body, specifically comprising the following operation and maintenance steps:
[0006] S1. Connect the gateway to the computer's serial port and open the computer's serial port tool to connect;
[0007] S2. Perform serial port tool configuration. After configuration is completed, insert the power plug into the gateway body, turn on the power, and the gateway body automatically starts and prints the startup information;
[0008] S3. After the system starts normally, reopen the serial port connection, display the login interface, and enter the user name and password to log in to the system;
[0009] S4. Execute to view the kernel version; execute to view CPU information; execute to view memory usage; execute to view storage usage; execute instructions to obtain battery power, the value range is -, to represents power from low to high; execute command to enable watchdog, execute command to disable watchdog, execute command to feed watchdog, feeding watchdog will automatically enable watchdog, execute command to play an audio file;
[0010] S5. Configure the network. The system uses the provided network configuration. For the configuration of static addresses, create a configuration file, add content, and restart the service to take effect.
[0011] S6. Execute the command to start the service, and then remotely connect to the operation and maintenance gateway device; execute the command, and after the system is started, the service is prohibited from starting automatically;
[0012] S7, USB interface settings, determine the USB device name, and manually mount it to the USB disk;
[0013] S8, serial port operation and maintenance. When testing, you need to use a USB to serial port cable to connect to the device. The device supports serial port operation and maintenance mode. The device can be connected between the operation and maintenance terminal and the object to be operated and maintained for operation and maintenance.
[0014] Connect the laptop's USB to serial port to the dedicated serial port cable, and connect the USB port of the dedicated serial port cable to the object to be maintained.
[0015] The API interface format is as follows:
[0016] Enable transparent serial port; Disable transparent serial port;
[0017] The transparent serial port test program is in the file under the directory. Execution will start the transparent serial port and close the function after s. If you think the s time is too long, you can modify it in , and change the delay between opening and closing the serial port to a suitable time. After the modification, you only need to execute the command in the directory to generate a new file;
[0018] S9, keyboard and mouse operation and maintenance, the gateway device supports operation and maintenance of the maintained object through an external keyboard, mouse and monitor, and records the keyboard and mouse operation records, screen recording of the monitor and preview on the touch screen. Use an HDMI cable to connect the HDMIIN interface of the device and the operation and maintenance device; use an HDMI cable to connect the HDMIOUT interface of the device and the monitor;
[0019] The HDMIIN input preview function can be realized by calling the API interface. After being executed on the terminal, the gateway device will display the input image on the screen. The display size and position can be adjusted through the function;
[0020] S10, U disk operation and maintenance, the gateway device supports U disk operation and maintenance, plug it into the interface of the operated device through the type-c cable, under the directory, you can execute the U disk operation and maintenance function, for details, please refer to the help manual and files. Here we mainly demonstrate the use and implementation of U disk operation and maintenance. After execution, it will automatically detect whether a U disk is inserted. If inserted, it will report event information, the event type is, and display detailed information of the U disk;
[0021] S11. Check the device port and execute the program to actively obtain the port occupancy status. All the hardware ports currently in the occupied state will be printed out;
[0022] S12, get device events. There is a special function for reading device events. This function can read the events into the data buffer and perform other operations. After the function is turned on, the plug-in event detection will be turned on. When USB plug-in occurs, information will be printed;
[0023] When the file operation event is in USB operation, information will be printed when a file operation occurs. After the USB operation function is turned on, when a USB disk device is detected to be inserted, it will ask whether to turn on the USB disk operation;
[0024] File event information is divided into upstream event information and downstream file information. That is, when using a USB flash drive for operation and maintenance, dragging a file from the disk to a PC, or putting a file from a PC to a USB flash drive, there will be an event.
[0025] Preferably, the touch screen 2 supports 10-point touch, the resolution is 2560*1600, and the size of the touch screen 2 is 11.6 inches.
[0026] Preferably, in S4, after the watchdog is enabled, the system will automatically restart if it is not clear within 60 seconds; when feeding the dog, the watchdog will be automatically enabled; when feeding the dog, the watchdog will be automatically enabled; the watchdog timeout causes the system to restart, and the watchdog is automatically disabled; the watchdog timeout causes the system to restart, and the watchdog is automatically disabled.
[0027] Preferably, the camera can be used to collect image information;
[0028] After execution, after the transparent serial port and HDMIIN programs are executed, the camera preview will be opened and photos will be taken, the preview camera will collect video, and the preview camera will collect video will end.
[0029] Preferably, fingerprint recognition is also included:
[0030] Execute the command and register fingerprints;
[0031] Execute the command and conduct fingerprint verification;
[0032] Execute the command to log out with fingerprint;
[0033] Execute the command to clear all fingerprints
[0034] Technical effects and advantages of the present invention:
[0035] The present invention, through the gateway security operation and maintenance method proposed by the present invention, can quickly operate and maintain the relevant software of the gateway, thereby discovering the use problems of the gateway, ensuring the safe use of the gateway, saving time, improving security, and facilitating people's use. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0037] Figure 1 It is a front structural schematic diagram of the present invention;
[0038] Figure 2 It is a schematic diagram of the back structure of the present invention;
[0039] Figure 3 It is a schematic diagram of the bottom structure of the present invention.
[0040] In the figure: 1. Gateway body; 2. Touch screen; 3. Camera; 4. Power button; 5. Interface. DETAILED DESCRIPTION
[0041] The present invention provides Figure 1-3 A gateway security operation and maintenance method shown includes a gateway body 1, a touch screen 2 and a camera 3, wherein the touch screen 2 is fixedly arranged on the front of the gateway body 1, and the camera 3 is fixedly installed on the back of the gateway body 1, and also includes a power button 4 and multiple interfaces 5 arranged on the gateway body 1, and specifically includes the following operation and maintenance steps:
[0042] S1. Connect the gateway body 1 to the serial port of the computer and open the serial port tool of the computer to connect;
[0043] S2. Perform serial port tool configuration. After the configuration is completed, insert the power plug into the gateway body 1, turn on the power, and the gateway body 1 automatically starts and prints the startup information;
[0044] S3. After the system starts normally, reopen the serial port connection, display the login interface, and enter the user name and password to log in to the system;
[0045] S4. Execute to view the kernel version; execute to view CPU information; execute to view memory usage; execute to view storage usage; execute instructions to obtain battery power, the value range is 0-100, 0 to 100 represents power from low to high; execute command to enable watchdog, execute command to disable watchdog, execute command to feed watchdog, feeding watchdog will automatically enable watchdog, execute command to play an audio file;
[0046] S5. Configure the network. The system uses the provided network configuration. For the configuration of static addresses, create a configuration file, add content, and restart the service to take effect.
[0047] S6. Execute the command to start the service, and then remotely connect to the operation and maintenance gateway device; execute the command, and after the system is started, the service is prohibited from starting automatically;
[0048] S7, USB interface settings, determine the USB device name, and manually mount it to the USB disk;
[0049] S8, serial port operation and maintenance. When testing, you need to use a USB to serial port cable to connect to the device. The device supports serial port operation and maintenance mode. The device can be connected between the operation and maintenance terminal and the object to be operated and maintained for operation and maintenance.
[0050] Connect the laptop's USB to serial port to the dedicated serial port cable, and connect the USB port of the dedicated serial port cable to the object to be maintained.
[0051] The API interface format is as follows:
[0052] Enable transparent serial port; Disable transparent serial port;
[0053] The transparent serial port test program is in the file under the directory. When executed, the transparent serial port will be started and the function will be closed after 300 seconds. If you think 300 seconds is too long, you can modify it in , and change the delay between opening and closing the serial port to a suitable time. After the modification, you only need to execute the command in the directory to generate a new file;
[0054] S9, keyboard and mouse operation and maintenance, the gateway device supports operation and maintenance of the maintained object through an external keyboard, mouse and monitor, and records the keyboard and mouse operation records, screen recording of the monitor and preview on the touch screen. Use an HDMI cable to connect the HDMIIN interface of the device and the operation and maintenance device; use an HDMI cable to connect the HDMIOUT interface of the device and the monitor;
[0055] The HDMIIN input preview function can be realized by calling the API interface. After being executed on the terminal, the gateway device will display the input image on the screen. The display size and position can be adjusted through the function;
[0056] S10, U disk operation and maintenance, the gateway device supports U disk operation and maintenance, plug it into the interface of the operated device through the type-c cable, under the directory, you can execute the U disk operation and maintenance function, for details, please refer to the help manual and files. Here we mainly demonstrate the use and implementation of U disk operation and maintenance. After execution, it will automatically detect whether a U disk is inserted. If inserted, it will report event information, the event type is 8, and display detailed information of the U disk;
[0057] S11. Check the device port and execute the program to actively obtain the port occupancy status. All the hardware ports currently in the occupied state will be printed out;
[0058] S12, get device events. There is a special function for reading device events. This function can read the events into the data buffer and perform other operations. After the function is turned on, the plug-in event detection will be turned on. When USB plug-in occurs, information will be printed;
[0059] When the file operation event is in USB operation, information will be printed when a file operation occurs. After the USB operation function is turned on, when a USB disk device is detected to be inserted, it will ask whether to turn on the USB disk operation;
[0060] File event information is divided into upstream event information and downstream file information. That is, when using a USB flash drive for operation and maintenance, dragging a file from the disk to a PC, or putting a file from a PC to a USB flash drive, there will be an event.
[0061] Specifically, the touch screen 2 supports 10-point touch, the resolution is 2560*1600, and the size of the touch screen 2 is 11.6 inches;
[0062] Specifically, in S4, after the watchdog is enabled, the system will automatically restart if it is not clear for 60 seconds. When the watchdog is fed, the watchdog will be automatically enabled; when the watchdog timeout causes the system to restart, the watchdog will be automatically disabled;
[0063] Specifically, the camera can be used to collect image information;
[0064] After execution, after the transparent serial port and HDMIIN programs are executed, the camera preview will be opened and photos will be taken, the preview camera will collect video, and the preview camera will collect video will be ended;
[0065] Specifically, it also includes fingerprint recognition:
[0066] Execute the command and register fingerprints;
[0067] Execute the command and conduct fingerprint verification;
[0068] Execute the command to log out with fingerprint;
[0069] Execute the command to clear all fingerprints.
[0070] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0071] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A gateway security operation and maintenance method, characterized in that: The device comprises a gateway body (1), a touch screen (2) and a camera (3), wherein the touch screen (2) is fixedly arranged on the front of the gateway body (1), and the camera (3) is fixedly installed on the back of the gateway body (1). The device also comprises a power button (4) and a plurality of interfaces (5) arranged on the gateway body (1), and specifically comprises the following operation and maintenance steps: S1. Connect the gateway body (1) to the serial port of the computer and open the serial port tool of the computer to connect; S2. Perform serial port tool configuration. After the configuration is completed, insert the power plug into the gateway body (1) and turn on the power. The gateway body (1) automatically starts and prints the startup information. S3. After the system starts normally, reopen the serial port connection, display the login interface, and enter the user name and password to log in to the system; S4, execute to view the kernel version; execute to view the CPU information; execute to view the memory usage; execute to view the storage usage; execute the command to obtain the battery power, the value range is 0-100, 0 to 100 represents the power from low to high; Execute the command to enable the watchdog, execute the command to disable the watchdog, execute the command to feed the watchdog, feeding the watchdog will automatically enable the watchdog, execute the command to play an audio file; S5. Configure the network. The system uses the provided network configuration. For the configuration of static addresses, create a configuration file, add content, and restart the service to take effect. S6. Execute the command to start the service, and then remotely connect to the operation and maintenance gateway device; execute the command, and after the system is started, the service is prohibited from starting automatically; S7, USB interface settings, determine the USB device name, and manually mount it to the USB disk; S8, serial port operation and maintenance. When testing, you need to use a USB to serial port cable to connect to the device. The device supports serial port operation and maintenance mode. The device can be connected between the operation and maintenance terminal and the object to be operated and maintained for operation and maintenance. Connect the laptop's USB to serial port to the dedicated serial port cable, and connect the USB port of the dedicated serial port cable to the object to be maintained. The API interface format is as follows: Enable transparent serial port; Disable transparent serial port; The transparent serial port test program is in the file under the directory. When executed, the transparent serial port will be started and the function will be closed after 300 seconds. If you think 300 seconds is too long, you can modify it in , and change the delay between opening and closing the serial port to a suitable time. After the modification, you only need to execute the command in the directory to generate a new file; S9, keyboard and mouse operation and maintenance, the gateway device supports operation and maintenance of the maintained object through an external keyboard, mouse and monitor, and records the keyboard and mouse operation records, screen recording of the monitor and preview on the touch screen. Use an HDMI cable to connect the HDMIIN interface of the device and the operation and maintenance device; use an HDMI cable to connect the HDMIOUT interface of the device and the monitor; The HDMIIN input preview function can be realized by calling the API interface. After being executed on the terminal, the gateway device will display the input image on the screen. The display size and position can be adjusted through the function; S10, U disk operation and maintenance, the gateway device supports U disk operation and maintenance, plug it into the interface of the operated device through the type-c cable, under the directory, you can execute the U disk operation and maintenance function, for details, please refer to the help manual and files. Here we mainly demonstrate the use and implementation of U disk operation and maintenance. After execution, it will automatically detect whether a U disk is inserted. If inserted, it will report event information, the event type is 8, and display detailed information of the U disk; S11. Check the device port and execute the program to actively obtain the port occupancy status. All the hardware ports currently in the occupied state will be printed out; S12, get device events. There is a special function for reading device events. This function can read the events into the data buffer and perform other operations. After the function is turned on, the plug-in event detection will be turned on. When USB plug-in occurs, information will be printed; When the file operation event is in USB operation, information will be printed when a file operation occurs. After the USB operation function is turned on, when a USB disk device is detected to be inserted, it will ask whether to turn on the USB disk operation; File event information is divided into upstream event information and downstream file information. That is, when using a USB flash drive for operation and maintenance, dragging a file from the disk to a PC, or putting a file from a PC to a USB flash drive, there will be an event.
2. The method for secure operation and maintenance of a gateway according to claim 1, characterized in that: The touch screen (2) supports 10-point touch, has a resolution of 2560*1600, and a size of 11.6 inches.
3. The gateway security operation and maintenance method according to claim 2 is characterized in that: In S4, after enabling the watchdog, the system will automatically restart if it is not cleared within 60 seconds. When feeding the dog, the watchdog will be automatically enabled; when the watchdog timeout causes the system to restart, the watchdog will be automatically disabled.
4. The gateway security operation and maintenance method according to claim 3 is characterized in that: The camera can be used to collect image information; After execution, after the transparent serial port and HDMIIN programs are executed, the camera preview will be opened and photos will be taken, the preview camera will collect video, and the preview camera will collect video will end.
5. The gateway security operation and maintenance method according to claim 4 is characterized in that: Also includes fingerprint recognition: Execute the command and register fingerprints; Execute the command and perform fingerprint verification; Execute the command to log out with fingerprint; Execute the command to clear all fingerprints.
