Nothing Special   »   [go: up one dir, main page]

CN110134491B - Information Processing Transmission Device - Google Patents

Information Processing Transmission Device Download PDF

Info

Publication number
CN110134491B
CN110134491B CN201810131071.3A CN201810131071A CN110134491B CN 110134491 B CN110134491 B CN 110134491B CN 201810131071 A CN201810131071 A CN 201810131071A CN 110134491 B CN110134491 B CN 110134491B
Authority
CN
China
Prior art keywords
network connection
operating system
information processing
connection unit
transmission device
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.)
Active
Application number
CN201810131071.3A
Other languages
Chinese (zh)
Other versions
CN110134491A (en
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.)
Weintek Labs Inc
Original Assignee
Weintek Labs Inc
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 Weintek Labs Inc filed Critical Weintek Labs Inc
Priority to CN201810131071.3A priority Critical patent/CN110134491B/en
Publication of CN110134491A publication Critical patent/CN110134491A/en
Application granted granted Critical
Publication of CN110134491B publication Critical patent/CN110134491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 And Data Communications (AREA)

Abstract

本发明涉及一种信息处理传输装置,包含:多个信息处理单元、多个操作系统、内存单元、一实体网络联机单元,且该实体网络联机单元经配置而提供多个该操作系统的其中一个操作系统予以联机至网络而成为直接连线作业系统,而使该信息处理传输装置通过该媒体访问控制地址及该网际协议地址而与该网络进行信息传输,其中多个该操作系统中的其它操作系统为待连线作业系统;以及虚拟网络联机单元,依据该待连线作业系统的数量而以一对一的方式个别地连接于该待连线作业系统,该虚拟网络联机单元连接至该实体网络联机单元而提供该待连线作业系统与该直接连线作业系统共同地通过该媒体访问控制地址及该网际协议地址而联机至该网络。

The present invention relates to an information processing transmission device, comprising: a plurality of information processing units, a plurality of operating systems, a memory unit, a physical network connection unit, and the physical network connection unit is configured to provide one of the plurality of operating systems The operating system is connected to the network to become a direct connection operating system, so that the information processing and transmission device performs information transmission with the network through the media access control address and the Internet protocol address, wherein multiple other operations in the operating system The system is an operating system to be connected; and a virtual network connection unit is individually connected to the operating system to be connected in a one-to-one manner according to the number of the operating system to be connected, and the virtual network connection unit is connected to the entity The network connection unit provides the operating system to be connected and the directly connected operating system to connect to the network through the media access control address and the IP address.

Description

信息处理传输装置Information Processing Transmission Device

技术领域technical field

本发明涉及信息处理传输装置,特别是涉及一种具有多个操作系统且多个操作系统配合信息处理单元运行并得以各自获得所需网络资源的信息处理传输装置。The present invention relates to an information processing and transmission device, in particular to an information processing and transmission device with multiple operating systems that cooperate with an information processing unit to run and obtain required network resources respectively.

背景技术Background technique

现有的信息装置的其中一种架构为,两个处理器核心配合单一个操作系统而各自执行所属的运算任务(亦即,每个处理器核心执行一个或一个以上的运算任务),且此操作系统通过单一个实体网络联机装置(亦即,网络卡)联机至网络而分配两个处理器核心执行运算任务时所需的网络资源。但是,在单一个操作系统的运作条件下,操作系统必须配合多个处理器核心的运算任务进行调度以及针对多个运算任务所需的网络资源进行分配,以致操作系统的负担过高而使信息装置的整体作业效能受到限制而不尽理想。One of the architectures of existing information devices is that two processor cores cooperate with a single operating system to perform respective computing tasks (that is, each processor core executes one or more computing tasks), and this The operating system connects to the network through a single physical network connection device (ie, a network card) to allocate network resources required by the two processor cores to perform computing tasks. However, under the operating conditions of a single operating system, the operating system must cooperate with the scheduling of computing tasks of multiple processor cores and allocate the network resources required for multiple computing tasks, so that the burden of the operating system is too high and the information The overall operating performance of the device is limited and not ideal.

