CN113791854A - Remote assistance device and system - Google Patents

Remote assistance device and system Download PDF

Info

Publication number
CN113791854A
CN113791854A CN202110998890.XA CN202110998890A CN113791854A CN 113791854 A CN113791854 A CN 113791854A CN 202110998890 A CN202110998890 A CN 202110998890A CN 113791854 A CN113791854 A CN 113791854A
Authority
CN
China
Prior art keywords
usb
control terminal
storage device
controlled
switching method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110998890.XA
Other languages
Chinese (zh)
Inventor
张焕强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jinwanwei Technology Co ltd
Original Assignee
Beijing Jinwanwei Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jinwanwei Technology Co ltd filed Critical Beijing Jinwanwei Technology Co ltd
Priority to CN202110998890.XA priority Critical patent/CN113791854A/en
Publication of CN113791854A publication Critical patent/CN113791854A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a USB bus switch which comprises a master control end, a USB bus switch, a control terminal and a controlled system, wherein the USB bus switch comprises a USB storage device hard switching method and a USB storage device software switching method. Compared with the prior art, the invention has the advantages that: when the controlled system is a closed platform of a third party (such as a medical instrument), or the controlled system is a 'bare machine' without any system, the operation and maintenance of the system can be carried out without manual cooperation, and only two modes of a storage device hard switching method and a storage device software switching method are required to be carried out remotely for remote control, so that the time, labor cost and the like of operation and maintenance personnel at the initial stage and the later stage are greatly saved.

Description

