CN102567071A - Virtual serial port system and communication method for same - Google Patents
Virtual serial port system and communication method for same Download PDFInfo
- Publication number
- CN102567071A CN102567071A CN2010105909309A CN201010590930A CN102567071A CN 102567071 A CN102567071 A CN 102567071A CN 2010105909309 A CN2010105909309 A CN 2010105909309A CN 201010590930 A CN201010590930 A CN 201010590930A CN 102567071 A CN102567071 A CN 102567071A
- Authority
- CN
- China
- Prior art keywords
- serial port
- component module
- virtual
- virtual serial
- operating system
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/541—Interprogram communication via adapters, e.g. between incompatible applications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0058—Bus-related hardware virtualisation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明公开了一种虚拟串口系统及其通信方法,用以实现跨OS平台的虚拟串口系统,避免虚拟串口系统无法在不同OS平台上通信。本发明提供的一种虚拟串口系统包括:位于客户端的串口客户端组件模块,用于向用户提供与串口服务器端组件模块交互的界面,并根据用户操作,生成虚拟串口消息,并发送给串口服务器端组件模块;位于服务器端的串口服务器端组件模块,用于对所述串口客户端组件模块发送的虚拟串口消息进行解析,根据解析结果确定该消息对应的操作系统平台。
The invention discloses a virtual serial port system and a communication method thereof, which are used to realize the cross-OS platform virtual serial port system and prevent the virtual serial port system from being unable to communicate on different OS platforms. A virtual serial port system provided by the present invention includes: a serial port client component module located at the client, used to provide the user with an interface for interacting with the serial port server component module, and generate a virtual serial port message according to user operations, and send it to the serial port server Terminal component module; the serial port server component module located at the server side, used to analyze the virtual serial port message sent by the serial port client component module, and determine the operating system platform corresponding to the message according to the analysis result.
Description
技术领域 technical field
本发明涉及通信技术领域,尤其涉及一种虚拟串口系统及其通信方法。The invention relates to the technical field of communication, in particular to a virtual serial port system and a communication method thereof.
背景技术 Background technique
在工业控制领域,存在很多通信终端设备,这些设备通过物理串口和主站设备进行通信,随着终端设备数量的不断增加,主站设备上对应的物理串口数量也不断增加。In the field of industrial control, there are many communication terminal devices. These devices communicate with the master device through physical serial ports. As the number of terminal devices continues to increase, the number of corresponding physical serial ports on the master device also continues to increase.
现有技术中,一般通过增加新的串口卡来支持物理串口数量的不断增加,但这样不但增加了硬件成本,而且维护难度也在加大。因此,现有技术中提出了虚拟串口技术,以解决此问题。即主站设备上并不配置物理串口,而是通过软件进行模拟,对运行在主站上的串口应用程序而言,操作的对象看起来仍然是串口,这样就可以保护原有的软件投资,实现平滑的切换。In the prior art, the continuous increase of the number of physical serial ports is generally supported by adding new serial port cards, but this not only increases the hardware cost, but also increases the maintenance difficulty. Therefore, a virtual serial port technology is proposed in the prior art to solve this problem. That is, the master station device does not configure a physical serial port, but simulates it through software. For the serial port application program running on the master station, the object of operation still looks like a serial port, so that the original software investment can be protected. Achieve smooth switching.
虚拟串口技术目前已经得到广泛应用,不同厂家的实现千差万别,存在的主要问题是没有对跨操作系统(OS)平台给出统一解决方案,比如对Windows和Linux操作系统,采用的方案完全不同。从用户角度看,同类功能产品对用户的体验差异很大,比如,Windows平台提供用户操作配置界面,而Linux平台提供命令行操作配置。从程序开发角度看,大量的重复工作导致开发效率的降低,不利于快速推出产品。The virtual serial port technology has been widely used at present, and different manufacturers have different implementations. The main problem is that there is no unified solution for cross-operating system (OS) platforms. For example, the solutions adopted for Windows and Linux operating systems are completely different. From the user's point of view, the user experience of products with similar functions is very different. For example, the Windows platform provides a user operation configuration interface, while the Linux platform provides command line operation configuration. From the perspective of program development, a large number of repetitive work leads to the reduction of development efficiency, which is not conducive to the rapid launch of products.
发明内容 Contents of the invention
本发明实施例提供了一种虚拟串口系统及其通信方法,用以实现跨OS平台的虚拟串口系统,避免虚拟串口系统无法在不同OS平台上通信。The embodiment of the present invention provides a virtual serial port system and a communication method thereof, which are used to realize a cross-OS platform virtual serial port system and prevent the virtual serial port system from being unable to communicate on different OS platforms.
本发明实施例提供的一种虚拟串口系统包括:A virtual serial port system provided by an embodiment of the present invention includes:
位于客户端的串口客户端组件模块,用于向用户提供与串口服务器端组件模块交互的界面,并根据用户操作,生成虚拟串口消息,并发送给位于服务器端的串口服务器端组件模块;The serial port client component module located at the client is used to provide the user with an interface for interacting with the serial port server component module, and generates a virtual serial port message according to user operations, and sends it to the serial port server component module located at the server side;
位于服务器端的串口服务器端组件模块,用于对所述串口客户端组件模块发送的虚拟串口消息进行解析,根据解析结果确定该消息对应的操作系统平台。The serial port server component module located at the server side is used to analyze the virtual serial port message sent by the serial port client component module, and determine the operating system platform corresponding to the message according to the result of the analysis.
本发明实施例提供的一种虚拟串口系统的通信方法包括:A communication method of a virtual serial port system provided by an embodiment of the present invention includes:
通过在客户端设置的串口客户端组件模块,向用户提供与串口服务器端组件模块交互的界面,并根据用户操作,生成虚拟串口消息,并发送给位于服务器端的串口服务器端组件模块;Provide the user with an interface for interacting with the serial port server component module through the serial port client component module set on the client, and generate a virtual serial port message according to the user operation, and send it to the serial port server component module located on the server side;
通过在服务器端设置的串口服务器端组件模块,对所述串口客户端组件模块发送的虚拟串口消息进行解析,根据解析结果确定该消息对应的操作系统平台。The virtual serial port message sent by the serial port client component module is analyzed by the serial port server component module set on the server side, and the operating system platform corresponding to the message is determined according to the analysis result.
本发明实施例,位于客户端的串口客户端组件模块,用于向用户提供与串口服务器端组件模块交互的界面,并根据用户操作,生成虚拟串口消息,并发送给位于服务器端的串口服务器端组件模块;位于服务器端的串口服务器端组件模块,用于对所述串口客户端组件模块发送的虚拟串口消息进行解析,根据解析结果确定该消息对应的操作系统平台,从而实现了虚拟串口系统的跨OS平台通信,使得虚拟串口技术的跨平台应用能够方便、快速地实现,从而提升客户体验。In the embodiment of the present invention, the serial port client component module located at the client is used to provide the user with an interface for interacting with the serial port server component module, and generate a virtual serial port message according to user operations, and send it to the serial port server component module located at the server side The serial port server-side component module located at the server side is used to analyze the virtual serial port message sent by the serial port client component module, and determine the operating system platform corresponding to the message according to the analysis result, thereby realizing the cross-OS platform of the virtual serial port system Communication enables the cross-platform application of virtual serial port technology to be realized conveniently and quickly, thereby improving customer experience.
附图说明 Description of drawings
图1为本发明实施例提供的一种虚拟串口系统的结构示意图;Fig. 1 is a schematic structural diagram of a virtual serial port system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种虚拟串口软件分布式组件架构示意图;FIG. 2 is a schematic diagram of a virtual serial port software distributed component architecture provided by an embodiment of the present invention;
图3为本发明实施例提供的一种串口服务器端组件模块的结构示意图;FIG. 3 is a schematic structural diagram of a serial port server component module provided by an embodiment of the present invention;
图4为本发明实施例提供的一种虚拟串口系统的通信方法的流程示意图。FIG. 4 is a schematic flowchart of a communication method of a virtual serial port system provided by an embodiment of the present invention.
具体实施方式 Detailed ways
本发明实施例提供了一种虚拟串口系统及其通信方法,用以实现跨OS平台的虚拟串口系统,避免虚拟串口系统无法在不同OS平台上通信。The embodiment of the present invention provides a virtual serial port system and a communication method thereof, which are used to realize a cross-OS platform virtual serial port system and prevent the virtual serial port system from being unable to communicate on different OS platforms.
本发明实施例提供的一种跨平台的虚拟串口系统,采用分布式组件架构,即采用客户端/服务器端(C/S)架构设计,使得服务器(Server)端组件可以支持跨平台操作。A cross-platform virtual serial port system provided by an embodiment of the present invention adopts a distributed component architecture, that is, adopts a client/server (C/S) architecture design, so that the server (Server) end components can support cross-platform operations.
下面结合附图对本发明实施例提供的技术方案进行说明。The technical solutions provided by the embodiments of the present invention will be described below in conjunction with the accompanying drawings.
参见图1,本发明实施例提供的一种虚拟串口系统,包括:Referring to Fig. 1, a kind of virtual serial port system provided by the embodiment of the present invention includes:
位于客户端的串口客户端组件模块101,用于向用户提供与串口服务器端组件模块交互的界面,并根据用户操作,生成虚拟串口消息,并发送给位于服务器端的串口服务器端组件模块102;The serial port
位于服务器端的串口服务器端组件模块102,用于对所述串口客户端组件模块101发送的虚拟串口消息进行解析,根据解析结果确定该消息对应的操作系统平台。The serial port
较佳地,所述串口服务器端组件模块102,包括:Preferably, the serial port
串口管理单元201,用于对串口客户端组件模块101发送的虚拟串口消息进行解析,确定虚拟串口消息中包含虚拟串口的配置类命令,或虚拟串口的数据;以及,将适配单元202返回的结果发给串口客户端组件模块101;The serial
适配单元202,用于根据串口管理单元201的解析结果,确定虚拟串口消息对应的操作系统平台,以及将操作系统平台返回的结果发给串口管理单元201。The
较佳地,所述适配单元202包括:Preferably, the
Win2L适配单元301,用于当虚拟串口消息中包含虚拟串口的配置类命令时,确定需要将该命令发往的操作系统平台,并将操作系统平台返回的命令执行结果发给串口管理单元201;Win2L
驱动适配单元302,用于当虚拟串口消息中包含虚拟串口的数据时,确定需要将该命令发往的操作系统平台的黑盒驱动解码组件模块,以及将黑盒驱动解码组件模块的执行结果发给串口管理单元201。The
较佳地,所述Win2L适配单元301,通过在Linux平台上模拟Windows平台的API接口,接收虚拟串口的配置类命令。Preferably, the Win2L
较佳地,所述操作系统平台,为Linux平台或Windows平台。Preferably, the operating system platform is a Linux platform or a Windows platform.
下面给出详细的解释说明。A detailed explanation is given below.
本发明实施例提供的虚拟串口软件架构,如图2所示,软件架构上采用低耦合、高内聚的结构化设计,整个虚拟串口软件是一个分布式的软件,包括:串口client组件、串口Server组件、黑盒驱动解码组件。The virtual serial port software architecture provided by the embodiment of the present invention, as shown in Figure 2, adopts a structural design of low coupling and high cohesion on the software architecture, and the entire virtual serial port software is a distributed software, including: serial port client components, serial port Server component, black box driver decoding component.
位于客户端的串口客户端组件模块101,简称串口client组件,可以基于Windows平台开发,提供用户操作界面,和位于服务器端的串口服务器端组件模块102(简称串口Server组件)之间,通过网络进行通信。由于Windows操作系统开发GUI程序比较简单,因此,串口client组件可以选择在Windows平台上开发,以提供用户操作图形界面。Be positioned at the serial port
串口client组件,还负责下发虚拟串口的配置类命令和诊断调试命令,以及接收串口Server组件返回的命令执行结果。其中,所述配置类命令,例如:增加或删除虚拟串口、虚拟串口关联等。所述的诊断调试命令,包括串口收发数据、数据的统计、上报及显示等。The serial port client component is also responsible for issuing virtual serial port configuration commands and diagnostic debugging commands, and receiving command execution results returned by the serial port server component. Wherein, the configuration commands include, for example, adding or deleting a virtual serial port, association of a virtual serial port, and the like. The diagnostic and debugging commands include sending and receiving data through the serial port, statistics of data, reporting and displaying, etc.
并且,串口client组件还负责接收串口Server组件上报的状态信息,所述状态信息例如:虚拟串口收发统计、虚拟串口数据流跟踪。串口client组件不需要保存配置过程数据,所有的数据在串口Server组件端保存,故简化了串口client组件的设计,串口client组件可以不考虑跨平台移植,即对于虚拟串口软件运行在不同的OS平台的应用场景,可以使用同样的串口client组件,因为串口client组件运行在独立的pc机上。Moreover, the serial port client component is also responsible for receiving status information reported by the serial port Server component, such as: virtual serial port sending and receiving statistics, virtual serial port data flow tracking. The serial port client component does not need to save the configuration process data, all data is saved in the serial port Server component side, so the design of the serial port client component is simplified, and the serial port client component does not need to consider cross-platform transplantation, that is, the virtual serial port software runs on different OS platforms In the application scenario, the same serial client component can be used, because the serial client component runs on an independent PC.
也就是说,本发明实施例中所述串口client组件,主要是实现图形用户界面(GUI,Graphical User Interface,又称图形用户接口),用户可以通过client界面实现和Server的交互,具体包括命令下发和结果显示。命令包括:配置类命令和诊断调试命令。That is to say, the serial port client component described in the embodiment of the present invention mainly realizes the graphical user interface (GUI, Graphical User Interface, also known as the graphical user interface), and the user can realize the interaction with the Server through the client interface, specifically including the command and the results are displayed. Commands include: configuration commands and diagnostic debugging commands.
本发明实施例中的串口Server组件,设计了Win2L适配单元301(简称Win2L适配层)和驱动适配单元302(简称驱动适配层)。The serial server component in the embodiment of the present invention is designed with a Win2L adaptation unit 301 (referred to as the Win2L adaptation layer) and a driver adaptation unit 302 (referred to as the driver adaptation layer).
参见图3,串口Server组件,支持多OS平台,可以采用标准C语言实现,为了屏蔽底层OS的API接口实现差异,设计了Win2L适配层,在Linux平台上模拟实现Windows平台的API接口,从而可以快速实现Windows到Linux的切换,而不影响原有的Windows相关实现。Referring to Figure 3, the serial port Server component supports multiple OS platforms and can be implemented in standard C language. In order to shield the API interface implementation differences of the underlying OS, a Win2L adaptation layer is designed to simulate the API interface of the Windows platform on the Linux platform, thereby It can quickly switch from Windows to Linux without affecting the original Windows-related implementation.
串口管理软件,无论是信令处理,还是媒体处理,都认为是运行在Windows平台,使用Windows提供的API编程接口,但在Linux平台上,这些接口实际是不存在的,Win2L适配层就是模拟实现了这些Windows的API接口,使得原来在Windows平台上开发的串口Server组件可以快速地移植到Linux平台上。Serial port management software, whether it is signaling processing or media processing, is considered to be running on the Windows platform, using the API programming interface provided by Windows, but on the Linux platform, these interfaces do not actually exist, and the Win2L adaptation layer is an analog The API interfaces of these Windows are realized, so that the serial server component originally developed on the Windows platform can be quickly transplanted to the Linux platform.
另外,由于串口Server组件和操作系统平台的黑盒驱动解码组件模块(简称黑盒驱动解码组件)是运行在同一台pc上的,故通过驱动适配层,屏蔽了底层驱动程序的差异,对上层应用提供统一的接口。In addition, since the serial port server component and the black box driver decoding component module of the operating system platform (referred to as the black box driver decoding component) run on the same pc, the driver adaptation layer shields the difference of the underlying driver program. The upper application provides a unified interface.
所述的黑盒驱动解码组件,逻辑上独立,不同的OS平台驱动开发模式有很大的不同,对于跨平台,提供不同的黑盒驱动解码组件,对于Windows平台,以sys文件提供黑盒驱动解码组件功能,对于Linux平台,以ko文件提供黑盒驱动解码组件功能。The black box driver decoding component is logically independent, and the driver development modes of different OS platforms are very different. For cross-platform, different black box driver decoding components are provided. For the Windows platform, the black box driver is provided as a sys file The decoding component function, for the Linux platform, provides the black box driver decoding component function in the ko file.
串口Server组件工作在用户态,黑盒驱动解码组件工作在内核态,整个串口数据流向大致如下:The serial server component works in the user state, and the black box driver decoding component works in the kernel state. The entire serial port data flow is roughly as follows:
串口Server组件从网口接收到串口client组件发送的数据,然后写到对应的串口设备,这样串口应用程序就可以读出来;反方向,串口应用程序写数据到串口设备,串口Server组件从串口设备将数据读出来,从网口发送给串口client组件。The serial port server component receives the data sent by the serial port client component from the network port, and then writes it to the corresponding serial port device, so that the serial port application program can read it out; Read the data and send it from the network port to the serial port client component.
本发明实施例中,串口Server组件和黑盒驱动解码组件交互完成串口数据的收发,对于Windows平台,通过device_ioctl机制实现串口Server组件对内核态串口设备的读/写操作,对于Linux平台,通过proc机制实现串口Server组件对内核态串口设备的读/写操作。In the embodiment of the present invention, the serial port Server component and the black box driver decoding component interact to complete the sending and receiving of serial port data. For the Windows platform, the read/write operation of the serial port Server component to the kernel mode serial port device is realized by the device_ioctl mechanism. For the Linux platform, through the proc The mechanism realizes the read/write operation of the serial server component to the serial device in the kernel state.
参见图4,本发明实施例提供的一种虚拟串口系统的通信方法包括步骤:Referring to Fig. 4, a communication method of a virtual serial port system provided by an embodiment of the present invention includes steps:
S101、通过在客户端设置的串口客户端组件模块,向用户提供与串口服务器端组件模块交互的界面,并根据用户操作,生成虚拟串口消息,并发送给位于服务器端的串口服务器端组件模块;S101. Provide the user with an interface for interacting with the serial port server component module through the serial port client component module set on the client, and generate a virtual serial port message according to the user operation, and send it to the serial port server component module located at the server side;
S102、通过在服务器端设置的串口服务器端组件模块,对所述串口客户端组件模块发送的虚拟串口消息进行解析,根据解析结果确定该消息对应的操作系统平台。S102. Analyzing the virtual serial port message sent by the serial port client component module through the serial port server component module set on the server side, and determining the operating system platform corresponding to the message according to the parsing result.
较佳地,所述通过在服务器端设置的串口服务器端组件模块,对所述串口客户端组件模块发送的虚拟串口消息进行解析,根据解析结果确定该消息对应的操作系统平台,包括:Preferably, the virtual serial port message sent by the serial port client component module is analyzed through the serial port server-side component module set on the server side, and the operating system platform corresponding to the message is determined according to the analysis result, including:
通过串口服务器端组件模块中的串口管理单元,对串口客户端组件模块发送的虚拟串口消息进行解析,确定虚拟串口消息中包含虚拟串口的配置类命令,或虚拟串口的数据;Through the serial port management unit in the serial port server component module, the virtual serial port message sent by the serial port client component module is analyzed, and it is determined that the virtual serial port message contains the configuration class command of the virtual serial port, or the data of the virtual serial port;
通过串口服务器端组件模块中的适配单元,根据串口管理单元的解析结果,确定虚拟串口消息对应的操作系统平台,以及将操作系统平台返回的结果发给串口管理单元;Through the adaptation unit in the serial port server component module, according to the analysis result of the serial port management unit, determine the operating system platform corresponding to the virtual serial port message, and send the result returned by the operating system platform to the serial port management unit;
串口管理单元,将适配单元返回的结果发给串口客户端组件模块。The serial port management unit sends the result returned by the adaptation unit to the serial port client component module.
较佳地,所述适配单元,根据串口管理单元的解析结果,确定虚拟串口消息对应的操作系统平台,以及将操作系统平台返回的结果发给串口管理单元,包括:Preferably, the adaptation unit, according to the analysis result of the serial port management unit, determines the operating system platform corresponding to the virtual serial port message, and sends the result returned by the operating system platform to the serial port management unit, including:
当虚拟串口消息中包含虚拟串口的配置类命令时,确定需要将该命令发往的操作系统平台,并将操作系统平台返回的命令执行结果发给串口管理单元;When the configuration class command of the virtual serial port is included in the virtual serial port message, determine the operating system platform that needs to be sent to the command, and send the command execution result returned by the operating system platform to the serial port management unit;
当虚拟串口消息中包含虚拟串口的数据时,确定需要将该命令发往的操作系统平台的黑盒驱动解码组件模块,以及将黑盒驱动解码组件模块的执行结果发给串口管理单元。When the virtual serial port message contains the data of the virtual serial port, it is determined that the command needs to be sent to the black box driver decoding component module of the operating system platform, and the execution result of the black box driver decoding component module is sent to the serial port management unit.
较佳地,所述适配单元,通过在Linux平台上模拟Windows平台的API接口,接收串口管理单元发送的虚拟串口的配置类命令。Preferably, the adaptation unit receives the virtual serial port configuration commands sent by the serial port management unit by simulating the API interface of the Windows platform on the Linux platform.
较佳地,所述操作系统平台,为Linux平台或Windows平台。Preferably, the operating system platform is a Linux platform or a Windows platform.
综上所述,本发明实施例,位于客户端的串口客户端组件模块,用于向用户提供与串口服务器端组件模块交互的界面,并根据用户操作,生成虚拟串口消息,并发送给位于服务器端的串口服务器端组件模块;位于服务器端的串口服务器端组件模块,用于对所述串口客户端组件模块发送的虚拟串口消息进行解析,根据解析结果确定该消息对应的操作系统平台,从而实现了虚拟串口系统的跨OS平台通信,使得虚拟串口技术的跨平台应用能够方便、快速地实现,从而提升客户体验。In summary, in the embodiment of the present invention, the serial port client component module located at the client is used to provide the user with an interface for interacting with the serial port server component module, and generate virtual serial port messages according to user operations, and send them to the server-side component module. Serial port server-side component module; the serial port server-side component module located at the server side is used to analyze the virtual serial port message sent by the serial port client component module, and determine the operating system platform corresponding to the message according to the analysis result, thereby realizing the virtual serial port The system's cross-OS platform communication enables the cross-platform application of virtual serial port technology to be realized conveniently and quickly, thereby improving customer experience.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的系统。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a A system for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令系统的制造品,该指令系统实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。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, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising a system of instructions, the The system implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105909309A CN102567071A (en) | 2010-12-15 | 2010-12-15 | Virtual serial port system and communication method for same |
| PCT/CN2011/079967 WO2012079401A1 (en) | 2010-12-15 | 2011-09-21 | Virtual serial port system and communication method therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105909309A CN102567071A (en) | 2010-12-15 | 2010-12-15 | Virtual serial port system and communication method for same |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102567071A true CN102567071A (en) | 2012-07-11 |
Family
ID=46244054
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010105909309A Pending CN102567071A (en) | 2010-12-15 | 2010-12-15 | Virtual serial port system and communication method for same |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102567071A (en) |
| WO (1) | WO2012079401A1 (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104639335A (en) * | 2015-01-30 | 2015-05-20 | 国家计算机网络与信息安全管理中心 | Secondary development system and method for intelligent network card driver |
| CN105847444A (en) * | 2016-05-31 | 2016-08-10 | 广东能龙教育股份有限公司 | Interface simulation method based on proxy service |
| CN111158865A (en) * | 2020-01-10 | 2020-05-15 | 山东超越数控电子股份有限公司 | Method for realizing multiplexing virtual serial port |
| CN113868063A (en) * | 2021-09-30 | 2021-12-31 | 中国电子科技集团公司第五十八研究所 | Multi-board card multi-channel serial port card verification method and system |
| CN114328349A (en) * | 2021-12-22 | 2022-04-12 | 杭州海康威视数字技术股份有限公司 | Virtual serial port terminal system, realization method and equipment thereof and computer storage medium |
| WO2023082469A1 (en) * | 2021-11-09 | 2023-05-19 | 南京沁恒微电子股份有限公司 | Multi-mode virtual serial port chip, implementation method therefor, and firmware downloading system and method |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108667706B (en) * | 2018-05-21 | 2020-09-18 | 洛阳银杏科技有限公司 | Ethernet serial server with dynamically adjustable serial number and data transmission method thereof |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1731347A (en) * | 2004-08-06 | 2006-02-08 | 梁肇新 | Linux-based Windows software compatible layer architecture |
| CN1862517A (en) * | 2005-04-28 | 2006-11-15 | 惠普开发有限公司 | Virtualizing uart interfaces |
| CN200976125Y (en) * | 2005-12-31 | 2007-11-14 | 北京中星微电子有限公司 | Virtual serial device |
| CN101630370A (en) * | 2008-07-14 | 2010-01-20 | 中兴通讯股份有限公司 | Method for controlling radio frequency identification system and radio frequency identification system |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7320052B2 (en) * | 2003-02-10 | 2008-01-15 | Intel Corporation | Methods and apparatus for providing seamless file system encryption and redundant array of independent disks from a pre-boot environment into a firmware interface aware operating system |
| US7602794B2 (en) * | 2003-11-13 | 2009-10-13 | Intel Corporation | Implementation of control plane protocols and networking stacks in a distributed network device |
| CN101621440B (en) * | 2009-05-22 | 2011-08-10 | 浙江天正电气股份有限公司 | Remote multi-path serial port communication mapping system |
| CN101894041A (en) * | 2010-07-15 | 2010-11-24 | 中兴通讯股份有限公司 | Multi-virtual serial port system and its communication method |
-
2010
- 2010-12-15 CN CN2010105909309A patent/CN102567071A/en active Pending
-
2011
- 2011-09-21 WO PCT/CN2011/079967 patent/WO2012079401A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1731347A (en) * | 2004-08-06 | 2006-02-08 | 梁肇新 | Linux-based Windows software compatible layer architecture |
| CN1862517A (en) * | 2005-04-28 | 2006-11-15 | 惠普开发有限公司 | Virtualizing uart interfaces |
| CN200976125Y (en) * | 2005-12-31 | 2007-11-14 | 北京中星微电子有限公司 | Virtual serial device |
| CN101630370A (en) * | 2008-07-14 | 2010-01-20 | 中兴通讯股份有限公司 | Method for controlling radio frequency identification system and radio frequency identification system |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104639335A (en) * | 2015-01-30 | 2015-05-20 | 国家计算机网络与信息安全管理中心 | Secondary development system and method for intelligent network card driver |
| CN104639335B (en) * | 2015-01-30 | 2018-03-09 | 国家计算机网络与信息安全管理中心 | Secondary development system driven by intelligent network card and method thereof |
| CN105847444A (en) * | 2016-05-31 | 2016-08-10 | 广东能龙教育股份有限公司 | Interface simulation method based on proxy service |
| CN111158865A (en) * | 2020-01-10 | 2020-05-15 | 山东超越数控电子股份有限公司 | Method for realizing multiplexing virtual serial port |
| CN113868063A (en) * | 2021-09-30 | 2021-12-31 | 中国电子科技集团公司第五十八研究所 | Multi-board card multi-channel serial port card verification method and system |
| CN113868063B (en) * | 2021-09-30 | 2024-05-14 | 中国电子科技集团公司第五十八研究所 | Verification method and verification system for multi-board multi-channel serial port card |
| WO2023082469A1 (en) * | 2021-11-09 | 2023-05-19 | 南京沁恒微电子股份有限公司 | Multi-mode virtual serial port chip, implementation method therefor, and firmware downloading system and method |
| CN114328349A (en) * | 2021-12-22 | 2022-04-12 | 杭州海康威视数字技术股份有限公司 | Virtual serial port terminal system, realization method and equipment thereof and computer storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2012079401A1 (en) | 2012-06-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20240037060A1 (en) | Computing device, virtualization acceleration device, remote control method and storage medium | |
| US8898642B2 (en) | Profiling and sequencing operators executable in an emulated computing system | |
| CN102567071A (en) | Virtual serial port system and communication method for same | |
| CN103645957B (en) | A kind of resources of virtual machine management-control method and device | |
| CN102567074B (en) | USB (universal serial bus) device redirecting method facing virtual machines | |
| CN111880879B (en) | Playing method, device, equipment and storage medium of dynamic wallpaper | |
| US9239776B2 (en) | Systems and methods to simulate storage | |
| US9122793B2 (en) | Distributed debugging of an application in a distributed computing environment | |
| WO2024007510A1 (en) | Server management method, apparatus and system, and electronic device and readable storage medium | |
| US8793688B1 (en) | Systems and methods for double hulled virtualization operations | |
| US20130167112A1 (en) | Cross-platform virtual machine and method | |
| US10552190B2 (en) | Precise error injection for driver testing | |
| CN104375938A (en) | Dynamic behavior monitoring method and system for Android application program | |
| WO2019119315A1 (en) | Input processing method and apparatus based on multiple operating systems, and electronic device | |
| CN109597653A (en) | Method, BIOS and the BMC of BIOS and BMC command interaction | |
| US20200089512A1 (en) | Method and Apparatus for Invoking Input Method, Server, and Terminal | |
| CN102884515B (en) | Serial port redirection processing method, device and system | |
| JP6042454B2 (en) | User-generated data center power saving | |
| CN109388435A (en) | Realize app while the repeatedly method and apparatus of opening operation | |
| US20120311117A1 (en) | Object Pipeline-Based Virtual Infrastructure Management | |
| CN113127050A (en) | Application resource packaging process monitoring method, device, equipment and medium | |
| CN111176663B (en) | Data processing method, device, equipment and storage medium of application program | |
| US9298502B2 (en) | Pausing virtual machines using API signaling | |
| CN115437677A (en) | Configuration management method, device, equipment and machine readable storage medium | |
| CN112711527B (en) | Debugging method and device for real-time process, target machine and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C05 | Deemed withdrawal (patent law before 1993) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120711 |