现有的信息装置的另一种架构为,在对称多处理(SMP,SymmetricMultiprocessing)的架构上,通过虚拟机监视器(VMM,Virtual Machine Monitor,亦即Hypervisor)的建立,行程(Process)得以在不同的处理器间移动,具体而言,虚拟机监视器是以裸机虚拟化(Bare-Metal)的方式创建两个客体操作系统(Guest Operating System);两个客体操作系统相应地配合信息装置的两个处理器核心而各自进行运作,且虚拟机监视器通过单一实体网络联机装置联机至网络而提供两个客体操作系统各自所需的网络资源。然而,信息装置欲通过虚拟机监视器控制信息装置的硬件(包含处理器核心、内存、硬盘、实体网络联机装置)且管理客体操作系统,必须要在信息装置的硬件能够支持虚拟机监视器的前提下,方可达成使虚拟机监视器直接地运行于信息装置上的目的;并且,在信息装置的架构安排上,虚拟机监视器设置于客体操作系统及实体网络联机装置之间而使客体操作系统无法直接地连接至实体网络联机装置,使得网络资源的传输效率受到虚拟机监视器的影响而无法提升。因此,现有的信息装置对于具有虚拟机监视器的架构仍有其实际采用上的限制。Another architecture of the existing information device is that on the architecture of Symmetric Multiprocessing (SMP, Symmetric Multiprocessing), through the establishment of a virtual machine monitor (VMM, Virtual Machine Monitor, that is, Hypervisor), the process (Process) can be The movement between different processors, specifically, the virtual machine monitor creates two guest operating systems (Guest Operating System) in the form of bare-metal virtualization (Bare-Metal); the two guest operating systems cooperate with the information device accordingly The two processor cores operate separately, and the virtual machine monitor is connected to the network through a single physical network connection device to provide network resources required by the two guest operating systems respectively. However, if the information device wants to control the hardware of the information device (including processor core, memory, hard disk, physical network connection device) and manage the guest operating system through the virtual machine monitor, the hardware of the information device must be able to support the virtual machine monitor. On the premise, the goal of making the virtual machine monitor run directly on the information device can be achieved; and, in terms of the architectural arrangement of the information device, the virtual machine monitor is set between the guest operating system and the physical network connection device so that the guest The operating system cannot be directly connected to the physical network connection device, so that the transmission efficiency of network resources is affected by the virtual machine monitor and cannot be improved. Therefore, existing information devices still have limitations in the practical application of the architecture with a virtual machine monitor.

现有的信息装置的第三种架构为,信息装置具有两个处理器核心及两个实体网络联机装置,两个处理器核心各自地配合两个操作系统运作而执行运算任务;两个操作系统分别直接地连接至两个实体网络联机装置而联机至网络,以使两个操作系统能够获得处理任务时所需的网络资源。然而,当信息装置有其他作业需求而需弹性调度其中一个实体网络联机装置以联机至网络时,现有的信息装置无法在抽调出其中一实体网络联机装置的情况下而仍同时满足两个操作系统的网络联机需求,以致现有的信息装置在架构安排上仍未臻完善。The third structure of the existing information device is that the information device has two processor cores and two physical network connection devices, and the two processor cores cooperate with the operation of two operating systems to perform computing tasks; the two operating systems The devices are directly connected to the two physical network connection devices to connect to the network, so that the two operating systems can obtain network resources required for processing tasks. However, when the information device has other operation requirements and needs to flexibly schedule one of the physical network connection devices to connect to the network, the existing information device cannot satisfy the two operations at the same time when one of the physical network connection devices is selected. Due to the network connection requirements of the system, the structure arrangement of the existing information devices is still not perfect.

发明内容Contents of the invention

因此,为解决上述问题,本发明的目的即在提供一种仅凭借单一个实体网络联机单元而使多个操作系统联机至网络的信息处理传输装置,从而提升信息处理传输装置的作业效能、网络资源的传输效率,且得以弹性调度信息处理传输装置的实体网络联机单元而供其他作业需求联机至网络。Therefore, in order to solve the above-mentioned problems, the object of the present invention is to provide an information processing transmission device that connects multiple operating systems to the network only by means of a single physical network connection unit, thereby improving the operation efficiency of the information processing transmission device, network The transmission efficiency of resources can be flexibly scheduled for the physical network connection unit of the information processing transmission device to connect to the network for other job requirements.

本发明为解决现有技术的问题所采用的技术手段提供一种信息处理传输装置,包含:多个信息处理单元;多个操作系统,各个操作系统为所属于各个该信息处理单元而于非对称多重处理(AMP,Asymmetrical Processing Multi-Core System)的架构下运行;内存单元,经配置而储存个别地对应于各个该操作系统的中断脚本以中断各个该操作系统;一实体网络联机单元,具有所属的一媒体访问控制地址(MAC address)及一网际协议地址(IPaddress),且该实体网络联机单元经配置而提供多个该操作系统的其中一个操作系统予以联机至网络而成为直接连线作业系统,而使该信息处理传输装置通过该媒体访问控制地址及该网际协议地址而与该网络进行信息传输,其中多个该操作系统中的其它操作系统为待连线作业系统;以及虚拟网络联机单元,依据该待连线作业系统的数量而以一对一的方式个别地连接于该待连线作业系统,该虚拟网络联机单元连接至该实体网络联机单元而提供该待连线作业系统与该直接连线作业系统共同地通过该媒体访问控制地址及该网际协议地址而联机至该网络,其中,该虚拟网络联机单元向该实体网络联机单元所联机的操作系统注册通信端口编号(Port Number)或通信协议,若实体网络联机单元收到符合通信端口编号或通信协议的封包,则实体网络所联机的操作系统需要转发封包,而使每一个该虚拟网络联机单元与该实体网络联机单元之间得以双向地转发网络封包,借此而使该实体网络联机单元作为该虚拟网络联机单元与该网络之间的信息传输单元,且各个该待连线作业系统通过各自储存于该内存单元的中断脚本而执行与该虚拟网络联机单元之间的信息传输,且该直接连线作业系统通过储存于内存单元的中断脚本而执行与该实体网络联机单元之间的信息传输。The present invention provides an information processing and transmission device as a technical means to solve the problems of the prior art, including: multiple information processing units; multiple operating systems, each operating system belongs to each information processing unit and is asymmetric Multi-processing (AMP, Asymmetrical Processing Multi-Core System) runs under the architecture; the memory unit is configured to store interrupt scripts individually corresponding to each of the operating systems to interrupt each of the operating systems; a physical network connection unit, with belonging A media access control address (MAC address) and an Internet protocol address (IP address), and the physical network connection unit is configured to provide one of the multiple operating systems to connect to the network and become a direct connection operating system , so that the information processing and transmission device performs information transmission with the network through the media access control address and the Internet protocol address, wherein other operating systems among the plurality of operating systems are operating systems to be connected; and a virtual network connection unit , according to the number of the operating system to be connected, individually connected to the operating system to be connected in a one-to-one manner, the virtual network connection unit is connected to the physical network connection unit to provide the operating system to be connected with the The direct connection operating system is connected to the network through the media access control address and the IP address, wherein the virtual network connection unit registers a communication port number (Port Number) with the operating system connected to the physical network connection unit or communication protocol, if the physical network connection unit receives a packet that meets the communication port number or communication protocol, the operating system connected to the physical network needs to forward the packet, so that each virtual network connection unit and the physical network connection unit The network packets can be bidirectionally forwarded, whereby the physical network connection unit is used as an information transmission unit between the virtual network connection unit and the network, and each of the operating systems to be connected passes the interrupt scripts respectively stored in the memory unit The information transmission with the virtual network connection unit is executed, and the direct connection operating system executes the information transmission with the physical network connection unit through the interrupt script stored in the memory unit.