Remote assistance device and system
Technical Field
The invention relates to the technical field of remote control of electronic equipment, in particular to a device and a system for remote assistance.
Background
The remote assistance is a function often used in IT operation and maintenance and after-sales service, and service personnel often use tools such as Heli-me bar, QQ remote, VNC, TeamViewer and the like to remotely connect to a computer needing assistance to help a customer solve problems in the computer.
When the control terminal device using the IP KVM performs remote assistance, a very common scenario is to deploy and install a system from scratch on a device or a server, because system installation can only be performed through an external usb disk or an optical drive, at this time, manual assistance needs to be performed at a controlled end, a usb disk written with an ISO image for system installation is inserted into a controlled system, and manual cooperation brings certain inconvenience to operation and maintenance of the system.
Disclosure of Invention
As described above, when a remote system is installed for a controlled system through a control terminal (such as an IP KVM device), manual assistance is required, and a USB storage device with an ISO image is inserted into the controlled system.
In order to solve the technical problems, the technical scheme provided by the invention is as follows: it includes master control end, USB bus switch, control terminal and is controlled the system, USB bus switch include USB storage device hard switching method and USB storage device software switching method, control terminal and be controlled the system between connect and be equipped with USB cable and HDMI cable and carry out data transmission, control terminal and be controlled the system on all connect USB port and the HDMI port that is equipped with cooperation USB cable and HDMI cable, control terminal in the connection be equipped with memory module, CPU module, Flash storage module and USB controller module.
Furthermore, a USB switching chip and a mouse and keyboard simulation module are additionally arranged in a control terminal in the USB storage device hard switching method, the control terminal is connected with a USB interface matched with the USB switching chip, and the USB interface is used for being connected with an external USB flash disk.
Further, the control terminal in the USB storage device software switching method runs an embedded Linux system, and the Linux system sequentially includes, from bottom to top, a UDC hardware, a UDC driver layer, a Gadget device composite layer, a Gadget function driver layer, and a USB Gadget ConfigFS.
The basic idea is as follows: the switchable USB bus switch is added in the control terminal, then the main control terminal can remotely switch a USB storage device to be connected to the control terminal and the controlled system, when the USB flash disk is switched to the control terminal, writing of an ISO mirror image can be remotely carried out from the main control terminal to manufacture a starting USB flash disk, and when the USB flash disk is switched to the controlled system, the controlled system can be started from the USB flash disk to carry out system installation.
(1) The hard switching method of the USB storage equipment comprises the following steps: under the condition that the USB controller only supports a Host mode, the USB controller can be controlled in multiple modes, firstly, the connection relation of a certain USB interface in the control terminal is set through a USB switching chip, secondly, the USB switching chip is connected to the USB controller of the control terminal so as to be accessed into the control terminal, thirdly, the USB switching chip is connected to the other external USB port of the control terminal, the USB port is connected to a controlled system through a USB cable, a USB storage device inserted into the USB interface is connected to the controlled system, the switching of the USB switching chip is controlled by using a GPIO pin of a main control chip, when an ISO mirror image needs to be written into a USB disk, the USB interface is connected to the control terminal, and when a controlled system needs to be started through the USB disk, the USB interface is switched to the USB port.
(2) The software switching method of the USB storage equipment comprises the following steps: the USB Controller of the main control SoC chip in the control terminal comprises a USB Device Controller or an OTG Controller, so that a USB storage Device software switching method can be adopted, a USB port is set to be in a Device mode to respectively simulate the USB storage Device and a USB mouse keyboard to be connected to a controlled system, when a USB disk is simulated through the USB port, two modes are provided, wherein the first mode is that a file in a Flash storage module in the control terminal is directly used as the storage of the USB disk, and the second mode is that a block storage Device connected to the control terminal is directly used, so that remote control is carried out.
After the device and the method are adopted, the invention has the following advantages: when the controlled system is a closed platform of a third party (such as a medical instrument), or the controlled system is a 'bare machine' without any system, the operation and maintenance of the system can be carried out without manual cooperation, and only two modes of a storage device hard switching method and a storage device software switching method are required to be carried out remotely for remote control, so that the time, labor cost and the like of operation and maintenance personnel at the initial stage and the later stage are greatly saved.
Drawings
Fig. 1 is a schematic diagram of a conventional remote assistance structure of a remote assistance apparatus and system according to the present invention.
Fig. 2 is a schematic diagram of a remote configuration of a closed system via a control terminal of a remote-assisted apparatus and system of the present invention.
FIG. 3 is a schematic block diagram of a system for remotely assisted devices and systems in accordance with the present invention.
Fig. 4 is a schematic structural diagram of a remote interface of a master control end of a remote assistance device and system according to the present invention.
FIG. 5 is a schematic diagram of a remote system installation process of a remote assisted device and system of the present invention.
FIG. 6 is a block diagram of a USB storage device hard switching method of the apparatus and system for remote assistance according to the present invention.
FIG. 7 is a block diagram of a USB storage device software switching scheme of the apparatus and system for remote assistance according to the present invention.
Fig. 8 is a schematic diagram of the Linux Gadget driver architecture of a remote-assisted device and system of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The prior problems are that: as shown in fig. 1, both the master control end 101 and the controlled system 102 need to install remote assistance software, and then a service person performs problem diagnosis and solution on the controlled system through cooperation of the remote assistance client software in the controlled system from the master control end, when the controlled system is a third-party closed platform (such as a medical instrument) or the controlled system is a "bare machine" without any system, because no remote assistance software is matched, the master control end cannot directly initiate remote assistance on the controlled system, in this case, the remote assistance can be performed through cooperation of a dedicated hardware device (such as the control terminal 201 in fig. 2) with the remote assistance software installed, at this time, display output (such as HDMI output/VGA output and the like) of the controlled system is output to the control terminal 201, and the control terminal 201 is connected to the controlled system through a USB bus, to simulate a mouse keyboard device. The IP KVM that is commonly used in the operation and maintenance of the data center is a remote assistance device like this mode.
The basic idea of the present invention is as shown in fig. 3, a switchable USB bus switch 301 (specifically, the switch may be a hardware switch or a software switch) is added in the control terminal, then the main control terminal can remotely switch whether a USB storage device (typically a USB disk) is connected to the control terminal or a controlled system, when the USB disk is switched to the control terminal, ISO image writing can be remotely performed from the main control terminal to create a boot USB disk, and when the USB disk is switched to the controlled system, the controlled system can be booted from the USB disk to perform system installation.
In physical layout, the switch belongs to a part of the control terminal, and it should be noted that the specific USB storage Device may be a physical storage Device connected to a physical bus, such as a USB disk, an SD card, an external hard disk, or a Flash storage analog USB disk inside the control terminal, and then a USB storage Device is simulated through a USB interface control chip supporting a Device or OTG mode.
As shown in a menu 401 in fig. 4, a service person may remotely switch a connection relationship of the USB storage device at the master control end, or connect the USB storage device to the control terminal, or connect the USB storage device to a controlled system, when the USB disk is connected to the control terminal, the service person may remotely write an ISO image through remote assistance software to create a boot USB disk, and then switch the created boot USB disk to the controlled system to boot and install the system, where the controlled system may be an empty system and deploy and install from the beginning.
As shown in fig. 5, a flow of remotely installing a system is to connect a usb disk to a control terminal 501, write an ISO image 502 for making a system for a controlled system into the usb disk, connect the usb disk to the controlled system 503, set a BIOS or other start-up settings of the controlled system, start the controlled system from the usb disk, and perform deployment and installation 504 of the system.
The specific device, scheme and system are as follows:
it includes USB memory device hard switching method and USB memory device software switching method
(1) Hard switching method for USB storage device
As shown in fig. 6, if the USB controller used only supports the Host mode, the connection relationship of a certain USB interface 601 in the control terminal can be set through a USB switch chip, such as 2-to-1 HD3SS6126 of TI; or it is connected to the USB controller 602 of the control terminal, thereby accessing to the control terminal; or connect it to another external USB port 603 of the control terminal, and the USB port 603 links the USB memory device inserted in the USB interface 601 to the controlled system 605 through the USB cable, the switching of the USB switch chip can be controlled by using the GPIO pin of the main control chip, when needing to write the ISO mirror image to the U disk, the USB interface 601 in the figure can be connected to the control terminal first; when the controlled system needs to be started through the USB flash disk, the USB interface 601 can be switched to the USB port 603.
The STM32 single chip microcomputer or the special chip 604 such as the UI012 can be used for simulating a mouse and a keyboard to the mouse and keyboard peripheral of the controlled system.
When the software is implemented, a kernel module can be written to implement a character device, and the application layer calls and accesses the character device through ioctl, so that the output of GPIO signals is controlled, and the switching of the USB bus is implemented.
(2) Software switching method for USB storage device
If the USB Controller of the main control SoC chip in the control terminal includes a USB Device Controller or an OTG Controller, the scheme shown in fig. 7 may be adopted, and the USB interface 701 and the USB interface 702 are set to a Device mode to respectively simulate a USB storage Device and a USB mouse keyboard to connect to the controlled system 704, and when a USB disk is simulated through the USB interface 701, a file in the Flash 703 in the control terminal may be directly used as storage of the USB disk, or a block storage Device connected to the control terminal, such as an SD card/a USB disk, may also be directly used.
Generally, an embedded Linux system can be run in a control terminal, a driving system of a Device mode USB interface in the Linux system is called a Linux Gadget driver, an overall architecture of the Linux Gadget driver is shown in fig. 8, a lowest layer is a UDC (USB Device controller) chip, a system bottom layer corresponds to a UDC (USB Device controller) driver, and a system kernel is provided with a composite Device driving module and a kernel driver for specifically implementing various types of USB function drivers on the basis of an API provided by the UDC driver. And the creation of the USB device and the configuration of the specific USB device to be simulated are carried out through the Gadget ConfigFS on the top.
(1) Compiling a Linux kernel to support the USB Gadget Driver and devices below the USB Gadget Driver, such as Composite, Mass Storage, HID and the like.
(2) Automatically loading relevant kernel modules during starting:
insmod libcomposite.ko
insmod usb_f_mass_storage.ko
insmod g_mass_storage.ko file=<Backing Filename>stall=0removable=1
here < Backing Filename > is a file to be stored in the usb disk, or a device file path of a real storage device, such as an SD card.
(3) And (4) creating a keyboard mouse and a USB flash disk device by program configuration configfs.
(4) The operation menu (401 in fig. 4 above) and USB device of the remote program are associated with the binding/unbinding of the underlying UDC.
The present invention and its embodiments have been described above, but the description is not limitative, and the actual structure is not limited thereto. In summary, those skilled in the art should, without departing from the spirit of the present invention, devise similar structural modes and embodiments without inventively designing them, and shall fall within the scope of the present invention.

