CN109819064A - Method, operating system module and the meeting plate of intermodule communication - Google Patents

Method, operating system module and the meeting plate of intermodule communication Download PDF

Info

Publication number
CN109819064A
CN109819064A CN201910087926.1A CN201910087926A CN109819064A CN 109819064 A CN109819064 A CN 109819064A CN 201910087926 A CN201910087926 A CN 201910087926A CN 109819064 A CN109819064 A CN 109819064A
Authority
CN
China
Prior art keywords
network
operating system
system module
address
dhcp
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.)
Granted
Application number
CN201910087926.1A
Other languages
Chinese (zh)
Other versions
CN109819064B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910087926.1A priority Critical patent/CN109819064B/en
Publication of CN109819064A publication Critical patent/CN109819064A/en
Application granted granted Critical
Publication of CN109819064B publication Critical patent/CN109819064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides method, operating system module and the meeting plate of a kind of intermodule communication.Wherein, the method for intermodule communication, comprising: the first operating system module judges whether the IP section of first network is identical as the IP section of the second network;First network is used for the first operating system module and external network communication, and the second network is communicated for the first operating system module with the second operating system module;If the IP section of first network is different from the IP of the second network section, the first operating system module is according to the IP address that DHCP protocol is that the second operating system module distributes the second network;Wherein, IP address lacks gateway information.The method of intermodule communication provided by the invention, the first operating system module provide IP address as dhcp client, Dynamic Host Configuration Protocol server as Dynamic Host Configuration Protocol server, the second operating system module for dhcp client, improve the stability of communication.

Description

Method, operating system module and the meeting plate of intermodule communication
Technical field
The present invention relates to meeting plate technique field more particularly to a kind of methods of intermodule communication, operating system module With meeting plate.
Background technique
Meeting plate is a kind of warm shadow casting technique, computer technology, touching technique, sound technique in one, realizes people The intelligent meeting terminal device of machine interaction.Meeting plate not only has the function of display, can also be by configuring built-in computer Module makes it have computing capability, obtains convenient and fast man-machine interactive experience.
Meeting plate can configure an operating system, can also configure multiple operating systems.For example, meeting plate can be with Configure Android module combination PC module composition.Wherein, Android module is for configuring Android operation system.PC module is for configuring Windows operating system.Android module and PC module can be separately connected external network, may be used also between Android module and PC module To realize communication.
Currently, for PC module, the network savvy in order to guarantee PC module and the communication between Android module Function needs two-way network interface card.Wherein all the way for the communication between two modules, another way is used for the networking of PC module.PC Module needs to determine which is for communicating in two-way network interface card, which is used to network, and causes to safeguard by complicated logic It is at high cost and unstable.
Summary of the invention
The present invention provides method, operating system module and the meeting plate of a kind of intermodule communication, improves the steady of communication It is qualitative.
In a first aspect, the present invention provides a kind of method of intermodule communication, comprising:
First operating system module judges whether the IP section of first network is identical as the IP section of the second network;First net Network is used for first operating system module and external network communication, and second network is used for first operating system module It is communicated with the second operating system module;
If the IP section of the first network is different from the IP section of second network, the first operating system module root It is the IP address that the second operating system module distributes second network according to DHCP;Wherein, the IP address lacks gateway information.
Optionally, in a kind of possible embodiment of first aspect, first operating system module is according to DHCP The IP address of second network is distributed for the second operating system module, comprising:
The first operating system module Configuration network file;The network file includes dhcp address pool and gateway configuration Field, the gateway configuration field is used to indicate when distributing the IP address of second network for second operating system module Do not configure gateway information;
First operating system module configures the gateway information of second network;
First operating system module starts DHCP according to the gateway information of the network file and second network Service;
First operating system module receives the message request that second operating system module is sent according to DHCP, institute State the IP address that message request is used to request to distribute second network;
First operating system module is that second operation is according to the message request and the dhcp address pool The IP address of second network described in module assignment of uniting.
Optionally, in a kind of possible embodiment of first aspect, if the IP address that the dhcp address pool includes It is 1, first operating system module is second operating system according to the message request and the dhcp address pool The IP address of second network described in module assignment, comprising:
The IP address that the dhcp address pool includes is assigned as second network by first operating system module IP address.
Optionally, in a kind of possible embodiment of first aspect, if the IP address that the dhcp address pool includes To be multiple, first operating system module is second operating system according to the message request and the dhcp address pool The IP address of second network described in module assignment, comprising:
The first IP address in the dhcp address pool is assigned as second network by first operating system module IP address;Alternatively,
The dhcp address pool is sent to second operating system module by first operating system module, so that institute State the IP address that the second operating system module determines second network from the dhcp address pool.
Optionally, in a kind of possible embodiment of first aspect, the gateway configuration field further includes described The title of network interface in one operating system module for being communicated with second operating system module.
Optionally, in a kind of possible embodiment of first aspect, the network file further includes the DHCP The lease time in location pond.
Optionally, in a kind of possible embodiment of first aspect, if the IP section of the first network and described the The IP section of two networks is identical, further includes:
The IP section that first operating system module configures second network is the first IP sections, the described first IP sections and institute The IP section for stating first network is different;
First operating system module is according to the IP that DHCP is that the second operating system module distributes second network Location;Wherein, the IP address lacks gateway information.
Second aspect, the present invention provide a kind of operating system module, comprising: memory, processor, the first communication interface and Second communication interface;
First communication interface, is used for and external network communication;
Second communication interface, for being communicated with the second operating system module;
The memory, for storing program code;
The processor calls said program code, when said program code is performed, for performing the following operations:
Whether the IP section for judging first network is identical as the IP section of the second network;The first network is for the first operation system Module of uniting and external network communication, second network is for first operating system module and the second operating system mould Block communication;
It is the second operating system according to DHCP if the IP section of the first network is different from the IP section of second network The IP address of second network described in module assignment;Wherein, the IP address lacks gateway information.
Optionally, in a kind of possible embodiment of second aspect, the processor is specifically used for:
Configuration network file;The network file includes dhcp address pool and gateway configuration field, the gateway configuration words Section, which is used to indicate when distributing the IP address of second network for second operating system module, does not configure gateway information;
Configure the gateway information of second network;
Start DHCP service according to the gateway information of the network file and second network;
The message request that second operating system module is sent according to DHCP, institute are received by second communication interface State the IP address that message request is used to request to distribute second network;
It is that second operating system module distributes second net according to the message request and the dhcp address pool The IP address of network.
Optionally, in a kind of possible embodiment of second aspect, if the IP address that the dhcp address pool includes It is 1, the processor is specifically used for:
The IP address that the dhcp address pool includes is assigned as to the IP address of second network.
Optionally, in a kind of possible embodiment of second aspect, if the IP address that the dhcp address pool includes To be multiple, the processor is specifically used for:
The first IP address in the dhcp address pool is assigned as to the IP address of second network;Alternatively,
The dhcp address pool is sent to second operating system module by second communication interface, so that institute State the IP address that the second operating system module determines second network from the dhcp address pool.
Optionally, in a kind of possible embodiment of second aspect, if the IP section of the first network and described the The IP section of two networks is identical, and the processor is also used to:
The IP section for configuring second network is the first IP sections, the described first IP sections with the IP section of the first network not Together;
It is the IP address that the second operating system module distributes second network according to DHCP;Wherein, the IP address lacks Lose gateway information.
The third aspect, the present invention provide a kind of meeting plate, comprising: the second operating system module and above-mentioned second aspect are appointed The operating system module that one embodiment provides;
Second operating system module includes third communication interface and fourth communication interface;The third communication interface with The second communication interface connection, the fourth communication interface is used for and external network communication.
It optionally, further include interchanger in a kind of possible embodiment of the third aspect, the interchanger includes the Five communication interfaces, the 6th communication interface and the 7th communication interface;
The fifth communication interface is connect with first communication interface, the 6th communication interface and the fourth communication Interface connection;
7th communication interface is used for and external network communication.
The present invention provides method, operating system module and the meeting plate of a kind of intermodule communication, when the first operating system Module for external connection network with and the second operating system module internal communication Web vector graphic different IP section when, first operates System module can be DHCP visitor as dhcp client, Dynamic Host Configuration Protocol server as Dynamic Host Configuration Protocol server, the second operating system module Family end provides IP address.Since the IP address of the second network lacks gateway information, avoids the second operating system module and need to lead to Complicated logic is crossed to determine which is for communicating in two-way network interface card, which improves the stability of communication for networking.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 be the present embodiments relate to meeting plate a kind of structural schematic diagram;
Fig. 2 be the present embodiments relate to meeting plate another structural schematic diagram;
Fig. 3 is the flow chart of the method for intermodule communication provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of operating system module provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of meeting plate provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Firstly, to the present embodiments relate to meeting plate be illustrated.Illustratively, may include in meeting plate Two operating system modules, are referred to as Android module and PC module.Android module can configure meeting plate as Android operation System.It is Windows operating system that PC module, which can configure meeting plate,.
Fig. 1 be the present embodiments relate to meeting plate a kind of structural schematic diagram.As shown in Figure 1, meeting plate can To include Android module 100 and PC module 200.At least one external communication interface is provided on meeting plate.The outside is logical Letter interface can be used for connecting with interchanger.Interchanger can also be connect by connection types such as cables with external network.Example Property, in Fig. 1, external communication interface is 1, can be marked as A.It can be set two in Android module 100 A internal communications interface, is respectively labeled as communication interface B, C.It is can be set in PC module 200 there are two internal communications interface, point It Biao Ji not be D, E.External network is distributed to Android module 100 and PC module by communication interface A by external network 200.It networks specifically, Android module 100 can be realized by communication interface A, B with external network.PC module 200 can pass through Communication interface A, D is realized networks with external network.Communication interface C, E reality can be passed through between Android module 100 and PC module 200 Now communicate.
Fig. 2 be the present embodiments relate to meeting plate another structural schematic diagram.As shown in Fig. 2, meeting plate It may include Android module 100, PC module 200 and interchanger 300.At least one PERCOM peripheral communication is provided on meeting plate to connect Mouthful.The external communication interface can be used for connecting with external network.For example, being connected by cable.Illustratively, in Fig. 2, External communication interface is 1, can be marked as A.An internal communications interface can be set on interchanger 300, Labeled as communication interface B.Can be set in Android module 100 there are two internal communications interface, be respectively labeled as communication interface C, D.Internal communications interface there are two can be set in PC module 200, is respectively labeled as communication interface E, F.Android module 100 can be with It is realized by communication interface A, B, C and is networked with external network.PC module 200 can be realized and outside by communication interface A, B, E Network internet.It can be realized and be communicated by communication interface D, F between Android module 100 and PC module 200.
It should be noted that the number amount and type of operating system module of the present invention for including in meeting plate do not limit It is fixed.
It should be noted that the present invention for operating system module and/or interchanger implementation without limitation.Example Such as, it can be realized by circuit, chip, circuit board, integrated circuit etc..
It should be noted that the present invention in the external communication interface and meeting plate that are arranged on meeting plate for being arranged Internal communications interface number amount and type without limitation.For example, external communication interface can be Ethernet interface, internal communication Interface can be ethernet PHY chip.
Method, operating system mould below with reference to each embodiment of the invention, to intermodule communication provided by the invention Block and meeting plate are clearly and completely described.
Fig. 3 is the flow chart of the method for intermodule communication provided in an embodiment of the present invention.Intermodule provided in this embodiment The method of communication, executing subject can be operating system module, can be applied in meeting plate.In order to distinguish different operations System module, the present embodiment are related to the first operating system module and the second operating system module.Illustratively, the first operating system Module can be Android module, and the second operating system module can be PC module.Certainly, the first operating system module and the second behaviour It may be other kinds of operating system module as system module, the present embodiment does not limit.As shown in figure 3, the present embodiment The method of the intermodule communication of offer may include:
S301, the first operating system module judge whether the IP section of first network is identical as the IP section of the second network.
Wherein, first network is used for the first operating system module and external network communication, and the second network is for the first operation System module is communicated with the second operating system module.
If the IP section of S302, first network is different from the IP of the second network section, the first operating system module is according to DHCP Agreement is the IP address that the second operating system module distributes the second network.Wherein, the IP address of the second network lacks gateway information.
Specifically, the first operating system module and network when external network communication are claimed in order to distinguish different networks For first network, the network communicated between the first operating system module and the second operating system module is known as the second network.The One operating system module can check network, determine whether first network and the second network are assisted using interconnection between identical network Discuss (Internet Protocol, IP) section.When the IP of first network section is different from the IP of the second network section, the first operation system Module of uniting can be the according to dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) Two operating system modules distribute the IP address of the second network.Wherein, DHCP protocol is used to use client/server model, net The dynamic allocation task of network host address is driven by network host.When Dynamic Host Configuration Protocol server is received from network host applied address Information when, Cai Huixiang network host sends the information such as relevant address configuration, to realize the dynamic of Network Host address information Configuration.
As it can be seen that the method for intermodule communication provided in this embodiment, when the first operating system module is used for the network of external connection When different from the Web vector graphic of the second operating system module internal communication IP section, the first operating system can be assisted according to DHCP View is that the second operating system module distributes IP address.First operating system module is as Dynamic Host Configuration Protocol server, the second operating system mould Block can provide IP address as dhcp client, Dynamic Host Configuration Protocol server for dhcp client.Also, due to the IP of the second network Location lacks gateway information, and therefore, the IP address that the second operating system module is only used for external connection has gateway information, avoids the second behaviour Make system module and needs to determine which is for communicating in two-way network interface card, which is dropped for networking by complicated logic Low maintenance cost, improves the stability and reliability of communication.In the scene that the second operating system module needs replacing, easily In network operation.
Optionally, the method for intermodule communication provided in this embodiment after S301, before S302, can also include:
If the IP section of S303, first network is identical as the IP section of the second network, the first operating system module configures the second net The IP section of network is the first IP sections, the first IP sections it is different from the IP of first network section.
Optionally, in S302, the first operating system module is that the second operating system module distributes the second network according to DHCP IP address, may include:
First operating system module Configuration network file.Network file includes dhcp address pool and gateway configuration field, net Configuration field is closed to be used to indicate not configure gateway information when the IP address of the second operating system module the second network of distribution.
First operating system module configures the gateway information of the second network.
First operating system module starts DHCP service according to the gateway information of network file and the second network.
First operating system module receives the message request that the second operating system module is sent according to DHCP, and message request is used In the IP address of request the second network of distribution.
First operating system module is that the second operating system module distributes the second net according to message request and dhcp address pool The IP address of network.
Wherein, the first operating system module configures the gateway information of the second network, starting DHCP service, and according to DHCP Agreement is the IP address that the second operating system module distributes the second network, may refer to existing DHCP protocol.
Network file is described in detail below by specific example.
First operating system module Configuration network file may include:
1) configuration DHCP address pool.Dhcp address pool may include in dhcp-range (dhcp- range) field.
For example, dhcp-range=192.168.22.50,192.168.22.150
At this point, may include 100 IP address in dhcp address pool.First operating system module can be in dhcp address pool In for the second operating system module distribute the second network IP address.
2) gateway configuration field (can mark and be) is configured
Dhcp-option=3
By configuring gateway configuration field, can not be given after the first operating system module is as Dynamic Host Configuration Protocol server starting Second operating system module provides gateway information (can mark and be).In this way, the second operating system module The IP address without defaultgateway can be obtained as dhcp client, for logical with the first operating system module Letter.Since the IP address of the second operating system module lacks defaultgateway, the routing table for networking is not caused It influences, thus it is guaranteed that the second operating system module had not only realized external networking, but also realizes the communication between internal module.
It should be noted that the present embodiment for gateway configuration field specific value without limitation.
Optionally, gateway configuration field can also include being used for and the second operating system module in the first operating system module The title of the network interface of communication.
For example, dhcp-option=3, eth1.
Wherein, the network interface in the first operating system module for communicating with the second operating system module is entitled “eth1”。
Optionally, network file can also include the lease time of dhcp address pool.
Specifically, the lease time of dhcp address pool is used to indicate the effective time of IP address.When lease if more than Between, the IP address in dhcp address pool is just released.
For example, dhcp-range=192.168.22.50,192.168.22.150,12h
Wherein, the lease time of dhcp address pool is 12 hours.After lease time, dhcp address can be reconfigured Pond.
It according to message request and dhcp address pool is the to the first operating system module below according to different application scenarios The IP address that two operating system modules distribute the second network is illustrated.
Optionally, in one embodiment, if the IP address that dhcp address pool includes is 1, the first operating system mould Root tuber distributes the IP address of the second network according to message request and dhcp address pool for the second operating system module, may include:
The IP address that dhcp address pool is included by the first operating system module is assigned as the IP address of the second network.
It only include 1 IP address in dhcp address pool, the first operating system module is by the IP in this kind of implementation Location is assigned as the IP address of the second network of the second operating system module.
Optionally, in another embodiment, if the IP address that dhcp address pool includes is multiple, the first operating system Module distributes the IP address of the second network according to message request and dhcp address pool for the second operating system module, may include:
The first IP address in dhcp address pool is assigned as the IP address of the second network by the first operating system module.Or Person,
Dhcp address pool is sent to the second operating system module by the first operating system module, so that the second operating system mould Block determines the IP address of the second network from dhcp address pool.
It include multiple IP address in dhcp address pool in this kind of implementation.First operating system module can incite somebody to action 1 IP address (referred to as the first IP address) in dhcp address pool is assigned as the IP address of the second network.Simplify IP address Distribution method, it is easy to accomplish.Alternatively, dhcp address pool is sent to the second operating system module by the first operating system module, the Two operating system modules can determine the IP address of the second network from dhcp address pool.Improve the flexibility of IP address distribution And reasonability.
The present embodiment provides a kind of methods of intermodule communication, comprising: the first operating system module judges first network Whether IP sections identical as the IP section of the second network, if the IP section of first network is different from the IP of the second network section, the first operation System module is according to the IP address that DHCP protocol is that the second operating system module distributes the second network.Wherein, the IP of the second network Address lacks gateway information.The method of intermodule communication provided in this embodiment, the first operating system module is as DHCP service Device, the second operating system module is as dhcp client, when the first operating system module is for the network of external connection and and the second behaviour When making the different IP section of Web vector graphic of system module internal communication, Dynamic Host Configuration Protocol server can be for dhcp client with providing IP Location.Since the IP address of the second network lacks gateway information, the complex logic of the second operating system module is avoided, is mentioned The stability for having risen communication, is easy to network operation.
It should be noted that the method for intermodule communication provided in this embodiment, can also be applied to include multiple operations In the meeting plate of system module, external networking not only may be implemented suitable for any two of them, but also internal communication may be implemented Operating system module between.
Fig. 4 is the structural schematic diagram of operating system module provided in an embodiment of the present invention.Operation system provided in this embodiment System module, the method for the intermodule communication for executing embodiment illustrated in fig. 3 offer.As shown in figure 4, behaviour provided in this embodiment Make system module, may include: memory 42, processor 41, the first communication interface 43 and the second communication interface 44.
First communication interface 43, is used for and external network communication.
Second communication interface 44, for being communicated with the second operating system module.
Memory 42, for storing program code.
Processor 41, caller code, when program code is performed, for performing the following operations:
Whether the IP section for judging first network is identical as the IP section of the second network.First network is used for the first operating system mould Block and external network communication, the second network are communicated for the first operating system module with the second operating system module.
It is the distribution of the second operating system module according to DHCP if the IP section of first network is different from the IP of the second network section The IP address of second network.Wherein, IP address lacks gateway information.
Optionally, processor 41 is specifically used for:
Configuration network file.Network file includes dhcp address pool and gateway configuration field, and gateway configuration field is for referring to It is shown as not configuring gateway information when the second operating system module distributes the IP address of the second network.
Configure the gateway information of the second network.
Start DHCP service according to the gateway information of network file and the second network.
The message request that the second operating system module is sent according to DHCP, message request are received by the second communication interface 44 For requesting the IP address of the second network of distribution.
It is the IP address that the second operating system module distributes the second network according to message request and dhcp address pool.
Optionally, if the IP address that dhcp address pool includes is 1, processor 41 is specifically used for:
The IP address for including by dhcp address pool is assigned as the IP address of the second network.
Optionally, if dhcp address pool include IP address be it is multiple, processor 41 is specifically used for:
The first IP address in dhcp address pool is assigned as to the IP address of the second network.Alternatively,
Dhcp address pool is sent to the second operating system module by the second communication interface 44, so that the second operating system Module determines the IP address of the second network from dhcp address pool.
Optionally, if the IP section of first network is identical as the IP section of the second network, processor 41 is also used to:
The IP section for configuring the second network is the first IP sections, the first IP sections it is different from the IP of first network section.
It is the IP address that the second operating system module distributes the second network according to DHCP.Wherein, IP address missing gateway letter Breath.
Optionally, gateway configuration field further includes in the first operating system module for communicating with the second operating system module Network interface title.
Optionally, network file further includes the lease time of dhcp address pool.
Operating system module provided in this embodiment, the side of the intermodule communication for executing embodiment illustrated in fig. 3 offer Method.Technical principle is similar with technical effect, and details are not described herein again.
Fig. 5 is the structural schematic diagram of meeting plate provided in an embodiment of the present invention.As shown in figure 5, provided in this embodiment Meeting plate may include: that the operating system module that provides of the second operating system module 52 and embodiment illustrated in fig. 4 (can claim For the first operating system module) 51.
Second operating system module 52 may include third communication interface 522 and fourth communication interface 521.The third communication connects Mouth 522 is connect with the second communication interface 512, and fourth communication interface 521 is used for and external network communication.
Optionally, meeting plate can also include interchanger 53, and interchanger 53 may include fifth communication interface 531, the Six communication interfaces 532 and the 7th communication interface 533.
Fifth communication interface 531 is connect with the first communication interface 511, the 6th communication interface 532 and fourth communication interface 521 Connection.
7th communication interface 533 is used for and external network communication.
Optionally, the 6th communication interface 532 and the 7th communication interface 533 are the same communication interface.
It should be noted that the number amount and type of operating system module of the present invention for including in meeting plate do not limit It is fixed.Illustratively, in the present embodiment, meeting plate includes two operating system modules.
Meeting plate provided in this embodiment, the operating system module provided including embodiment illustrated in fig. 4.Technical principle and Technical effect is similar, and details are not described herein again.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than to it Limitation;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, those skilled in the art It is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, either to part of or All technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution this hair The range of bright embodiment technical solution.

Claims (14)

1. a kind of method of intermodule communication characterized by comprising
First operating system module judge between the network of first network interconnection agreement IP sections with the IP section of the second network whether phase Together;The first network is used for first operating system module and external network communication, and second network is for described the One operating system module is communicated with the second operating system module;
If the IP section of the first network is different from the IP section of second network, first operating system module is according to dynamic State host configuration DHCP is the IP address that the second operating system module distributes second network;Wherein, the IP address Lack gateway information.
2. the method according to claim 1, wherein first operating system module is the second behaviour according to DHCP The IP address of second network is distributed as system module, comprising:
The first operating system module Configuration network file;The network file includes dhcp address pool and gateway configuration words Section, the gateway configuration field are used to indicate when distributing the IP address of second network for second operating system module not Configure gateway information;
First operating system module configures the gateway information of second network;
First operating system module starts DHCP service according to the gateway information of the network file and second network;
First operating system module receives the message request that second operating system module is sent according to DHCP, the report Text request is used to request to distribute the IP address of second network;
First operating system module is the second operating system mould according to the message request and the dhcp address pool Block distributes the IP address of second network.
3. according to the method described in claim 2, it is characterized in that, if the dhcp address pool include IP address be 1, institute It is second operating system module distribution that the first operating system module, which is stated, according to the message request and the dhcp address pool The IP address of second network, comprising:
The IP address that the dhcp address pool includes is assigned as the IP of second network by first operating system module Location.
4. according to the method described in claim 2, it is characterized in that, if the dhcp address pool include IP address be it is multiple, First operating system module is second operating system module point according to the message request and the dhcp address pool IP address with second network, comprising:
The first IP address in the dhcp address pool is assigned as the IP of second network by first operating system module Address;Alternatively,
The dhcp address pool is sent to second operating system module by first operating system module, so that described Two operating system modules determine the IP address of second network from the dhcp address pool.
5. according to the method described in claim 2, it is characterized in that, the gateway configuration field further includes first operation system The title of network interface in system module for being communicated with second operating system module.
6. according to the method described in claim 2, it is characterized in that, the network file further includes the rent of the dhcp address pool It makes an appointment.
7. method according to any one of claim 1 to 6, which is characterized in that if the IP section of the first network and institute The IP section for stating the second network is identical, further includes:
The IP section that first operating system module configures second network is the first IP section, the described first IP sections and described the The IP section of one network is different;
First operating system module is according to the IP address that DHCP is that the second operating system module distributes second network;Its In, the IP address lacks gateway information.
8. a kind of operating system module characterized by comprising memory, processor, the first communication interface and the second communication connect Mouthful;
First communication interface, is used for and external network communication;
Second communication interface, for being communicated with the second operating system module;
The memory, for storing program code;
The processor calls said program code, when said program code is performed, for performing the following operations:
Judge between the network of first network interconnection agreement IP sections it is whether identical as the IP section of the second network;The first network is used In the first operating system module and external network communication, second network is for first operating system module and described the The communication of two operating system modules;
If the IP section of the first network is different from the IP section of second network, it is according to dynamic host configuration protocol DHCP Second operating system module distributes the IP address of second network;Wherein, the IP address lacks gateway information.
9. operating system module according to claim 8, which is characterized in that the processor is specifically used for:
Configuration network file;The network file includes dhcp address pool and gateway configuration field, and the gateway configuration field is used In being designated as not configuring gateway information when second operating system module distributes the IP address of second network;
Configure the gateway information of second network;
Start DHCP service according to the gateway information of the network file and second network;
The message request that second operating system module is sent according to DHCP, the report are received by second communication interface Text request is used to request to distribute the IP address of second network;
It is that second operating system module distributes second network according to the message request and the dhcp address pool IP address.
10. operating system module according to claim 9, which is characterized in that if the IP that the dhcp address pool includes Location is 1, and the processor is specifically used for:
The IP address that the dhcp address pool includes is assigned as to the IP address of second network.
11. operating system module according to claim 9, which is characterized in that if the IP that the dhcp address pool includes Location be it is multiple, the processor is specifically used for:
The first IP address in the dhcp address pool is assigned as to the IP address of second network;Alternatively,
The dhcp address pool is sent to second operating system module by second communication interface, so that described Two operating system modules determine the IP address of second network from the dhcp address pool.
12. the operating system module according to any one of claim 8 to 11, which is characterized in that if the first network IP section it is identical as the IP section of second network, the processor is also used to:
The IP section for configuring second network is the first IP sections, the described first IP sections it is different from the IP of first network section;
It is the IP address that the second operating system module distributes second network according to DHCP;Wherein, the IP address lacks net Close information.
13. a kind of meeting plate characterized by comprising the second operating system module and any one of such as claim 8 to 12 The operating system module;
Second operating system module includes third communication interface and fourth communication interface;The third communication interface with it is described The connection of second communication interface, the fourth communication interface is used for and external network communication.
14. meeting plate according to claim 13, which is characterized in that further include interchanger, the interchanger includes the Five communication interfaces, the 6th communication interface and the 7th communication interface;
The fifth communication interface is connect with first communication interface, the 6th communication interface and the fourth communication interface Connection;
7th communication interface is used for and external network communication.
CN201910087926.1A 2019-01-29 2019-01-29 Method for communication between modules, operating system module and conference panel Active CN109819064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910087926.1A CN109819064B (en) 2019-01-29 2019-01-29 Method for communication between modules, operating system module and conference panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910087926.1A CN109819064B (en) 2019-01-29 2019-01-29 Method for communication between modules, operating system module and conference panel

Publications (2)

Publication Number Publication Date
CN109819064A true CN109819064A (en) 2019-05-28
CN109819064B CN109819064B (en) 2021-11-23

Family

ID=66605865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910087926.1A Active CN109819064B (en) 2019-01-29 2019-01-29 Method for communication between modules, operating system module and conference panel

Country Status (1)

Country Link
CN (1) CN109819064B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385620A (en) * 2020-03-05 2020-07-07 海信视像科技股份有限公司 Display device, wired network port control method and storage medium
CN112995762A (en) * 2019-12-02 2021-06-18 海信视像科技股份有限公司 Display device and network state synchronization method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789855A (en) * 2009-12-30 2010-07-28 北京天融信科技有限公司 Server and double-link backup method thereof
US20150180717A1 (en) * 2012-07-24 2015-06-25 Hangzhou H3C Technologies Co., Ltd Configuring virtual router redundancy protocol backup group
CN107864162A (en) * 2017-12-22 2018-03-30 烽火通信科技股份有限公司 Convergence gateway dual system and its communication security guard method
CN108667952A (en) * 2018-04-25 2018-10-16 广州视源电子科技股份有限公司 Communication equipment and intelligent terminal
CN108777722A (en) * 2018-04-25 2018-11-09 广州视源电子科技股份有限公司 Multisystem group-net communication method, apparatus, mobile terminal and storage medium
CN109039913A (en) * 2018-08-23 2018-12-18 郑州云海信息技术有限公司 Virtual routing device and virtual machine communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789855A (en) * 2009-12-30 2010-07-28 北京天融信科技有限公司 Server and double-link backup method thereof
US20150180717A1 (en) * 2012-07-24 2015-06-25 Hangzhou H3C Technologies Co., Ltd Configuring virtual router redundancy protocol backup group
CN107864162A (en) * 2017-12-22 2018-03-30 烽火通信科技股份有限公司 Convergence gateway dual system and its communication security guard method
CN108667952A (en) * 2018-04-25 2018-10-16 广州视源电子科技股份有限公司 Communication equipment and intelligent terminal
CN108777722A (en) * 2018-04-25 2018-11-09 广州视源电子科技股份有限公司 Multisystem group-net communication method, apparatus, mobile terminal and storage medium
CN109039913A (en) * 2018-08-23 2018-12-18 郑州云海信息技术有限公司 Virtual routing device and virtual machine communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995762A (en) * 2019-12-02 2021-06-18 海信视像科技股份有限公司 Display device and network state synchronization method
CN111385620A (en) * 2020-03-05 2020-07-07 海信视像科技股份有限公司 Display device, wired network port control method and storage medium

Also Published As

Publication number Publication date
CN109819064B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
US9628328B2 (en) Network controller with integrated resource management capability
US9660895B1 (en) Geolocation routing and simulation of network conditions
CN108449418A (en) A kind of mixed cloud platform management system and method
CN103534984A (en) Port setting method, apparatus and computer program product for routing
CN104734931A (en) Method and device for establishing link between virtual network functions
CN107483390A (en) A kind of cloud rendering web deployment subsystem, system and cloud rendering platform
US10361970B2 (en) Automated instantiation of wireless virtual private networks
CN107800603B (en) Intranet user accesses the method and storage medium of headend equipment based on VPN
CN105323229B (en) A kind of data transmission method based on CPE, network element, platform and system
CN104468574A (en) Dynamic IP address acquisition method, system and device for virtual machines
CN108667638A (en) A kind of network service configuration method and network management device
CN106713684B (en) The binding method and equipment of the number of Unified Communication client account and phone
CN112688814A (en) Equipment access method, device, equipment and machine readable storage medium
CN112312061B (en) Video conference method and device, electronic equipment and storage medium
CN113067739B (en) High-density container network deployment method and system
CN108989399A (en) A kind of cluster common data querying method, system, device and readable storage medium storing program for executing
CN109725617A (en) A kind of construction method of industrial configuration platform, building system and relevant apparatus
CN108566412B (en) Data service method and data service device
CN109819064A (en) Method, operating system module and the meeting plate of intermodule communication
CN105827496B (en) Manage the method and device of PE equipment
CN105472054B (en) A kind of file transmitting method and access device
CN109589606A (en) A kind of information processing method and equipment, system
CN110636149B (en) Remote access method, device, router and storage medium
CN105871676B (en) The method for connecting network and system of distal end virtual machine in a kind of desktop cloud
CN104065688B (en) A kind of method and device for calling underlying services

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
GR01 Patent grant
GR01 Patent grant