在本发明的一实施例中提供一种信息处理传输装置,其中该网络为局域网络或因特网。An embodiment of the present invention provides an information processing and transmission device, wherein the network is a local area network or the Internet.

在本发明的一实施例中提供一种信息处理传输装置,其中多个该信息处理单元为单个处理器的多数个异质处理器核心。An embodiment of the present invention provides an information processing transmission device, wherein the plurality of information processing units are a plurality of heterogeneous processor cores of a single processor.

在本发明的一实施例中提供一种信息处理传输装置,其中多个该操作系统为相互异质的操作系统。An embodiment of the present invention provides an information processing transmission device, wherein the multiple operating systems are mutually heterogeneous operating systems.

在本发明的一实施例中提供一种信息处理传输装置,其中该直接连线作业系统为实时操作系统(RTOS,Real-Time Operating System)。An embodiment of the present invention provides an information processing and transmission device, wherein the direct connection operating system is a real-time operating system (RTOS, Real-Time Operating System).

在本发明的一实施例中提供一种信息处理传输装置,其中该中断脚本为软件中断脚本。An embodiment of the present invention provides an information processing transmission device, wherein the interrupt script is a software interrupt script.

在本发明的一实施例中提供一种信息处理传输装置,其中虚拟网络联机单元的安装程序依据该待连线作业系统的数量而形成相应数量的虚拟网络联机单元。An embodiment of the present invention provides an information processing transmission device, wherein the installation program of the virtual network connection unit forms a corresponding number of virtual network connection units according to the number of operating systems to be connected.

本发明实施例的信息处理传输装置具有以下功效。本发明的多个操作系统是在非对称多重处理(AMP)的架构下配合多个信息处理单元而运行,且通过虚拟网络联机单元以一对一的方式个别地连接于待连线作业系统并连接实体网络联机单元,而使待连线作业系统与直接连线作业系统共同地通过单一个实体网络联机单元的媒体访问控制地址及网际协议地址而联机至网络。借此,本发明的信息处理传输装置得以由多个操作系统配合多个信息处理单元执行运算任务而使操作系统的效能获得改善,且以非设置虚拟机监视器的方式而直接地连接直接连线作业系统与实体网络联机单元、待连线作业系统与虚拟网络联机单元而使网络资源的传输效率得以提升,并且仅凭借单一个实体网络联机单元配合虚拟网络联机单元而使多个操作系统得以联机至网络,在满足多个操作系统的网络联机需求条件下,而尚可弹性调度信息处理传输装置的其他实体网络联机单元以供其他连线作业的需求。The information processing and transmission device of the embodiment of the present invention has the following effects. The plurality of operating systems of the present invention cooperate with a plurality of information processing units to run under the architecture of asymmetric multiprocessing (AMP), and are individually connected to the operating system to be connected in a one-to-one manner through the virtual network connection unit and The physical network connection unit is connected, so that the operating system to be connected and the directly connected operating system are connected to the network through the media access control address and the IP address of a single physical network connection unit. In this way, the information processing and transmission device of the present invention can use multiple operating systems to cooperate with multiple information processing units to perform computing tasks to improve the performance of the operating systems, and directly connect the direct connection without setting a virtual machine monitor. The online operating system and the physical network connection unit, the operating system to be connected and the virtual network connection unit improve the transmission efficiency of network resources, and only rely on a single physical network connection unit to cooperate with the virtual network connection unit to enable multiple operating systems To connect to the network, under the condition of meeting the network connection requirements of multiple operating systems, other physical network connection units of the information processing transmission device can be flexibly scheduled for other connection operations.

附图说明Description of drawings

