WO2012071860A1 - Synchronization communication method between single-boards of a multiple dwelling unit and multiple dwelling unit thereof - Google Patents

Synchronization communication method between single-boards of a multiple dwelling unit and multiple dwelling unit thereof Download PDF

Info

Publication number
WO2012071860A1
WO2012071860A1 PCT/CN2011/074428 CN2011074428W WO2012071860A1 WO 2012071860 A1 WO2012071860 A1 WO 2012071860A1 CN 2011074428 W CN2011074428 W CN 2011074428W WO 2012071860 A1 WO2012071860 A1 WO 2012071860A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
message
client
inter
communication link
Prior art date
Application number
PCT/CN2011/074428
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 WO2012071860A1 publication Critical patent/WO2012071860A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13003Constructional details of switching devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1336Synchronisation

Definitions

  • the present invention relates to the field of Passive Optical Network (PON) technology, and more particularly to a method for synchronous communication between boards of a multi-dwelling unit and a multi-dwelling unit.
  • PON Passive Optical Network
  • the synchronous mode is characterized in that two communication application systems must be synchronized, and both systems must be in normal operation, and Interrupt the execution flow of the client and then execute the call.
  • the sender first initiates a request to the receiving program, and then the sending program blocks its own process until it receives a response from the receiving program or the synchronization waits for a timeout. The sender will continue processing down after receiving a response or a synchronization wait timeout.
  • the asynchronous mode is characterized in that one application (requestor or sender) sends a request message to another application and can then continue to perform other tasks of its own.
  • the sender does not have to wait for the execution of the receiving program and return the result, but can continue to process other requests.
  • FIG 1 shows an existing PON (passive optical network), in which a multiple Dwelling Unit (MDU) is installed as a terminating device for optical access in a corridor, providing voice and data services for multiple users.
  • MDU multiple Dwelling Unit
  • FIG. 1 shows an existing PON (passive optical network), in which a multiple Dwelling Unit (MDU) is installed as a terminating device for optical access in a corridor, providing voice and data services for multiple users.
  • MDU multiple Dwelling Unit
  • the Chinese Patent Application Publication No. CN101599852 discloses a multi-module communication method between boards, a multi-software module board, and a communication device.
  • the method includes: a communication module of a board receives a module of a software module in a board from an application layer. No., and the received module number is saved as the logical address of the software module.
  • the communication module of the board broadcasts the physical address and logic of the board to other boards in the device. Edit the address and learn the physical address and corresponding logical address broadcasted by other boards in the device.
  • the software module of the board uses its logical address to communicate with the software modules of other boards, and the board and other boards.
  • the communication module communicates with the communication modules of other boards through the physical address. Since the module number of the software module in the board needs to be uniformly registered and allocated, the software module is poorly portable and dynamically expandable when cross-platform communication is performed between two heterogeneous communication application systems, and is not implemented. Synchronous communication of messages between boards.
  • the Chinese Patent Application Publication No. CN101702784A discloses an optical access multi-user living unit embedded device multi-tasking communication system and method, including an inter-board message communication link and inter-process communication using a socket socket (Inter-Process Communication) , IPC)
  • the inter-process message communication link implemented by the message channel further includes an inter-process message receiving processing operation and a message sending processing operation by the inter-card message waiting process. Since the client using the connection-oriented socket communication communicates with the remote host connected to the server, the IP address of the remote host needs to be known in advance, and the client of the remote host changes the IP address. The terminal cannot obtain the host IP address of the server before the inter-board message communication link is established, so the inter-board message communication link cannot be established, and the flexibility is insufficient and the operation is inconvenient.
  • the technical problem to be solved by the present invention is to provide a method for synchronous communication between boards of a multi-dwelling unit and a multi-dwelling unit, which can realize synchronous communication between boards of a multi-dwelling unit without using a host IP of the server.
  • a method for synchronous communication between boards of a multi-dwelling unit of the present invention includes:
  • the board of the multi-dwelling unit as the client and the board of the multi-dwelling unit as the server remote host establish an inter-board message communication link based on the hardware physical address;
  • the board acting as the client and the board acting as the remote host of the server perform synchronous message exchange through the inter-board message communication link.
  • the step of establishing an inter-board message communication link based on the hardware physical address comprises: the board as the client is remotely transmitted as a server by using a hardware physical address-based communication protocol The board of the host sends a request message for establishing an inter-board communication link;
  • the board as the server remote host After receiving the request message, the board as the server remote host establishes an inter-board message communication link with the board as the client.
  • the request message for establishing the inter-board communication link carries the slot number and the hardware physical address of the board as the client; after receiving the request message, the board as the remote host of the server establishes the client as the client.
  • the steps of the inter-board message communication link between the boards include:
  • the board as the client registers the inter-board message communication link.
  • the step of performing synchronous message interaction through the inter-board message communication link includes: sending, by the client function process on the client card, a request message to the client process on the client card, and sending Blocking the function after the request message;
  • the client process sends the request message to the remote service process through the inter-board message communication link.
  • the method further includes:
  • the remote service process After receiving the request message, the remote service process distributes the request message to the corresponding server function process on the board as the server remote host according to the private data information of the request message; the server function process receives the request message and After the request message is processed, a response message is sent to the client process through the inter-board message communication link.
  • the method further includes:
  • the client process After receiving the response message, the client process sends the response message to the client function process when the client function process can identify the response message;
  • the client function process After receiving the response message, the client function process releases the blocking of its own function.
  • the method further includes:
  • the client process reconstructs the request message according to the message format recognized by the remote service process, and The reconstructed request message is sent to the remote service process through the inter-board message communication link.
  • the step of the client process reconstructing the request message includes:
  • the client process applies for a memory block, the size of which is the sum of the length of the message body of the received request message and the message header length of the message format that the remote service process can recognize;
  • the client process constructs a message header that the remote service process can recognize according to the private data information carried in the received request message, according to the message format of the remote service process, and the message header of the message header and the received request message. Save to the memory block and use the contents of the memory block as a reconstructed request message.
  • the step of performing synchronous message interaction through the inter-board message communication link includes: a server function process on a board as a server remote host, passing through an inter-board message communication link to a board as a client The client process sends a request message, and performs blocking of its own function after sending the request message;
  • the client process When the client function process on the board as the client can recognize the request message, the client process sends the request message to the corresponding client function process, and blocks the function.
  • the method further includes:
  • the client function process After receiving the request message and processing the client function process, the client function process returns a response message to the client process;
  • the client process After receiving the response message, the client process sends the response message to the remote service process and cancels the blocking of its function when the remote service process can identify the response message.
  • the remote service process After receiving the response message, the remote service process sends the response message to the corresponding server function process;
  • the server function process After receiving the response message, the server function process releases its own function blocking.
  • a multi-dwelling unit comprises: a board as a server remote host and a board as a client, wherein:
  • An inter-board message communication link based on a hardware physical address is established between the board as the client and the board as the remote host of the server;
  • the board that acts as the client and the board that is the remote host of the server are set to:
  • the communication link performs synchronous message interaction.
  • the board as the server remote host includes a remote service process module and at least one server function process module, and an interprocess message communication link is established between the remote service process module and the server function process module;
  • the client board includes a client process module and at least one client function process module, and an interprocess message communication link is established between the client process module and the client function process module; the client process module and the remote service process module An inter-board message communication link based on a hardware physical address is established between.
  • the client process module is configured to: send a request message for establishing an inter-board communication link to the remote service process module by using a hardware physical address-based communication protocol;
  • the remote service process module is configured to: After receiving the request message, establish an inter-board message communication link with the client process module.
  • the request message for establishing the inter-board communication link carries the slot number and the hardware physical address of the board as the client;
  • the remote service process module is configured to: after receiving the request message, according to the slot number and Establishing an inter-board message communication link by the hardware physical address, registering the inter-board message communication link, and returning a response message to the client process module;
  • the client process module is also configured to: After receiving the reply message, register the inter-board message communication link.
  • the client function process module is configured to: send a request message to the client process, and perform blocking of its function after sending the request message;
  • the client process module is configured to: When the remote service process can identify the request message, send the request message to the remote service process through the inter-board message communication link.
  • the server function process module is configured to: send a request message to the client process by using an inter-board message communication link, and perform blocking of its function after sending the request message;
  • the client process module is set to: When the client function process can identify the request message, the request message is sent to the corresponding client function process, and the function is blocked.
  • the present invention is based on the physical address of the hardware of the board, realizes the synchronous communication between the two communication application systems of the cross-platform, can realize stable cross-platform communication, and the information interaction is simple and efficient, and the work performance is stable and reliable and applicable. The scope is wider.
  • FIG. 1 is a schematic diagram of a structure of a prior art PON system
  • FIG. 2 is a flowchart of establishing a communication link between boards of a multi-dwelling unit according to an embodiment of the present invention
  • FIG. 3 is a synchronous communication between boards of a board that is requested by a function process of a board of a client process module according to an embodiment of the present invention
  • FIG. 4 is a flowchart of synchronous communication between boards of a function process initiated by a board of a remote service process module according to an embodiment of the present invention
  • Figure 5 is a block diagram of a multi-dwelling unit in accordance with an embodiment of the present invention.
  • the multi-dwelling unit includes at least one board as a server remote host.
  • the board includes a remote service process module providing a layer 2 communication protocol based on a hardware physical address and at least one server function process module, wherein the remote service process module and the client process module An inter-board message communication link is established, and an inter-process message communication link is established between the remote service process module and each server function process module on the board.
  • the multi-dwelling unit also includes at least one board (client board) as a client, the board includes a client process module providing a layer-by-layer communication protocol based on a hardware physical address, and at least one client function process module.
  • client board includes a client process module providing a layer-by-layer communication protocol based on a hardware physical address, and at least one client function process module.
  • the client process module and the remote service process module establish an inter-board message communication link, and an inter-process message communication link is established between the client process module and each client function process module on the board.
  • the hardware physical address of the board in the multi-dwelling unit is generally not modified after the factory is shipped, and the CPU can flexibly learn the hardware physical address through the software after the board is changed.
  • the inter-board message communication link is a communication link of a Layer 2 communication protocol based on a hardware physical address, and the remote service process module and the client process module of the inter-board message communication link respectively have a unique correspondence with the hardware physical address of the board. turn off The inter-board message is sent to the board corresponding to the destination physical address through the remote service process module or the client process module.
  • the message communication link between the process modules in the multi-dwelling unit is the inter-process IPC message channel implemented by the OSS (Operating Systems Subsystem) of the multi-tasking operating system.
  • OSS Operating Systems Subsystem
  • the format of the inter-board message and the inter-process message in the multi-dwelling unit includes a message header and a message body, and the message header includes a process identifier (Process Identifier, PID) of the transmitting program and the receiving program, and a message type (synchronization message or synchronization response message).
  • the message body contains the message ID, message data, and so on.
  • the method for the synchronous communication between the boards of the multi-dwelling unit of the present embodiment includes the process of establishing an inter-board message communication link between the client process module and the remote service process module. As shown in FIG. 2, the method includes the following steps: Step 201: Client process The module sends a broadcast request message for establishing an inter-board communication link to the remote service process module by using a Layer 2 communication protocol based on the hardware physical address, where the broadcast request message for establishing the inter-board communication link carries the board where the client process module is located. The slot number and hardware physical address of the card;
  • the board where each client process module is located has a unique slot number and a hardware physical address.
  • Step 202 The remote service process module receives a broadcast request message from the client process module to establish an inter-board communication link, and establishes and registers with the client process module according to the slot number and the hardware physical address carried in the broadcast request message. An inter-board message communication link, and sends a response message to the client process module through a Layer 2 communication protocol based on the hardware physical address;
  • Step 203 The client process module receives the response message of the remote service process module to the broadcast request message, if it waits for a timeout when receiving the response message, step 201 is performed; if the response message is received, if it does not time out, step 204 is performed;
  • Step 205 The registration of the inter-board message communication link is performed, wherein the response message carries the slot number of the board where the client process module of the request is sent, and step 205 is performed;
  • Step 205 The client process module and the remote service process module periodically send an inter-board message communication link test message to the other party.
  • the method for synchronous communication between the boards of the multi-dwelling unit of the present embodiment further includes the board where the client process module is located.
  • the synchronous process of sending the inter-board message to the server function process of the card where the remote service process module is located includes:
  • Step 301 The client function process module (first process) of the board where the client process module is located sends a first request message to the client process module, and performs its own blocking after sending the first request message, where the first request
  • the message carries a PID identifier, a message type, a message ID, and message data of the first process;
  • Step 302 The client process module receives the first request message from the first process, and according to the first request message, constructs a second request message according to a message format recognizable by the remote service process module, and sends the message through the inter-board message communication link.
  • the remote service process module receives the first request message from the first process, and according to the first request message, constructs a second request message according to a message format recognizable by the remote service process module, and sends the message through the inter-board message communication link.
  • the steps of the client process module constructing and transmitting the second request message according to the first request message include:
  • Step 1 Applying a memory block, the block size is the sum of the message body length of the first request message and the message header length of the remote service process module;
  • Step 2 According to the private data information carried by the first request message, construct a message header of the second request message that the remote service process module can identify according to the message format of the remote service process module, and configure a message header of the second request message. And the message content of the first request message is saved in the memory block of the application;
  • the above private data information includes a PID identifier, a message type, and a message ID.
  • Step 3 Send the content of the memory block to the remote service process module by using an inter-board message communication link;
  • Step 4 Release the memory block requested for the second request message.
  • Step 304 The server function process module corresponding to the receiving program receives the second request message, and sends the first response message to the client process module through the inter-board message communication link after processing;
  • Step 305 The client process module receives the returned first response message, and according to the first response message, constructs a second response message according to a message format that can be recognized by the client function process module on the board where the client process module is located. Transmitting to the client function process module corresponding to the receiving program through the inter-process IPC message channel (first process);
  • the steps of the client process module constructing and transmitting the second response message according to the first response message include:
  • Step a applying a memory block, the block size is the sum of the message body length of the first response message and the message header length of the client function process module (first process) corresponding to the receiving program;
  • Step b according to the private data information carried by the first response message, according to the message format that the client function process module can recognize, construct a message header of the second response message that can be identified by the function process (first process) corresponding to the receiving program, The message header of the second response message and the message content of the first response message are saved in the memory block of the application;
  • Step c Send the content of the requested memory block to the client function process (first process) of the board where the client process module is located through the inter-process message communication link, and release the first response message.
  • Step 306 After receiving the second response message, the client function process (first process) of the board where the client process module is located, immediately unblocks, and releases the memory block occupied by the second response message.
  • the method for synchronous communication between the boards of the multi-dwelling unit of the present embodiment further includes the remote service process module.
  • the server side of the board functions to the board where the client process module is located.
  • the step of the synchronous process of sending the inter-board message by the client function process includes: Step 401: The server function process (third process) of the board where the remote service process module is located initiates a third request message, The inter-board message communication link is sent to the client process module, and the third process immediately blocks itself after sending the third request message, where the third request message carries the PID identifier, the message type, the message ID, and the message data of the third process. ;
  • Step 402 The client process module receives the third request message, and according to the third request message, constructs a fourth request message according to a message format that can be identified by the client function process module of the board, and synchronizes through the inter-process message communication link. Send to the corresponding client function process (fourth process), and immediately block itself;
  • the client process module constructs and sends the fourth request message according to the third request message, including the following steps:
  • Step A applying for a memory block, the block size is the sum of the message body length of the third request message and the message header length of the client function process (fourth process) of the board where the client process module is located;
  • Step B according to the third
  • the private data information of the request message is constructed according to a message format recognizable by the client function process module, and the message of the fourth request message that can be identified by the client function process (fourth process) corresponding to the receiving program of the board where the client process module is located is constructed.
  • Header saving the message header of the fourth request message and the message content of the third request message to the applied memory block;
  • Step C Send the content of the requested memory block to the fourth process through the inter-process message communication link, and immediately perform self-blocking.
  • Step 403 The client function process (fourth process) of the board where the client process module is located receives the fourth request message from the client process module, and after processing, the client process module releases the memory block occupied by the fourth request message. And constructing the third response message to be returned to the client process module by the inter-process message communication link;
  • Step 404 The client process module immediately unblocks after receiving the third response message, and according to the third response message, according to the remote service process module
  • the identifiable message format is configured to construct a fourth response message, which is sent to the remote service process module through the inter-board message communication link;
  • the client process module receives the third response message timeout, and the client process module unblocks.
  • Step 405 The remote service process module receives the fourth response message and passes the inter-process message link. Distribute to the server function process corresponding to the receiving program (third process);
  • Step 406 The server function process (third process) of the board where the remote service process module is located receives the fourth response message, and immediately removes the blocking.
  • the server function process of the board where the remote service process module is located receives the fourth response message timeout, and the blocking of the server function process module is cancelled.
  • Figure 5 shows the multi-dwelling unit of the present embodiment, including: a board as a server remote host and a board as a client, where:
  • the board as the client and the board as the remote host of the server establish an inter-board message communication link based on the hardware physical address;
  • the board as the server remote host includes the remote service process module and at least one server function process module, An inter-process message communication link is established between the remote service process module and the server function process module;
  • the board acting as the client interacts with the board as the remote host of the server through the inter-board message communication link.
  • the client board includes a client process module and at least one client function process module, and an interprocess message communication link is established between the client process module and the client function process module;
  • the client process module and the remote service process module establish an inter-board communication communication link based on the hardware physical address.
  • the inter-board communication link between the client process module and the remote service process module includes: the client process module sends a request message for establishing an inter-board communication link to the remote service process module by using a hardware physical address-based communication protocol; After receiving the request message, the service process module establishes an inter-board message communication link with the client process module.
  • the request message for establishing the inter-board communication link carries the slot number and the hardware physical address of the board as the client.
  • the remote service process module After receiving the request message, the remote service process module establishes inter-board communication according to the slot number and the hardware physical address.
  • the link registers the inter-board message communication link and returns a response message to the client process module.
  • the client process module After receiving the response message, the client process module registers the inter-board message communication link.
  • Synchronous message interaction through the inter-board message communication link includes: client function process to the guest The client process sends a request message, and performs blocking of its own function after sending the request message; when the remote service process can identify the request message, the client process sends the request message to the remote service through the inter-board message communication link. process.
  • Synchronizing message interaction through the inter-board message communication link includes: a server function process, sending a request message to the client process through the inter-board message communication link, and performing blocking of its function after transmitting the request message;
  • a server function process sending a request message to the client process through the inter-board message communication link, and performing blocking of its function after transmitting the request message;
  • the process sends the request message to the corresponding client function process, and blocks the function.
  • modules and steps of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or their Multiple modules or steps are implemented as a single integrated circuit module. Thus, the invention is not limited to any particular combination of hardware and software.
  • the present invention is based on the physical address of the hardware of the board, realizes the synchronous communication between the two communication application systems of the cross-platform, can realize stable cross-platform communication, the information interaction is simple and efficient, the work performance is stable and reliable, and the applicable scope is relatively widely.

Abstract

The present invention discloses a synchronization communication method between single-boards of a multiple dwelling unit and a multiple dwelling unit thereof. The method includes the following steps: the client board of the multiple dwelling unit establishes an inter-board message communication link based on hardware physical addresses with the server remote host board of the multiple dwelling unit; after establishing the inter-board message communication link based on hardware physical addresses, the client board and the server remote host board perform synchronization message interaction through the inter-board message communication link.

Description

多住户单元的单板间同步通信的方法及多住户单元  Method for synchronous communication between boards of multi-dwelling units and multi-dwelling unit
技术领域 Technical field
本发明涉及无源光网络(Passive Optical Network, PON )技术领域, 尤 其涉及一种多住户单元的单板间同步通信的方法及多住户单元。  The present invention relates to the field of Passive Optical Network (PON) technology, and more particularly to a method for synchronous communication between boards of a multi-dwelling unit and a multi-dwelling unit.
背景技术 Background technique
在多任务的通信应用系统中, 任务之间有两种基本的通信方式: 具有依 同步方式的特点是, 两个通信的应用系统之间必须进行同步, 两个系统 必须都在正常运行, 并且中断客户端的执行流, 转而执行调用。 发送程序首 先向接收程序发起一个请求, 紧接着发送程序堵塞自身的进程, 直到收到接 收程序的响应或者同步等待超时。 发送程序在收到响应或者同步等待超时后 会继续向下进行处理。  In a multi-tasking communication application system, there are two basic communication methods between tasks: The synchronous mode is characterized in that two communication application systems must be synchronized, and both systems must be in normal operation, and Interrupt the execution flow of the client and then execute the call. The sender first initiates a request to the receiving program, and then the sending program blocks its own process until it receives a response from the receiving program or the synchronization waits for a timeout. The sender will continue processing down after receiving a response or a synchronization wait timeout.
异步方式的特点是, 一个应用程序 (请求方或发送方)将请求消息发送 给另一个应用程序, 然后可以继续向下执行自身的其它任务。 发送程序无须 等待接收程序的执行和返回结果, 而是可以继续处理其它请求。  The asynchronous mode is characterized in that one application (requestor or sender) sends a request message to another application and can then continue to perform other tasks of its own. The sender does not have to wait for the execution of the receiving program and return the result, but can continue to process other requests.
图 1 所示为现有的 PON (无源光网络) , 其中, 多住户单元(Multiple Dwelling Unit, MDU )作为光接入的终结设备一般安装在楼道内, 为多个用 户提供语音和数据业务, 具有多端口多业务多功能的特点。 这些特点使得多 住户单元在硬件结构上往往存在多个板卡和多个 CPU (中央处理器) , 在软 件设计上往往需要较多的任务分别实现不同的业务, 各个任务往往又运行在 不同类型的多任务操作系统(如 VxWorks、 Linux等)上。 因此, 必须釆用跨 平台的任务间通信机制, 实现板卡进程间消息的通信。  Figure 1 shows an existing PON (passive optical network), in which a multiple Dwelling Unit (MDU) is installed as a terminating device for optical access in a corridor, providing voice and data services for multiple users. , with multi-port multi-service multi-function features. These characteristics make multi-dwelling units often have multiple boards and multiple CPUs (central processing units) in the hardware structure. In software design, more tasks are required to implement different services, and each task often runs in different types. On multitasking operating systems (such as VxWorks, Linux, etc.). Therefore, cross-platform inter-task communication mechanisms must be used to communicate messages between boards.
中国专利申请公开说明书 CN101599852公开了一种单板间多模块的通信 方法、 多软件模块的单板、 通信设备, 该方法包括: 单板的通信模块从应用 层接收单板中的软件模块的模块号, 并将接收的模块号作为软件模块的逻辑 地址保存; 单板的通信模块将向设备内的其它单板广播单板的物理地址与逻 辑地址 , 并学习由设备内其它单板广播的物理地址和相应的逻辑地址; 本单 板的软件模块利用其逻辑地址与其它单板的软件模块进行通信, 而在本单板 与其它单板之间,由通信模块通过物理地址与其它单板的通信模块进行通信。 由于对单板中的软件模块的模块号需要进行统一登记和分配, 当在两个异构 的通信应用系统之间进行跨平台通信时软件模块的可移植和动态扩展性较 差, 且没有实现板间消息的同步通信。 The Chinese Patent Application Publication No. CN101599852 discloses a multi-module communication method between boards, a multi-software module board, and a communication device. The method includes: a communication module of a board receives a module of a software module in a board from an application layer. No., and the received module number is saved as the logical address of the software module. The communication module of the board broadcasts the physical address and logic of the board to other boards in the device. Edit the address and learn the physical address and corresponding logical address broadcasted by other boards in the device. The software module of the board uses its logical address to communicate with the software modules of other boards, and the board and other boards. The communication module communicates with the communication modules of other boards through the physical address. Since the module number of the software module in the board needs to be uniformly registered and allocated, the software module is poorly portable and dynamically expandable when cross-platform communication is performed between two heterogeneous communication application systems, and is not implemented. Synchronous communication of messages between boards.
中国专利申请公开说明书 CN101702784A公开了一种光接入多用户居住 单元嵌入式设备多任务通信系统及方法, 包括使用套接字 socket实现的板间 消息通信链路和进程间通信 ( Inter-Process Communication, IPC )消息通道实 现的进程间消息通信链路, 还包括通过卡间消息守候进程实现进程间的消息 接收处理操作和消息发送处理操作。 由于使用面向连接的套接字 socket通信 的客户端在连接服务端的远端主机, 建立板间消息通信链路时, 需要预先知 道远端主机的 IP地址, 当远端主机的 IP地址变化后客户端无法在板间消息 通信链路建立之前获取到服务端的主机 IP地址, 因而不能建立板间消息通信 链路, 存在灵活性不够、 操作也不方便的缺点。  The Chinese Patent Application Publication No. CN101702784A discloses an optical access multi-user living unit embedded device multi-tasking communication system and method, including an inter-board message communication link and inter-process communication using a socket socket (Inter-Process Communication) , IPC) The inter-process message communication link implemented by the message channel further includes an inter-process message receiving processing operation and a message sending processing operation by the inter-card message waiting process. Since the client using the connection-oriented socket communication communicates with the remote host connected to the server, the IP address of the remote host needs to be known in advance, and the client of the remote host changes the IP address. The terminal cannot obtain the host IP address of the server before the inter-board message communication link is established, so the inter-board message communication link cannot be established, and the flexibility is insufficient and the operation is inconvenient.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种多住户单元的单板间同步通信的方 法及多住户单元, 实现无需使用服务端的主机 IP, 即可实现多住户单元的单 板间的同步通信。  The technical problem to be solved by the present invention is to provide a method for synchronous communication between boards of a multi-dwelling unit and a multi-dwelling unit, which can realize synchronous communication between boards of a multi-dwelling unit without using a host IP of the server.
为解决上述技术问题, 本发明的一种多住户单元的单板间同步通信的方 法, 包括:  In order to solve the above technical problem, a method for synchronous communication between boards of a multi-dwelling unit of the present invention includes:
多住户单元的作为客户端的板卡与多住户单元的作为服务器远程主机的 板卡建立基于硬件物理地址的板间消息通信链路;  The board of the multi-dwelling unit as the client and the board of the multi-dwelling unit as the server remote host establish an inter-board message communication link based on the hardware physical address;
建立基于硬件物理地址的板间消息通信链路后, 作为客户端的板卡与作 为服务器远程主机的板卡通过该板间消息通信链路进行同步消息交互。  After the inter-board communication link based on the hardware physical address is established, the board acting as the client and the board acting as the remote host of the server perform synchronous message exchange through the inter-board message communication link.
可选地, 建立基于硬件物理地址的板间消息通信链路的步骤包括: 作为客户端的板卡通过基于硬件物理地址的通信协议向作为服务器远程 主机的板卡发送建立板间通信链路的请求消息; Optionally, the step of establishing an inter-board message communication link based on the hardware physical address comprises: the board as the client is remotely transmitted as a server by using a hardware physical address-based communication protocol The board of the host sends a request message for establishing an inter-board communication link;
作为服务器远程主机的板卡接收到请求消息后, 建立与作为客户端的板 卡之间的板间消息通信链路。  After receiving the request message, the board as the server remote host establishes an inter-board message communication link with the board as the client.
可选地, 建立板间通信链路的请求消息中携带有作为客户端的板卡的槽 位号和硬件物理地址; 作为服务器远程主机的板卡接收到请求消息后, 建立与所述作为客户端 的板卡之间的板间消息通信链路的步骤包括:  Optionally, the request message for establishing the inter-board communication link carries the slot number and the hardware physical address of the board as the client; after receiving the request message, the board as the remote host of the server establishes the client as the client. The steps of the inter-board message communication link between the boards include:
根据槽位号和硬件物理地址建立板间消息通信链路, 对该板间消息通信 链路进行登记, 并向作为客户端的板卡返回应答消息;  Establishing an inter-board message communication link according to the slot number and the hardware physical address, registering the inter-board message communication link, and returning a response message to the board as the client;
作为客户端的板卡接收到应答消息后, 对板间消息通信链路进行登记。 可选地, 通过该板间消息通信链路进行同步消息交互的步骤包括: 作为客户端的板卡上的客户端功能进程向该作为客户端的板卡上的客户 端进程发送请求消息, 并在发送该请求消息后进行自身功能的阻塞;  After receiving the response message, the board as the client registers the inter-board message communication link. Optionally, the step of performing synchronous message interaction through the inter-board message communication link includes: sending, by the client function process on the client card, a request message to the client process on the client card, and sending Blocking the function after the request message;
客户端进程在作为服务器远程主机的板卡上的远端服务进程能够识别请 求消息时, 通过板间消息通信链路, 将请求消息发送给远端服务进程。  When the remote service process on the board that is the remote host of the server can identify the request message, the client process sends the request message to the remote service process through the inter-board message communication link.
可选地, 该方法还包括:  Optionally, the method further includes:
远端服务进程接收到请求消息后, 根据该请求消息的私有数据信息, 将 该请求消息分发给作为服务器远程主机的板卡上的相应服务端功能进程; 服务端功能进程接收请求消息并对该请求消息进行处理后, 通过板间消 息通信链路向客户端进程发送响应消息。  After receiving the request message, the remote service process distributes the request message to the corresponding server function process on the board as the server remote host according to the private data information of the request message; the server function process receives the request message and After the request message is processed, a response message is sent to the client process through the inter-board message communication link.
可选地, 该方法还包括:  Optionally, the method further includes:
客户端进程接收到响应消息后,在客户端功能进程能够识别响应消息时, 将该响应消息发送给客户端功能进程;  After receiving the response message, the client process sends the response message to the client function process when the client function process can identify the response message;
客户端功能进程接收到响应消息后, 解除对自身功能的阻塞。  After receiving the response message, the client function process releases the blocking of its own function.
可选地, 该方法还包括:  Optionally, the method further includes:
客户端进程在作为服务器远程主机的板卡上的远端服务进程无法识别请 求消息时, 按照远端服务进程能够识别的消息格式, 重新构造请求消息, 并 通过板间消息通信链路, 将重新构造的请求消息发送给远端服务进程。 When the remote process on the board that is the remote host of the server does not recognize the request message, the client process reconstructs the request message according to the message format recognized by the remote service process, and The reconstructed request message is sent to the remote service process through the inter-board message communication link.
可选地, 客户端进程重新构造请求消息的步骤包括:  Optionally, the step of the client process reconstructing the request message includes:
客户端进程申请内存块, 该内存块的大小为接收到的请求消息的消息体 长度和远端服务进程能够识别的消息格式的消息头长度之和;  The client process applies for a memory block, the size of which is the sum of the length of the message body of the received request message and the message header length of the message format that the remote service process can recognize;
客户端进程根据接收到的请求消息中携带的私有数据信息, 按照远端服 务进程的消息格式, 构造该远端服务进程能够识别的消息头, 并将消息头和 接收到的请求消息的消息内容保存到内存块中, 将该内存块中的内容作为重 新构造的请求消息。  The client process constructs a message header that the remote service process can recognize according to the private data information carried in the received request message, according to the message format of the remote service process, and the message header of the message header and the received request message. Save to the memory block and use the contents of the memory block as a reconstructed request message.
可选地, 通过该板间消息通信链路进行同步消息交互的步骤包括: 作为服务器远程主机的板卡上的服务端功能进程, 通过板间消息通信链 路, 向作为客户端的板卡上的客户端进程发送请求消息, 并在发送该请求消 息后进行自身功能的阻塞;  Optionally, the step of performing synchronous message interaction through the inter-board message communication link includes: a server function process on a board as a server remote host, passing through an inter-board message communication link to a board as a client The client process sends a request message, and performs blocking of its own function after sending the request message;
客户端进程在作为客户端的板卡上的客户端功能进程能够识别请求消息 时, 将请求消息发送给相应的客户端功能进程, 并进行自身功能的阻塞。  When the client function process on the board as the client can recognize the request message, the client process sends the request message to the corresponding client function process, and blocks the function.
可选地, 该方法还包括:  Optionally, the method further includes:
客户端功能进程接收到请求消息并进行处理后, 向客户端进程返回响应 消息;  After receiving the request message and processing the client function process, the client function process returns a response message to the client process;
客户端进程接收到响应消息后, 在远端服务进程能够识别响应消息时, 将该响应消息发送给远端服务进程, 并解除自身功能的阻塞;  After receiving the response message, the client process sends the response message to the remote service process and cancels the blocking of its function when the remote service process can identify the response message.
远端服务进程接收到响应消息后, 将该响应消息发送给相应的服务端功 能进程;  After receiving the response message, the remote service process sends the response message to the corresponding server function process;
服务端功能进程接收到响应消息后, 解除自身的功能阻塞。  After receiving the response message, the server function process releases its own function blocking.
可选地, 一种多住户单元, 包括: 作为服务端远程主机的板卡和作为客 户端的板卡, 其中:  Optionally, a multi-dwelling unit comprises: a board as a server remote host and a board as a client, wherein:
作为客户端的板卡与作为服务器远程主机的板卡之间建立有基于硬件物 理地址的板间消息通信链路;  An inter-board message communication link based on a hardware physical address is established between the board as the client and the board as the remote host of the server;
作为客户端的板卡与作为服务器远程主机的板卡设置为: 通过该板间消 息通信链路进行同步消息交互。 The board that acts as the client and the board that is the remote host of the server are set to: The communication link performs synchronous message interaction.
可选地, 作为服务端远程主机的板卡包含远端服务进程模块和至少一个 服务端功能进程模块, 远端服务进程模块与服务端功能进程模块之间建立有 进程间消息通信链路;  Optionally, the board as the server remote host includes a remote service process module and at least one server function process module, and an interprocess message communication link is established between the remote service process module and the server function process module;
作为客户端的板卡包含客户端进程模块和至少一个客户端功能进程模 块,客户端进程模块与客户端功能进程模块之间建立有进程间消息通信链路; 客户端进程模块与远端服务进程模块之间建立有基于硬件物理地址的板 间消息通信链路。  The client board includes a client process module and at least one client function process module, and an interprocess message communication link is established between the client process module and the client function process module; the client process module and the remote service process module An inter-board message communication link based on a hardware physical address is established between.
可选地, 客户端进程模块设置为: 通过基于硬件物理地址的通信协议向 远端服务进程模块发送建立板间通信链路的请求消息;  Optionally, the client process module is configured to: send a request message for establishing an inter-board communication link to the remote service process module by using a hardware physical address-based communication protocol;
远端服务进程模块设置为: 接收到请求消息后, 建立与客户端进程模块 之间的板间消息通信链路。  The remote service process module is configured to: After receiving the request message, establish an inter-board message communication link with the client process module.
可选地, 建立板间通信链路的请求消息中携带有作为客户端的板卡的槽 位号和硬件物理地址; 远端服务进程模块是设置为: 接收到请求消息后, 根据槽位号和硬件物 理地址建立板间消息通信链路, 对该板间消息通信链路进行登记, 并向客户 端进程模块返回应答消息;  Optionally, the request message for establishing the inter-board communication link carries the slot number and the hardware physical address of the board as the client; the remote service process module is configured to: after receiving the request message, according to the slot number and Establishing an inter-board message communication link by the hardware physical address, registering the inter-board message communication link, and returning a response message to the client process module;
客户端进程模块还设置为: 接收到应答消息后, 对板间消息通信链路进 行登记。  The client process module is also configured to: After receiving the reply message, register the inter-board message communication link.
可选地, 客户端功能进程模块设置为: 向客户端进程发送请求消息, 并 在发送该请求消息后进行自身功能的阻塞;  Optionally, the client function process module is configured to: send a request message to the client process, and perform blocking of its function after sending the request message;
客户端进程模块设置为: 在远端服务进程能够识别请求消息时, 通过板 间消息通信链路, 将请求消息发送给远端服务进程。  The client process module is configured to: When the remote service process can identify the request message, send the request message to the remote service process through the inter-board message communication link.
可选地, 服务端功能进程模块设置为: 通过板间消息通信链路, 向客户 端进程发送请求消息, 并在发送该请求消息后进行自身功能的阻塞;  Optionally, the server function process module is configured to: send a request message to the client process by using an inter-board message communication link, and perform blocking of its function after sending the request message;
客户端进程模块设置为: 在作为客户端功能进程能够识别请求消息时, 将请求消息发送给相应的客户端功能进程, 并进行自身功能的阻塞。 综上所述, 本发明基于板卡的硬件物理地址, 实现跨平台的两个通信应 用系统的进程间的同步通信, 能够实现稳定的跨平台通信, 信息交互简单高 效, 工作性能稳定可靠且适用范围较为广泛。 The client process module is set to: When the client function process can identify the request message, the request message is sent to the corresponding client function process, and the function is blocked. In summary, the present invention is based on the physical address of the hardware of the board, realizes the synchronous communication between the two communication application systems of the cross-platform, can realize stable cross-platform communication, and the information interaction is simple and efficient, and the work performance is stable and reliable and applicable. The scope is wider.
附图概述 BRIEF abstract
图 1是现有技术的 PON系统结构的示意图;  1 is a schematic diagram of a structure of a prior art PON system;
图 2是本发明实施例的多住户单元单板间通信链路建立的流程图; 图 3是本发明实施例的客户端进程模块所在板卡的功能进程发起请求的 单板间的同步通信的流程图;  2 is a flowchart of establishing a communication link between boards of a multi-dwelling unit according to an embodiment of the present invention; FIG. 3 is a synchronous communication between boards of a board that is requested by a function process of a board of a client process module according to an embodiment of the present invention; Flow chart
图 4是本发明实施例的远端服务进程模块所在板卡的功能进程发起请求 的单板间的同步通信的流程图;  4 is a flowchart of synchronous communication between boards of a function process initiated by a board of a remote service process module according to an embodiment of the present invention;
图 5是本发明实施例的多住户单元的架构图。  Figure 5 is a block diagram of a multi-dwelling unit in accordance with an embodiment of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
本实施方式中多住户单元中至少包含一块作为服务端远程主机的板卡 In this embodiment, the multi-dwelling unit includes at least one board as a server remote host.
(服务端板卡) , 该板卡上包含一个提供基于硬件物理地址的二层通信协议 的远端服务进程模块和至少一个服务端功能进程模块, 其中, 远端服务进程 模块与客户端进程模块建立有板间消息通信链路, 且远端服务进程模块与所 在板卡上的各个服务端功能进程模块之间均建立有进程间消息通信链路。 (service board), the board includes a remote service process module providing a layer 2 communication protocol based on a hardware physical address and at least one server function process module, wherein the remote service process module and the client process module An inter-board message communication link is established, and an inter-process message communication link is established between the remote service process module and each server function process module on the board.
多住户单元中还包含至少一块作为客户端的板卡(客户端板卡) , 该板 卡上包含一个提供基于硬件物理地址的二层通信协议的客户端进程模块和至 少一个客户端功能进程模块, 其中, 客户端进程模块与远端服务进程模块建 立有板间消息通信链路, 且客户端进程模块与所在板卡上的各个客户端功能 进程模块之间均建立有进程间消息通信链路。  The multi-dwelling unit also includes at least one board (client board) as a client, the board includes a client process module providing a layer-by-layer communication protocol based on a hardware physical address, and at least one client function process module. The client process module and the remote service process module establish an inter-board message communication link, and an inter-process message communication link is established between the client process module and each client function process module on the board.
多住户单元中的板卡的硬件物理地址在出厂之后一般不再修改, 且板卡 变化后 CPU可以通过软件灵活地学习到硬件物理地址。板间消息通信链路为 基于硬件物理地址的二层通信协议的通信链路, 板间消息通信链路的远端服 务进程模块和客户端进程模块分别与单板的硬件物理地址具有唯一的对应关 系, 板间消息通过远端服务进程模块或者客户端进程模块发送至目的物理地 址对应的单板。 The hardware physical address of the board in the multi-dwelling unit is generally not modified after the factory is shipped, and the CPU can flexibly learn the hardware physical address through the software after the board is changed. The inter-board message communication link is a communication link of a Layer 2 communication protocol based on a hardware physical address, and the remote service process module and the client process module of the inter-board message communication link respectively have a unique correspondence with the hardware physical address of the board. turn off The inter-board message is sent to the board corresponding to the destination physical address through the remote service process module or the client process module.
多住户单元中的进程模块之间的消息通信链路为多任务操作系统的 OSS ( Operating Systems Subsystem, 操作系统支撑子系统) 实现的进程间的 IPC 消息通道。  The message communication link between the process modules in the multi-dwelling unit is the inter-process IPC message channel implemented by the OSS (Operating Systems Subsystem) of the multi-tasking operating system.
多住户单元中的板间消息和进程间消息的格式包括消息头和消息体, 消 息头包括发送程序和接收程序的进程标识符(Process Identifier, PID )、 消息 类型 (同步消息或同步应答消息 ) , 消息体包含消息 ID和消息数据等。  The format of the inter-board message and the inter-process message in the multi-dwelling unit includes a message header and a message body, and the message header includes a process identifier (Process Identifier, PID) of the transmitting program and the receiving program, and a message type (synchronization message or synchronization response message). The message body contains the message ID, message data, and so on.
本实施方式的多住户单元的单板间同步通信的方法包括客户端进程模块 和远端服务进程模块建立板间消息通信链路的过程, 如图 2所示, 包括: 步骤 201 : 客户端进程模块通过基于硬件物理地址的二层通信协议发送 建立板间通信链路的广播请求消息到远端服务进程模块, 其中, 建立板间通 信链路的广播请求消息中携带有客户端进程模块所在板卡的槽位号和硬件物 理地址; The method for the synchronous communication between the boards of the multi-dwelling unit of the present embodiment includes the process of establishing an inter-board message communication link between the client process module and the remote service process module. As shown in FIG. 2, the method includes the following steps: Step 201: Client process The module sends a broadcast request message for establishing an inter-board communication link to the remote service process module by using a Layer 2 communication protocol based on the hardware physical address, where the broadcast request message for establishing the inter-board communication link carries the board where the client process module is located. The slot number and hardware physical address of the card;
本实施方式中每个客户端进程模块所在的板卡有唯一的槽位号和硬件物 理地址。  In this embodiment, the board where each client process module is located has a unique slot number and a hardware physical address.
步骤 202: 远端服务进程模块接收来自客户端进程模块的建立板间消息 通信链路的广播请求消息, 根据广播请求消息中携带的槽位号和硬件物理地 址, 建立并登记与客户端进程模块之间的板间消息通信链路, 并通过基于硬 件物理地址的二层通信协议发送应答消息到客户端进程模块;  Step 202: The remote service process module receives a broadcast request message from the client process module to establish an inter-board communication link, and establishes and registers with the client process module according to the slot number and the hardware physical address carried in the broadcast request message. An inter-board message communication link, and sends a response message to the client process module through a Layer 2 communication protocol based on the hardware physical address;
步骤 203 : 客户端进程模块接收远端服务进程模块对广播请求消息的应 答消息, 在接收应答消息时如果等待超时, 则执行步骤 201 ; 如果接收到应 答消息时, 未超时, 则执行步骤 204;  Step 203: The client process module receives the response message of the remote service process module to the broadcast request message, if it waits for a timeout when receiving the response message, step 201 is performed; if the response message is received, if it does not time out, step 204 is performed;
步骤 204: 进行板间消息通信链路的登记, 其中, 应答消息中携带有发 起请求的客户端进程模块所在板卡的槽位号, 并执行步骤 205;  Step 205: The registration of the inter-board message communication link is performed, wherein the response message carries the slot number of the board where the client process module of the request is sent, and step 205 is performed;
步骤 205: 客户端进程模块和远端服务进程模块定时向对方发送板间消 息通信链路测试消息; 步骤 206: 远端服务进程模块接收客户端进程模块发送的板间消息通信 链路测试消息, 如果等待超时, 则从列表中删除已登记的板间消息通信链路; 步骤 207: 客户端进程模块接收远端服务进程模块发送的板间消息通信 链路测试消息, 如果等待超时, 则从列表中删除已登记的板间消息通信链路, 并执行步骤 201 , 重新与远端服务进程模块建立板间消息通信链路。 Step 205: The client process module and the remote service process module periodically send an inter-board message communication link test message to the other party. Step 206: The remote service process module receives the inter-board message communication link test message sent by the client process module. If the waiting timeout occurs, the registered inter-board message communication link is deleted from the list. Step 207: Client process module Receiving the inter-board message communication link test message sent by the remote service process module, if the waiting timeout occurs, deleting the registered inter-board message communication link from the list, and executing step 201, re-establishing a board with the remote service process module. Inter-message communication link.
在远端服务进程模块与客户端进程模块之间的板间消息通信链路成功建 立和登记之后, 本实施方式的多住户单元的单板间同步通信的方法, 还包括 客户端进程模块所在板卡的客户端功能进程向远端服务进程模块所在板卡的 服务端功能进程发送板间消息的同步通信过程, 如图 3所示, 包括: After the inter-board communication link between the remote service process module and the client process module is successfully established and registered, the method for synchronous communication between the boards of the multi-dwelling unit of the present embodiment further includes the board where the client process module is located. The synchronous process of sending the inter-board message to the server function process of the card where the remote service process module is located, as shown in FIG. 3, includes:
步骤 301 : 客户端进程模块所在板卡的客户端功能进程模块 (第一进程 ) 发送第一请求消息到客户端进程模块, 并在发送第一请求消息后进行自身的 阻塞, 其中, 第一请求消息携带有第一进程的 PID标识、 消息类型、 消息 ID 和消息数据;  Step 301: The client function process module (first process) of the board where the client process module is located sends a first request message to the client process module, and performs its own blocking after sending the first request message, where the first request The message carries a PID identifier, a message type, a message ID, and message data of the first process;
步骤 302: 客户端进程模块接收来自第一进程的第一请求消息, 根据第 一请求消息, 按照远端服务进程模块能够识别的消息格式, 构造第二请求消 息, 通过板间消息通信链路发送到远端服务进程模块;  Step 302: The client process module receives the first request message from the first process, and according to the first request message, constructs a second request message according to a message format recognizable by the remote service process module, and sends the message through the inter-board message communication link. To the remote service process module;
客户端进程模块根据第一请求消息构造和发送第二请求消息的步骤包 括:  The steps of the client process module constructing and transmitting the second request message according to the first request message include:
步骤一, 申请一个内存块, 块大小为第一请求消息的消息体长度和远端 服务进程模块的消息头长度之和;  Step 1: Applying a memory block, the block size is the sum of the message body length of the first request message and the message header length of the remote service process module;
步骤二, 根据第一请求消息携带的私有数据信息, 按照远端服务进程模 块的消息格式, 构造远端服务进程模块可以识别的第二请求消息的消息头, 并将第二请求消息的消息头和第一请求消息的消息内容保存到申请的内存块 中;  Step 2: According to the private data information carried by the first request message, construct a message header of the second request message that the remote service process module can identify according to the message format of the remote service process module, and configure a message header of the second request message. And the message content of the first request message is saved in the memory block of the application;
上述私有数据信息包括 PID标识、 消息类型和消息 ID。  The above private data information includes a PID identifier, a message type, and a message ID.
步骤三, 通过板间消息通信链路将内存块的内容发送到远端服务进程模 块; 步骤四: 释放为第二请求消息申请的内存块。 步骤 303: 远端服务进程模块接收第二请求消息, 并根据第二请求消息 中携带的私有数据信息, 将第二请求消息分发到接收程序对应的服务端功能 进程模块(第二进程) ; Step 3: Send the content of the memory block to the remote service process module by using an inter-board message communication link; Step 4: Release the memory block requested for the second request message. Step 303: The remote service process module receives the second request message, and distributes the second request message to the server function process module (second process) corresponding to the receiving program according to the private data information carried in the second request message;
步骤 304: 接收程序对应的服务端功能进程模块接收第二请求消息, 处 理之后通过板间消息通信链路发送第一响应消息到客户端进程模块;  Step 304: The server function process module corresponding to the receiving program receives the second request message, and sends the first response message to the client process module through the inter-board message communication link after processing;
步骤 305: 客户端进程模块接收返回的第一响应消息, 并根据第一响应 消息, 按照该客户端进程模块所在板卡上的客户端功能进程模块能够识别的 消息格式, 构造第二响应消息, 通过进程间 IPC消息通道发送到接收程序对 应的客户端功能进程模块(第一进程) ;  Step 305: The client process module receives the returned first response message, and according to the first response message, constructs a second response message according to a message format that can be recognized by the client function process module on the board where the client process module is located. Transmitting to the client function process module corresponding to the receiving program through the inter-process IPC message channel (first process);
客户端进程模块根据第一响应消息构造和发送第二响应消息的步骤包 括:  The steps of the client process module constructing and transmitting the second response message according to the first response message include:
步骤 a , 申请一个内存块, 块大小为第一响应消息的消息体长度和接收 程序对应的客户端功能进程模块(第一进程) 的消息头长度之和;  Step a, applying a memory block, the block size is the sum of the message body length of the first response message and the message header length of the client function process module (first process) corresponding to the receiving program;
步骤 b, 根据第一响应消息携带的私有数据信息, 按照客户端功能进程 模块能够识别的消息格式, 构造接收程序对应的功能进程(第一进程)可以 识别的第二响应消息的消息头, 将第二响应消息的消息头和第一响应消息的 消息内容保存到申请的内存块中;  Step b, according to the private data information carried by the first response message, according to the message format that the client function process module can recognize, construct a message header of the second response message that can be identified by the function process (first process) corresponding to the receiving program, The message header of the second response message and the message content of the first response message are saved in the memory block of the application;
步骤 c, 通过进程间消息通信链路将申请的内存块的内容发送到客户端 进程模块所在板卡的客户端功能进程(第一进程) , 并释放第一响应消息。  Step c: Send the content of the requested memory block to the client function process (first process) of the board where the client process module is located through the inter-process message communication link, and release the first response message.
步骤 306: 客户端进程模块所在板卡的客户端功能进程(第一进程)接 收到第二响应消息后, 立即解除阻塞, 并释放第二响应消息占用的内存块。  Step 306: After receiving the second response message, the client function process (first process) of the board where the client process module is located, immediately unblocks, and releases the memory block occupied by the second response message.
客户端进程模块所在板卡的功客户端能进程若接收到第二响应消息超 时, 则解除客户端功能进程的阻塞。  If the power client process of the board where the client process module is located receives the second response message timeout, the process of blocking the client function process is cancelled.
在远端服务进程模块和客户端进程模块之间的板间消息通信链路成功建 立和登记之后, 本实施方式的多住户单元的单板间同步通信的方法, 还包括 远端服务进程模块所在板卡的服务端功能进程向客户端进程模块所在板卡的 客户端功能进程发送板间消息的同步通信的步骤, 如图 4所示, 包括: 步骤 401 : 远端服务进程模块所在板卡的服务端功能进程(第三进程) 发起第三请求消息, 通过板间消息通信链路发送到客户端进程模块, 第三进 程发送第三请求消息后立即进行自身阻塞, 其中, 第三请求消息携带有第三 进程的 PID标识、 消息类型、 消息 ID和消息数据; After the inter-board communication link between the remote service process module and the client process module is successfully established and registered, the method for synchronous communication between the boards of the multi-dwelling unit of the present embodiment further includes the remote service process module. The server side of the board functions to the board where the client process module is located. The step of the synchronous process of sending the inter-board message by the client function process, as shown in FIG. 4, includes: Step 401: The server function process (third process) of the board where the remote service process module is located initiates a third request message, The inter-board message communication link is sent to the client process module, and the third process immediately blocks itself after sending the third request message, where the third request message carries the PID identifier, the message type, the message ID, and the message data of the third process. ;
步骤 402: 客户端进程模块接收第三请求消息, 根据第三请求消息, 按 照所在板卡的客户端功能进程模块能够识别的消息格式,构造第四请求消息 , 通过进程间消息通信链路, 同步发送到对应的客户端功能进程(第四进程), 并立即进行自身阻塞;  Step 402: The client process module receives the third request message, and according to the third request message, constructs a fourth request message according to a message format that can be identified by the client function process module of the board, and synchronizes through the inter-process message communication link. Send to the corresponding client function process (fourth process), and immediately block itself;
客户端进程模块根据第三请求消息构造和发送第四请求消息包括以下步 骤:  The client process module constructs and sends the fourth request message according to the third request message, including the following steps:
步骤 A, 申请一个内存块, 块大小为第三请求消息的消息体长度和客户 端进程模块所在板卡的客户端功能进程(第四进程) 的消息头长度之和; 步骤 B, 根据第三请求消息的私有数据信息, 按照客户端功能进程模块 能够识别的消息格式, 构造客户端进程模块所在板卡的接收程序对应的客户 端功能进程(第四进程)可以识别的第四请求消息的消息头, 将第四请求消 息的消息头和第三请求消息的消息内容保存到申请的内存块;  Step A, applying for a memory block, the block size is the sum of the message body length of the third request message and the message header length of the client function process (fourth process) of the board where the client process module is located; Step B, according to the third The private data information of the request message is constructed according to a message format recognizable by the client function process module, and the message of the fourth request message that can be identified by the client function process (fourth process) corresponding to the receiving program of the board where the client process module is located is constructed. Header, saving the message header of the fourth request message and the message content of the third request message to the applied memory block;
步骤 C, 通过进程间消息通信链路将申请的内存块的内容发送到第四进 程, 并立即进行自身阻塞。  Step C: Send the content of the requested memory block to the fourth process through the inter-process message communication link, and immediately perform self-blocking.
步骤 403: 客户端进程模块所在板卡的客户端功能进程(第四进程)接 收来自客户端进程模块的第四请求消息, 进行处理后, 客户端进程模块释放 第四请求消息占用的内存块, 并构造第三响应消息通过进程间消息通信链路 返回给客户端进程模块; 步骤 404: 客户端进程模块接收第三响应消息后立即解除阻塞, 并根据 第三响应消息, 按照远端服务进程模块能够识别的消息格式, 构造第四响应 消息, 通过板间消息通信链路发送到远端服务进程模块;  Step 403: The client function process (fourth process) of the board where the client process module is located receives the fourth request message from the client process module, and after processing, the client process module releases the memory block occupied by the fourth request message. And constructing the third response message to be returned to the client process module by the inter-process message communication link; Step 404: The client process module immediately unblocks after receiving the third response message, and according to the third response message, according to the remote service process module The identifiable message format is configured to construct a fourth response message, which is sent to the remote service process module through the inter-board message communication link;
客户端进程模块接收第三响应消息超时, 客户端进程模块解除阻塞。 步骤 405: 远端服务进程模块接收第四响应消息, 通过进程间消息链路 分发到接收程序对应的服务端功能进程(第三进程) ; The client process module receives the third response message timeout, and the client process module unblocks. Step 405: The remote service process module receives the fourth response message and passes the inter-process message link. Distribute to the server function process corresponding to the receiving program (third process);
步骤 406: 远端服务进程模块所在板卡的服务端功能进程(第三进程) 接收第四响应消息, 立即解除阻塞。  Step 406: The server function process (third process) of the board where the remote service process module is located receives the fourth response message, and immediately removes the blocking.
远端服务进程模块所在板卡的服务端功能进程接收第四响应消息超时, 解除服务端功能进程模块的阻塞。  The server function process of the board where the remote service process module is located receives the fourth response message timeout, and the blocking of the server function process module is cancelled.
图 5所示为本实施方式的多住户单元, 包括: 作为服务端远程主机的板 卡和作为客户端的板卡, 其中: Figure 5 shows the multi-dwelling unit of the present embodiment, including: a board as a server remote host and a board as a client, where:
作为客户端的板卡与作为服务器远程主机的板卡建立有基于硬件物理地 址的板间消息通信链路; 作为服务端远程主机的板卡包含远端服务进程模块 和至少一个服务端功能进程模块, 远端服务进程模块与服务端功能进程模块 之间建立有进程间消息通信链路;  The board as the client and the board as the remote host of the server establish an inter-board message communication link based on the hardware physical address; the board as the server remote host includes the remote service process module and at least one server function process module, An inter-process message communication link is established between the remote service process module and the server function process module;
作为客户端的板卡与作为服务器远程主机的板卡通过该板间消息通信链 路进行同步消息交互。 作为客户端的板卡包含客户端进程模块和至少一个客 户端功能进程模块, 客户端进程模块与客户端功能进程模块之间建立有进程 间消息通信链路;  The board acting as the client interacts with the board as the remote host of the server through the inter-board message communication link. The client board includes a client process module and at least one client function process module, and an interprocess message communication link is established between the client process module and the client function process module;
客户端进程模块与远端服务进程模块建立有基于硬件物理地址的板间消 息通信链路。  The client process module and the remote service process module establish an inter-board communication communication link based on the hardware physical address.
客户端进程模块与远端服务进程模块建立板间消息通信链路包括: 客户 端进程模块通过基于硬件物理地址的通信协议向远端服务进程模块发送建立 板间通信链路的请求消息; 远端服务进程模块接收到请求消息后, 建立与客 户端进程模块之间的板间消息通信链路。  The inter-board communication link between the client process module and the remote service process module includes: the client process module sends a request message for establishing an inter-board communication link to the remote service process module by using a hardware physical address-based communication protocol; After receiving the request message, the service process module establishes an inter-board message communication link with the client process module.
建立板间通信链路的请求消息中携带有作为客户端的板卡的槽位号和硬 件物理地址; 远端服务进程模块接收到请求消息后, 根据槽位号和硬件物理 地址建立板间消息通信链路, 对该板间消息通信链路进行登记, 并向客户端 进程模块返回应答消息; 客户端进程模块接收到应答消息后, 对板间消息通 信链路进行登记。  The request message for establishing the inter-board communication link carries the slot number and the hardware physical address of the board as the client. After receiving the request message, the remote service process module establishes inter-board communication according to the slot number and the hardware physical address. The link registers the inter-board message communication link and returns a response message to the client process module. After receiving the response message, the client process module registers the inter-board message communication link.
通过该板间消息通信链路进行同步消息交互包括: 客户端功能进程向客 户端进程发送请求消息, 并在发送该请求消息后进行自身功能的阻塞; 客户 端进程在远端服务进程能够识别请求消息时, 通过板间消息通信链路, 将请 求消息发送给远端服务进程。 Synchronous message interaction through the inter-board message communication link includes: client function process to the guest The client process sends a request message, and performs blocking of its own function after sending the request message; when the remote service process can identify the request message, the client process sends the request message to the remote service through the inter-board message communication link. process.
通过该板间消息通信链路进行同步消息交互包括: 服务端功能进程, 通 过板间消息通信链路, 向客户端进程发送请求消息, 并在发送该请求消息后 进行自身功能的阻塞; 客户端进程在作为客户端功能进程能够识别请求消息 时, 将请求消息发送给相应的客户端功能进程, 并进行自身功能的阻塞。  Synchronizing message interaction through the inter-board message communication link includes: a server function process, sending a request message to the client process through the inter-board message communication link, and performing blocking of its function after transmitting the request message; When the process is able to recognize the request message as a client function process, the process sends the request message to the corresponding client function process, and blocks the function.
显然, 本领域的技术人员应该明白, 上述的本发明的各模块、 各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们的多个模块或者步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 Obviously, those skilled in the art should understand that the above modules and steps of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or their Multiple modules or steps are implemented as a single integrated circuit module. Thus, the invention is not limited to any particular combination of hardware and software.
以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围 之内。  The above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. All modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.
工业实用性 本发明基于板卡的硬件物理地址, 实现跨平台的两个通信应用系统的进 程间的同步通信, 能够实现稳定的跨平台通信, 信息交互简单高效, 工作性 能稳定可靠且适用范围较为广泛。 Industrial Applicability The present invention is based on the physical address of the hardware of the board, realizes the synchronous communication between the two communication application systems of the cross-platform, can realize stable cross-platform communication, the information interaction is simple and efficient, the work performance is stable and reliable, and the applicable scope is relatively widely.

Claims

权 利 要 求 书 Claim
1、 一种多住户单元的单板间同步通信的方法, 包括: A method for synchronous communication between boards of a multi-dwelling unit, comprising:
多住户单元的作为客户端的板卡与所述多住户单元的作为服务器远程主 机的板卡建立基于硬件物理地址的板间消息通信链路;  A board of the multi-dwelling unit as a client establishes an inter-board message communication link based on a hardware physical address with a board of the multi-dwelling unit as a server remote host;
建立所述基于硬件物理地址的板间消息通信链路后, 所述作为客户端的 板卡与所述作为服务器远程主机的板卡通过所述板间消息通信链路进行同步 消息交互。  After the inter-board communication link based on the hardware physical address is established, the board as the client and the board as the remote host of the server perform synchronous message exchange through the inter-board message communication link.
2、 如权利要求 1所述的方法, 其中, 所述建立基于硬件物理地址的板间 消息通信链路的步骤包括: 2. The method according to claim 1, wherein the step of establishing an inter-board message communication link based on a hardware physical address comprises:
所述作为客户端的板卡通过基于硬件物理地址的通信协议向所述作为服 务器远程主机的板卡发送建立所述板间通信链路的请求消息;  The board as the client sends a request message for establishing the inter-board communication link to the board as the server remote host by using a hardware physical address-based communication protocol;
所述作为服务器远程主机的板卡接收到所述请求消息后, 建立与所述作 为客户端的板卡之间的所述板间消息通信链路。  After receiving the request message, the board as the remote host of the server establishes the inter-board message communication link with the board as the client.
3、 如权利要求 2所述的方法, 其中, 3. The method of claim 2, wherein
所述建立所述板间通信链路的请求消息中携带有所述作为客户端的板卡 的槽位号和硬件物理地址;  The request message for establishing the inter-board communication link carries the slot number and the hardware physical address of the board as the client;
所述作为服务器远程主机的板卡接收到所述请求消息后, 建立与所述作 为客户端的板卡之间的板间消息通信链路的步骤包括:  After the board as the remote host of the server receives the request message, the step of establishing an inter-board message communication link with the board as the client includes:
根据所述槽位号和硬件物理地址建立所述板间消息通信链路, 对所述板 间消息通信链路进行登记, 并向所述作为客户端的板卡返回应答消息;  Establishing the inter-board message communication link according to the slot number and the hardware physical address, registering the inter-board message communication link, and returning a response message to the board as the client;
所述作为客户端的板卡接收到所述应答消息后, 对所述板间消息通信链 路进行登记。  After receiving the response message, the board as the client registers the inter-board message communication link.
4、 如权利要求 1所述的方法, 其中, 所述通过所述板间消息通信链路进 行同步消息交互的步骤包括: 4. The method of claim 1, wherein the step of synchronizing message interaction through the inter-board message communication link comprises:
所述作为客户端的板卡上的客户端功能进程向所述作为客户端的板卡上 的客户端进程发送请求消息, 并在发送该请求消息后进行自身功能的阻塞; 所述客户端进程在所述作为服务器远程主机的板卡上的远端服务进程能 够识别所述请求消息时, 通过所述板间消息通信链路, 将所述请求消息发送 给所述远端服务进程。 The client function process on the board as the client sends a request message to the client process on the board as the client, and performs blocking of its function after sending the request message; The client process sends the request message to the remote end through the inter-board message communication link when the remote service process on the board as the server remote host can identify the request message. Service process.
5、 如权利要求 4所述的方法, 该方法还包括: 5. The method of claim 4, further comprising:
所述远端服务进程接收到所述请求消息后, 根据所述请求消息的私有数 据信息, 将所述请求消息分发给所述作为服务器远程主机的板卡上的相应服 务端功能进程;  After receiving the request message, the remote service process distributes the request message to the corresponding server function process on the board as the remote host of the server according to the private data information of the request message;
所述服务端功能进程接收所述请求消息并对所述请求消息进行处理后, 通过所述板间消息通信链路向所述客户端进程发送响应消息。  After receiving the request message and processing the request message, the server function process sends a response message to the client process through the inter-board message communication link.
6、 如权利要求 5所述的方法, 该方法还包括: 6. The method of claim 5, further comprising:
所述客户端进程接收到所述响应消息后, 在所述客户端功能进程能够识 别所述响应消息时, 将所述响应消息发送给所述客户端功能进程;  After receiving the response message, the client process sends the response message to the client function process when the client function process can identify the response message;
所述客户端功能进程接收到所述响应消息后, 解除对自身功能的阻塞。  After receiving the response message, the client function process releases the blocking of its own function.
7、 如权利要求 4所述的方法, 该方法还包括: 7. The method of claim 4, further comprising:
所述客户端进程在所述作为服务器远程主机的板卡上的远端服务进程无 法识别所述请求消息时, 按照所述远端服务进程能够识别的消息格式, 重新 构造所述请求消息, 并通过所述板间消息通信链路, 将重新构造的请求消息 发送给所述远端服务进程。  The client process reconfigures the request message according to a message format recognizable by the remote service process when the remote service process on the board that is the remote host of the server cannot identify the request message, and The reconstructed request message is sent to the remote service process through the inter-board message communication link.
8、 如权利要求 7所述的方法, 其中, 所述客户端进程重新构造所述请求 消息的步骤包括: 8. The method of claim 7, wherein the step of the client process reconstructing the request message comprises:
所述客户端进程申请内存块, 该内存块的大小为接收到的请求消息的消 息体长度和所述远端服务进程能够识别的消息格式的消息头长度之和;  The client process applies for a memory block, where the size of the memory block is the sum of the length of the message body of the received request message and the message header length of the message format that the remote service process can recognize;
所述客户端进程根据所述接收到的请求消息中携带的私有数据信息, 按 照所述远端服务进程的消息格式,构造所述远端服务进程能够识别的消息头, 并将消息头和所述接收到的请求消息的消息内容保存到所述内存块中, 将所 述内存块中的内容作为所述重新构造的请求消息。 The client process constructs a message header that can be recognized by the remote service process according to the message format of the remote service process according to the private data information carried in the received request message, and the message header and the location The content of the message of the received request message is saved in the memory block, and the content in the memory block is used as the reconstructed request message.
9、 如权利要求 1所述的方法, 其中, 所述通过该板间消息通信链路进行 同步消息交互的步骤包括: 9. The method of claim 1, wherein the step of synchronizing message interaction through the inter-board message communication link comprises:
所述作为服务器远程主机的板卡上的服务端功能进程, 通过所述板间消 息通信链路, 向所述作为客户端的板卡上的客户端进程发送请求消息, 并在 发送所述请求消息后进行自身功能的阻塞;  The server function process on the board as the remote host of the server sends a request message to the client process on the board as the client through the inter-board message communication link, and sends the request message After blocking the function of its own;
所述客户端进程在所述作为客户端的板卡上的客户端功能进程能够识别 所述请求消息时, 将所述请求消息发送给相应的客户端功能进程, 并进行自 身功能的阻塞。  When the client function process on the board as the client can identify the request message, the client process sends the request message to the corresponding client function process, and performs blocking of the self function.
10、 如权利要求 9所述的方法, 该方法还包括: 10. The method of claim 9, further comprising:
所述客户端功能进程接收到所述请求消息并进行处理后, 向所述客户端 进程返回响应消息;  After receiving the request message and processing, the client function process returns a response message to the client process;
所述客户端进程接收到所述响应消息后, 在所述远端服务进程能够识别 所述响应消息时, 将所述响应消息发送给所述远端服务进程, 并解除自身功 能的阻塞;  After receiving the response message, the client process sends the response message to the remote service process and cancels the blocking of its function when the remote service process can identify the response message.
所述远端服务进程接收到所述响应消息后, 将所述响应消息发送给相应 的服务端功能进程;  After receiving the response message, the remote service process sends the response message to the corresponding server function process;
所述服务端功能进程接收到所述响应消息后, 解除自身的功能阻塞。  After receiving the response message, the server function process releases its own function blocking.
11、 一种多住户单元, 包括: 作为服务端远程主机的板卡和作为客户端 的板卡, 其中: 11. A multi-dwelling unit comprising: a board as a server remote host and a board as a client, wherein:
所述作为客户端的板卡与所述作为服务器远程主机的板卡之间建立有基 于硬件物理地址的板间消息通信链路;  An inter-board message communication link based on a hardware physical address is established between the board as a client and the board as a remote host of the server;
所述作为客户端的板卡与所述作为服务器远程主机的板卡设置为: 通过 所述板间消息通信链路进行同步消息交互。  The board as the client and the board as the server remote host are set to: perform synchronous message interaction through the inter-board message communication link.
12、 如权利要求 11所述的多住户单元, 其中, 12. The multi-dwelling unit of claim 11, wherein
所述作为服务端远程主机的板卡包含远端服务进程模块和至少一个服务 端功能进程模块, 所述远端服务进程模块与所述服务端功能进程模块之间建 立有进程间消息通信链路; 所述作为客户端的板卡包含客户端进程模块和至少一个客户端功能进程 模块, 所述客户端进程模块与所述客户端功能进程模块之间建立有进程间消 息通信链路; The board as the server remote host includes a remote service process module and at least one server function process module, and an interprocess message communication link is established between the remote service process module and the server function process module. ; The board as a client includes a client process module and at least one client function process module, and an interprocess message communication link is established between the client process module and the client function process module;
所述客户端进程模块与所述远端服务进程模块之间建立有所述基于硬件 物理地址的板间消息通信链路。  The inter-board message communication link based on the hardware physical address is established between the client process module and the remote service process module.
13、 如权利要求 12所述的多住户单元, 其中, 13. The multi-dwelling unit of claim 12, wherein
所述客户端进程模块设置为: 通过基于硬件物理地址的通信协议向所述 远端服务进程模块发送建立所述板间通信链路的请求消息;  The client process module is configured to: send, by using a hardware physical address-based communication protocol, a request message for establishing the inter-board communication link to the remote service process module;
所述远端服务进程模块设置为: 接收到所述请求消息后, 建立与所述客 户端进程模块之间的所述板间消息通信链路。  The remote service process module is configured to: after receiving the request message, establish the inter-board message communication link with the client process module.
14、 如权利要求 13所述的多住户单元, 其中, 14. The multi-dwelling unit of claim 13, wherein
所述建立所述板间通信链路的请求消息中携带有所述作为客户端的板卡 的槽位号和硬件物理地址;  The request message for establishing the inter-board communication link carries the slot number and the hardware physical address of the board as the client;
所述远端服务进程模块是设置为: 接收到所述请求消息后, 根据所述槽 位号和硬件物理地址建立所述板间消息通信链路, 对该板间消息通信链路进 行登记, 并向所述客户端进程模块返回应答消息;  The remote service process module is configured to: after receiving the request message, establish the inter-board message communication link according to the slot number and the hardware physical address, and register the inter-board message communication link, And returning a response message to the client process module;
所述客户端进程模块还设置为: 接收到所述应答消息后, 对所述板间消 息通信链路进行登记。  The client process module is further configured to: after receiving the response message, register the inter-board message communication link.
15、 如权利要求 12所述的多住户单元, 其中, 15. The multi-dwelling unit of claim 12, wherein
所述客户端功能进程模块设置为: 向所述客户端进程发送请求消息, 并 在发送所述请求消息后进行自身功能的阻塞;  The client function process module is configured to: send a request message to the client process, and perform blocking of its function after sending the request message;
所述客户端进程模块设置为: 在所述远端服务进程能够识别所述请求消 息时, 通过所述板间消息通信链路, 将所述请求消息发送给所述远端服务进 程。  The client process module is configured to: when the remote service process is capable of identifying the request message, send the request message to the remote service process through the inter-board message communication link.
16、 如权利要求 12所述的多住户单元, 其中, 16. The multi-dwelling unit of claim 12, wherein
所述服务端功能进程模块设置为: 通过所述板间消息通信链路, 向所述 客户端进程发送请求消息, 并在发送所述请求消息后进行自身功能的阻塞; 所述客户端进程模块设置为: 在所述作为客户端功能进程能够识别所述 请求消息时, 将所述请求消息发送给相应的客户端功能进程, 并进行自身功 能的阻塞。 The server function process module is configured to: pass the inter-board message communication link to the The client process sends a request message, and performs blocking of its own function after sending the request message; the client process module is configured to: when the client function process can identify the request message, the request is The message is sent to the corresponding client function process and is blocked by its own function.
PCT/CN2011/074428 2010-12-02 2011-05-20 Synchronization communication method between single-boards of a multiple dwelling unit and multiple dwelling unit thereof WO2012071860A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010570435.1 2010-12-02
CN201010570435.1A CN102487465B (en) 2010-12-02 2010-12-02 Method for synchronous communication between single boards of multiple dwelling unit and multiple dwelling unit

Publications (1)

Publication Number Publication Date
WO2012071860A1 true WO2012071860A1 (en) 2012-06-07

Family

ID=46152913

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074428 WO2012071860A1 (en) 2010-12-02 2011-05-20 Synchronization communication method between single-boards of a multiple dwelling unit and multiple dwelling unit thereof

Country Status (2)

Country Link
CN (1) CN102487465B (en)
WO (1) WO2012071860A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103107906B (en) * 2012-11-15 2016-06-29 瑞斯康达科技发展股份有限公司 Communication means, board and communication machine frame equipment between a kind of board
CN105991301A (en) * 2015-03-13 2016-10-05 杭州迪普科技有限公司 Message synchronization method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825836A (en) * 2006-04-04 2006-08-30 中兴通讯股份有限公司 System and method for avoiding network apparatus jamming
CN101599852A (en) * 2008-06-06 2009-12-09 中兴通讯股份有限公司 The veneer of the communication means of multimode, multi-software module, communication apparatus between veneer
CN101702784A (en) * 2009-11-18 2010-05-05 上海市共进通信技术有限公司 Multitask communication system and method of optical access multiuser residential unit embedded device
CN101895523A (en) * 2009-05-22 2010-11-24 华为技术有限公司 Board-to-board communication method, system, mainboard and service single board

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW575262U (en) * 2001-04-16 2004-02-01 Interdigital Tech Corp A frequency division duplex/code division multiple access (FDD/CDMA) user equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825836A (en) * 2006-04-04 2006-08-30 中兴通讯股份有限公司 System and method for avoiding network apparatus jamming
CN101599852A (en) * 2008-06-06 2009-12-09 中兴通讯股份有限公司 The veneer of the communication means of multimode, multi-software module, communication apparatus between veneer
CN101895523A (en) * 2009-05-22 2010-11-24 华为技术有限公司 Board-to-board communication method, system, mainboard and service single board
CN101702784A (en) * 2009-11-18 2010-05-05 上海市共进通信技术有限公司 Multitask communication system and method of optical access multiuser residential unit embedded device

Also Published As

Publication number Publication date
CN102487465A (en) 2012-06-06
CN102487465B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
US11470000B2 (en) Medical device communication method
US9524186B2 (en) System and method for supporting common transaction identifier (XID) optimization based on resource manager (RM) instance awareness in a transactional environment
CN107528891B (en) Websocket-based automatic clustering method and system
US10609125B2 (en) Method and system for transmitting communication data
CN108390950A (en) A kind of information push method, device and equipment
WO2012009936A1 (en) Cluster management system and method
KR100772175B1 (en) Network robot system and communication method in network robot system
US20160337467A1 (en) Method and system for information exchange utilizing an asynchronous persistent store protocol
WO2013027923A1 (en) System for setting up a virtual machine policy, method for setting up a virtual machine policy, and method for providing a virtual machine policy in a cloud computing server system
CN100442897C (en) Terminal and server communication method, system and device
CN103827830A (en) System and method for preventing single-point bottleneck in a transactional middleware machine environment
KR100679865B1 (en) A System to Support the Heterogeneity in Ubiquitous Computing Environment
WO2012071860A1 (en) Synchronization communication method between single-boards of a multiple dwelling unit and multiple dwelling unit thereof
CA2332586A1 (en) A telecommunication controller messaging system
WO2015067051A1 (en) Test agent method and device thereof
WO2012126212A1 (en) Communication apparatus and method for interface layer of radio frequency identification device
KR100439761B1 (en) System and method for group communication in corba
CN110928702B (en) Multi-process message communication system
WO2022254517A1 (en) Communication system and communication control method
CN110928703B (en) Multi-process communication registration method and device
CN117851333A (en) Inter-core data communication method of multi-core operating system
KR100442688B1 (en) Interprocess communication method and apparatus
CN114356602A (en) RPC communication method based on ARINC653 partition
JP2000267960A (en) Method for communicating packet between plural processes and packet communication equipment
KR100624679B1 (en) method and system for managing Inter Processor Communication channel in Embedded system

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: 11844825

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: 11844825

Country of ref document: EP

Kind code of ref document: A1