Claims (4)

1. A remote-assisted apparatus, characterized by: it includes master control end, USB bus switch, control terminal and is controlled the system, USB bus switch include USB storage device hard switching method and USB storage device software switching method, control terminal and be controlled the system between connect and be equipped with USB cable and HDMI cable and carry out data transmission, control terminal and be controlled the system on all connect USB port and the HDMI port that is equipped with cooperation USB cable and HDMI cable, control terminal in the connection be equipped with memory module, CPU module, Flash storage module and USB controller module.
2. A remote assistance apparatus according to claim 1, wherein: the USB storage device hard switching method is characterized in that a USB switching chip and a mouse and keyboard simulation module are additionally arranged in a control terminal in the USB storage device hard switching method, the control terminal is connected with a USB interface matched with the USB switching chip, and the USB interface is used for being connected with an external USB flash disk.
3. A remote assistance apparatus according to claim 1, wherein: the control terminal in the USB storage device software switching method runs an embedded Linux system, and the Linux system sequentially comprises a UDC hardware, a UDC driving layer, a Gadget device composite layer, a Gadget function driving layer and a USB Gadget ConfigFS from bottom to top.
4. A system of remote assisted devices according to any of claims 1-2, characterized by:
the basic idea is as follows: the switchable USB bus switch is added in the control terminal, then the main control terminal can remotely switch a USB storage device to be connected to the control terminal and the controlled system, when the USB flash disk is switched to the control terminal, writing of an ISO mirror image can be remotely carried out from the main control terminal to manufacture a starting USB flash disk, and when the USB flash disk is switched to the controlled system, the controlled system can be started from the USB flash disk to carry out system installation.
(1) The hard switching method of the USB storage equipment comprises the following steps: under the condition that the USB controller only supports a Host mode, the USB controller can be controlled in multiple modes, firstly, the connection relation of a certain USB interface in the control terminal is set through a USB switching chip, secondly, the USB switching chip is connected to the USB controller of the control terminal so as to be accessed into the control terminal, thirdly, the USB switching chip is connected to the other external USB port of the control terminal, the USB port is connected to a controlled system through a USB cable, a USB storage device inserted into the USB interface is connected to the controlled system, the switching of the USB switching chip is controlled by using a GPIO pin of a main control chip, when an ISO mirror image needs to be written into a USB disk, the USB interface is connected to the control terminal, and when a controlled system needs to be started through the USB disk, the USB interface is switched to the USB port.
(2) The software switching method of the USB storage equipment comprises the following steps: the USB Controller of the main control SoC chip in the control terminal comprises a USB Device Controller or an OTG Controller, so that a USB storage Device software switching method can be adopted, a USB port is set to be in a Device mode to respectively simulate the USB storage Device and a USB mouse keyboard to be connected to a controlled system, when a USB disk is simulated through the USB port, two modes are provided, wherein the first mode is that a file in a Flash storage module in the control terminal is directly used as the storage of the USB disk, and the second mode is that a block storage Device connected to the control terminal is directly used, so that remote control is carried out.
CN202110998890.XA 2021-08-28 2021-08-28 Remote assistance device and system Pending CN113791854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110998890.XA CN113791854A (en) 2021-08-28 2021-08-28 Remote assistance device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110998890.XA CN113791854A (en) 2021-08-28 2021-08-28 Remote assistance device and system