图1为显示根据本发明的一实施例的信息处理传输装置的架构方块示意图。FIG. 1 is a schematic block diagram showing the architecture of an information processing and transmission device according to an embodiment of the present invention.

图2为显示根据本发明的另一实施例的信息处理传输装置的架构方块示意图。FIG. 2 is a schematic block diagram showing an architecture of an information processing and transmission device according to another embodiment of the present invention.

附图标记reference sign

100、100A 信息处理传输装置100, 100A information processing transmission device

1 处理器1 processor

11、12 信息处理单元11, 12 Information processing unit

21、22 操作系统21, 22 operating system

3 内存单元3 memory units

31、32 内存区块31, 32 memory blocks

33 共享内存区块33 shared memory blocks

4 实体网络联机单元4 physical network connection unit

5 虚拟网络联机单元5 virtual network connection unit

6 网络6 network

具体实施方式Detailed ways

以下根据图1及图2,以说明本发明的实施方式。该说明并非为限制本发明的实施方式,而为本发明的实施例的一种。Embodiments of the present invention will be described below with reference to FIG. 1 and FIG. 2 . This description is not intended to limit the embodiment of the present invention, but is one of examples of the present invention.

请参照图1所示,本发明的一实施例的信息处理传输装置100,包含:多个信息处理单元(于本实施例为两个信息处理单元11、12,亦即处理器核心);多个操作系统(于本实施例为两个操作系统21、22),各个操作系统21、22为所属于各个信息处理单元11、12而于非对称多重处理(AMP,Asymmetrical Processing Multi-Core System)的架构下运行;内存单元(亦即,RAM)3,经配置而储存个别地对应于各个操作系统21、22的中断脚本以中断各个操作系统21、22;一实体网络联机单元4,具有所属的一媒体访问控制地址(MAC address)及一网际协议地址(IP address),且实体网络联机单元4经配置而提供多个操作系统21、22的其中一个操作系统予以联机至网络6而成为直接连线作业系统(亦即,操作系统21),而使信息处理传输装置100通过媒体访问控制地址及网际协议地址而与网络6进行信息传输,其中多个操作系统中的其它操作系统为待连线作业系统(亦即,操作系统22);以及虚拟网络联机单元5,依据待连线作业系统的数量而以一对一的方式个别地连接于待连线作业系统,虚拟网络联机单元5连接至实体网络联机单元4而提供待连线作业系统与直接连线作业系统共同地通过媒体访问控制地址及网际协议地址而联机至网络6。其中,网络6得为局域网络(LAN)或因特网(Internet)。Please refer to FIG. 1, an information processing transmission device 100 according to an embodiment of the present invention includes: a plurality of information processing units (in this embodiment, two information processing units 11, 12, that is, processor cores); Each operating system (two operating systems 21, 22 in this embodiment), each operating system 21, 22 belongs to each information processing unit 11, 12 and is used in asymmetrical multi-processing (AMP, Asymmetrical Processing Multi-Core System) Run under the framework of; Memory unit (that is, RAM) 3 is configured to store interrupt scripts individually corresponding to each operating system 21, 22 to interrupt each operating system 21, 22; a physical network connection unit 4, with belonging A media access control address (MAC address) and an Internet protocol address (IP address), and the physical network connection unit 4 is configured to provide one of the operating systems 21, 22 to connect to the network 6 and become a direct Connect the operating system (that is, the operating system 21), so that the information processing and transmission device 100 performs information transmission with the network 6 through the media access control address and the Internet protocol address, wherein other operating systems in the multiple operating systems are waiting to be connected online operating system (i.e., operating system 22); The operating system to be connected to the physical network connection unit 4 is connected to the network 6 through the media access control address and the IP address in common with the directly connected operating system. Wherein, the network 6 may be a local area network (LAN) or the Internet (Internet).

本发明相应图1所揭示的实施例为两个信息处理单元11、12及两个操作系统21、22;具体而言,操作系统21使用内存单元3的内存区块31,操作系统22使用内存单元3的内存区块32,操作系统21、22则共同使用内存单元3的共享内存区块33,其中共享内存区块33是经配置而用以转发封包数据的区块且提供操作系统21、22间相互命令沟通使用(如,操作系统22向联机至实体网络联机单元4的操作系统21注册需要转发的通信端口编号的命令)。然而,于本发明具体实施时,信息处理单元及操作系统的数量并不以两个为限,且信息处理传输装置100得具有数量在一个以上的实体网络联机单元。The embodiment disclosed in the corresponding figure 1 of the present invention is two information processing units 11,12 and two operating systems 21,22; specifically, the operating system 21 uses the memory block 31 of the memory unit 3, and the operating system 22 uses the The memory block 32 of the unit 3, and the operating systems 21 and 22 share the shared memory block 33 of the memory unit 3, wherein the shared memory block 33 is configured to forward packet data and provides the operating system 21, 22 communicate with each other using commands (for example, the operating system 22 registers the command of the communication port number that needs to be forwarded to the operating system 21 connected to the physical network connection unit 4). However, when the present invention is implemented, the number of information processing units and operating systems is not limited to two, and the information processing and transmission device 100 must have more than one physical network connection unit.

