WO2019205597A1 - Communication device and intelligent terminal - Google Patents

Communication device and intelligent terminal Download PDF

Info

Publication number
WO2019205597A1
WO2019205597A1 PCT/CN2018/115930 CN2018115930W WO2019205597A1 WO 2019205597 A1 WO2019205597 A1 WO 2019205597A1 CN 2018115930 W CN2018115930 W CN 2018115930W WO 2019205597 A1 WO2019205597 A1 WO 2019205597A1
Authority
WO
WIPO (PCT)
Prior art keywords
operating system
external
network interface
network
communication device
Prior art date
Application number
PCT/CN2018/115930
Other languages
French (fr)
Chinese (zh)
Inventor
欧阳宇基
陈辉
Original Assignee
广州视源电子科技股份有限公司
广州视臻信息科技有限公司
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 广州视源电子科技股份有限公司, 广州视臻信息科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2019205597A1 publication Critical patent/WO2019205597A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/15Interconnection of switching modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/109Integrated on microchip, e.g. switch-on-chip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a communications device and an intelligent terminal.
  • a and B can be installed in a communication device.
  • the A operating system can have strong processing power but the consumption of resources may be relatively large, while the processing power of the B operating system can be relatively weak but the consumption of resources such as power is also small.
  • the user can deploy different applications on the A and B operating systems according to the requirements of different applications, in order to seek an improvement in the overall performance of the communication device.
  • the embodiments of the present application provide a communication device and an intelligent terminal, which are used to implement network communication of multiple operating systems in the same device simply and conveniently.
  • An embodiment of the present application provides a communications device, including:
  • N operating system motherboards, a first switch chip, a first external network interface for connecting to an external wired network, and a switch connected between the first switch chip and the first external network interface, wherein N is greater than or equal to An integer of 2;
  • the N operating system boards are respectively provided with a second external network interface connected to the first switch chip;
  • a first operating system motherboard of the N operating system motherboards is connected to the first external network interface, and is connected to the switch;
  • the first operating system carried on the first operating system motherboard is configured to: when the first external network interface is connected to the external wired network, the switch is controlled to be turned on.
  • the embodiment of the present application provides an intelligent terminal, including the communication device as described above.
  • the communication device has N operating systems, N ⁇ 2, and the communication device has a first external network interface, such as an Ethernet interface, for connecting to an external wired network.
  • a first switch chip is disposed in the communication device, and is connected to the first on an operating system motherboard corresponding to each of the N operating systems.
  • one operating system selected from the N operating systems is referred to as the first operating system, and the first operating system motherboard and the first external operating system are established. Connection line for network interface and switch.
  • the control switch when the first operating system monitors that the first external network interface is connected to the external wired network, for example, the network cable is inserted into the first external network interface, the control switch is turned on, and at this time, the N operating systems can pass the first
  • the switch chip is connected to the external wired network, so that by deploying the above-mentioned communication component in the communication device, the ability of the N operating systems to perform network communication through the external wired network can be realized, thereby saving hardware cost and ensuring the communication device. Small and lightweight requirements.
  • FIG. 1 is a schematic structural diagram of Embodiment 1 of a communication device according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a framework of a second embodiment of a communication device according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a framework of a third embodiment of a communication device according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a framework of a fourth embodiment of a communication device according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a framework of Embodiment 5 of a communication device according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a framework of Embodiment 6 of a communication device according to an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of a framework of Embodiment 7 of a communication device according to an embodiment of the present disclosure.
  • the words “if” and “if” as used herein may be interpreted to mean “when” or “when” or “in response to determining” or “in response to detecting.”
  • the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) “Time” or “in response to a test (condition or event stated)”.
  • the external network interface corresponds to each interface that implements access to the external network by each operating system in the communication device.
  • the intranet interface corresponds to each interface that implements internal communication between operating systems in the communication device.
  • FIG. 1 is a schematic diagram of a framework of a first embodiment of a communication device according to an embodiment of the present disclosure. As shown in FIG. 1 , the communication device includes:
  • N operating system motherboards, a first switch chip, a first external network interface for connecting to an external wired network, and a switch connected between the first switch chip and the first external network interface, N being an integer greater than or equal to 2.
  • the N operating system motherboards are respectively provided with a second external network interface connected to the first switch chip; the first operating system motherboard of the N operating system motherboards is connected to the first external network interface, and is connected to the switch.
  • the first operating system carried on the first operating system motherboard is configured to: if the first external network interface is connected to the external wired network, the control switch is turned on.
  • the communication device includes a first operating system motherboard carrying the first operating system and a second operating system carrying the second operating system as shown in FIG. Operating system motherboard.
  • the first external network interface is an interface connected to the network cable, and is generally disposed on a surface of the communication device.
  • the first external network interface may be an ether disposed on the main chassis. Network interface.
  • the first switch chip may be a Layer 2 switch chip or a Layer 3 or Layer 4 switch chip.
  • a second external network interface is disposed on each operating system motherboard, and the second external network interface may be an Ethernet interface, such as the Ethernet interface illustrated in FIG. 1.
  • the second external network interface on the motherboard of different operating systems will be connected to different ports of the first switch chip, for example, the Ethernet interface 1 of the first operating system motherboard illustrated in FIG. 1 is connected to the first switch chip.
  • Port 1 (port1), the Ethernet port 1 of the second operating system motherboard is connected to port 2 (port 2) of the first switch chip.
  • FIG. 1 illustrates a port 3 (port 3) connected to a switch between the first external network interface and the first switch chip and connected to the first switch chip.
  • the function of the switch is mainly embodied in: when the first external network interface is inserted into the first external network interface, that is, the first external network interface is connected to the external wired network, the switch is turned on, so as can be seen from FIG. 1, the first operating system and the first The second operating system will be able to access the external network through the first switch chip.
  • an operating system may be selected from the N operating systems, for example, the first operating system is selected from the first operating system and the second operating system in FIG. 1 to monitor the connection of the first external network interface.
  • the control switch is turned on.
  • first operating system for monitoring the first external network interface may be randomly selected from the N operating systems in advance, or may be the most powerful processing selected from the N operating systems. operating system.
  • the first operating system may have a network cable insertion and removal monitoring module.
  • the first external network interface sends a notification message to the network cable insertion and removal monitoring module. Informing the first operating system network cable to be inserted into the first external network interface.
  • the first external network interface sends a notification message to the network cable insertion and removal monitoring module to inform the An operating system network cable is pulled out from the first external network interface.
  • the access to the external network by the multiple operating systems in this embodiment is based on the premise that the network cable is inserted into the first external network interface. Therefore, the external wired network may be understood to be connected to the external network by using a wired manner.
  • the external wireless network mentioned can be understood as being wirelessly connected to an external network.
  • the network communication process of the operating system will be briefly described below with reference to FIG. 1, when the first operating system detects that the first external network interface is inserted into the network cable, the switch is turned on, so that the first operating system and the second operating system access the external network through the first switch chip.
  • the communication data sequentially passes through the Ethernet port 1 of the first operating system motherboard, the first switch chip, and the first external device.
  • the network interface is sent out and transmitted to the other communication device through the external network. It can be understood that when other communication devices want to send data to the first operating system, the communication path is reversed.
  • the above communication process may differ depending on the first switch chip.
  • the selected first switch chip is a Layer 2 switch chip
  • the first switch chip will The data is output to each of the other ports, as shown in Figure 1, port1 and port2, so that the data is sent to the first operation through the Ethernet port 1 of the first operating system motherboard and the Ethernet port 1 of the second operating system motherboard.
  • the system and the second operating system determine the data according to whether the media access control (MAC) address carried in the data corresponds to itself.
  • MAC media access control
  • the second operating system determines that the data is not sent to itself, discarding the data.
  • the first operating system is taken as an example.
  • the MAC address corresponding to the first operating system can be regarded as the MAC address corresponding to the Ethernet port 1 on the motherboard of the first operating system.
  • the processing logic of the first switch chip for the received data is only simple to receive the data from a certain port, and then forward the data to each other. The process of the port without forwarding to a specific destination party.
  • the first switch chip has forwarding processing logic to a specific destination communication party, for example, when a three-layer switch chip is selected, the first switch chip can directly directly data based on a communication address of the destination communication party, such as an IP address and a MAC address. Send to the destination party.
  • each operating system can also be obtained through static or dynamic manner.
  • An IP address such as a network access device to which the communication device is connected, such as a router or a gateway, assigns a corresponding IP address to each operating system of the communication device, wherein the IP address is a second external network corresponding to each operating system motherboard.
  • Interface as shown in Figure 1, Ethernet port 1.
  • the second external network interface of each operating system motherboard may be assigned an IP address in the same network segment as other communication devices connected to the same network access device, assuming that the network segment is 172.18.XX.
  • the external network IP address corresponding to the Ethernet interface 1 of the first operating system motherboard and the second operating system motherboard is in the network segment 172.18.XX.XX.
  • the first operating system and the second operating system can discover a service in another communication device on the same network segment and use the service.
  • the control switch when the first operating system detects that the first external network interface is inserted into the network cable, the control switch is turned on. At this time, the first operating system and the second operating system can be The first switch chip is connected to the external network, so that only by deploying the above-mentioned communication component in the communication device, multiple operating systems can be connected to the external network for network communication by inserting a network cable. Capabilities, thereby saving hardware costs and ensuring the small and lightweight requirements of communication devices.
  • the embodiment of the present application further provides a mechanism for ensuring that N operating systems implement internal communication with each other at least, as shown in FIG. 2 and FIG. 3. It can be understood that when each operating system can access an external network, each operating system can also implement communication with each other through the external network.
  • N-1 first intranet interfaces for respectively connecting with the remaining N-1 operating system motherboards may be set on each of the N operating system motherboards, for example, as shown in FIG. 2
  • the first internal network interface (Ethernet port 2) respectively disposed on the first operating system motherboard and the second operating system motherboard implements internal communication between the first operating system and the second operating system, wherein Each Ethernet port 2 is assigned an intranet IP address, as shown in Figure 2.
  • the internal communication mechanism between the different operating systems provided in this embodiment is used when the operating system cannot connect to the external network. Therefore, the network cable will not be inserted in the first external network interface, and thus, when connected to the first When the first operating system of an external network interface detects that the first external network interface is not connected to the external wired network, the control switch is disconnected. At this time, the communication of the operating system can no longer be realized through the external network, and instead The network implements communication between different operating systems.
  • a second switch chip is further disposed in the communication device, and each of the N operating system boards is configured to be connected to the second switch chip.
  • the second internal network interface As shown in FIG. 3, the first operating system motherboard and the second operating system motherboard are connected to different ports of the second switch chip through a second internal network interface (Ethernet port 3) respectively disposed thereon.
  • the internal communication between the first operating system and the second operating system is implemented by the second switch chip, wherein the two Ethernet ports 3 are respectively assigned an intranet IP address, as shown in FIG.
  • the implementation of the alternative mode is also used when the operating system cannot connect to the external network, so when the first operating system connected to the first external network interface monitors that the first external network interface is not connected to the external wired network Then, the control switch is disconnected. At this time, communication between different operating systems is realized by the second switch chip.
  • the two internal communication mechanisms may be selected according to the number of operating systems included in the communication device. For example, when the number of operating systems included is small, for example, two or three, the first may be adopted. An optional method; when there are a large number of operating systems, for example, more than three, the second alternative is adopted.
  • the N operating systems in the communication device can access the external network, that is, access the external wired network, and access the external wireless network.
  • the internet Therefore, the embodiment of the present application also provides a scheme for N operating systems to share an external wireless network, as shown in FIG. 4 and FIG. 5.
  • the foregoing communications device may further include: a third external network interface corresponding to the N operating system motherboards for connecting to the external wireless network, such as the first operation and the first operation illustrated in FIG. 4 and FIG.
  • the third external network interface (USB1 and USB2) corresponding to the system motherboard and the second operating system motherboard.
  • the third external network interface may be disposed on a chassis of the communication device, and each third external network interface may mark a corresponding operating system identifier for the user to respectively correspond to the N operating system motherboards. In the three external network interfaces, select the interface that you want to insert into a wireless network card such as a WiFi network card.
  • a wireless network card such as a WiFi network card.
  • the specific processing procedure of the wireless network sharing is slightly different.
  • the application scenarios corresponding to the two embodiments are described. It is assumed that the first external network interface is not inserted into the network cable, that is, N at this time. The operating system cannot access the external wired network. At this time, the first operating system controls the switch between the first external network interface and the first switch chip to be disconnected.
  • the first operating system can share the external wireless network to the second external network interface of the first operating system motherboard (the first operating system motherboard in FIG. 4)
  • the Ethernet port 1) is shared by the first switch chip to the second external network interface of the remaining N-1 operating system boards (the Ethernet port 1 on the second operating system board in FIG. 4).
  • the second operating system carried on the second operating system motherboard is And the method is: sending a wireless access notification to the first operating system, and sharing the external wireless network to the second external network interface of the second operating system motherboard when receiving the sharing instruction fed back by the first operating system (in FIG. 5
  • the Ethernet port 1) on the motherboard of the second operating system is shared by the first switch chip to the second external network interface of the remaining N-1 operating system boards (the Ethernet on the first operating system board in FIG. 5) port 1).
  • the second operating system sends a wireless access notification to the first operating system and the first operating system sends a sharing instruction to the second operating system, which may be as shown in FIG. 2 or FIG. 3.
  • the internal communication mechanism is implemented.
  • the wireless access notification is used to notify the first operating system that the wireless network can access; and the sharing instruction is used to receive other operations if the first operating system determines that the first external network interface is not connected to the external wired network.
  • the system such as the wireless access notification of the second operating system, can trigger the network sharing of the wireless network card inserted into the third external network interface corresponding to the second operating system motherboard.
  • the network sharing between different network interfaces of the same operating system motherboard is equivalent to the network sharing between the different network cards of the same device, and can be implemented based on the existing implementation manner, which is not described in this embodiment.
  • an operating system when an operating system can access an external wireless network, an operating system can be implemented by inputting only one access password of the wireless network.
  • the sharing of the external wireless network enables N operating systems to communicate through the external wireless network, which is convenient for the user's operation, and also serves as a supplementary networking solution when the wired network is unavailable, and increases multiple communication devices.
  • the robustness of the operating system into the network is provided in this embodiment.
  • an external network may be selected for communication of N operating systems in the communication device.
  • An optional selection basis is: selecting a high priority according to a preset priority of the external wired network and the external wireless network. Among them, the priority setting can be set by combining various factors such as network bandwidth and network quality, so as to use a high-quality external network for communication.
  • the first operating system monitors that the first external network interface is connected to the external wired network, and if the third external network interface corresponding to the first operating system motherboard (USB1 illustrated in FIG. 6) is connected to
  • the external wireless network controls the switch to be turned on according to the preset priority of the external wired network and the external wireless network, or the control switch is disconnected and the external wireless network is shared to the second external network interface of the first operating system motherboard (figure The Ethernet port on the first operating system board indicated in 6 is 1). If the priority of the external wired network is higher than the priority of the external wireless network, the control switch is turned on. At this time, each operating system performs network communication through an external wired network, as shown in FIG. 6.
  • the second operating system of the N-1 operating system motherboards carries the second
  • the wireless access notification sent by the operating system controls the switch to be turned on according to the preset priority of the external wired network and the external wireless network, and feeds back the instruction to the second operating system, so that the second operating system gives up using the external wireless network;
  • the control switch is turned off and feedback instructions are fed back to the second operating system to cause the second operating system to share the external wireless network to other operating systems.
  • the wireless access notification is sent by the second operating system when the third external network interface corresponding to the second operating system motherboard is connected to the external wireless network.
  • the first operating system learns that the first external network interface is connected to the external wired network and the second operating system
  • the first operating system control switch is disconnected, and the sharing instruction is fed back to the second operating system, and the second operating system
  • the process of sharing the external wireless network to the second external network interface of the first operating system motherboard is performed according to the process shown in FIG. 5, at which time each operating system performs network communication through the external wireless network.
  • the embodiment of the present application further provides an intelligent terminal, where the smart terminal includes the communication device provided in any of the foregoing embodiments.
  • the smart terminal includes the communication device provided in any of the above embodiments, and the smart terminal includes other components, such as a memory and a power component, in addition to the foregoing hardware structure and communication method of the communication device. , multimedia components, audio components, sensor components, and more.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

