Interaction system and method of VAX industrial personal computer system and USB device
By identifying and converting USB signals, compatibility and stability between USB devices and VAX systems are achieved, and difficulties in VAX system peripheral maintenance are solved, ensuring the normal operation of the lithography machine and supporting a variety of USB devices.
Patent Information
- Application Number
- CN202411555143.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-01-10
AI Technical Summary
The related auxiliary peripherals of the VAX system are gradually discontinued, resulting in difficulty in repairing and troubleshooting and high cost. The peripheral protocol supported by the VAX industrial control computer system is special, making it difficult to realize USB drive, affecting the normal operation of the lithography machine.
By detecting whether the USB interface is connected to the USB device, identifying and extracting the data content in the USB signal, performing data format conversion, using the VSXXX-AA circuit to realize data transmission of the VAX system, designing the driver board for signal analysis and conversion, ensuring that the USB device and Compatibility and stability of VAX systems.
It realizes data transmission and protocol conversion between USB devices and VAX systems, solves the problems of maintenance and troubleshooting difficulties, ensures the normal operation of the lithography machine, improves the stability and development efficiency of the system, and supports different types of USB device access.
Smart Images

Figure CN119292156A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an interactive system and method between a VAX industrial computer system and a USB device, and belongs to the technical field of computers. Background Art
[0002] With the development of industrial automation and digitalization, more and more USB devices are used in various industrial control systems. As a traditional industrial control computer, the VAX system has been widely used. For example, in Nikon's NSR series projection lithography machine, the main control computer uses a VAX model.
[0003] Although the VAX system is powerful, the related auxiliary peripherals of the VAX model have been gradually discontinued, making maintenance and troubleshooting difficult and costly. It is difficult to find ordinary peripherals to replace them. In addition, the peripheral protocol supported by the VAX industrial control computer system is a special protocol. It is difficult to add a USB driver to the VAX industrial control computer system, which affects the normal operation of the lithography machine. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide an interactive system and method for a VAX industrial computer system and a USB device, thereby achieving effective conversion between the USB protocol and the VAX system protocol and ensuring the compatibility of the lithography machine with the USB device and the stability of its operation.
[0005] To achieve the above object, the present invention is implemented by adopting the following technical solutions:
[0006] In a first aspect, the present invention provides an interaction method between a VAX industrial computer system and a USB device, comprising:
[0007] Detect whether the USB interface is connected to a USB device;
[0008] In response to the USB interface being connected to a USB device, receiving a USB signal transmitted by the USB device;
[0009] After identifying the type of the USB signal, extract the data content in the USB signal;
[0010] Based on the extracted data content, convert it into the data format required by the VAX system;
[0011] The converted data is packaged and sent to the VAX system through the VAX communication interface.
[0012] Furthermore, the USB signal is transmitted in the form of a data packet, and the data packet includes a movement signal and a key signal, the movement signal includes the movement distance and direction of the mouse on the plane, and the key signal includes the status of the mouse button.
[0013] Furthermore, the type of USB signal is identified, including:
[0014] Receive a device descriptor sent to the driver board when the USB device is connected, the device descriptor including the device type, manufacturer ID, product ID and class code;
[0015] Read the device descriptor to enumerate the device data and obtain the device configuration information and interface descriptor;
[0016] Identify USB devices based on configuration information and interface descriptors and interact with them.
[0017] Furthermore, the extracted data content includes USB reports. After the driver maps the format of the USB report to the format of the VAX report, the converted data is packaged and sent to the VAX system through the VSXXX-AA circuit.
[0018] Furthermore, after sending data to the VAX system, the driver board receives a feedback signal from the VAX system. In response to receiving a data loss or format mismatch signal, the driver board executes an error handling mechanism to resend data or adjust the processing flow.
[0019] Furthermore, the driver board is provided with a debugging interface for centralized debugging, and the operation mode of the centralized debugging includes:
[0020] Initialize the serial port in the firmware and set the baud rate, data bit, stop bit and parity bit parameters;
[0021] Add serial port output instructions at key locations in the code to send debugging information to the serial port;
[0022] The output information includes timestamp, function name, variable value, and error code;
[0023] By setting specific compilation options or switches, detailed information can be output only in debug mode, including device information, error information, variable status / values of key variables, timestamps, and function calls.
[0024] Furthermore, both the hardware and software of the driver board adopt modular design.
[0025] In a second aspect, the present invention provides an interactive system between a VAX industrial computer system and a USB device, comprising:
[0026] Interface detection module: detects whether the USB interface is connected to a USB device;
[0027] Signal receiving module: in response to the USB interface being connected to a USB device, receiving a USB signal transmitted by the USB device;
[0028] Data extraction module: after identifying the type of USB signal, extract the data content in the USB signal;
[0029] Data conversion module: based on the extracted data content, convert it into the data format required by the VAX system;
[0030] Data output module: packages the converted data and sends it to the VAX system through the VAX communication interface.
[0031] In a third aspect, the present invention provides an interactive device between a VAX industrial computer system and a USB device, including a processor and a storage medium;
[0032] The storage medium is used to store instructions;
[0033] The processor is used to operate according to the instructions to execute the steps of any of the methods described above.
[0034] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when executed by a processor.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] 1. The present invention converts the data format that the VAX system cannot recognize into the data format that the VAX system can recognize by performing a series of operations such as recognizing, extracting, converting and sending the signal of the USB device, thereby realizing the data transmission and protocol conversion between the USB device and the VAX industrial control computer system, ensuring that the USB device can replace the VAX system peripherals, solving the problem that the maintenance and troubleshooting of the VAX system peripherals become difficult and costly, and ensuring the normal operation of the lithography machine;
[0037] Second, this solution develops a unique signal analysis and conversion method to ensure that the USB signal can be accurately mapped to the data format required by the VAX system. At the same time, this solution uses a special communication circuit (such as VSXXX-AA) to achieve efficient and stable data transmission with the VAX system to ensure real-time performance;
[0038] Third, this solution provides a debugging interface to facilitate developers to debug and test the system, thereby improving development efficiency and product reliability. In addition, the driver board design takes into account the compatibility of multiple USB devices and can support the access of different types of USB devices. Finally, the implementation of the solution does not require any modification to the existing VAX system, ensuring the integrity and stability of the original system. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0040] Figure 1 A schematic diagram of the DEC architecture of the interaction method between the VAX industrial computer system and the USB device provided in the first embodiment of the present invention;
[0041] Figure 2 A schematic diagram of the driver board architecture of the interaction method between the VAX industrial computer system and the USB device provided in the first embodiment of the present invention;
[0042] Figure 3 A schematic diagram of VSXXX-AA pin definitions for the method for interacting between a VAX industrial computer system and a USB device provided in the first embodiment of the present invention;
[0043] Figure 4 A PCB diagram of a driver board for the interactive method between a VAX industrial computer system and a USB device provided in the first embodiment of the present invention;
[0044] Figure 5 A driver board software flow chart of the interaction method between a VAX industrial computer system and a USB device provided in the first embodiment of the present invention;
[0045] Figure 6 This is a component connection relationship diagram of the interaction method between the VAX industrial computer system and the USB device provided in the first embodiment of the present invention. DETAILED DESCRIPTION
[0046] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.
[0047] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.
[0048] Embodiment 1:
[0049] With the development of industrial automation and digitalization, more and more USB devices are used in various industrial control systems. As a traditional industrial control computer, although the VAX system is powerful, it has certain limitations when interacting with modern USB devices.
[0050] See also Figure 1-2This embodiment designs an interaction method between a VAX industrial computer system and a USB device. This method is executed through a driver board to bridge the USB protocol with a specific protocol in the VAX industrial control computer system, so that Nikon NSR's i12 and i11 series lithography machines can recognize and interact with USB devices. This solution will not rely on adding USB drivers, ensuring the efficiency and compatibility of the system. This embodiment, by developing a dedicated driver board, can achieve the recognition and interaction of USB devices without changing the original protocol of the VAX system, which is the core idea of the project of the present invention.
[0051] This method involves a DEC system and a driver board. The DEC system, as the core of the VAX industrial control computer, is responsible for executing control instructions and data processing; the driver board contains a single-chip microcomputer and related circuits, which are responsible for receiving, converting and sending data. The driver board mainly includes a single-chip microcomputer minimum system, a VSXXX-AA communication circuit, a debugging interface and a power management circuit. The single-chip microcomputer minimum system provides basic processing capabilities and interface functions, and is responsible for signal reception and conversion; the VSXXX-AA communication circuit realizes efficient communication with the DEC system and ensures the stability of data transmission; the debugging interface facilitates developers to debug and test, and improves development efficiency; the power management circuit includes a 5V to 3.3V conversion circuit, which provides a stable power supply for each part.
[0052] See also Figure 4 In this solution, the driver board uses electronic design automation (EDA) tools to design the circuit schematic, and then converts the circuit schematic into a PCB design, and then manufactures and assembles it. After the hardware assembly is completed, a functional test is performed to verify the working status of each module. In terms of hardware, the driver board consists of a microcontroller (MCU), a USB interface, a VAX communication interface, a power supply circuit, and a signal conversion circuit. The microcontroller uses a model suitable for the USB protocol stack, such as the STM32 series, which can support the USB Host mode. The USB interface (such as USB Type-A) connects to external USB devices. The VAX interface can use RS-232 or parallel port, designed according to the specific requirements of the VAX system.
[0053] The software part of the driver board uses IAR compiler software and uses C language for program writing and debugging. This tool can achieve efficient code writing and debugging processes. The software functions of the driver board include the following:
[0054] USB device identification: The driver board needs to be able to accurately identify the connected USB device for subsequent report parsing. The driver board usually integrates a USB protocol stack, which is responsible for communicating with the USB device and parsing its data. When a USB device is connected, it sends a device descriptor to the host. This descriptor contains basic information about the device, such as device type, manufacturer ID, product ID, class code, etc. The driver board identifies the device by reading these descriptors. The driver board performs an enumeration process when identifying the device, which includes obtaining the device's configuration information, interface descriptors, etc. Based on this information, the driver board can decide how to interact with the device. For specific types of USB devices, the driver board may load the corresponding driver to achieve device control and data processing. The driver board usually also implements an error handling mechanism to ensure that the connection can be re-identified and restored in the event of an unstable connection or data transmission error. Some driver boards may use specific hardware circuits (such as USB controller chips) to enhance the recognition ability of USB devices and the stability of data transmission. Through the above mechanisms, the driver board can accurately identify the connected USB device and handle it accordingly according to the device type and requirements.
[0055] USB report parsing: The driver board receives and parses the reports sent by the USB device and maps them to the control signals of VSXXX-AA.
[0056]
[0057]
[0058] Table 1 USB report format
[0059]
[0060]
[0061] Table 2 VAX report format
[0062] Data mapping and conversion: Ensure that each signal input from the USB can be correctly converted into a format recognizable by the VAX system to ensure the effectiveness of data interaction.
[0063] The software development process of the driver board includes: clarifying the functions and interface specifications that the driver board needs to implement, writing the USB protocol stack, parsing the data format of the USB device, and converting it into a format that the VAX system can recognize. Implementing the VAX protocol adaptation layer to ensure seamless data transmission between the USB and VAX systems. Dividing the program into multiple modules to implement USB identification, report parsing, and data mapping functions respectively; unit testing each module to ensure the independence and reliability of the function; and integrating each module to verify the function and performance of the entire system.
[0064] It should be noted that after the PCB design is completed, the circuit is assembled and tested to ensure that all components work properly, and the power management circuit is stable to avoid system failures caused by unstable voltage. In addition, the driver board writes the driver according to the functional requirements to complete the identification and data analysis of the USB device. The program is debugged, the algorithm and data processing flow are optimized, and the response speed and stability of the system are improved.
[0065] During the test, the system integration test is first performed: the driver board is connected to the VAX system and the lithography machine, and a comprehensive functional test is performed. Then the performance verification is performed: the accuracy and real-time performance of the data transmission are tested to ensure that the system can work normally in actual applications. This embodiment integrates the debugging function in the firmware, outputs debugging information through the serial port, and facilitates developers to troubleshoot problems, which can significantly improve the efficiency of development and troubleshooting, including:
[0066] The centralized debugging function works by initializing the serial port in the firmware and setting parameters such as baud rate, data bits, stop bits, and parity bits to ensure normal communication between the host and the device. Add serial port output instructions at key locations in the code (such as initialization, state changes, error handling, etc.) to send debugging information to the serial port for developers to view. The output information usually includes timestamps, function names, variable values, error codes, etc., to facilitate quick problem location. You can set specific compilation options or switches to output more detailed information in debug mode, and these outputs can be disabled in production mode to save resources.
[0067] Debug information may include but is not limited to the following: device information (current running status, version information, hardware configuration, etc.), error information (error code, error description, location of occurrence, etc.), variable status / values of key variables (such as sensor readings, whether a button is pressed, etc.), timestamp (the time when the event occurs, to help developers analyze the chronological order of problem occurrence), function calls (entry and exit information of important functions, to facilitate tracking of execution flow).
[0068] The troubleshooting process for developers includes: using serial port debugging tools (such as Serial Port Assistant) to monitor and record debugging information in real time; analyzing system status and variable values based on the output information to find abnormalities or unexpected places; observing changes in debugging information by simulating or reproducing specific scenarios to further confirm the problem; gradually commenting or modifying the code to view changes in debugging information and gradually narrowing the scope of the problem; once the problem is found and fixed, re-verify the effectiveness of the fix and check whether new problems have been introduced.
[0069] The driver board developed by this technical solution realizes the effective conversion between USB protocol and VAX system protocol, ensuring the compatibility of the lithography machine with USB devices and the stability of operation. Through reasonable hardware design and software development, the system is not only efficient and reliable, but also lays a good foundation for possible future upgrades and expansions.
[0070] The driver board developed by this technical solution can completely replace DEC's VSXXX-AA mouse peripheral and has the following advantages:
[0071] 1. Fast positioning: The driver board integrates high-performance sensors and fast signal processing units, which can obtain device movement data in real time. Compared with DEC's VSXXX-AA, the positioning speed is increased by about 400%, which significantly reduces the user's delay during operation and improves the user experience.
[0072] 2. Good stability: The driver board design uses multi-layer circuit boards and high-quality components to enhance anti-interference capabilities and ensure stable operation in various environments. This design effectively reduces false operations caused by electromagnetic interference, allowing the device to perform well in complex usage environments.
[0073] 3. Small and light: By optimizing the circuit layout and using miniaturized components, the overall size and weight of the driver board are significantly reduced, making the device more portable and meeting users' needs for portability.
[0074] 4. High precision and low cost: The driver board is equipped with a high-resolution optical sensor, which provides higher tracking accuracy. Compared with the cost of maintenance, it is almost one-third, ensuring the competitiveness and cost-effectiveness of the product in the market.
[0075] 5. The product is controllable and replacement is more convenient: the driver board supports flexible firmware updates and configurations, and users can quickly adjust functions according to their needs. At the same time, the compatibility design allows direct replacement of existing peripherals, simplifying the user's upgrade process.
[0076] 6. Doubled service life and simpler maintenance: Advanced welding technology and high-quality microcontrollers and sensors increase the durability of the driver board by more than 50%, significantly extending its service life. In addition, the modular design allows users to easily replace faulty parts, reducing maintenance costs and complexity.
[0077] The original mechanical sensor has a resolution of 200 dots per inch, and now the photoelectric sensor has a resolution of 1,000 dots per inch, which means that the resolution has increased by 5 times, which means that at the same moving distance, the device can capture more details and provide more precise control and response. Therefore, the improvement in speed and accuracy is significant.
[0078] This design can be used not only on Nikon NSR's i12 and i11 series main control machines, but also on peripherals of the protocol-adaptive VAX industrial control computer system, and it has strong scalability.
[0079] See also Figure 5 The interaction method between the VAX industrial computer system and the USB device in this embodiment specifically includes:
[0080] 1. The user connects the USB device to the USB interface of the driver board. The USB device (mouse) sends a signal to the driver board. The driver board transmits data packets through the USB interface. These data signals contain various input information of the mouse, such as:
[0081] 1. Movement signal: the distance and direction of the mouse movement on the plane (coordinate changes of the X-axis and Y-axis).
[0082] 2. Key signal: the state of the mouse button (pressed or released), usually including the state of the left, right and middle buttons.
[0083] These signals are encapsulated and transmitted through the USB protocol, and the driver board receives and analyzes them, thereby realizing the function of the mouse. USB signals are usually digital signals and are transmitted in the form of data packets.
[0084] Second, the driver board receives the USB signal through the microcontroller and converts it into the format required by the VAX system, which usually involves the following steps:
[0085] 1. USB signal reception
[0086] Hardware interface: The driver board is equipped with a USB interface, and the microcontroller establishes communication with the mouse through the USB controller.
[0087] Data transmission: When the mouse sends signals, these signals are transmitted to the microcontroller through the USB interface in the form of USB data packets.
[0088] 2. Packet analysis
[0089] USB protocol stack: The USB protocol stack is implemented in the microcontroller to process received data packets. This includes:
[0090] Identify data packet type: USB data packets have different types (such as control, data, status, etc.), and the microcontroller first identifies the type of data packet.
[0091] Extract data content: According to the USB protocol, extract the mouse displacement, button status and other information.
[0092] 3. Data conversion
[0093] Format conversion: Convert the extracted information to the data format required by the VAX system. This may include:
[0094] Coordinate system conversion: If the VAX system uses a different coordinate system or unit, the microcontroller needs to convert the mouse movement data into the format required by the VAX.
[0095] Data packaging: Repack the parsed data into a format that the VAX system can understand.
[0096] 4. Send data to VAX system
[0097] Interface protocol: The microcontroller sends the converted data to the VAX system through the corresponding interface (such as serial port, parallel port or other communication protocol).
[0098] Data transmission: Sending data packets and ensuring that the receiving end can correctly receive and decode the data according to the specific protocol of the interface.
[0099] 5. Confirmation and feedback
[0100] Acknowledgement mechanism: The microcontroller may wait for an acknowledgment signal from the VAX system to ensure that the data has been successfully received.
[0101] Error handling: If an error occurs (such as data loss or format mismatch), the microcontroller needs to implement an error handling mechanism to resend the data or adjust the processing flow.
[0102] This process involves hardware reception, protocol parsing, data format conversion and final communication implementation. Through these steps, the driver board can effectively convert the input of the USB mouse into the information required by the VAX system, so that the system can correctly respond to the user's operations. The transmission rate can be set to 1.5Mbps (low-speed USB) or 12Mbps (full-speed USB), depending on the type of USB device connected. Baud rate: The adjustable range is 1200 to 115200bps, and the user can choose according to needs. Data bit: supports 8-bit data. Stop bit: 1 bit or 2 bits can be selected. In this embodiment, the report format is serial asynchronous (8 data bits, 1 stop bit, no check), and the report consists of 3 bytes, indicating the button status and relative displacement.
[0103] 3. The driver board sends the converted data to the DEC system through the VSXXX-AA circuit. Please refer to Figure 3 and Figure 6 , the selection of VSXXX-AA circuit is mainly based on the following considerations:
[0104] Interface requirements: The interface used by the VSXXX-AA circuit is a very special 7-pin interface, which is different from the common 6-pin PS / 2 interface and the normal USB interface;
[0105] Compatibility: The circuit may be highly compatible with the interface standard or voltage level of the DEC system, and using other circuits may cause incompatibility issues;
[0106] Stability and reliability: VSXXX-AA circuits have been proven in similar applications and may be preferred to ensure system stability.
[0107] This solution can realize data transmission and protocol conversion between USB devices and VAX industrial control computer systems. In addition, the hardware and software of the driver board adopt modular design, which is convenient for subsequent upgrades and maintenance, while enhancing the flexibility and scalability of the system. In addition, this solution develops a unique signal analysis and conversion method to ensure that the USB signal can be accurately mapped to the data format required by the VAX system. At the same time, this solution uses a special communication circuit (such as VSXXX-AA) to achieve efficient and stable data transmission with the VAX system to ensure real-time performance. Moreover, this solution provides a debugging interface to facilitate developers to debug and test the system, thereby improving development efficiency and product reliability. In addition, the driver board design takes into account the compatibility of multiple USB devices and can support the access of different types of USB devices. Finally, the implementation of the solution does not require any modification to the existing VAX system, ensuring the integrity and stability of the original system.
[0108] Embodiment 2:
[0109] The interactive system of the VAX industrial computer system and the USB device can realize the interactive method of the VAX industrial computer system and the USB device described in the first embodiment, including:
[0110] Interface detection module: detects whether the USB interface is connected to a USB device;
[0111] Signal receiving module: in response to the USB interface being connected to a USB device, receiving a USB signal transmitted by the USB device;
[0112] Data extraction module: after identifying the type of USB signal, extract the data content in the USB signal;
[0113] Data conversion module: based on the extracted data content, convert it into the data format required by the VAX system;
[0114] Data output module: packages the converted data and sends it to the VAX system through the VAX communication interface.
[0115] Embodiment three:
[0116] The embodiment of the present invention also provides an interactive device between a VAX industrial computer system and a USB device, which can implement the interactive method between a VAX industrial computer system and a USB device described in the first embodiment, including a processor and a storage medium;
[0117] The storage medium is used to store instructions;
[0118] The processor is used to operate according to the instructions to perform the steps of the following method:
[0119] Detect whether the USB interface is connected to a USB device;
[0120] In response to the USB interface being connected to a USB device, receiving a USB signal transmitted by the USB device;
[0121] After identifying the type of the USB signal, extract the data content in the USB signal;
[0122] Based on the extracted data content, convert it into the data format required by the VAX system;
[0123] The converted data is packaged and sent to the VAX system through the VAX communication interface.
[0124] Embodiment 4:
[0125] The embodiment of the present invention further provides a computer-readable storage medium, which can implement the interaction method between the VAX industrial computer system and the USB device described in the first embodiment, and stores a computer program thereon, which implements the steps of the following method when the program is executed by a processor:
[0126] Detect whether the USB interface is connected to a USB device;
[0127] In response to the USB interface being connected to a USB device, receiving a USB signal transmitted by the USB device;
[0128] After identifying the type of the USB signal, extract the data content in the USB signal;
[0129] Based on the extracted data content, convert it into the data format required by the VAX system;
[0130] The converted data is packaged and sent to the VAX system through the VAX communication interface.
[0131] It is known from common technical knowledge that the present invention can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments are only illustrative in all respects and are not exclusive. All changes within the scope of the present invention or within the scope equivalent to the present invention are included in the present invention.
[0132] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0133] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0134] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. The interaction method between the VAX industrial computer system and the USB device is characterized by: Executed by the driver board, including: Detect whether the USB interface is connected to a USB device; In response to the USB interface being connected to a USB device, receiving a USB signal transmitted by the USB device; After identifying the type of the USB signal, extract the data content in the USB signal; Based on the extracted data content, convert it into the data format required by the VAX system; The converted data is packaged and sent to the VAX system through the VAX communication interface.
2. The method for interacting between a VAX industrial computer system and a USB device according to claim 1, characterized in that: The USB signal is transmitted in the form of a data packet, and the data packet includes a movement signal and a key signal. The movement signal includes the movement distance and direction of the mouse on the plane, and the key signal includes the state of the mouse button.
3. The method for interaction between a VAX industrial computer system and a USB device according to claim 1, characterized in that: Identify the type of USB signal, including: Receive a device descriptor sent to the driver board when the USB device is connected, the device descriptor including the device type, manufacturer ID, product ID and class code; Read the device descriptor to enumerate the device data and obtain the device configuration information and interface descriptor; Identify USB devices based on configuration information and interface descriptors and interact with them.
4. The method for interaction between a VAX industrial computer system and a USB device according to claim 1, characterized in that: The extracted data content includes USB reports. After the driver maps the format of the USB report to the format of the VAX report, the converted data is packaged and sent to the VAX system through the VSXXX-AA circuit.
5. The method for interaction between a VAX industrial computer system and a USB device according to claim 1, characterized in that: After sending data to the VAX system, the driver board receives a feedback signal from the VAX system. In response to receiving a data loss or format mismatch signal, the driver board executes an error handling mechanism to resend data or adjust the processing flow.
6. The method for interaction between a VAX industrial computer system and a USB device according to claim 1, characterized in that: The driver board is provided with a debugging interface for centralized debugging, and the operation mode of the centralized debugging includes: Initialize the serial port in the firmware and set the baud rate, data bit, stop bit and parity bit parameters; Add serial port output instructions at key locations in the code to send debugging information to the serial port; The output information includes timestamp, function name, variable value, and error code; By setting specific compilation options or switches, detailed information can be output only in debug mode, including device information, error information, variable status / values of key variables, timestamps, and function calls.
7. The method for interaction between a VAX industrial computer system and a USB device according to claim 1, characterized in that: The hardware and software of the driver board are both modularly designed.
8. The interactive system between VAX industrial computer system and USB device is characterized by: include: Interface detection module: detects whether the USB interface is connected to a USB device; Signal receiving module: in response to the USB interface being connected to a USB device, receiving a USB signal transmitted by the USB device; Data extraction module: after identifying the type of USB signal, extract the data content in the USB signal; Data conversion module: based on the extracted data content, convert it into the data format required by the VAX system; Data output module: packages the converted data and sends it to the VAX system through the VAX communication interface.
9. An interactive device for a VAX industrial computer system and a USB device, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.