Virtual local area network security control method and system for intelligent vending machine
By turning on hot spots on smart vending machines and forming a virtual LAN, the security risks and low operation and maintenance efficiency of smart vending machines are solved, contactless operation and maintenance control is realized, and operation and maintenance efficiency and remote management capabilities are improved.
Patent Information
- Application Number
- CN202510274271.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-05-13
AI Technical Summary
The operation and maintenance control of intelligent vending machines has problems such as safety hazards and low operation and maintenance efficiency, especially in the wide-area environment of the Internet of Things, it is difficult to achieve real-time contactless remote control.
The remote control system sends hotspot instructions to the smart vending machine, performs identity verification and enables local hotspots, and forms a virtual LAN with the control end of the technician to achieve contactless operation and maintenance control.
The contactless operation and maintenance of intelligent vending machines is realized, avoiding the safety hazards and normal operation of traditional operation and maintenance methods, and improving operation and maintenance efficiency and remote management capabilities.
Smart Images

Figure CN119996043A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic information technology, and in particular to a method and system for controlling the security of a virtual local area network of an intelligent vending machine. Background Art
[0002] At present, there are two major drawbacks in the operation and maintenance control of smart vending machines. First, technicians can perform real-time control in front of the machine through a USB cable, but this operation requires opening the device and exposing its internal structure, which not only poses a safety hazard, but also affects the normal operation of the smart vending machine during operation and affects the machine's sales. Secondly, in the wide-area environment of the Internet of Things, it is difficult for technicians to perform real-time control of smart vending machines, such as executing key tasks such as adb commands, multimedia operations, and desktop control, which limits the remote maintenance and management capabilities of the equipment. Therefore, a safe, convenient, and real-time contactless control method is urgently needed for the control of smart vending machine systems. Summary of the invention
[0003] Based on this, the embodiment of the present application provides a method and system for secure control of a virtual LAN of a smart vending machine, which can achieve contactless operation and maintenance in front of the machine, avoid affecting the normal sales of the smart vending machine, and improve the operation and maintenance efficiency of the smart vending machine.
[0004] In a first aspect, a method for controlling the security of a virtual local area network of an intelligent vending machine is provided, the method comprising:
[0005] The operator sends a hotspot-enabling command to the smart vending machine through the remote control system. After receiving the command, the smart vending machine verifies the operator's identity. After the verification is passed, the local hotspot is enabled and a virtual local area network is established with the technician's control terminal.
[0006] The smart vending machine starts the desktop mirroring transmission service to transmit the desktop image to the control end in real time; at the same time, it starts the sharing service, runs the server software and opens the port to publish the control end web page;
[0007] The technicians enter the corresponding IP address and open port in the browser of the control terminal to access the control terminal web page and perform real-time desktop viewing and command operations of the smart vending machine.
[0008] Optionally, the method further comprises:
[0009] After the smart vending machine turns on the hotspot and successfully establishes a virtual LAN, it automatically sets a preset time. When the preset time arrives, it automatically turns off the hotspot, uninstalls the sharing service, and clears the data cache to ensure system security.
[0010] Optionally, the operator sends a hotspot-enabling instruction to the smart vending machine through a remote control system. After receiving the instruction, the smart vending machine verifies the identity of the operator and opens the local hotspot after the verification is passed. Specifically, the steps include:
[0011] The operator inputs the unique number of the smart vending machine through the remote control system and sends a hotspot-enabling command to the smart vending machine. After receiving the command, the smart vending machine starts the camera to perform facial recognition verification on the operator, and turns on the local hotspot after the verification is passed.
[0012] Optionally, the smart vending machine randomly generates an 8-digit password after turning on the local hotspot. The password is generated using an encryption algorithm, and a technician sets up a virtual local area network with the smart vending machine by inputting the password.
[0013] Optionally, the port range of the virtual local area network is 5555 to 9999 to avoid ports used by existing smart vending machine services.
[0014] Optionally, the smart vending machine starts a desktop mirroring transmission service to transmit the desktop image to the control end in real time; at the same time, starts a sharing service, runs the server software and opens a port to publish the control end web page, specifically including:
[0015] The smart vending machine starts the desktop mirroring transmission service, equipped with the open source software scrcpy to transmit the desktop screen to the control end in real time, and starts the DLNA sharing service, runs the specified server software, and opens the port to publish the control end web page.
[0016] In a second aspect, a smart vending machine virtual local area network security control system is provided, the system comprising:
[0017] The verification networking module is used by the operator to send a hotspot-enabling command to the smart vending machine through the remote control system. After receiving the command, the smart vending machine verifies the identity of the operator. After the verification is passed, the local hotspot is enabled and a virtual local area network is established with the technician's control terminal.
[0018] The port sharing module is used for the smart vending machine to start the desktop mirror transmission service and transmit the desktop image to the control end in real time; at the same time, the sharing service is started, the server software is run, and the port is opened to publish the control end web page;
[0019] The control operation module is used by technicians to enter the corresponding IP address and open port in the control terminal browser to access the control terminal web page and perform real-time desktop viewing and command operations of the smart vending machine.
[0020] In a third aspect, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the smart vending machine virtual LAN security control method described in any one of the first aspects is implemented.
[0021] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the smart vending machine virtual local area network security control method described in any one of the first aspects is implemented.
[0022] In a fifth aspect, a computer program product is provided, including a computer program / instruction, which, when executed by a processor, implements the smart vending machine virtual LAN security control method described in any one of the first aspects.
[0023] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0024] (1) Through remote control and face recognition verification, the present invention realizes contactless operation and maintenance of smart vending machines, avoiding the inconvenience and safety hazards of opening the equipment for operation in traditional operation and maintenance methods. At the same time, the establishment of a virtual local area network and an automated security mechanism ensure the safety and efficiency of the operation and maintenance process, reducing the impact on the normal sales of the machine.
[0025] (2) The remote control system can be used to view the smart vending machine desktop in real time and perform operations, which improves the remote management capabilities of the equipment and reduces operation and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0027] Figure 1 A flowchart of a method for controlling the security of a virtual local area network of an intelligent vending machine provided in an embodiment of the present application;
[0028] Figure 2 A schematic diagram of opening a camera after receiving a command provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of a framework for implementing the method provided in an embodiment of the present application;
[0030] Figure 4 A block diagram of a smart vending machine virtual local area network security control system provided in an embodiment of the present application;
[0031] Figure 5 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application 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 application and are not used to limit the present application.
[0033] In the description of the present invention, the terms "comprises", "has" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may also include other steps or units that are not explicitly listed but are inherent to these processes, methods, products or apparatuses, or steps or units added based on further optimization schemes conceived by the present invention.
[0034] At present, there are two major drawbacks in the operation and maintenance control of smart vending machines. First, technicians can perform real-time control in front of the machine through a USB cable, but this operation requires opening the device and exposing its internal structure, which not only poses a safety hazard, but also affects the normal operation of the smart vending machine during operation and affects the machine's sales. Secondly, in the wide-area environment of the Internet of Things, it is difficult for technicians to perform real-time control of smart vending machines, such as executing key tasks such as adb commands, multimedia operations, and desktop control, which limits the remote maintenance and management capabilities of the equipment. Therefore, a safe, convenient, and real-time contactless control method is urgently needed for the control of smart vending machine systems.
[0035] The pain points of existing technologies include:
[0036] ① Risk of USB cable control in front of the machine: Currently, technicians can control the machine in real time through a USB cable, but this method requires opening the device, exposing the internal structure, which poses a safety hazard. At the same time, it will interfere with the normal operation of the smart vending machine during operation and affect sales.
[0037] ② Limitations of wide-area control of the Internet of Things: In the wide-area environment of the Internet of Things, it is difficult for technicians to perform key tasks such as adb commands, multimedia operations, and desktop control on smart vending machines, which limits the remote maintenance and management capabilities of the equipment.
[0038] Introduction to the use of smart vending machine virtual LAN security control:
[0039] When the technician arrives at the smart vending machine, he inputs the machine number through the remote control system and issues a command to start the hotspot. After receiving the command, the smart vending machine turns on the camera and automatically performs facial recognition verification on the operator. If the verification passes, the hotspot is turned on. The technician enters the 8-digit random password generated by the system on the control terminal (PC or mobile phone) to establish a virtual LAN with the machine.
[0040] The smart vending machine system is equipped with scrcpy to transfer desktop images, start the dlna sharing service, run the specified server software, open random ports 5555 to 9999, and publish the control end web page;
[0041] The technician can enter http: / / 127.0.0.1:open port / in the browser of the control terminal (PC or mobile phone) to perform the virtual desktop and command operations of the smart vending machine;
[0042] The hotspot will be closed within the preset time, and the corresponding sharing service will be uninstalled and the data cache will be cleared to ensure system security. To continue control, you need to repeat steps ① to ③;
[0043] The shortcomings of existing methods include:
[0044] Controlling the transmission of large amounts of data (multimedia operations) will affect the current use of smart vending machines, manifested as software freezes and network delays;
[0045] Specific objectives of this application include:
[0046] Realize contactless operation and maintenance in front of smart vending machines to ensure that the normal sales of the machines are not affected.
[0047] Realize the safe opening of the local hotspot of the smart vending machine to ensure the convenience and safety of the control process.
[0048] Realize the shared service of customized web page control for smart vending machines, and provide remote real-time desktop viewing and command control functions.
[0049] Implement an automated safety mechanism for smart vending machines to ensure that hotspots are automatically shut down and data caches are cleared within a preset time, improving system security.
[0050] In order to achieve contactless operation and maintenance in front of the machine and avoid affecting the normal sales of smart vending machines, the entire operation process sets up virtual LAN ports 5555 to 9999, and avoids the existing smart vending machine business ports. With the help of machine remote control instructions and intelligent verification mechanism, there is no need for operation and maintenance personnel to directly contact the internal hardware of the equipment. The operation and maintenance personnel control the system remotely through the virtual LAN and issue instructions to the smart vending machine in a non-physical contact manner. The smart vending machine automatically completes the corresponding operation based on the received instructions, realizing the parallel operation and maintenance process and the normal sales process of the machine.
[0051] Please refer to Figure 1 , which shows a flow chart of a method for controlling the security of a virtual local area network of an intelligent vending machine provided by an embodiment of the present application. The method may include the following steps:
[0052] S1, the operator sends a hotspot-enabling command to the smart vending machine through the remote control system. After receiving the command, the smart vending machine verifies the operator's identity. After the verification is passed, the local hotspot is enabled and a virtual local area network is established with the technician's control terminal.
[0053] This step specifically includes:
[0054] The operator inputs the unique number of the smart vending machine through the remote control system (such as a cloud management platform or a dedicated APP) and sends a command to the target smart vending machine to turn on the hotspot. The remote control system verifies the operator's authority to ensure that only authorized personnel can initiate the command.
[0055] The smart vending machine receives the hotspot-enabling command sent by the remote control system through a built-in communication module (such as Wi-Fi, 4G / 5G module). The smart vending machine parses the received command to confirm the legitimacy and integrity of the command.
[0056] After receiving the hotspot-enabling command, the smart vending machine starts the built-in camera to perform facial recognition verification on the operator. Facial recognition technology verifies the identity of the operator through image recognition algorithms based on the pre-stored facial data of authorized personnel. Figure 2 A schematic diagram of the smart vending machine turning on the camera after receiving instructions is given.
[0057] If the verification passes, the smart vending machine proceeds to the next step; if the verification fails, it refuses to turn on the hotspot and sounds an alarm.
[0058] After the verification is passed, the smart vending machine turns on the local hotspot and randomly generates an encrypted 8-digit password, which is generated by an encryption algorithm to ensure unpredictability. The technician enters the password on the control terminal (such as a PC or mobile phone) to establish a virtual LAN connection with the smart vending machine. The port range of the virtual LAN is 5555 to 9999, avoiding the ports used by the normal business of the smart vending machine to ensure that the operation and maintenance operations do not affect the normal sales of the machine.
[0059] S2, the smart vending machine starts the desktop mirroring transmission service and transmits the desktop image to the control end in real time; at the same time, it starts the sharing service, runs the server software and opens the port to publish the control end web page.
[0060] This step specifically includes:
[0061] The smart vending machine system starts the desktop image transmission service, and transmits the desktop screen of the smart vending machine to the control end in real time through built-in open source software (such as scrcpy) or custom software. This service can transmit the screen content of the smart vending machine to the control end in the form of a video stream, and technicians can view the operation interface of the smart vending machine in real time on the control end.
[0062] The smart vending machine starts the sharing service (such as DLNA or other custom protocols) and runs the specified server software to share data and commands between the smart vending machine and the control terminal. The system randomly selects a port in the range of 5555 to 9999 to open, which is used to establish a communication connection between the control terminal and the smart vending machine.
[0063] Based on the above settings, the smart vending machine publishes a control-end web page, which embeds a real-time desktop mirror image and a virtual command window. The technician can access the web page through the browser of the control end to remotely operate and monitor the smart vending machine. The design of the control-end web page ensures the convenience and intuitiveness of operation, and the technician can manage the smart vending machine just like operating a local device.
[0064] S3, the technician enters the corresponding IP address and open port in the browser of the control end, accesses the control end web page, and performs real-time desktop viewing and command operations of the smart vending machine.
[0065] In this step:
[0066] The technician enters the IP address of the smart vending machine and an open random port in the browser of the control terminal (such as a PC or mobile phone). The browser connects to the control terminal web page published by the smart vending machine through the address. The technician accesses the desktop image and control functions of the smart vending machine through the web interface.
[0067] The control end webpage embeds the real-time desktop image of the smart vending machine, through which technicians can view the operation interface and status of the smart vending machine in real time. The desktop image transmission service ensures the real-time and smoothness of the image, and technicians can clearly see the current operation status of the smart vending machine.
[0068] The control end webpage provides a virtual command window, through which technicians can input commands or operating instructions to remotely control the smart vending machine. After receiving the instructions sent by the control end, the smart vending machine automatically performs the corresponding operations, such as software updates, troubleshooting, and product replenishment.
[0069] Furthermore, the method also includes:
[0070] After the smart vending machine turns on the hotspot and successfully establishes a virtual LAN, it automatically sets a preset time. When the preset time arrives, it automatically turns off the hotspot, uninstalls the sharing service, and clears the data cache to ensure system security.
[0071] like Figure 3 A method implementation framework diagram is given. In an optional embodiment of the present application, the present application implements the following contents respectively:
[0072] Realize the safe opening of local hotspots of smart vending machines:
[0073] Instruction issuance and identity verification: After the technician arrives at the location of the smart vending machine, he logs into the remote control system, enters the unique number of the smart vending machine, and then issues an instruction to open the local hotspot. After receiving this instruction, the smart vending machine immediately starts the camera and automatically verifies the operator's face recognition. This process uses advanced face recognition technology to ensure that only authorized technicians can continue subsequent operations, ensuring the security of hotspot activation from the personnel identity level.
[0074] Hotspot activation and password generation: When the operator passes the facial recognition verification, the smart vending machine activates the local hotspot and randomly generates an 8-digit password. The random password is generated using an encryption algorithm to ensure the unpredictability of the password.
[0075] Virtual LAN establishment: The technician enters the 8-digit random password on the control terminal (PC or mobile phone) to establish a virtual LAN with the smart vending machine. This virtual LAN establishment method based on password verification further strengthens the security of the connection. Only the control terminal that knows the random password can successfully access, preventing illegal devices from accessing and causing security threats.
[0076] Implementing the shared service of custom web page control for smart vending machines:
[0077] Desktop image transmission: The smart vending machine system is installed with the open source scrcpy software, which has a powerful desktop image transmission function. Through this software, the smart vending machine can transmit its own desktop image to the control end in real time, so that the technicians can view the desktop content of the smart vending machine at the control end just like operating a local device.
[0078] Sharing service startup and port opening: At the same time, the smart vending machine starts the system's DLNA sharing service and runs the specified server software. During this process, the system will randomly open a port from the port range of 5555 to 9999. This random port selection method increases the security of the system and reduces the risk of malicious scanning and attacks.
[0079] Control terminal web page publishing and operation: Based on the above settings, the smart vending machine publishes the control terminal web page. This web page is carefully designed and embedded with a real-time scrcpy desktop mirror image and a virtual command window. The technician can access the web page by entering the corresponding IP address and an open random port in the browser of the control terminal (PC or mobile phone), thereby performing real-time desktop viewing of the smart vending machine and various command control operations, realizing convenient and efficient remote control.
[0080] Realize the automated safety mechanism of smart vending machines:
[0081] Preset time setting: After the smart vending machine turns on the hotspot and successfully establishes a virtual LAN, the system automatically sets a preset time, such as half an hour. This preset time can be flexibly adjusted according to actual operation and maintenance needs, aiming to provide technicians with sufficient operation time while effectively controlling potential security risks.
[0082] Automatic cleaning and security assurance: When the preset time arrives, the smart vending machine will automatically perform a series of security operations, including shutting down the hotspot to prevent unauthorized devices from accessing it at a later time; uninstalling the corresponding shared service to avoid unnecessary continued operation of the shared service and causing security risks; clearing the data cache to prevent the leakage of sensitive information that may be contained in the cached data. If the technician needs to continue to control the smart vending machine, he needs to repeat the above steps of opening the hotspot, identity verification, establishing a virtual LAN, and accessing the control end web page to ensure that each control process is in a safe and controllable state.
[0083] Please refer to Figure 4 , which shows a block diagram of a smart vending machine virtual local area network security control system provided by an embodiment of the present application. Figure 4 As shown, the system may include:
[0084] The verification networking module is used by the operator to send a hotspot-enabling command to the smart vending machine through the remote control system. After receiving the command, the smart vending machine verifies the identity of the operator. After the verification is passed, the local hotspot is enabled and a virtual local area network is established with the technician's control terminal.
[0085] The port sharing module is used for the smart vending machine to start the desktop mirror transmission service and transmit the desktop image to the control end in real time; at the same time, the sharing service is started, the server software is run, and the port is opened to publish the control end web page;
[0086] The control operation module is used by technicians to enter the corresponding IP address and open port in the control terminal browser to access the control terminal web page and perform real-time desktop viewing and command operations of the smart vending machine.
[0087] For the specific definition of the intelligent vending machine virtual LAN security control system, please refer to the definition of the intelligent vending machine virtual LAN security control method above, which will not be repeated here. Each module in the above-mentioned intelligent vending machine virtual LAN security control system can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0088] In one embodiment, an electronic device is provided. The electronic device may be a computer, and its internal structure diagram may be as follows: Figure 5 As shown. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the device is used to provide computing and control capabilities. The memory of the device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for the security control data of the virtual local area network of the smart vending machine. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for security control of the virtual local area network of a smart vending machine is implemented.
[0089] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0090] In one embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned smart vending machine virtual LAN security control method are implemented.
[0091] In one embodiment of the present application, a computer program product is provided, including a computer program / instruction, which implements the steps of the above-mentioned smart vending machine virtual LAN security control method when executed by a processor.
[0092] The computer-readable storage medium and computer program product provided in this embodiment have similar implementation principles and technical effects to those of the above method embodiments, and are not described in detail here.
[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 related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer 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 may 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. By way of illustration and not limitation, RAM is available in M forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SyMchliMk) DRAM (SLDRAM), memory bus (RaMbus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0094] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A method for controlling the security of a virtual local area network of an intelligent vending machine, characterized in that: The method comprises: The operator sends a hotspot-enabling command to the smart vending machine through the remote control system. After receiving the command, the smart vending machine verifies the operator's identity. After the verification is passed, the local hotspot is enabled and a virtual local area network is established with the technician's control terminal. The smart vending machine starts the desktop mirroring transmission service to transmit the desktop image to the control end in real time; at the same time, it starts the sharing service, runs the server software and opens the port to publish the control end web page; The technicians enter the corresponding IP address and open port in the browser of the control terminal to access the control terminal web page and perform real-time desktop viewing and command operations of the smart vending machine.
2. The method for controlling the security of a virtual local area network of an intelligent vending machine according to claim 1, characterized in that: The method further comprises: After the smart vending machine turns on the hotspot and successfully establishes a virtual LAN, it automatically sets a preset time. When the preset time arrives, it automatically turns off the hotspot, uninstalls the sharing service, and clears the data cache to ensure system security.
3. The intelligent vending machine virtual local area network security control method according to claim 1, characterized in that: The operator sends a hotspot-enabling command to the smart vending machine through the remote control system. After receiving the command, the smart vending machine verifies the operator's identity and opens the local hotspot after the verification is passed. Specifically, it includes: The operator inputs the unique number of the smart vending machine through the remote control system and sends a hotspot-enabling command to the smart vending machine. After receiving the command, the smart vending machine starts the camera to perform facial recognition verification on the operator, and turns on the local hotspot after the verification is passed.
4. The method for controlling the security of a virtual local area network of an intelligent vending machine according to claim 3, characterized in that: After the smart vending machine turns on the local hotspot, it randomly generates an 8-digit password, which is generated using an encryption algorithm. The technician enters the password to establish a virtual local area network with the smart vending machine.
5. The method for controlling the security of a virtual local area network of an intelligent vending machine according to claim 4, characterized in that: The port range of the virtual local area network is from 5555 to 9999 to avoid the ports used by existing smart vending machine services.
6. The intelligent vending machine virtual local area network security control method according to claim 1, characterized in that: The smart vending machine starts the desktop mirroring transmission service to transmit the desktop image to the control end in real time; at the same time, it starts the sharing service, runs the server software and opens the port to publish the control end web page, including: The smart vending machine starts the desktop mirroring transmission service, equipped with the open source software scrcpy to transmit the desktop screen to the control end in real time, and starts the DLNA sharing service, runs the specified server software, and opens the port to publish the control end web page.
7. A smart vending machine virtual local area network security control system, characterized in that: The system comprises: The verification networking module is used by the operator to send a hotspot-enabling command to the smart vending machine through the remote control system. After receiving the command, the smart vending machine verifies the identity of the operator. After the verification is passed, the local hotspot is enabled and a virtual local area network is established with the technician's control terminal. The port sharing module is used for the smart vending machine to start the desktop mirror transmission service and transmit the desktop image to the control end in real time; at the same time, the sharing service is started, the server software is run, and the port is opened to publish the control end web page; The control operation module is used by technicians to enter the corresponding IP address and open port in the control terminal browser to access the control terminal web page and perform real-time desktop viewing and command operations of the smart vending machine.
8. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.