进一步而言,如图1所示,在实体网络联机单元4与虚拟网络联机单元5的所属媒体访问控制地址及网际协议地址皆设定为相同的条件下,网络6将视本发明的信息处理传输装置100的多个操作系统(于本实施例为操作系统21、22)为同一信息处理传输装置。并且,虚拟网络联机单元5的安装程序依据操作系统中待连线作业系统的数量而形成相应数量的虚拟网络联机单元5。举例而言,当操作系统中待连线作业系统为两个时,安装程序即形成两个虚拟网络联机单元5,且虚拟网络联机单元5将其所属的媒体访问控制地址及网际协议地址,皆设定成相同于实体网络联机单元4的媒体访问控制地址及网际协议地址。Further, as shown in FIG. 1 , under the condition that the media access control addresses and IP addresses of the physical network connection unit 4 and the virtual network connection unit 5 are all set to be the same, the network 6 will regard the information processing of the present invention Multiple operating systems (operating systems 21 and 22 in this embodiment) of the transmission device 100 are the same information processing transmission device. Moreover, the installation program of the virtual network connection unit 5 forms a corresponding number of virtual network connection units 5 according to the number of operating systems to be connected in the operating system. For example, when there are two operating systems to be connected in the operating system, the installation program forms two virtual network connection units 5, and the virtual network connection unit 5 assigns its media access control address and Internet protocol address to both It is set to be the same as the MAC address and the IP address of the physical network connection unit 4 .

进一步而言,如图1所示,其中虚拟网络联机单元5向实体网络联机单元4所联机的操作系统21注册通信端口编号(Port Number)或通信协议(即TCP/IP协议),若实体网络联机单元4收到已符合注册的通信端口编号或通信协议,则操作系统21需要转发封包,而使每一个虚拟网络联机单元5与实体网络联机单元4之间得以双向地进行网络封包的传送,借此而使实体网络联机单元4作为虚拟网络联机单元5与网络6之间的信息传输单元。并且,各个待连线作业系统(亦即,操作系统22)通过各自储存于内存区块32的中断脚本而执行与虚拟网络联机单元5之间的信息传输;直接连线作业系统(亦即,操作系统21)则通过储存于内存区块31的中断脚本而执行与实体网络联机单元4之间的连接作业,并通过两个操作系统21、22所共同使用的共享内存区块33而与操作系统22作数据传输。具体而言,连接于虚拟网络联机单元5的操作系统22通过共享内存区块33而向连接于实体网络联机单元4的操作系统21注册;在实体网络联机单元4收到已符合注册的通信端口编号或通信协议的条件下,由操作系统21判断网络封包的转发,借此使每一个虚拟网络联机单元5与实体网络联机单元4之间得以通过共享的内存区块33与内存区块31、32的中断脚本而双向地转发网络封包。Further, as shown in FIG. 1, wherein the virtual network connection unit 5 registers the communication port number (Port Number) or communication protocol (i.e. TCP/IP protocol) with the operating system 21 connected to the physical network connection unit 4, if the physical network When the connection unit 4 receives the registered communication port number or communication protocol, the operating system 21 needs to forward the packet, so that each virtual network connection unit 5 and the physical network connection unit 4 can bidirectionally transmit the network packet, In this way, the physical network connection unit 4 is used as an information transmission unit between the virtual network connection unit 5 and the network 6 . And, each operating system to be connected (i.e., the operating system 22) executes the information transmission with the virtual network connection unit 5 through the interrupt script stored in the memory block 32 respectively; the directly connected operating system (i.e., The operating system 21) executes the connection operation with the physical network connection unit 4 through the interrupt script stored in the memory block 31, and operates with the shared memory block 33 shared by the two operating systems 21 and 22. System 22 for data transmission. Specifically, the operating system 22 connected to the virtual network connection unit 5 registers with the operating system 21 connected to the physical network connection unit 4 through the shared memory block 33; the physical network connection unit 4 receives the registered communication port Under the condition of numbering or communication protocol, the forwarding of the network packet is judged by the operating system 21, thereby enabling each virtual network connection unit 5 and the physical network connection unit 4 to pass through the shared memory block 33 and the memory block 31, 32 interrupt script to forward network packets bidirectionally.

具体而言,多个操作系统得为相互异质的操作系统,于本发明在图1所揭示的实施例中,直接连线作业系统(亦即,操作系统21)为实时操作系统(RTOS,Real-Time OperatingSystem),而待连线作业系统(亦即,操作系统22)则为Linux操作系统。并且,两个操作系统21、22的中断脚本为软件中断脚本(Software Interrupt)。Specifically, a plurality of operating systems may be mutually heterogeneous operating systems. In the embodiment disclosed in FIG. Real-Time Operating System), and the operating system to be connected (that is, the operating system 22) is the Linux operating system. Furthermore, the interrupt scripts of the two operating systems 21 and 22 are software interrupt scripts (Software Interrupt).

请参照图2所示,为本发明的另一实施例的信息处理传输装置100A,其中信息处理传输装置100A与前述信息处理传输装置100的差异在于,多个信息处理单元(亦即,信息处理单元11与信息处理单元12)为单个处理器1的多数个异质处理器核心(HeterogeneousMPSoC,其中MPSoC为Multi-Processor System-on-Chips)。Please refer to FIG. 2 , which is an information processing transmission device 100A according to another embodiment of the present invention. The difference between the information processing transmission device 100A and the aforementioned information processing transmission device 100 is that a plurality of information processing units (that is, Unit 11 and information processing unit 12) are a plurality of heterogeneous processor cores (Heterogeneous MPSoC, where MPSoC is Multi-Processor System-on-Chips) of a single processor 1 .

于本发明实施例的信息处理传输装置100,由于多个操作系统21、22是在非对称多重处理(AMP)的架构下配合多个信息处理单元11、12而运行,且通过虚拟网络联机单元5以一对一的方式个别地连接于待连线作业系统(亦即,操作系统22)并连接至实体网络联机单元4(联机至操作系统21),而使待连线作业系统与直接连线作业系统(亦即,操作系统21)共同地通过单一个实体网络联机单元4的媒体访问控制地址及网际协议地址而联机至网络6。借此,本发明的信息处理传输装置100得以由操作系统21、22各自地配合信息处理单元11、12以分别执行两个信息处理单元11、12的运算任务而使信息处理传输装置100的整体操作系统效能获得改善;且信息处理传输装置100以非设置虚拟机监视器的方式而分别直接地连接直接连线作业系统21与实体网络联机单元4及待连线作业系统22与虚拟网络联机单元5,而使网络资源的传输效率不受虚拟机监视器的影响而得以提升;并且,信息处理传输装置100仅凭借单一个实体网络联机单元4配合虚拟网络联机单元5而使直接连线作业系统21、待连线作业系统22得以联机至网络6,在满足两个操作系统21、22的网络联机需求下,而尚可弹性调度信息处理传输装置100的其他实体网络联机单元(亦即,未连接至直接连线作业系统21的实体网络联机单元)以作为其他连线作业需求之用。In the information processing and transmission device 100 of the embodiment of the present invention, since multiple operating systems 21, 22 operate under the architecture of asymmetric multiprocessing (AMP) in conjunction with multiple information processing units 11, 12, and through the virtual network connection unit 5. Individually connect to the operating system to be connected (that is, the operating system 22) and connect to the physical network connection unit 4 (connected to the operating system 21) in a one-to-one manner, so that the operating system to be connected and the direct connection The line operating system (ie, the operating system 21 ) is connected to the network 6 through the MAC address and the IP address of a single physical network connection unit 4 . In this way, the information processing and transmission device 100 of the present invention can use the operating systems 21 and 22 to cooperate with the information processing units 11 and 12 to respectively perform the computing tasks of the two information processing units 11 and 12, so that the entire information processing and transmission device 100 The performance of the operating system is improved; and the information processing transmission device 100 directly connects the direct connection operating system 21 and the physical network connection unit 4 and the to-be-connected operation system 22 and the virtual network connection unit without setting a virtual machine monitor. 5, so that the transmission efficiency of network resources is not affected by the virtual machine monitor and can be improved; and, the information processing and transmission device 100 only relies on a single physical network connection unit 4 to cooperate with the virtual network connection unit 5 to directly connect to the operating system 21. The operating system 22 to be connected can be connected to the network 6. Under the condition that the network connection requirements of the two operating systems 21 and 22 are met, other physical network connection units of the information processing transmission device 100 can still be flexibly scheduled (that is, not connected to the physical network connection unit of the direct connection operation system 21) for other connection operation requirements.

并且,本发明的信息处理传输装置得依应用配置方式的不同而参照异质性处理器核心(Heterogeneous MPSoC)的能力,而将特定的网络封包交由具有最佳处理能力的特定处理器核心进行运算,借此达到最佳效能。具体而言,在信息处理单元12(为具有cortex A9的处理器核心)为配合操作系统22(Linux操作系统,亦即,连接于虚拟网络联机单元5的待连线作业系统)运行且信息处理单元11(为具有cortex M4的处理器核心)为配合操作系统21(RTOS,亦即,连接至实体网络联机单元4的直接连线作业系统)运行的作业条件下,有需要进行复杂运算处理的封包即通过虚拟网络联机单元5而交由信息处理单元12(cortexA9)暨操作系统22(Linux)进行处理,相对地,有需要实时响应的封包即通过实体网络联机单元4而交由信息处理单元11(cortex M4)暨操作系统21(RTOS)进行快速的响应处理;借此,本发明的信息处理传输装置得以提升作业效能与网络资源的传输效率。Moreover, the information processing and transmission device of the present invention has to refer to the capabilities of heterogeneous processor cores (Heterogeneous MPSoC) according to different application configuration methods, and hand over specific network packets to specific processor cores with the best processing capabilities. operation to achieve the best performance. Specifically, in the information processing unit 12 (for the processor core with cortex A9) to cooperate the operating system 22 (Linux operating system, that is, the operating system to be connected to the virtual network connection unit 5) to run and information processing Unit 11 (which is a processor core with a cortex M4) is required to perform complex calculation processing under the operating conditions of operating system 21 (RTOS, that is, a direct connection operating system connected to the physical network connection unit 4) The packet is delivered to the information processing unit 12 (cortexA9) and the operating system 22 (Linux) through the virtual network connection unit 5 for processing. Relatively, the packet that needs real-time response is passed to the information processing unit through the physical network connection unit 4 11 (cortex M4) and the operating system 21 (RTOS) perform fast response processing; thereby, the information processing and transmission device of the present invention can improve operation performance and transmission efficiency of network resources.

此外,本发明的信息处理传输装置尚得以通过虚拟网络联机单元5的安装程序的配置(亦即,通过软件设定的方式)而弹性调度实体网络联机单元4,而提供有联机需求的待连线作业系统联机至网络6,借此满足多个操作系统的网络联机需求。In addition, the information processing and transmission device of the present invention can also flexibly schedule the physical network connection unit 4 through the configuration of the installation program of the virtual network connection unit 5 (that is, through software settings), and provide waiting for connection with connection requirements. The online operating system is connected to the network 6, thereby meeting the network connection requirements of multiple operating systems.

以上的叙述以及说明仅为本发明的较佳实施例的说明,本领域技术人员当可依据以下所界定权利要求书以及上述的说明而作其他的修改,只是这些修改仍应是为本发明的发明精神而在本发明的保护范围中。The above descriptions and descriptions are only descriptions of the preferred embodiments of the present invention, and those skilled in the art can make other modifications according to the claims defined below and the above descriptions, but these modifications should still be part of the present invention. The spirit of the invention is within the protection scope of the present invention.

Claims (7)

1.一种信息处理传输装置,包含:1. An information processing and transmission device, comprising: 多个信息处理单元;multiple information processing units; 多个操作系统,各个操作系统为所属于各个所述的信息处理单元而于非对称多重处理的架构下运行;a plurality of operating systems, each of which operates under the framework of asymmetric multiprocessing for belonging to each of the information processing units; 内存单元,经配置而储存个别地对应于各个所述的操作系统的中断脚本以中断各个所述的操作系统;a memory unit configured to store interrupt scripts individually corresponding to each of said operating systems to interrupt each of said operating systems; 一实体网络联机单元,具有所属的一媒体访问控制地址及一网际协议地址,且所述的实体网络联机单元经配置而提供多个所述的操作系统的其中一个操作系统予以联机至网络而成为直接连线作业系统,而使所述的信息处理传输装置通过所述的媒体访问控制地址及所述的网际协议地址而与所述的网络进行信息传输,其中多个所述的操作系统中的其它操作系统为待连线作业系统;以及A physical network connection unit has a media access control address and an IP address associated with it, and the physical network connection unit is configured to provide one of the plurality of operating systems to connect to the network to become direct connection to the operating system, so that the information processing and transmission device performs information transmission with the network through the media access control address and the Internet protocol address, wherein the multiple operating systems Other operating system is the operating system to be connected; and 虚拟网络联机单元,依据所述的待连线作业系统的数量而以一对一的方式个别地连接于所述的待连线作业系统,所述的虚拟网络联机单元连接至所述的实体网络联机单元而提供所述的待连线作业系统与所述的直接连线作业系统共同地通过所述的媒体访问控制地址及所述的网际协议地址而联机至所述的网络,The virtual network connection unit is individually connected to the operating systems to be connected in a one-to-one manner according to the number of the operating systems to be connected, and the virtual network connection unit is connected to the physical network The connection unit provides that the operating system to be connected and the directly connected operating system are connected to the network through the media access control address and the Internet protocol address, 其中,所述的虚拟网络联机单元向所述的实体网络联机单元所联机的操作系统注册通信端口编号或通信协议,若实体网络联机单元收到符合通信端口编号或通信协议的封包,则实体网络所联机的操作系统需要转发封包,而使每一个所述的虚拟网络联机单元与所述的实体网络联机单元之间得以双向地转发封包,借此而使所述的实体网络联机单元作为所述的虚拟网络联机单元与所述的网络之间的信息传输单元,且各个所述的待连线作业系统通过各自储存于所述的内存单元的中断脚本而执行与所述的虚拟网络联机单元之间的信息传输,且所述的直接连线作业系统通过储存于内存单元的中断脚本而执行与所述的实体网络联机单元之间的信息传输。Wherein, the virtual network connection unit registers the communication port number or communication protocol with the operating system connected to the physical network connection unit, and if the physical network connection unit receives a packet conforming to the communication port number or communication protocol, the physical network The connected operating system needs to forward packets so that each of the virtual network connection units and the physical network connection units can bidirectionally forward packets, thereby making the physical network connection units act as the The information transmission unit between the virtual network connection unit and the network, and each of the operating systems to be connected executes the connection with the virtual network connection unit through the interrupt scripts stored in the memory unit respectively and the direct connection operating system executes the information transmission with the physical network connection unit through the interrupt script stored in the memory unit. 2.根据权利要求1所述的信息处理传输装置,其特征在于,所述的网络为局域网络或因特网。2. The information processing and transmission device according to claim 1, wherein the network is a local area network or the Internet. 3.根据权利要求1所述的信息处理传输装置,其特征在于,多个所述的信息处理单元为单个处理器的多数个异质处理器核心。3. The information processing and transmission device according to claim 1, wherein the plurality of information processing units are a plurality of heterogeneous processor cores of a single processor. 4.根据权利要求1所述的信息处理传输装置,其特征在于,多个所述的操作系统为相互异质的操作系统。4. The information processing and transmission device according to claim 1, wherein the plurality of operating systems are mutually heterogeneous operating systems. 5.根据权利要求1所述的信息处理传输装置,其特征在于,所述的直接连线作业系统为实时操作系统。5. The information processing and transmission device according to claim 1, wherein the direct connection operating system is a real-time operating system. 6.根据权利要求1所述的信息处理传输装置,其特征在于,所述的中断脚本为软件中断脚本。6. The information processing transmission device according to claim 1, wherein the interrupt script is a software interrupt script. 7.根据权利要求1所述的信息处理传输装置,其特征在于,虚拟网络联机单元的安装程序依据所述的待连线作业系统的数量而形成相应数量的虚拟网络联机单元。7. The information processing and transmission device according to claim 1, wherein the installation program of the virtual network connection unit forms a corresponding number of virtual network connection units according to the number of operating systems to be connected.
CN201810131071.3A 2018-02-09 2018-02-09 Information Processing Transmission Device Active CN110134491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810131071.3A CN110134491B (en) 2018-02-09 2018-02-09 Information Processing Transmission Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810131071.3A CN110134491B (en) 2018-02-09 2018-02-09 Information Processing Transmission Device

Publications (2)

Publication Number Publication Date
CN110134491A CN110134491A (en) 2019-08-16
CN110134491B true CN110134491B (en) 2023-08-08

Family

ID=67567859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810131071.3A Active CN110134491B (en) 2018-02-09 2018-02-09 Information Processing Transmission Device

Country Status (1)

Country Link
CN (1) CN110134491B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111267838B (en) * 2020-01-20 2021-07-23 北京百度网讯科技有限公司 Parking processing method, system and device and vehicle controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1849587A (en) * 2003-07-30 2006-10-18 扎鲁纳股份有限公司 Multiple operating systems sharing a processor and a network interface
CN101383780A (en) * 2007-09-05 2009-03-11 宏达国际电子股份有限公司 Method and system for simultaneously supporting network sharing and data synchronization
CN104090650A (en) * 2014-05-30 2014-10-08 昆山三泰新电子科技有限公司 Control system for multi-user operation in single computer, and control method for multi-user operation in single computer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE409904T1 (en) * 2003-04-09 2008-10-15 Jaluna Sa OPERATING SYSTEMS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1849587A (en) * 2003-07-30 2006-10-18 扎鲁纳股份有限公司 Multiple operating systems sharing a processor and a network interface
CN101383780A (en) * 2007-09-05 2009-03-11 宏达国际电子股份有限公司 Method and system for simultaneously supporting network sharing and data synchronization
CN104090650A (en) * 2014-05-30 2014-10-08 昆山三泰新电子科技有限公司 Control system for multi-user operation in single computer, and control method for multi-user operation in single computer

Also Published As

Publication number Publication date
CN110134491A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
JP6328134B2 (en) Method, apparatus, and program for performing communication channel failover in a clustered computer system
US10768960B2 (en) Method for affinity binding of interrupt of virtual network interface card, and computer device
CN103533086B (en) Uniform resource scheduling method in cloud computing system
JP5737050B2 (en) Information processing apparatus, interrupt control method, and interrupt control program
US9742726B2 (en) Distributed dynamic host configuration protocol
CN102609298B (en) Based on network interface card virtualization system and the method thereof of hardware queue expansion
US9354952B2 (en) Application-driven shared device queue polling
WO2018086013A1 (en) Packet processing method in cloud computing system, host, and system
US9576332B1 (en) Systems and methods for remote graphics processing unit service
US9009702B2 (en) Application-driven shared device queue polling in a virtualized computing environment
JP5742387B2 (en) Information processing system and I / O switch device
US20160254978A1 (en) Selectively refreshing address registration information
US12160359B2 (en) Server delay control device, server delay control method, and program
CN106844007A (en) A kind of virtual method and system based on spatial reuse
US20160328348A1 (en) Computer and computer i/o control method
US20160072908A1 (en) Technologies for proxy-based multi-threaded message passing communication
US9612877B1 (en) High performance computing in a virtualized environment
US10073725B2 (en) Distributed input/output virtualization
US10353857B2 (en) Parallel processing apparatus and method for controlling communication
CN110134491B (en) Information Processing Transmission Device
CN106815067A (en) The online moving method of virtual machine, device with I/O virtualizations
US20100269119A1 (en) Event-based dynamic resource provisioning
CN107426728B (en) High-performance access authentication processing method, system, controller equipment and networking device
Zeng et al. XCollOpts: A novel improvement of network virtualizations in Xen for I/O-latency sensitive applications on multicores
Guay et al. Early experiences with live migration of SR-IOV enabled InfiniBand

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 14/F, No. 13, Qiaohe Road, Zhonghe District, New Taipei City, Taiwan, China, China

Applicant after: WEINTEK LABS Inc.

Address before: The way and Chinese Taiwan District in New Taipei City No. 910 3 floor

Applicant before: WEINTEK LABS Inc.

GR01 Patent grant
GR01 Patent grant