Provided is a communication device, comprising: N operating system mainboards, a first switch chip, a first external-network interface for connecting to an external wired network, and a switch connected between the first switch chip and the first external-network interface, wherein the N operating system mainboards are respectively provided with a second external-network interface connected to the first switch chip; and a first operating system mainboard from among the N operating system mainboards is connected to the first external-network interface and is connected to the switch. If it is monitored that a first external-network interface is connected to an external wired network, a first operating system on a first operating system mainboard controls the turning on of a switch, and at that moment, N operating systems can all be connected to the external wired network through a first switch chip. Therefore, by merely deploying the above-mentioned set of communication components in a communication device, the capability of the N operating systems carrying out network communication through an external network can be realized, thereby saving on hardware costs and achieving the miniaturization and lightweight requirements of the communication device.

Description

通信设备和智能终端Communication equipment and intelligent terminal
本申请要求于2018年04月25日提交中国专利局、申请号为201810379121.X、发明名称为“通信设备和智能终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201, 810, 379, 211, filed on Apr. 25, 2018, the entire disclosure of which is incorporated herein by reference. .
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种通信设备和智能终端。The present application relates to the field of communications technologies, and in particular, to a communications device and an intelligent terminal.
背景技术Background technique
目前,具有多个操作系统一般为双操作系统的通信设备(比如用户的笔记本电脑、PC机、服务器)已经越来越普遍,比如可以在某个通信设备中安装A和B两个操作系统,其中,A操作系统可以具有较强的处理能力但是对资源的消耗可能也会比较大,而B操作系统的处理能力可以相对较弱但是对资源比如电量的消耗也会较小。从而,用户可以根据不同应用程序的需求而在A和B两个操作系统上部署不同的应用程序,以寻求通信设备总体效能的提升。At present, communication devices with multiple operating systems, generally dual operating systems (such as users' laptops, PCs, and servers) have become more and more popular. For example, two operating systems, A and B, can be installed in a communication device. Among them, the A operating system can have strong processing power but the consumption of resources may be relatively large, while the processing power of the B operating system can be relatively weak but the consumption of resources such as power is also small. Thus, the user can deploy different applications on the A and B operating systems according to the requirements of different applications, in order to seek an improvement in the overall performance of the communication device.
当某个通信设备中安装有多个操作系统时,为了保证多个操作系统都具备网络通信功能,目前,需要为每个操作系统配置相应的通信组件,这样则会导致通信设备的硬件成本的增加,也会使得通信设备的体积、重量、耗电的增加。When multiple operating systems are installed in a communication device, in order to ensure that multiple operating systems have network communication functions, it is necessary to configure corresponding communication components for each operating system, which may result in hardware costs of the communication devices. The increase also increases the size, weight, and power consumption of the communication device.
申请内容Application content
有鉴于此,本申请实施例提供一种通信设备和智能终端,用以简单方便地实现同一设备中多个操作系统的网络通信。In view of this, the embodiments of the present application provide a communication device and an intelligent terminal, which are used to implement network communication of multiple operating systems in the same device simply and conveniently.
本申请实施例提供一种通信设备,包括:An embodiment of the present application provides a communications device, including:
N个操作系统主板、第一交换机芯片、用于连接到外部有线网络的第一外网接口、连接在所述第一交换机芯片和所述第一外网接口间的开关,N为大于或等于2的整数;N operating system motherboards, a first switch chip, a first external network interface for connecting to an external wired network, and a switch connected between the first switch chip and the first external network interface, wherein N is greater than or equal to An integer of 2;
其中,所述N个操作系统主板上各自设置有连接到所述第一交换机芯片的第二外网接口;Wherein, the N operating system boards are respectively provided with a second external network interface connected to the first switch chip;
所述N个操作系统主板中的第一操作系统主板连接到所述第一外网接口,并与所述开关连接;a first operating system motherboard of the N operating system motherboards is connected to the first external network interface, and is connected to the switch;
所述第一操作系统主板上承载的第一操作系统用于:若监听到所述第一外网接口连接到外部有线网络,则控制所述开关导通。The first operating system carried on the first operating system motherboard is configured to: when the first external network interface is connected to the external wired network, the switch is controlled to be turned on.
本申请实施例提供一种智能终端,包括如前所述的通信设备。The embodiment of the present application provides an intelligent terminal, including the communication device as described above.
本申请实施例提供的通信设备中具有N个操作系统,N≥2,该通信设备上具有用于连接到外部有线网络的第一外网接口比如以太网接口。为使得N个操作系统能够通过接入外部有线网络而实现网络通信,在通信设备中设置了第一交换机芯片,并在N个操作系统各自对应的操作系统主板上设置有连接到所述第一交换机芯片的第二外网接口,以及设置了连接在第一交换机芯片和第一外网接口间的开关。另外,为了通过对该开关进行控制以便实现N个操作系统能够接入外部有线网络,从N个操作系统中选出一个操作系统称为第一操作系统,建立第一操作系统主板与第一外网接口和开关的连接线路。基于此,当第一操作系统监听到第一外网接口连接到外部有线网络比如有网线插入到第一外网接口时,控制开关导通,此时,N个操作系统都可以通过该第一交换机芯片接入到外部有线网络,从而仅通过在通信设备中部署上述这一套通信组件,便能够实现N个操作系统通过外部有线网络进行网络通信的能力,从而节省了硬件成本以及保证通信设备的小型轻量化需求。The communication device provided by the embodiment of the present application has N operating systems, N≥2, and the communication device has a first external network interface, such as an Ethernet interface, for connecting to an external wired network. In order to enable N operating systems to implement network communication by accessing an external wired network, a first switch chip is disposed in the communication device, and is connected to the first on an operating system motherboard corresponding to each of the N operating systems. A second external network interface of the switch chip, and a switch connected between the first switch chip and the first external network interface. In addition, in order to control the switch so that N operating systems can access the external wired network, one operating system selected from the N operating systems is referred to as the first operating system, and the first operating system motherboard and the first external operating system are established. Connection line for network interface and switch. Based on this, when the first operating system monitors that the first external network interface is connected to the external wired network, for example, the network cable is inserted into the first external network interface, the control switch is turned on, and at this time, the N operating systems can pass the first The switch chip is connected to the external wired network, so that by deploying the above-mentioned communication component in the communication device, the ability of the N operating systems to perform network communication through the external wired network can be realized, thereby saving hardware cost and ensuring the communication device. Small and lightweight requirements.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1为本申请实施例提供的通信设备实施例一的框架示意图;FIG. 1 is a schematic structural diagram of Embodiment 1 of a communication device according to an embodiment of the present disclosure;
图2为本申请实施例提供的通信设备实施例二的框架示意图;2 is a schematic diagram of a framework of a second embodiment of a communication device according to an embodiment of the present disclosure;
图3为本申请实施例提供的通信设备实施例三的框架示意图;3 is a schematic diagram of a framework of a third embodiment of a communication device according to an embodiment of the present disclosure;
图4为本申请实施例提供的通信设备实施例四的框架示意图;4 is a schematic diagram of a framework of a fourth embodiment of a communication device according to an embodiment of the present disclosure;
图5为本申请实施例提供的通信设备实施例五的框架示意图;FIG. 5 is a schematic diagram of a framework of Embodiment 5 of a communication device according to an embodiment of the present disclosure;
图6为本申请实施例提供的通信设备实施例六的框架示意图;FIG. 6 is a schematic diagram of a framework of Embodiment 6 of a communication device according to an embodiment of the present disclosure;
图7为本申请实施例提供的通信设备实施例七的框架示意图。FIG. 7 is a schematic diagram of a framework of Embodiment 7 of a communication device according to an embodiment of the present disclosure.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种。The terms used in the embodiments of the present application are for the purpose of describing particular embodiments only, and are not intended to limit the application. The singular forms "a", "the", "the" and "the" Generally contains at least two.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" as used herein is merely an association describing the associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, while A and B, there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if" and "if" as used herein may be interpreted to mean "when" or "when" or "in response to determining" or "in response to detecting." Similarly, depending on the context, the phrase "if determined" or "if detected (conditions or events stated)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event) "Time" or "in response to a test (condition or event stated)".
还需要说明的是,术语“包括”、“包含”或者其任何其他变体 意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者系统中还存在另外的相同要素。It should also be noted that the terms "including", "comprising" or "comprising" or any other variations thereof are intended to encompass a non-exclusive inclusion, such that the item or system comprising a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such goods or systems. An element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the item or system including the element, without further limitation.
在具体介绍本申请各实施例前,先对本申请实施例中的一些名词进行简单的命名说明:本申请实施例中,外网接口对应于实现通信设备中各操作系统接入外部网络的各个接口;同理,内网接口对应于实现通信设备中各操作系统间实现内部通信的各个接口。Before the embodiments of the present application are specifically introduced, some nouns in the embodiments of the present application are simply named. In the embodiment of the present application, the external network interface corresponds to each interface that implements access to the external network by each operating system in the communication device. Similarly, the intranet interface corresponds to each interface that implements internal communication between operating systems in the communication device.
图1为本申请实施例提供的通信设备实施例一的框架示意图,如图1所示,该通信设备包括:FIG. 1 is a schematic diagram of a framework of a first embodiment of a communication device according to an embodiment of the present disclosure. As shown in FIG. 1 , the communication device includes:
N个操作系统主板、第一交换机芯片、用于连接到外部有线网络的第一外网接口、连接在第一交换机芯片和第一外网接口间的开关,N为大于或等于2的整数。N operating system motherboards, a first switch chip, a first external network interface for connecting to an external wired network, and a switch connected between the first switch chip and the first external network interface, N being an integer greater than or equal to 2.
其中,N个操作系统主板上各自设置有连接到第一交换机芯片的第二外网接口;N个操作系统主板中的第一操作系统主板连接到第一外网接口,并与开关连接。The N operating system motherboards are respectively provided with a second external network interface connected to the first switch chip; the first operating system motherboard of the N operating system motherboards is connected to the first external network interface, and is connected to the switch.
基于此,第一操作系统主板上承载的第一操作系统用于:若监听到第一外网接口连接到外部有线网络,则控制开关导通。Based on this, the first operating system carried on the first operating system motherboard is configured to: if the first external network interface is connected to the external wired network, the control switch is turned on.
在图1中示意的是N=2的情形,此时,该通信设备中包括如图1中所示的承载有第一操作系统的第一操作系统主板以及承载有第二操作系统的第二操作系统主板。Illustrated in FIG. 1 is a case where N=2. At this time, the communication device includes a first operating system motherboard carrying the first operating system and a second operating system carrying the second operating system as shown in FIG. Operating system motherboard.
实际应用中,上述第一外网接口是连接网线的接口,一般设置在通信设备的机体表面,比如当该通信设备为PC机时,该第一外网接口可以是设置在主机箱上的以太网接口。In an actual application, the first external network interface is an interface connected to the network cable, and is generally disposed on a surface of the communication device. For example, when the communication device is a PC, the first external network interface may be an ether disposed on the main chassis. Network interface.
上述第一交换机芯片可以是二层交换机芯片也可以是三层或四层交换机芯片。The first switch chip may be a Layer 2 switch chip or a Layer 3 or Layer 4 switch chip.
为实现各操作系统主板与第一交换机芯片的连接,在各操作系统主板上设置有第二外网接口,该第二外网接口比如可以是以太网 接口,比如图1中示意的以太网口1。To implement the connection between the operating system motherboard and the first switch chip, a second external network interface is disposed on each operating system motherboard, and the second external network interface may be an Ethernet interface, such as the Ethernet interface illustrated in FIG. 1.
可以理解的是,不同操作系统主板上的第二外网接口将会连接到第一交换机芯片的不同端口,比如图1中示意的第一操作系统主板的以太网口1连接到第一交换机芯片的端口1(port1),第二操作系统主板的以太网口1连接到第一交换机芯片的端口2(port2)。另外,图1中示意出连接在第一外网接口与第一交换机芯片间的开关连接到第一交换机芯片的端口3(port3)。It can be understood that the second external network interface on the motherboard of different operating systems will be connected to different ports of the first switch chip, for example, the Ethernet interface 1 of the first operating system motherboard illustrated in FIG. 1 is connected to the first switch chip. Port 1 (port1), the Ethernet port 1 of the second operating system motherboard is connected to port 2 (port 2) of the first switch chip. In addition, FIG. 1 illustrates a port 3 (port 3) connected to a switch between the first external network interface and the first switch chip and connected to the first switch chip.
其中,该开关的作用主要体现于:当第一外网接口中插入网线即第一外网接口连接到外部有线网络时,开关导通,如此由图1可以看出,第一操作系统和第二操作系统将可以通过第一交换机芯片接入外网。The function of the switch is mainly embodied in: when the first external network interface is inserted into the first external network interface, that is, the first external network interface is connected to the external wired network, the switch is turned on, so as can be seen from FIG. 1, the first operating system and the first The second operating system will be able to access the external network through the first switch chip.
为此,可以从N个操作系统中选出一个操作系统比如图1中从第一操作系统和第二操作系统中选出第一操作系统来监听第一外网接口的连接情况。当第一操作系统监听到第一外网接口连接到外部有线网络时,控制开关导通。To this end, an operating system may be selected from the N operating systems, for example, the first operating system is selected from the first operating system and the second operating system in FIG. 1 to monitor the connection of the first external network interface. When the first operating system detects that the first external network interface is connected to the external wired network, the control switch is turned on.
可以理解的是,用于监听第一外网接口的上述第一操作系统可以是预先从N个操作系统中随机选出的,也可以是从N个操作系统中选出的处理能力最强的操作系统。It can be understood that the foregoing first operating system for monitoring the first external network interface may be randomly selected from the N operating systems in advance, or may be the most powerful processing selected from the N operating systems. operating system.
在一可选实现方式中,第一操作系统中可以具有网线插拔监听模块,当第一外网接口中插入网线时,第一外网接口会向该网线插拔监听模块发送通知消息,以告知第一操作系统网线插入第一外网接口,同样地,当从第一外网接口中拔出网线时,第一外网接口也会向该网线插拔监听模块发送通知消息,以告知第一操作系统网线从第一外网接口中拔出。In an optional implementation manner, the first operating system may have a network cable insertion and removal monitoring module. When the network cable is inserted into the first external network interface, the first external network interface sends a notification message to the network cable insertion and removal monitoring module. Informing the first operating system network cable to be inserted into the first external network interface. Similarly, when the network cable is unplugged from the first external network interface, the first external network interface sends a notification message to the network cable insertion and removal monitoring module to inform the An operating system network cable is pulled out from the first external network interface.
由于本实施例中多个操作系统接入外部网络是基于第一外网接口中插入网线这个前提的,因此,上述外部有线网络可以理解为是通过有线方式接入外部网络,相应地,下文中提及的外部无线网络可以理解为是通过无线方式接入外部网络。The access to the external network by the multiple operating systems in this embodiment is based on the premise that the network cable is inserted into the first external network interface. Therefore, the external wired network may be understood to be connected to the external network by using a wired manner. The external wireless network mentioned can be understood as being wirelessly connected to an external network.
下面结合图1简单说明下操作系统的网络通信过程。如图1所 示,当第一操作系统监听到第一外网接口插入网线时,导通开关,使得第一操作系统和第二操作系统通过第一交换机芯片接入外部网络。The network communication process of the operating system will be briefly described below with reference to FIG. As shown in FIG. 1, when the first operating system detects that the first external network interface is inserted into the network cable, the switch is turned on, so that the first operating system and the second operating system access the external network through the first switch chip.
基于此,以第一操作系统为例,当第一操作系统想要向其他通信设备发送数据时,该通信数据依次经过第一操作系统主板的以太网口1、第一交换机芯片、第一外网接口发送出去,通过外部网络传输至该其他通信设备,可以理解的是,当其他通信设备想要发送数据至第一操作系统时,通信路径相反。Based on this, taking the first operating system as an example, when the first operating system wants to send data to other communication devices, the communication data sequentially passes through the Ethernet port 1 of the first operating system motherboard, the first switch chip, and the first external device. The network interface is sent out and transmitted to the other communication device through the external network. It can be understood that when other communication devices want to send data to the first operating system, the communication path is reversed.
但是,值得说明的是,随着第一交换机芯片的不同,上述通信过程可能会有所区别。具体地,当选用的第一交换机芯片为二层交换机芯片时,以其他通信设备想要发送数据至第一操作系统为例,当数据传输至第一交换机芯片的port3时,第一交换机芯片将该数据输出到各其他端口,如图1中示意的port1和port2,从而该数据分别通过第一操作系统主板的以太网口1和第二操作系统主板的以太网口1被发送至第一操作系统和第二操作系统,此时,第一操作系统和第二操作系统会根据该数据中所携带的目的地址——介质访问控制(Media Access Control,MAC)地址是否与自身对应而确定该数据是否是发给自己的,第二操作系统确定该数据不是发给自己的,丢弃该数据。其中,以第一操作系统为例,此时,与该第一操作系统对应的MAC地址可以视为是第一操作系统主板上以太网口1对应的MAC地址。However, it is worth noting that the above communication process may differ depending on the first switch chip. Specifically, when the selected first switch chip is a Layer 2 switch chip, as another communication device wants to send data to the first operating system, when the data is transmitted to the port 3 of the first switch chip, the first switch chip will The data is output to each of the other ports, as shown in Figure 1, port1 and port2, so that the data is sent to the first operation through the Ethernet port 1 of the first operating system motherboard and the Ethernet port 1 of the second operating system motherboard. The system and the second operating system. At this time, the first operating system and the second operating system determine the data according to whether the media access control (MAC) address carried in the data corresponds to itself. Whether it is sent to itself, the second operating system determines that the data is not sent to itself, discarding the data. The first operating system is taken as an example. In this case, the MAC address corresponding to the first operating system can be regarded as the MAC address corresponding to the Ethernet port 1 on the motherboard of the first operating system.
由此可知,当第一交换机芯片为二层交换机芯片时,该第一交换机芯片对于接收到的数据的处理逻辑仅为简单的从某个端口接收到该数据,进而将该数据转发至各其他端口的过程,而并不进行向特定目的通信方的转发。而当该第一交换机芯片具有向特定目的通信方的转发处理逻辑时,比如选用三层交换机芯片时,则该第一交换机芯片可以基于目的通信方的通信地址比如IP地址、MAC地址直接将数据发送至目的通信方。Therefore, when the first switch chip is a Layer 2 switch chip, the processing logic of the first switch chip for the received data is only simple to receive the data from a certain port, and then forward the data to each other. The process of the port without forwarding to a specific destination party. When the first switch chip has forwarding processing logic to a specific destination communication party, for example, when a three-layer switch chip is selected, the first switch chip can directly directly data based on a communication address of the destination communication party, such as an IP address and a MAC address. Send to the destination party.
另外,当开关导通使得N个操作系统都可以通过第一交换机芯 片接入外部网络时,为了实现各操作系统与外部其他通信设备的网络通信,各操作系统还可以通过静态或动态的方式获取IP地址,比如该通信设备所连接到的网络接入设备如路由器、网关为该通信设备的各操作系统分配对应的IP地址,其中,该IP地址是对应于各操作系统主板的第二外网接口的,如图1中示意的以太网口1。此时,可选地,各操作系统主板的第二外网接口可以被分配有与连接到同一网络接入设备的其他通信设备在同一网段的IP地址,假设该网段为172.18.XX.XX,则如图1所示,第一操作系统主板和第二操作系统主板的以太网口1对应的外网IP地址都在172.18.XX.XX这个网段。基于该IP地址的配置,可以实现第一操作系统、第二操作系统发现处于同一网段的其他通信设备中的某服务并使用该服务。In addition, when the switch is turned on so that N operating systems can access the external network through the first switch chip, in order to realize network communication between each operating system and other external communication devices, each operating system can also be obtained through static or dynamic manner. An IP address, such as a network access device to which the communication device is connected, such as a router or a gateway, assigns a corresponding IP address to each operating system of the communication device, wherein the IP address is a second external network corresponding to each operating system motherboard. Interface, as shown in Figure 1, Ethernet port 1. At this time, optionally, the second external network interface of each operating system motherboard may be assigned an IP address in the same network segment as other communication devices connected to the same network access device, assuming that the network segment is 172.18.XX. XX, as shown in Figure 1, the external network IP address corresponding to the Ethernet interface 1 of the first operating system motherboard and the second operating system motherboard is in the network segment 172.18.XX.XX. Based on the configuration of the IP address, the first operating system and the second operating system can discover a service in another communication device on the same network segment and use the service.
综上,在图1所示的通信设备的架构下,当第一操作系统监听到第一外网接口插入网线时,控制开关导通,此时,第一操作系统和第二操作系统都可以通过该第一交换机芯片接入到外部网络,从而仅通过在通信设备中部署上述这一套通信组件,通过插入一根网线便能够实现多个操作系统通过有线方式连接到外部网络进行网络通信的能力,从而节省了硬件成本以及保证通信设备的小型轻量化需求。In summary, in the architecture of the communication device shown in FIG. 1, when the first operating system detects that the first external network interface is inserted into the network cable, the control switch is turned on. At this time, the first operating system and the second operating system can be The first switch chip is connected to the external network, so that only by deploying the above-mentioned communication component in the communication device, multiple operating systems can be connected to the external network for network communication by inserting a network cable. Capabilities, thereby saving hardware costs and ensuring the small and lightweight requirements of communication devices.
在实际应用中,当第一外网接口没有插入网线,即通信设备无法通过有线的方式接入外部网络时,或者可以说是该通信设备不管通过什么方式都无法接入到外部网络时,对于该情况,本申请实施例还提供了起码保证N个操作系统实现彼此间的内部通信的机制,如图2和图3所示。可以理解的是,当各操作系统能够接入外部网络时,通过该外部网络也可以实现各操作系统实现彼此间的通信。In an actual application, when the first external network interface is not inserted into the network cable, that is, the communication device cannot access the external network through the wired manner, or it can be said that the communication device cannot access the external network by any means, In this case, the embodiment of the present application further provides a mechanism for ensuring that N operating systems implement internal communication with each other at least, as shown in FIG. 2 and FIG. 3. It can be understood that when each operating system can access an external network, each operating system can also implement communication with each other through the external network.
可选地,可以在N个操作系统主板中的每个操作系统主板上设置用于分别与剩余的N-1个操作系统主板连接的N-1个第一内网接口,比如在如图2所示,第一操作系统主板和第二操作系统主板上分别设置的第一内网接口(以太网口2),实现了第一操作系统和第 二操作系统间的内部通信,其中,这两个以太网口2分别被分配有内网IP地址,如图2所示。Optionally, N-1 first intranet interfaces for respectively connecting with the remaining N-1 operating system motherboards may be set on each of the N operating system motherboards, for example, as shown in FIG. 2 As shown, the first internal network interface (Ethernet port 2) respectively disposed on the first operating system motherboard and the second operating system motherboard implements internal communication between the first operating system and the second operating system, wherein Each Ethernet port 2 is assigned an intranet IP address, as shown in Figure 2.
由于本实施例提供的不同操作系统间的内部通信机制是在各操作系统无法连接到外部网络时使用的,因此,此时第一外网接口中将不会插入网线,从而,当连接到第一外网接口的第一操作系统监听到第一外网接口未连到外部有线网络,则控制开关断开,此时,将不再能够通过外网实现操作系统的通信,而转而由内网实现不同操作系统间的通信。The internal communication mechanism between the different operating systems provided in this embodiment is used when the operating system cannot connect to the external network. Therefore, the network cable will not be inserted in the first external network interface, and thus, when connected to the first When the first operating system of an external network interface detects that the first external network interface is not connected to the external wired network, the control switch is disconnected. At this time, the communication of the operating system can no longer be realized through the external network, and instead The network implements communication between different operating systems.
除了可以通过上述方式实现操作系统间的内部通信外,还可以通过如下可选方式实现:在通信设备中还设置第二交换机芯片,N个操作系统主板上各自设置有连接到第二交换机芯片的第二内网接口。如图3所示,图中示意的是第一操作系统主板和第二操作系统主板通过其上各自设置的第二内网接口(以太网口3)连接到第二交换机芯片的不同端口上,以通过该第二交换机芯片实现第一操作系统和第二操作系统间的内部通信,其中,这两个以太网口3分别被分配有内网IP地址,如图3所示。In addition to the internal communication between the operating systems in the foregoing manner, the following may be implemented in the following manner: a second switch chip is further disposed in the communication device, and each of the N operating system boards is configured to be connected to the second switch chip. The second internal network interface. As shown in FIG. 3, the first operating system motherboard and the second operating system motherboard are connected to different ports of the second switch chip through a second internal network interface (Ethernet port 3) respectively disposed thereon. The internal communication between the first operating system and the second operating system is implemented by the second switch chip, wherein the two Ethernet ports 3 are respectively assigned an intranet IP address, as shown in FIG.
同样地,在可选方式的实施也是在操作系统无法连接到外部网络时使用的,因此,当连接到第一外网接口的第一操作系统监听到第一外网接口未连到外部有线网络,则控制开关断开,此时,通过第二交换机芯片实现不同操作系统间的通信。Similarly, the implementation of the alternative mode is also used when the operating system cannot connect to the external network, so when the first operating system connected to the first external network interface monitors that the first external network interface is not connected to the external wired network Then, the control switch is disconnected. At this time, communication between different operating systems is realized by the second switch chip.
在实际应用中,可以根据通信设备中所包含的操作系统的数量来选择上述两个内部通信机制,比如,当包含的操作系统数量较少,比如为2个、3个时,可以采用第一种可选方式;当包含的操作系统数量较多,比如大于3个时,采用第二种可选方式。In practical applications, the two internal communication mechanisms may be selected according to the number of operating systems included in the communication device. For example, when the number of operating systems included is small, for example, two or three, the first may be adopted. An optional method; when there are a large number of operating systems, for example, more than three, the second alternative is adopted.
实际应用中,通信设备中的N个操作系统除了可以基于图1所示实施例通过有线方式接入外部网络即接入外部有线网络外,还可以通过无线方式接入外部网络即接入外部无线网络。因此,本申请实施例还提供了N个操作系统共享外部无线网络的方案,如图4和 图5所示。In an actual application, the N operating systems in the communication device can access the external network, that is, access the external wired network, and access the external wireless network. The internet. Therefore, the embodiment of the present application also provides a scheme for N operating systems to share an external wireless network, as shown in FIG. 4 and FIG. 5.
此时,前述通信设备中还可以包括:与N个操作系统主板分别对应的用于连接到外部无线网络的第三外网接口,比如在图4和图5中示意出的分别与第一操作系统主板和第二操作系统主板对应的第三外网接口(USB1和USB2)。In this case, the foregoing communications device may further include: a third external network interface corresponding to the N operating system motherboards for connecting to the external wireless network, such as the first operation and the first operation illustrated in FIG. 4 and FIG. The third external network interface (USB1 and USB2) corresponding to the system motherboard and the second operating system motherboard.
实际上,该第三外网接口可以是设置在通信设备的机箱上,并且每个第三外网接口处可以标记出对应的操作系统标识,以供用户从N个操作系统主板分别对应的第三外网接口中选择想要插入无线网卡比如WiFi网卡的接口。In fact, the third external network interface may be disposed on a chassis of the communication device, and each third external network interface may mark a corresponding operating system identifier for the user to respectively correspond to the N operating system motherboards. In the three external network interfaces, select the interface that you want to insert into a wireless network card such as a WiFi network card.
区别于用户插入无线网卡的第三外网接口是否对应于第一操作系统,无线网络共享的具体处理过程略有不同。Different from the third external network interface that the user inserts into the wireless network card corresponds to the first operating system, the specific processing procedure of the wireless network sharing is slightly different.
在结合图4和图5所示实施例具体介绍无线网络共享过程前,先对这两个实施例所对应的应用场景进行说明:假设第一外网接口并未插入网线,即此时N个操作系统无法接入外部有线网络,此时,第一操作系统控制第一外网接口与第一交换机芯片间的开关断开。Before the wireless network sharing process is specifically described in conjunction with the embodiments shown in FIG. 4 and FIG. 5, the application scenarios corresponding to the two embodiments are described. It is assumed that the first external network interface is not inserted into the network cable, that is, N at this time. The operating system cannot access the external wired network. At this time, the first operating system controls the switch between the first external network interface and the first switch chip to be disconnected.
基于此,如图4所示,当用户将无线网卡插入到第一操作系统主板对应的第三外网接口(图4中第一操作系统主板上的USB1)中时,即若与第一操作系统主板对应的第三外网接口连接到外部无线网络时,则第一操作系统可以将外部无线网络共享至第一操作系统主板的第二外网接口(图4中第一操作系统主板上的以太网口1),以通过第一交换机芯片共享至剩余的N-1个操作系统主板的第二外网接口(图4中的第二操作系统主板上的以太网口1)。Based on this, as shown in FIG. 4, when the user inserts the wireless network card into the third external network interface corresponding to the first operating system motherboard (USB1 on the first operating system motherboard in FIG. 4), When the third external network interface corresponding to the system board is connected to the external wireless network, the first operating system can share the external wireless network to the second external network interface of the first operating system motherboard (the first operating system motherboard in FIG. 4) The Ethernet port 1) is shared by the first switch chip to the second external network interface of the remaining N-1 operating system boards (the Ethernet port 1 on the second operating system board in FIG. 4).
基于此,如图5所示,当用户将无线网卡插入到第二操作系统主板对应的第三外网接口(图5中第二操作系统主板上的USB2)中时,即若与除第一操作系统主板外的剩余N-1个操作系统主板中的第二操作系统主板对应的第三外网接口连接到外部无线网络时,则此时,第二操作系统主板上承载的第二操作系统用于:向第一操作系统发送无线接入通知,并在接收到第一操作系统反馈的共享指令时,将外部无线网络共享至第二操作系统主板的第二外网接口(图5 中的第二操作系统主板上的以太网口1),以通过第一交换机芯片共享至剩余的N-1个操作系统主板的第二外网接口(图5中的第一操作系统主板上的以太网口1)。Based on this, as shown in FIG. 5, when the user inserts the wireless network card into the third external network interface corresponding to the second operating system motherboard (USB2 on the second operating system motherboard in FIG. 5), When the third external network interface corresponding to the second operating system motherboard of the remaining N-1 operating system motherboards is connected to the external wireless network, the second operating system carried on the second operating system motherboard is And the method is: sending a wireless access notification to the first operating system, and sharing the external wireless network to the second external network interface of the second operating system motherboard when receiving the sharing instruction fed back by the first operating system (in FIG. 5 The Ethernet port 1) on the motherboard of the second operating system is shared by the first switch chip to the second external network interface of the remaining N-1 operating system boards (the Ethernet on the first operating system board in FIG. 5) port 1).
其中,结合图2和图3可知,第二操作系统向第一操作系统发送无线接入通知以及第一操作系统向第二操作系统发送共享指令,可以是通过如图2或图3所示的内部通信机制实现的。其中,无线接入通知用于告知第一操作系统有无线网络可以接入;共享指令用于在第一操作系统判定第一外网接口未连接到外部有线网络的情况下,如果接收到其他操作系统比如第二操作系统的无线接入通知,则此时可以触发插入第二操作系统主板对应的第三外网接口的无线网卡的网络共享。As shown in FIG. 2 and FIG. 3, the second operating system sends a wireless access notification to the first operating system and the first operating system sends a sharing instruction to the second operating system, which may be as shown in FIG. 2 or FIG. 3. The internal communication mechanism is implemented. The wireless access notification is used to notify the first operating system that the wireless network can access; and the sharing instruction is used to receive other operations if the first operating system determines that the first external network interface is not connected to the external wired network. The system, such as the wireless access notification of the second operating system, can trigger the network sharing of the wireless network card inserted into the third external network interface corresponding to the second operating system motherboard.
其中,对应于同一操作系统主板的不同网络接口之间的网络共享,相当于是同一设备的不同网卡之间的网络共享,可以基于现有实现方式实现,本实施例中不赘述。The network sharing between different network interfaces of the same operating system motherboard is equivalent to the network sharing between the different network cards of the same device, and can be implemented based on the existing implementation manner, which is not described in this embodiment.
通过本实施例提供的无线网络共享机制,在无法连接到外部有线网络时,当某个操作系统可以接入外部无线网络时,仅通过输入一次无线网络的接入密码即可实现N个操作系统对该外部无线网络的共享,使得N个操作系统都可以通过该外部无线网络实现通信,既方便了用户的操作,而且还作为有线网络无法使用时的补充联网方案,增加了通信设备中多个操作系统入网的鲁棒性。With the wireless network sharing mechanism provided in this embodiment, when an operating system can access an external wireless network, an operating system can be implemented by inputting only one access password of the wireless network. The sharing of the external wireless network enables N operating systems to communicate through the external wireless network, which is convenient for the user's operation, and also serves as a supplementary networking solution when the wired network is unavailable, and increases multiple communication devices. The robustness of the operating system into the network.
实际应用中,还可能出现外部无线网络和外部有线网络都可以接入的情况,此时,可以从中选取一种外部网络用于通信设备中N个操作系统的通信。其中,一种可选的选择依据是:根据外部有线网络和所述外部无线网络的预设优先级,选择高优先级的。其中,优先级的设定可以综合网络带宽、网络质量等多种因素而设定,以便采用高质量的外部网络进行通信。而当无线网卡插入到如图4和图5所示的不同操作系统主板对应的第三外网接口时,外部网络选择的处理过程略有不同,结合图6和图7进行区别说明。In actual applications, external wireless networks and external wired networks may also be accessible. In this case, an external network may be selected for communication of N operating systems in the communication device. An optional selection basis is: selecting a high priority according to a preset priority of the external wired network and the external wireless network. Among them, the priority setting can be set by combining various factors such as network bandwidth and network quality, so as to use a high-quality external network for communication. When the wireless network card is inserted into the third external network interface corresponding to the different operating system boards as shown in FIG. 4 and FIG. 5, the processing procedure of the external network selection is slightly different, and the difference is described in conjunction with FIG. 6 and FIG. 7.
具体地,结合图6,若第一操作系统监听到第一外网接口连接到外部有线网络,以及若与第一操作系统主板对应的第三外网接口(图6中示意的USB1)连接到外部无线网络,则根据外部有线网络和外部无线网络的预设优先级,控制开关导通,或者,控制开关断开并将外部无线网络共享至第一操作系统主板的第二外网接口(图6中示意的第一操作系统主板上的以太网口1)。其中,如果是外部有线网络的优先级高于外部无线网络的优先级,则控制开关导通,此时,各操作系统通过外部有线网络进行网络通信,如图6所示。相反地,如果是外部有线网络的优先级低于外部无线网络的优先级,则此时第一操作系统控制开关断开并根据图4所示过程执行将外部无线网络共享至第一操作系统主板的第二外网接口的过程,此时,各操作系统通过外部无线网络进行网络通信。Specifically, in conjunction with FIG. 6, if the first operating system monitors that the first external network interface is connected to the external wired network, and if the third external network interface corresponding to the first operating system motherboard (USB1 illustrated in FIG. 6) is connected to The external wireless network controls the switch to be turned on according to the preset priority of the external wired network and the external wireless network, or the control switch is disconnected and the external wireless network is shared to the second external network interface of the first operating system motherboard (figure The Ethernet port on the first operating system board indicated in 6 is 1). If the priority of the external wired network is higher than the priority of the external wireless network, the control switch is turned on. At this time, each operating system performs network communication through an external wired network, as shown in FIG. 6. Conversely, if the priority of the external wired network is lower than the priority of the external wireless network, then the first operating system control switch is disconnected and the external wireless network is shared to the first operating system motherboard according to the process shown in FIG. The process of the second external network interface, at this time, each operating system performs network communication through an external wireless network.
结合图7,若第一操作系统监听到第一外网接口连接到外部有线网络,以及若第一操作系统接收到N-1个操作系统主板中的第二操作系统主板上所承载的第二操作系统发送的无线接入通知,则根据外部有线网络和外部无线网络的预设优先级,控制开关导通并向第二操作系统反馈放弃指令,以使第二操作系统放弃使用外部无线网络;或者,控制开关断开并向第二操作系统反馈共享指令,以使第二操作系统将外部无线网络共享至其他各操作系统。其中,无线接入通知是与第二操作系统主板对应的第三外网接口连接到外部无线网络时第二操作系统发出的。Referring to FIG. 7, if the first operating system monitors that the first external network interface is connected to the external wired network, and if the first operating system receives the second operating system, the second operating system of the N-1 operating system motherboards carries the second The wireless access notification sent by the operating system controls the switch to be turned on according to the preset priority of the external wired network and the external wireless network, and feeds back the instruction to the second operating system, so that the second operating system gives up using the external wireless network; Alternatively, the control switch is turned off and feedback instructions are fed back to the second operating system to cause the second operating system to share the external wireless network to other operating systems. The wireless access notification is sent by the second operating system when the third external network interface corresponding to the second operating system motherboard is connected to the external wireless network.
图7中示意的是,当无线网卡插入到第二操作系统主板对应的第三外网接口——USB2时,第一操作系统在获知第一外网接口连接到外部有线网络并且第二操作系统主板对应的USB2插入了无线网卡后,假设外部有线网络的优先级低于外部无线网络的优先级,则第一操作系统控制开关断开,并向第二操作系统反馈共享指令,第二操作系统根据图5所示过程执行将外部无线网络共享至第一操作系统主板的第二外网接口的过程,此时,各操作系统通过外部无线网络进行网络通信。As shown in FIG. 7, when the wireless network card is inserted into the third external network interface corresponding to the second operating system motherboard, USB2, the first operating system learns that the first external network interface is connected to the external wired network and the second operating system After the USB2 of the main board is inserted into the wireless network card, if the priority of the external wired network is lower than the priority of the external wireless network, the first operating system control switch is disconnected, and the sharing instruction is fed back to the second operating system, and the second operating system The process of sharing the external wireless network to the second external network interface of the first operating system motherboard is performed according to the process shown in FIG. 5, at which time each operating system performs network communication through the external wireless network.
另外,本申请实施例还提供一种智能终端,该智能终端包括如上任一实施例中提供的通信设备。In addition, the embodiment of the present application further provides an intelligent terminal, where the smart terminal includes the communication device provided in any of the foregoing embodiments.
可以理解的是,该智能终端包括如上任一实施例中提供的通信设备,是指该智能终端除了支持该通信设备的上述硬件结构和通信方法外,还会包含其他组件,比如存储器,电力组件,多媒体组件,音频组件,传感器组件等等。It can be understood that the smart terminal includes the communication device provided in any of the above embodiments, and the smart terminal includes other components, such as a memory and a power component, in addition to the foregoing hardware structure and communication method of the communication device. , multimedia components, audio components, sensor components, and more.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (11)

  1. 一种通信设备,其特征在于,包括:A communication device, comprising:
    N个操作系统主板、第一交换机芯片、用于连接到外部有线网络的第一外网接口、连接在所述第一交换机芯片和所述第一外网接口间的开关,N为大于或等于2的整数;N operating system motherboards, a first switch chip, a first external network interface for connecting to an external wired network, and a switch connected between the first switch chip and the first external network interface, wherein N is greater than or equal to An integer of 2;
    其中,所述N个操作系统主板上各自设置有连接到所述第一交换机芯片的第二外网接口;Wherein, the N operating system boards are respectively provided with a second external network interface connected to the first switch chip;
    所述N个操作系统主板中的第一操作系统主板连接到所述第一外网接口,并与所述开关连接;a first operating system motherboard of the N operating system motherboards is connected to the first external network interface, and is connected to the switch;
    所述第一操作系统主板上承载的第一操作系统用于:若监听到所述第一外网接口连接到外部有线网络,则控制所述开关导通。The first operating system carried on the first operating system motherboard is configured to: when the first external network interface is connected to the external wired network, the switch is controlled to be turned on.
  2. 根据权利要求1所述的通信设备,其特征在于,所述N个操作系统主板中的每个操作系统主板上设置有用于分别与剩余的N-1个操作系统主板连接的N-1个第一内网接口。The communication device according to claim 1, wherein each of the N operating system motherboards is provided with N-1 pieces for respectively connecting with the remaining N-1 operating system boards. An internal network interface.
  3. 根据权利要求1所述的通信设备,其特征在于,所述通信设备中还包括:第二交换机芯片;The communication device according to claim 1, wherein the communication device further comprises: a second switch chip;
    所述N个操作系统主板上各自设置有连接到所述第二交换机芯片的第二内网接口。Each of the N operating system boards is provided with a second internal network interface connected to the second switch chip.
  4. 根据权利要求2或3所述的通信设备,其特征在于,所述第一操作系统还用于:若监听到所述第一外网接口未连接到外部有线网络,则控制所述开关断开。The communication device according to claim 2 or 3, wherein the first operating system is further configured to: if the first external network interface is not connected to the external wired network, control the switch to be disconnected .
  5. 根据权利要求4所述的通信设备,其特征在于,所述通信设备中还包括:与所述N个操作系统主板分别对应的用于连接到外部无线网络的第三外网接口。The communication device according to claim 4, wherein the communication device further comprises: a third external network interface corresponding to the N operating system motherboards for connecting to an external wireless network.
  6. 根据权利要求5所述的通信设备,其特征在于,若与所述第一操作系统主板对应的第三外网接口连接到外部无线网络,则所述第一操作系统还用于:将所述外部无线网络共享至所述第一操作系统主板的第二外网接口,以通过所述第一交换机芯片共享至剩余的N-1个操作系统主板的第 二外网接口。The communication device according to claim 5, wherein if the third external network interface corresponding to the first operating system motherboard is connected to the external wireless network, the first operating system is further configured to: The external wireless network shares the second external network interface of the first operating system motherboard to share the second external network interface of the remaining N-1 operating system boards through the first switch chip.
  7. 根据权利要求5所述的通信设备,其特征在于,若与所述N-1个操作系统主板中的第二操作系统主板对应的第三外网接口连接到外部无线网络,则所述第二操作系统主板上承载的第二操作系统用于:向所述第一操作系统发送无线接入通知,并在接收到所述第一操作系统反馈的共享指令时,将所述外部无线网络共享至所述第二操作系统主板的第二外网接口,以通过所述第一交换机芯片共享至剩余的N-1个操作系统主板的第二外网接口。The communication device according to claim 5, wherein if the third external network interface corresponding to the second operating system motherboard of the N-1 operating system motherboards is connected to the external wireless network, the second The second operating system carried on the operating system motherboard is configured to: send a wireless access notification to the first operating system, and share the external wireless network to the sharing instruction fed back by the first operating system The second external network interface of the second operating system motherboard is shared by the first switch chip to a second external network interface of the remaining N-1 operating system boards.
  8. 根据权利要求4所述的通信设备,其特征在于,所述第一操作系统还用于:The communication device according to claim 4, wherein the first operating system is further configured to:
    若监听到所述第一外网接口连接到外部有线网络,以及若与所述第一操作系统主板对应的第三外网接口连接到外部无线网络,则根据所述外部有线网络和所述外部无线网络的预设优先级,控制所述开关导通,或者,控制所述开关断开并将所述外部无线网络共享至所述第一操作系统主板的第二外网接口。And if the first external network interface is connected to the external wired network, and if the third external network interface corresponding to the first operating system motherboard is connected to the external wireless network, according to the external wired network and the external a preset priority of the wireless network, controlling the switch to be turned on, or controlling the switch to be disconnected and sharing the external wireless network to a second external network interface of the first operating system motherboard.
  9. 根据权利要求4所述的通信设备,其特征在于,所述第一操作系统还用于:The communication device according to claim 4, wherein the first operating system is further configured to:
    若监听到所述第一外网接口连接到外部有线网络,以及若接收到所述N-1个操作系统主板中的第二操作系统主板上所承载的第二操作系统发送的无线接入通知,则根据所述外部有线网络和所述外部无线网络的预设优先级,控制所述开关导通并向所述第二操作系统反馈放弃指令;或者,控制所述开关断开并向所述第二操作系统反馈共享指令;If the first external network interface is connected to the external wired network, and if the wireless access notification sent by the second operating system carried on the second operating system motherboard of the N-1 operating system boards is received, And controlling, according to the preset priority of the external wired network and the external wireless network, the switch to be turned on and feeding back the instruction to the second operating system; or controlling the switch to be disconnected and The second operating system feeds back the sharing instruction;
    其中,所述无线接入通知是与所述第二操作系统主板对应的第三外网接口连接到外部无线网络时所述第二操作系统发出的。The wireless access notification is sent by the second operating system when the third external network interface corresponding to the second operating system motherboard is connected to the external wireless network.
  10. 根据权利要求1至9中任一项所述的通信设备,其特征在于,所述N个操作系统主板的第二外网接口被分配有与连接到同一网络接入设备的其他通信设备在同一网段的IP地址。The communication device according to any one of claims 1 to 9, wherein the second external network interface of the N operating system motherboards is assigned the same as other communication devices connected to the same network access device IP address of the network segment.
  11. 一种智能终端,其特征在于,包括:如权利要求1至10任一项所述的通信设备。An intelligent terminal, comprising: the communication device according to any one of claims 1 to 10.
PCT/CN2018/115930 2018-04-25 2018-11-16 Communication device and intelligent terminal WO2019205597A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810379121.X 2018-04-25
CN201810379121.XA CN108683618B (en) 2018-04-25 2018-04-25 Communication equipment and intelligent terminal

Publications (1)

Publication Number Publication Date
WO2019205597A1 true WO2019205597A1 (en) 2019-10-31

Family

ID=63801741

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115930 WO2019205597A1 (en) 2018-04-25 2018-11-16 Communication device and intelligent terminal

Country Status (2)

Country Link
CN (1) CN108683618B (en)
WO (1) WO2019205597A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10992967B2 (en) * 2017-12-05 2021-04-27 Sony Interactive Entertainment LLC Ultra high-speed low-latency network storage
CN108683618B (en) * 2018-04-25 2021-01-01 广州视源电子科技股份有限公司 Communication equipment and intelligent terminal
CN111385620A (en) * 2020-03-05 2020-07-07 海信视像科技股份有限公司 Display device, wired network port control method and storage medium
CN111405367B (en) * 2020-03-11 2022-04-05 海信视像科技股份有限公司 Method for network sharing of system component based on multi-network switching scene and display equipment
CN112469104A (en) * 2020-11-13 2021-03-09 厦门厦华科技有限公司 Networking method of dual-system electronic whiteboard and electronic whiteboard
CN114143102B (en) * 2021-12-06 2024-01-26 深圳市共进电子股份有限公司 Router secret-free login method, secret-free login device and computer device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140056141A1 (en) * 2012-08-24 2014-02-27 Advanced Micro Devices, Inc. Processing system using virtual network interface controller addressing as flow control metadata
CN103856526A (en) * 2012-12-04 2014-06-11 广州三星通信技术研究有限公司 Method for terminal equipment to get access to internet through PC and terminal equipment thereof
CN107743075A (en) * 2017-10-23 2018-02-27 广州视源电子科技股份有限公司 A kind of multisystem network InterWorking Equipment, method and device
CN108683618A (en) * 2018-04-25 2018-10-19 广州视源电子科技股份有限公司 Communication equipment and intelligent terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2375701B1 (en) * 2007-12-05 2015-03-25 Sony Corporation Electronic device for communication within a network and method for operating an electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140056141A1 (en) * 2012-08-24 2014-02-27 Advanced Micro Devices, Inc. Processing system using virtual network interface controller addressing as flow control metadata
CN103856526A (en) * 2012-12-04 2014-06-11 广州三星通信技术研究有限公司 Method for terminal equipment to get access to internet through PC and terminal equipment thereof
CN107743075A (en) * 2017-10-23 2018-02-27 广州视源电子科技股份有限公司 A kind of multisystem network InterWorking Equipment, method and device
CN108683618A (en) * 2018-04-25 2018-10-19 广州视源电子科技股份有限公司 Communication equipment and intelligent terminal

Also Published As

Publication number Publication date
CN108683618B (en) 2021-01-01
CN108683618A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
WO2019205597A1 (en) Communication device and intelligent terminal
US9998359B2 (en) Simultaneous operation of remote management and link aggregation
US9678563B2 (en) Dynamic power supply system
US9391877B2 (en) System and method for reducing information loss in an aggregated information handling system
US9152195B2 (en) Wake on cloud
US7944812B2 (en) Redundant intermediary switch solution for detecting and managing fibre channel over ethernet FCoE switch failures
JP5678723B2 (en) Switch, information processing apparatus and information processing system
US10277464B2 (en) Client auto-configuration in a multi-switch link aggregation
US20100218011A1 (en) System and Method for Energy Savings Through Emulation of Wake on Lan in Energy Efficient Ethernet
EP3884612B1 (en) Intermediary device for extracting power supplied over a data connection
US20110107116A1 (en) System and Method for Power Over Ethernet Enabled Network Management
WO2019153722A1 (en) Terminal communication method and device, terminal and storage medium
US10581697B2 (en) SDN controlled PoE management system
US10887116B2 (en) Ethernet power distribution
US20100312909A1 (en) Method and system for traffic based decisions for energy efficient networking
US9927864B2 (en) Multiple link power allocation system
JP6118464B2 (en) Port status synchronization method, related device, and system
US11044349B2 (en) Information processing apparatus, and non-transitory computer readable recording medium that stores packet pattern creation program
US20210099379A1 (en) Protocol independent multicast designated networking device election system
US20170048167A1 (en) Flood disable on network switch
JP2001167021A (en) Data communication controller
JP2010233110A (en) Relay apparatus and control method of client/server system
US20160330142A1 (en) Packet inspection to determine destination node
CN116095192A (en) Message processing method, system and computer equipment
US9674299B2 (en) Standby agent apparatus for keeping account of client system on-line in application server when client system is operating in standby mode and related connection handling method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18917010

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18917010

Country of ref document: EP

Kind code of ref document: A1