Publications (1)

Publication Number Publication Date
CN113791854A true CN113791854A (en) 2021-12-14

Family

ID=79182336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110998890.XA Pending CN113791854A (en) 2021-08-28 2021-08-28 Remote assistance device and system

Country Status (1)

Country Link
CN (1) CN113791854A (en)

Similar Documents

Publication Publication Date Title
US7313685B2 (en) Unattended BIOS recovery
CN1026625C (en) Method for reconfiguration of computer, device and system
US6795912B1 (en) Method for controlling computer, computer, and storage medium
CN103365696B (en) BIOS image file acquisition methods and device
US20080077711A1 (en) System ROM with an embedded disk image
CN102446154B (en) Server system and method for sharing baseboard management controller
US6785807B1 (en) Method and system for providing bootcode support in a data processing system that uses a communications port that utilizes a first communications protocol, an external device that utilizes a second communications protocol, and a device driver that is loaded in response to booting to communicate with the external device through the communications port
US20070168905A1 (en) Networked linux machine and windows software development system
CN115658160B (en) Multi-operating system upgrading method, device and system based on multi-core heterogeneous SOC
US20180246840A1 (en) Intelligent Certificate Discovery in Physical and Virtualized Networks
WO2012138046A1 (en) Terminal device and method for executing an android application on a general-purpose operating system, and computer-readable recording medium for same
CN107315607B (en) Drive self-adaptation loading system
CN108062234B (en) System and method for realizing server host to access BMC FLASH through mailbox protocol
CN107111568A (en) System and method for driver installation file to be presented when enabling USB equipment
CN101667133B (en) Method for updating firmware and chip updating firmware by using same
CN113450865B (en) Memory test system and test method thereof
CN113791854A (en) Remote assistance device and system
CN108768785B (en) Method and device for building intelligent network card test environment
CN109117108B (en) Display configuration method and system
CN116627472A (en) Firmware program upgrading method and server of high-speed peripheral component equipment
CN109062526B (en) Display configuration method and system suitable for UEFI
CN116112412A (en) Virtual network card binding redundancy function test method, system, device and medium
US9367399B2 (en) Graphics processing subsystem and method for recovering a video basic input/output system
CN103777955B (en) Method and device for installing and operating Unix-like in Windows environment
CN105068835B (en) Mobile terminal and debugging information display method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination