WO2009107220A1 - Network system and method for data communication - Google Patents

Network system and method for data communication Download PDF

Info

Publication number
WO2009107220A1
WO2009107220A1 PCT/JP2008/053549 JP2008053549W WO2009107220A1 WO 2009107220 A1 WO2009107220 A1 WO 2009107220A1 JP 2008053549 W JP2008053549 W JP 2008053549W WO 2009107220 A1 WO2009107220 A1 WO 2009107220A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
communication path
logical communication
information
data transmission
Prior art date
Application number
PCT/JP2008/053549
Other languages
French (fr)
Japanese (ja)
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 パナソニック電工株式会社
Priority to PCT/JP2008/053549 priority Critical patent/WO2009107220A1/en
Priority to JP2010500495A priority patent/JPWO2009107220A1/en
Publication of WO2009107220A1 publication Critical patent/WO2009107220A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • the present invention relates to a technology for performing data communication between terminal devices connected to a network.
  • a terminal device such as a personal computer 140 or a mobile phone 150 connected to the Internet 4 or a home IP device 100 is connected to a refrigerator
  • a network system is described that enables access to non-IP devices 110 such as air conditioners and microwave ovens.
  • the gateway 120 is connected to the IPv6 router 130 via the IPv6 network, and the IPv6 router 130 is connected to the Internet 4.
  • the gateway 120 is connected to the non-IP device 110 via a non-IP network such as ECHONET, and is connected to the home IP device 100 such as a personal computer via the IPv6 network.
  • the gateway 120 includes a CPU that executes various programs related to peripheral control, data processing, and communication, a network identifier (local address) of a non-IP device in a non-IP network, and an IPv6 address assigned to the non-IP device.
  • a network identifier local address
  • IPv6 address assigned to the non-IP device.
  • a packet addressed to the non-IP device 110 from the personal computer 140 or the mobile phone 150 connected to the Internet 4 is converted by the gateway 120 into a network protocol to which the non-IP device 110 is connected. Access to the non-IP device 110 becomes possible.
  • an in-home device 210 that transmits in-house images via the Internet 4 and a telephone line 200 capable of dial-up connection is provided as a user such as a mobile phone.
  • a system for remotely monitoring by a terminal 220 is described.
  • the home page is displayed on the user terminal 220.
  • the user logs in by entering the ID / password
  • user authentication is performed based on data stored in the database DB of the server 240, and a list of commands is displayed.
  • the selected command is transmitted to the server 240 and stored in the command queue 242 of the server 240.
  • the auto dial menu with the phone number embedded is displayed.
  • the telephone number of the telephone line 200 capable of dial-up connection of the in-house device 210 dedicated to the user is embedded.
  • auto dial menu auto dial is executed and the in-home device 210 is called. Is called. At this time, the user disconnects communication after making a predetermined number of calls (for example, one call).
  • the in-home device 210 When the in-home device 210 recognizes the call made by the user terminal 220, the call is triggered by this call to dial-up the telephone line to the ISP (Internet service provider) 230 and further to the server 240.
  • the server 240 authenticates the home device 210 that has been dial-up connected, and the home device 210 acquires all commands stored in the command queue 242 and disconnects the communication line.
  • the in-home device 210 executes each acquired command, then dials up again to the ISP, connects the telephone line to the server 240, and transmits the command execution result to the server 240.
  • the file transfer protocol (FTP) passive (PASV) mode (method in which the FTP server side notifies the connection port for connection) connects the in-home apparatus 210 to the server 240. Sent to.
  • FTP file transfer protocol
  • PASV file transfer protocol passive
  • the server 240 When the server 240 receives the command execution result from the in-home device 210, the server 240 processes the execution result, for example, in-house image data into WEB content, and transmits a command completion notification to the user terminal 220.
  • the user can confirm the command completion notification using the user terminal 220, and browse and view the execution result stored in the server 240, for example, a home image.
  • the user terminal 220 such as a mobile phone.
  • the present invention has been made in view of the above-described problems, and the object of the present invention is to easily add or change a terminal device to a network (addition of functions) and to change the other party in data transmission. It is an object of the present invention to provide a network system capable of smooth information communication between terminal devices without being aware of the address information (IP address) of the terminal devices.
  • IP address address information
  • the network system of the present invention is a network system for performing data communication between a first terminal device and at least one of a plurality of second terminal devices via a network, A storage unit in which information for identifying a logical communication path used for data transmission by the first terminal device and information for identifying a logical communication path used for data reception by each of the second terminal devices is registered
  • a first network interface unit for performing data transmission to the network using information for identifying a logical communication path used for data transmission based on a request from the first terminal device Referring to the information registered in the storage unit, a verification unit that identifies the second terminal device that is registered for data reception on the same logical communication path that the first terminal device uses for data transmission;
  • a second network that is provided for each of the second terminal apparatuses and that receives data from the logical communication path for the second terminal apparatus that has registered the same logical communication path used for data transmission.
  • an interface unit is a network system for performing data communication between a first terminal device and at least one of a plurality of second terminal devices
  • the technical idea of the present invention is characterized not by the relationship between the terminal device and the terminal device, but by the relationship between each terminal device and the network, and the mechanism for realizing the relationship is the network interface unit. .
  • the FTP server side determines the port used for data transfer in the FTP passive mode, and the user (client) follows it.
  • the terminal device on the transmission side and the terminal device on the reception side can independently determine a logical communication path used for data communication, and is used by the terminal device on the transmission side. Data can be transmitted and received only when the logical communication path matches the logical communication path used by the terminal device on the receiving side.
  • the network system of the present invention is a system (for example, active mode or passive mode of FTP) that determines a communication channel mainly used by one terminal device (transmission side terminal device) in terms of protocol. Is different and does not require the address information of the terminal device that is the communication partner for data communication, so a new terminal device can be added to the network or a new data communication path can be established between existing terminal devices. It has the advantage of being easy to build.
  • a new communication is newly established between terminal apparatuses that have already established data communication using a certain logical communication path. This means that data communication using the logical communication path can be easily established between the terminal devices.
  • the information for identifying the logical communication path includes logical communication path information such as a name (channel name) assigned to the logical communication path, or an identifier associated with the logical communication path in advance. This information is included.
  • the transmission side terminal device (first terminal device) is used for data transmission even when a logical communication path for new data communication needs to be added. It is only necessary to additionally register the logical communication path to be stored in the storage unit. Conversely, when deleting an existing logical communication path, it is only necessary to delete the registration of the logical communication path from the storage unit. In other words, if only the information of the logical communication path used in the terminal device on the data transmission side is set without considering the relationship between the terminal device on the data transmission side and the terminal device on the data reception side, The number of logical communication paths necessary for the above can be easily obtained.
  • the terminal device on the receiving side (second terminal device) even if it is necessary to add a logical communication channel for receiving new data, the logical communication channel used for data reception is additionally registered in the storage unit. On the contrary, when deleting an existing logical communication path, it is only necessary to delete the registration of the logical communication path from the storage unit. Therefore, if only the information on the logical communication path used in the data receiving terminal device is set without considering the relationship with the terminal device on the data transmitting side, the required number of logical communication channels on the network are set. Can be easily obtained.
  • the second network interface unit allows the second terminal device in which the same logical communication path as the logical communication path used for data transmission is registered to temporarily refuse data reception. It is preferable to include a subscribe selection unit. For example, in a crime prevention system, it is necessary to receive data from a sensor device such as a human sensor at night or when going out, but there are cases where it is desired to refuse to receive data during the day or at home. In this way, it is possible to select whether to temporarily refuse data reception in accordance with the convenience of the user. Although it is conceivable to change the setting of the logical communication path, the setting of the logical communication path becomes heavy compared to the case where the ON / OFF of the subscription is set.
  • the first terminal device functions as a transmission source terminal device and the second terminal device functions as a reception-side terminal device.
  • bidirectional communication between the first terminal device and the second terminal device is possible.
  • a plurality of first terminal devices are connected to the network, and in the storage unit, information for identifying a logical communication path used for data transmission by each of the second terminal devices, and the first terminal device Information for identifying a logical communication channel used for data reception by each of the second network interface unit is registered, and based on a request from one of the second terminal devices, the second network interface unit uses a logical channel for data transmission.
  • Data is transmitted to the network using information for identifying the communication path, and the collation unit refers to the information registered in the storage unit and is used by the second network interface unit for data transmission.
  • the first terminal device that registers the same logical communication channel as the logical communication channel for data reception is specified, and the first network interface unit Provided, it is preferable that the second terminal device performs on the first terminal device to receive data from a logical channel used for data transmission.
  • Each terminal device can also use the same logical communication path used for data transmission as a logical communication path for data reception. In short, the same logical communication path may be used when data is transmitted from the first terminal device to the second terminal device and when data is transmitted from the second terminal device to the first terminal device.
  • the first terminal device constructs a first application unit and a first middleware unit that functions as the first network interface unit.
  • a program storage unit for storing software for executing the processing, and a CPU for executing the software to realize a first application unit and a first middleware unit, wherein the first middleware unit is a logical communication path used for data transmission
  • the information for identifying the logical communication path used for data transmission is stored in the network. It is preferable to have a function of executing data transmission.
  • each of the second terminal devices constructs a second application unit and a second middleware unit that functions as the second network interface unit.
  • the first network interface unit is provided separately from the first terminal device, for example, the first network interface unit is provided in a housing externally attached to the first terminal device, and the CPU and program storage This is realized by any of hardware provided with a unit, software module, and a combination of hardware and software module.
  • the second network interface unit is provided separately from the second terminal device, for example, each of the second network interface units is provided in a casing externally attached to the second terminal device, and the CPU And hardware provided with a program storage unit, a software module, and a combination of hardware and software module.
  • information for identifying a logical communication path used by each terminal device for data communication is centrally stored and managed in a storage unit provided in a server on the network.
  • each of the first terminal device and the second terminal device has an information setting function for identifying a logical communication path, a data transmission function, and a data reception function, and the network system is at least connected to the network.
  • the server includes one server, and the server is provided with the storage unit and the verification unit.
  • the first network interface unit registers information for identifying the logical communication path in the storage unit of the server using the setting function based on a request from the first terminal device
  • the second network interface unit Each registers information for identifying the logical communication path in the storage unit of the server using the setting function based on a request from the second terminal device.
  • the storage unit of the server has a channel management table in which information for identifying the logical communication path registered by each of the first terminal device and the second terminal device is stored.
  • the server The collating unit refers to the channel management table, identifies the second terminal device that has registered in the channel management table information for identifying the same logical communication path used for the data transmission, The data transmission is performed to the specified second terminal device.
  • the second network interface unit corresponding to the specified second terminal apparatus receives data from the logical communication path used for data transmission by the first terminal apparatus using the data reception function.
  • the collation unit provided in the server should transmit data with reference to the information for identifying the logical communication path managed by the storage unit of the server. Since the terminal device is specified, the load on the server can be reduced and a smooth information communication network can be realized compared to the case where address information unique to each terminal device is managed by the server.
  • the server collects information for identifying the logical communication path used by each terminal device
  • the server provided on the network may collect the information by inquiring each terminal device, or A configuration in which each terminal device voluntarily provides the information to a server on the network may be adopted.
  • the function is expressed by an object, and routing using an object identifier (for example, “OID” or “IID”) is performed through a server.
  • object identifier for example, “OID” or “IID”
  • OID is an identifier unique to each object
  • IID is defined as an identifier for identifying a function of the object.
  • a server provided on the network collects information on logical communication paths by inquiring each terminal device, There is a form in which information collected by a storage unit provided in the server is stored and managed.
  • each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function, and an identifier.
  • the network system includes at least one server connected to the network, and the server includes the storage unit and the verification unit.
  • the first network interface unit registers information for identifying the logical communication path in the storage unit using the logical communication path setting function of the object based on a request from the first terminal device,
  • Each of the network interface units registers information for identifying the logical communication path in the storage unit using the logical communication path setting function of the object based on a request from the second terminal device.
  • the storage unit includes a channel management table in which a correspondence relationship between information for identifying a logical communication path registered by each of the first terminal device and the second terminal device and an identifier of the object is stored; It has an object management table in which identifiers and routing information are associated with each other.
  • the collation unit of the server refers to the channel management table, collates the identifier of the object corresponding to the information for identifying the logical communication path used for the data transmission, and refers to the object management table.
  • the data transmission is performed to the second terminal apparatus determined by collating the routing information corresponding to the collated object identifier.
  • the second network interface unit corresponding to the second terminal device receives data from the logical communication path used by the first terminal device for data transmission using the data reception function of the object.
  • information for identifying the logical communication path for example, the channel ID assigned to the logical communication path is stored as a variable of the object on the terminal device, and the server collects the channel ID on each terminal device. Since the channel management table manages the channel ID, it is easy to add or change the channel ID later.
  • the server collects logical communication path information from the source terminal device and the receiving terminal device and manages the correspondence with the object identifiers, so the server routes the object to the key.
  • each terminal device only needs to determine the information of the logical communication path used for data transmission / reception, and does not need to consider the address information of the counterpart terminal device. Therefore, also in the network system of the present embodiment, it is easy to add / change the terminal device to the network, and the effect that a smooth information communication network can be realized is ensured.
  • each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function.
  • the network system includes at least one server connected to the network, and the server is provided with the storage unit and the verification unit.
  • the first network interface unit registers an identifier of an object previously associated with the information on the logical communication path in the storage unit using the logical communication path setting function of the object.
  • each of the second network interface units is an object previously associated with the information of the logical communication path in the storage unit using the logical communication path setting function of the object based on a request from the second terminal device. Register the identifier.
  • the storage unit includes an object management table in which the identifier of the object is associated with routing information.
  • the first network interface unit uses the data transmission function of the object, and the object previously associated with the logical communication path information used for data transmission to the network
  • the collation unit of the server refers to the object management table and collates the routing information corresponding to the identifier of the object previously associated with the information on the logical communication path used for the data transmission.
  • the data transmission is performed to the determined second terminal device.
  • the second network interface unit corresponding to the second terminal device receives data from a logical communication path used for data transmission by the first terminal device using the data reception function of the object.
  • the server channel management table manages the correspondence between the logical communication path information registered by each of the first terminal device and the second terminal device and the identifier of the object.
  • the object management table of FIG. 2 manages the correspondence between the identifier of the object and the routing information (address information for transmitting data to the second terminal device, eg, IP address), whereas the second preferred network system
  • the logical communication path information is associated with the object identifier in advance, it is not necessary to provide a channel management table in the server, and the correspondence between the object identifier and the routing information is managed. Only the object management table that needs to be There is an advantage that the load can be further reduced.
  • the storage unit includes a first storage unit provided corresponding to the first terminal device for registering information for identifying a logical communication path used for data transmission, and data reception And a second storage unit provided corresponding to each of the second terminal devices for registering information for identifying the logical communication path used for the second terminal device, It is preferable to be provided corresponding to. In this case, each collating unit determines whether or not the corresponding second terminal apparatus receives data from the logical communication path.
  • each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function. And an object with a common identifier.
  • the first network interface unit registers information for identifying the logical communication path in the first storage unit using the logical communication path setting function of the object based on a request from the first terminal device,
  • Each of the two network interface units registers information for identifying the logical channel in the second channel storage unit using the logical channel setting function of the object based on a request from the second terminal device. .
  • the second network interface unit is provided for each of the second terminal devices, and a logical communication channel in which information for identifying a logical communication channel used for the data transmission is registered in the second storage unit Only when the information matches the information for identifying the data, the first terminal device receives data from the logical communication path used for data transmission by using the data reception function of the object.
  • the second terminal device includes a plurality of terminal devices constituting a first group and a plurality of terminal devices constituting a second group, wherein the first terminal device Has a command terminal.
  • Information for identifying the first logical communication channel used for data reception by the first group of terminal devices and for identifying the second logical communication channel used for data reception by the second group of terminal devices Are previously registered in the storage unit.
  • the command terminal device has a channel selection unit for selecting either the first logical communication path or the second logical communication path as the logical communication path used for data transmission.
  • the storage unit information for identifying a common logical communication path used for data reception by all of the first group of terminal devices and the second group of terminal devices is registered in the storage unit, and a channel selection unit It is more preferable that any one of the first logical communication path, the second logical communication path, and the common logical communication path can be selected as the logical communication path used for data transmission. Further, in the storage unit, information for identifying a third logical communication path used for data reception by a part of the first group of terminal devices and a part of the second group of terminal devices is registered, The channel selection unit may be able to select one of the first logical communication path, the second logical communication path, and the third logical communication path as the logical communication path used for data transmission. preferable. Furthermore, a logical communication path used for data transmission from the first logical communication path, the second logical communication path, the third logical communication path, or the common logical communication path as necessary. The channel selector may be formed so that is selected.
  • desired electrical devices are connected to the terminal devices of the first group and the second group, respectively, and the data includes a transmission request for content provided by the electrical devices connected to each terminal device, and is used for data transmission.
  • the logical communication path is the first logical communication path, it is preferable that the content of the electrical equipment connected to each of the first group of terminal devices is transmitted to the command terminal device.
  • the power consumption is suitable.
  • a management system can be provided.
  • the network system of the present invention can also be defined as follows. That is, a network system for performing data communication between terminal devices connected via a network, A terminal device including a first application unit that requests data transmission; Connected between the first application unit and the network, and based on a data transmission request from the first application unit, information for identifying a logical communication path used for data transmission is used for the network.
  • a first middleware unit for executing data transmission A storage unit in which information for identifying a logical communication path used for data reception by another terminal device is registered; A collation unit that collates information for identifying a logical communication path used for data transmission and information for identifying a logical communication path used for data reception registered in the storage unit; and the others
  • this data communication method is a method for performing data communication between terminal devices connected via a network, Registering information for identifying a logical communication path used for data reception by the terminal device on the data receiving side in the storage unit; A step in which a first application unit provided in a terminal device on the data transmission side requests data transmission; Information for identifying a logical communication path used for data transmission by a first middleware unit connected between the first application unit and the network based on a data transmission request from the first application unit is provided.
  • a second middleware unit connected between the second application unit provided in the terminal device and the network receives data from the logical communication path and provides the data to the second application unit.
  • 1 is a schematic diagram of a network system according to a first embodiment of the present invention. It is the schematic of the terminal device used for 1st Embodiment. It is the schematic of the server used for 1st Embodiment. It is operation
  • the network system of the present invention will be described in detail based on a preferred embodiment.
  • the minimum essential configuration of the network system of the present invention is that the first terminal device 1 on the data transmission side and the second terminal device 2 on the data reception side are respectively connected via the network interface unit (12, 22). Connected to the physical network 4.
  • the network interface unit (12, 22) for realizing this relationship.
  • the first network interface unit 12 provided for the first terminal device 1 is physically based on information for identifying a logical communication path used for data transmission based on a request from the first terminal device 1. This is for executing data transmission to the secure network 4.
  • the information for identifying the logical communication path used for data transmission is information on the logical communication path itself such as the channel ID assigned to the logical communication path, or the channel ID of the logical communication path. And information such as identifiers of objects mounted in advance on each terminal device are also included.
  • the first network interface unit 12 is positioned between the first terminal device 1 and the network 4, but this means that the first terminal device 1 and the first network interface unit 12 are provided separately. It does not mean that the function of the first network interface unit 12 exists conceptually between the terminal device 1 and the physical network 4. In FIG. 1, the area surrounded by the dotted line indicates the logical network area 4A.
  • the second network interface unit 22 provided for each of the second terminal devices 2 participates in the same logical communication path used for data transmission as a logical communication path for data reception. It is for executing data reception with respect to the second terminal device 2 only when (registered).
  • the second network interface unit 22 is positioned between each second terminal device 2 and the physical network 4. However, as in the case of the first terminal device 1, the second terminal device 2 and the second network are arranged. It does not mean that the interface unit 22 is provided separately, but conceptually shows that the function of the second network interface unit 22 exists between the terminal device 2 and the physical network 4.
  • the network system of the present invention is used for data transmission with reference to information stored in the storage unit for storing information for identifying a logical communication path used for data transmission and data reception, and information registered in the storage unit. And a collation unit that identifies the second terminal device that has registered the same logical communication channel as the logical communication channel to be received for data reception.
  • a network interface unit for each terminal device or in a server 3 provided on the network 4 can be provided in a network interface unit for each terminal device or in a server 3 provided on the network 4 as described in detail in the following embodiments.
  • the network system according to the present embodiment includes a storage unit 31 and a verification unit 32 in the server 3 on the network, and the verification unit 32 transmits data by referring to information registered in the storage unit 31. It is characterized in that the second terminal device 2 that registers the same logical communication path as that used for data reception is specified.
  • the terminal device A is the terminal device 1 on the data transmission side, and the terminal devices B, C, and D are used as the terminal device 2 on the data reception side. 1 and 2) have substantially the same data transmission / reception functions except that they have unique function units, so that the terminal devices (B, C, D) function as terminal devices on the data transmission side.
  • the terminal device A can also function as a terminal device on the data receiving side.
  • each terminal device (1, 2) has a function of performing bidirectional data communication.
  • each terminal device (1, 2) includes an information processing unit (10, 20) and a communication unit (14, 24) for network communication (for example, Ethernet (registered trademark) standard communication). And functional units (15, 25) unique to each terminal device.
  • a sensor function for acquiring environmental data to be transmitted to the network 4 can be exemplified, and as a function of the functional unit 25 of the terminal device 2 on the data reception side Can illustrate a control function for controlling air conditioning and lighting based on the received environmental data.
  • the information processing unit (10, 20) includes an application unit (11, 21) and a middleware unit that functions as a network interface unit (12, 22). 12 and 22) and an object part (13, 23) provided as a lower layer of the middleware part.
  • a program storage unit (not shown) for storing the software program and the software program A CPU (not shown) that executes the above is provided as a hardware configuration.
  • the middleware part (12, 22) provided with the object part (13, 23) of this embodiment is externally attached separately from the terminal device (1, 2) having the application part (11, 21).
  • the application unit (11, 21) sends a request for registering a logical communication path used for data transmission / reception to the logical network 4A (or the server 3 on the physical network 4) to the middleware unit (12, 22), and registration.
  • the middleware section (12, 22) has a function for setting a logical communication path used for data transmission / reception, a data transmission function for transmitting data to the physical network 4, a function for receiving data from the logical communication path, and data reception. It has a subscribe selection function for setting to temporarily reject.
  • a subscribe selection function for setting to temporarily reject.
  • the middleware unit (12, 22) of each terminal device (1, 2) stores and holds information on the added logical communication path, and also stores all other networks on the network 4 (in a semantic sense, the network 4). Terminal device) is notified of the combination of the identifier of the terminal device itself and the channel ID held (for example, by multicast).
  • the server 3 provided on the physical network 4 is notified and tabulated, It is preferable to share information on the network by exchanging table information between the servers.
  • the data transmission function of the middleware unit 12 is based on a request from the application unit 11 of the terminal device 1 on the data transmission side, and transmits data to the network 4 via a predetermined logical communication path (already registered).
  • a function (means) for executing is included.
  • the middleware unit 12 on the terminal device 1 on the transmission side receives data from the application unit 11, notifies the server 3 on the physical network 4 of the data transmission request, and 3.
  • searching the combination of the terminal device identifier and channel ID managed in 3 above, it notifies all the terminal devices that have registered the corresponding logical communication channel (information channel) by multicast.
  • the notification is performed such that the notified receiving terminal device individually obtains data from the transmitting terminal device.
  • the data reception function of the middleware unit 22 includes other functions on the network 4 when the application unit 21 of the terminal device 2 on the receiving side has registered to receive data from a predetermined logical communication path.
  • the terminal device includes a function (means) for receiving data transmitted to the corresponding logical communication path. Specifically, when one terminal device 1 makes a data transmission request, the functions of the network 4 and the middleware unit notify all the terminal devices in which the corresponding logical communication path is registered, and the middleware unit 22 The data reception is executed when the application unit 21 receives the notification.
  • the subscribe selection function of the middleware unit 22 of the terminal device 2 on the data receiving side has a function of temporarily refusing data reception without changing the contents registered by the logical communication path setting function described above.
  • the crime prevention system has an advantage that it is possible to refuse data reception in a predetermined time zone such as daytime or at home, and it is not necessary to change the setting of the logical communication path every time.
  • the subscribe function may be selected by a button operation or the like in the display control device.
  • the object section (13, 23) is provided for introducing an object-oriented concept into the network system of the present invention, and has an object with an identifier (OID or IID).
  • the object refers to an object implemented on a terminal device in software as a group of functional units configured from at least one of a function, a variable, and an event. Normally, one terminal device has at least one object, but may have a plurality of objects combined. Examples of identifiers attached to objects include OID (object ID) for uniquely distinguishing individual objects and IID (interface ID) for distinguishing the functions of objects. is not.
  • the functions of the network interface unit (12, 22) are the logical communication path setting, the data transmission / reception via the logical communication path, and the subscribing function.
  • the object part (13, 23) realizes them by functions of functions, variables, and events.
  • the application unit (11, 21) requests logical channel setting and data transmission / reception through the logical channel.
  • the concept of data transmission using a logical communication path (the concept of channel) is not provided in the object part or application part, but is provided only by the network interface part. For example, when data transmission / reception is requested from the application unit to the network interface unit, the network interface unit writes information for identifying a channel to be used for data transmission into the function / variable / event of the object unit. Send to.
  • OID or IID information on the logical communication path used at the time of data transmission / reception, OID or IID, or combination information of OID and IID is sent to the server 3 and registered.
  • OID or IID information on the logical communication path used at the time of data transmission / reception
  • combination information of OID and IID is sent to the server 3 and registered. For example, when the correspondence between the channel ID and the OID is stored, when the server 3 receives the channel ID “AAA”, the server 3 searches for “AAA” from the correspondence and associates it with “AAA”. One or more OIDs are identified. Therefore, it is possible to identify one or a plurality of terminal devices, form a group, and transmit / receive information.
  • the server when the server receives the channel ID “AAA”, the server searches for “AAA” from the correspondence, It is also possible to identify a combination of one or more OIDs and IIDs that are associated with each other, and to transmit / receive information by grouping terminal devices having the OIDs and IIDs. Further, when the correspondence between the channel ID and the IID is stored, when the server receives the channel ID “AAA”, the server searches for “AAA” from the correspondence and associates it with “AAA”. It is also possible to identify an IID and associate a plurality of terminal devices having the same function (IID) with one channel ID.
  • IID the same function
  • a more flexible group can be provided separately from the OID or IID group, and within the group formed by the logical communication path.
  • the terminal device can communicate without being aware of the address information of the other party.
  • the receiving terminal device that has received the notification individually retrieves data from the transmitting terminal device, but the transmitting side operates an object that defines a send function or the like. Thus, data may be sent directly to the receiving side along with establishment of a logical communication path.
  • the server 3 includes a communication unit 30, a storage unit 31 in which information for specifying a logical communication path registered to participate in the network is stored, a service processing unit 32A, and a routing processing unit 32B. It is mainly comprised by the collation part 32 containing.
  • the storage unit 31 includes information (for example, channel ID) for identifying a logical communication path registered by each of the terminal devices (1, 2) and an identifier (for example, OID) of an object included in each terminal device.
  • information for example, channel ID
  • OID for example, OID
  • Object management in which the channel management table 31A in which the correspondence relationship is stored, the identifier of the object included in each terminal device (1, 2), and routing information for example, address information (such as IP address of each terminal device)) are associated with each other Table 31B is stored.
  • the OID, channel ID, and subscribe information are tabulated.
  • a logical communication path having a channel ID of ⁇ AAA> and a logical communication path having a channel ID of ⁇ BBB> are registered, and the channel ID Subscribing is set for the logical communication path ⁇ AAA>.
  • a terminal device having an object with an OID of ⁇ xxx> and a terminal device having an object with an OID of ⁇ yyy> are participating in the same channel ID ⁇ AAA> logical communication path.
  • the first terminal device 1 and the second terminal device 2 are not divided but share one channel management table, but may be provided individually.
  • OID and IID information are tabulated.
  • object interface information information (function, variable, event, etc.) related to the function of each terminal device is registered. Specifically, a combination of functions, variables, and events necessary for realizing a logical communication channel (channel) setting function, a data transmission function, a data reception function, a subscribe selection function, and the like is defined.
  • the above four functions may be realized by separate IIDs. However, since this increases the number of IIDs, the four functions are realized as objects having one IID, and the object It is preferable to define a plurality of functions and variables that realize four functions. This makes it possible to specify one IID and further specify one of a plurality of pieces of information in the object.
  • the service processing unit 32A is used when setting a logical communication path, and is a first processing unit for registering / deleting a channel ID and an object identifier, and a search / collation process for a registered channel ID and an object identifier.
  • the routing processing unit 32B includes a first processing unit for registering / deleting identifier information (OID, IID) and routing information, and a second process for searching / verifying registered identifier information and routing information. And an execution unit for routing processing to objects.
  • a subscribe flag may be prepared as a variable and set.
  • the service processing unit 32A of the server 3 checks the value of the subscribe flag and additionally stores it in the channel management table 31A (you may receive notification by subscribing to the subscribe flag variable).
  • a registration notification is sent from the server to each terminal device.
  • an object held by a terminal device a channel in which the object (synonymously the terminal device) participates, and the presence / absence of a subscription can be managed as one record.
  • the objects “xxx” and “yyy” participate in the common channel “AAA”.
  • the transmission and reception channels are not distinguished, they can be distinguished. In that case, a separate table may be used in the same manner, or transmission / reception distinction may be registered as a record in one table.
  • the routing of the object is the same as the routing of the terminal device, but one terminal device has a plurality of objects or one object to a plurality of terminal devices. It is also possible to disperse.
  • the object management table 31 ⁇ / b> B that tabulates the correspondence between the object identifier information and the routing information of the terminal device to which data is transmitted (for example, the address information of the terminal device 2 on the receiving side) is the routing of the server 3. It is created by the processing unit 32B.
  • the object held by the terminal device connects to the server and registers its own OID, IID, and routing information (IP address, etc.) in the object management table.
  • the address information of the terminal device 2 on the receiving side is an IP address or the like when the terminal device is directly connected to the server, but the terminal device is connected to the server via one or more other servers. In this case, not the direct address of the terminal device but the connection information of the directly connected server is also included. In any case, routing is performed based on the identifier of the object corresponding to the logical communication path information provided to the server 3.
  • the middleware unit 12 performs data transmission.
  • the transmission data is written into the transmission buffer variable of the object unit 13 using the function.
  • the server 3 is notified, and as a function of the service processing unit 32A on the server 3, an object of another terminal device belonging to the same channel as the transmitted object is searched from the channel management table. / Matched.
  • the routing processing unit 32B next refers to the object management table 31B and the same logical communication path
  • the routing information of other terminals participating in the network is searched and verified. Data transmission is notified of an event by multicast, for example, according to the specified routing information.
  • the service processing unit 32A refers to the channel management table 31A in the server 3, and further the routing processing unit 32B.
  • the object management table 31B for example, multicasts a data transmission request notification to other terminal devices participating in the same logical communication channel (channel ID).
  • a data transmission request notification transmitted by multicast is sent from the object unit 23 to the middleware unit 22, and further sent from the middleware unit 22 to the application unit 21. .
  • a data transmission request notification is delivered to the application unit 21 via the object unit 23 and the middleware unit 22.
  • the receiving terminal device B Upon receiving the data transmission request notification, the receiving terminal device B requests the middleware unit 22 to receive data from the registered channel, and the middleware unit receives data from the transmission source terminal device A to the network 4. The data is read from the transmission buffer of the terminal device A. In short, after the application unit 21 of the terminal device B on the receiving side receives the data transmission request, data is transmitted from the terminal device A to the terminal device B by going to the transmission buffer of the terminal device A that is the data transmission source. Is completed.
  • each of the terminal device A on the transmission side and the terminal devices (B, C, D) on the reception side know the information of the partner terminal device with which data communication is performed. Absent. In other words, information on the logical communication path used for data transmission by the terminal device on the transmitting side (first terminal device 1), or logical information used by the receiving terminal device (second terminal device 2) for data reception. If only the communication path information is determined, data communication can be executed between the terminal devices (1, 2) that have registered the same logical communication path.
  • the routing is performed using the identifier (OID or IID) of the object associated with the logical communication path information in the server, the same logical communication path can be used by the verification in the server 3.
  • Data is transferred only to registered terminal devices. Therefore, it is possible to provide smoother and more efficient data communication than when broadcasting data transmission to all terminal devices on the network.
  • the security system includes a data receiving terminal device 2 (second terminal device) configured by a security alarm receiving device, data configured by a security sensor such as a moving body sensor and a thermal sensor.
  • a transmitting terminal device 1 (first terminal device) and a server 3 are connected to a network 4.
  • a security sensor is drawn for ease of explanation, but a form in which a plurality of security sensors are connected to a network and these sensors are centrally managed by a security alarm receiver is more effective.
  • Realistic In addition to security sensors, fire detectors such as smoke sensors and earthquake detectors such as vibration sensors are connected to the network, and the terminal device 2 on the data reception side functions as a disaster prevention / security alarm receiver. It is also preferable that
  • the security sensor object unit 13 accesses the server 3, and registers the OID, IID and routing information (IP address, etc.) in the object management table 31B on the server 3.
  • the service program on the server 3 subscribes to the variables (channel ID, transmission data, reception data) of each object, and prepares to be notified when an event in which the value of the variable is changed occurs.
  • the object for data transmission / reception is an object that simply performs data transmission / reception for general purposes.
  • the security sensor function unique to the terminal device 1 on the data transmission side, that is, the moving object detection function and the heat detection function are the applications of the security sensor.
  • Unit 11 is responsible for processing.
  • the application unit 23 of the security alarm receiving device is responsible for the function unique to the terminal device 2 (security alarm receiving device) on the data receiving side, that is, the function of displaying the status of the security sensor. . Even when an additional security sensor is newly added to the network 4, the OID and IID of the added security sensor and its routing information (IP address, etc.) are added to the object management table 31B on the server 3 by the same operation as described above. Registered in
  • each application unit (11, 21) of the security sensor and the security alarm device sets a channel ID (eg, “security system”) for the network interface unit (12, 22).
  • the network interface unit (12, 22) sets the channel ID “security system” in the channel ID variable of the object unit (13, 23), and notifies the service program on the server 3 by the object subscription function.
  • the service program on the server registers the correspondence between the notified channel ID, OID, and IID in the channel management table 31A.
  • the security system can be operated under the use conditions. That is, as shown in FIG. 8, when the security sensor function of the application unit 11 of the security sensor 1 detects the presence of an intruder, the network interface unit 12 transmits a sensor state value to the network 4. Actually, the sensor state value is written in the transmission data variable of the network interface unit 12, and is notified from the object unit 13 to the service program on the server 3 via the network.
  • the service program on the server 3 refers to the channel management table 31A and collates with other terminal devices belonging to the same channel as the transmission side object.
  • the sensor state value is written in the reception data variable of the object part 23 of the security alarm receiving terminal 2.
  • data transmission / reception is performed using the routing information registered in the object management table 31B.
  • the network interface unit 22 reads the reception data and notifies the application unit 21 when subscribed, and the application unit 21 provides a security alarm. As a function unique to the receiving device 2, the state of the sensor is displayed.
  • an identifier is associated with the information on the logical communication path in advance, and the network is associated with the information instead of the information on the logical communication path. It is characterized in that the identifier information is provided as information for identifying a logical communication path.
  • the logical communication path information for example, channel ID
  • identifier information for example, IID
  • IID Server identifier
  • routing function realizes data communication with terminal devices sharing the communication path without using information (channel ID) of the logical communication path itself on the network It is.
  • Other configurations are substantially the same as those of the network system according to the first embodiment, and thus redundant description is omitted.
  • the terminal device (1, 2) used in the present embodiment has a correspondence table (16, 26) of the channel ID and identifier (IID) of the logical communication path in the middleware part (12, 22). ) Is stored.
  • the channel ID “AAA” can be associated with the IID “xxx”
  • the channel ID “BBB” can be associated with the IID “yyy”.
  • the object on each terminal device (1, 2) knows in advance the logical communication path in which it participates, and has a unique IID corresponding to the logical communication path.
  • the terminal device (1, 2) may be provided with a storage unit that can set the correspondence between the logical communication path information and the identifier information in advance, or the logical communication path in the terminal device (1, 2).
  • An identifier associated with information in advance may be fixedly stored. The association in this case is usually set at the time of manufacturing or construction of the terminal device.
  • the middleware part (12, 22) provides the identifier information associated with the object part (13, 23) instead of the logical communication path information to the object part (13, 23). Data transmission using information is executed. Therefore, in the server 3 of the present embodiment, it is not necessary to register logical channel information (channel ID) in the server in advance or to create the channel management table 31A. 3, a communication unit 30, a correspondence between identifier information (OID, IID) and routing information, a storage unit 31 having an object management table 31B in which object interface definition information is stored, and a collation having a routing processing unit 32B The unit 32 is mainly configured.
  • the collation unit 32 of the server 3 also performs collation. Collation based on the identifier information and object routing are performed at the same time. Further, since the OID and IID for determining the terminal devices constituting the same group are the same as the service functions (OID and IID) of the objects of the receiving terminal device, they cannot be managed separately. That is, it is necessary to match the determination of the terminal devices that constitute the same group with the function that the terminal device actually wants to execute.
  • information (for example, channel ID) of a logical communication path used for data transmission / reception is sent from the application unit (11, 21) of the terminal device (A, B) to the middleware unit (12, 22).
  • the middleware part (12, 22) sends the identifier information previously associated with the logical communication path information to the object part (13, 23).
  • the object part (13, 23) writes the information of the identifier as a variable and transmits it to the storage part 31 of the server 3 on the network 4. In this way, if information on the logical communication path used for communication is determined, it is immediately converted into an identifier such as a corresponding IID, so that the actual terminal device (1, 2) to the server 3 (or network 4).
  • Information to be sent to is not logical communication path information but identifier information such as IID.
  • the service processing unit 32A of the server 3 checks the channel ID as in the first embodiment, and checks the channel management table 31A (the channel ID of the logical communication path). -Correspondence between identifier information of objects) does not need to be created, and the identifier information associated with the logical communication path information can be easily known without looking at the contents of the transmission contents. That is, since the information sent to the network is not the logical communication path information (channel ID) but the identifier information associated with it, the server 3 refers to the object management table 31B based on this identifier information. By doing so, it is possible to identify and route the address information of the terminal device 2 on the receiving side that is in direct correspondence.
  • a data transmission variable may be defined as an IID interface unique to the logical communication path, and the variable may be subscribed to.
  • a subscribe flag variable is defined in the middleware part of the terminal device on the receiving side, and the middleware part of the receiving terminal is an object.
  • the application unit 11 of the terminal device A sends a data transmission request to the middleware unit 12 using the channel ID of the logical communication path.
  • the middleware unit 12 checks identifier information (IID) corresponding to the channel ID of the logical communication path, and requests the object unit 13 to write data to the transmission buffer.
  • IID identifier information
  • the data write notification transmitted by multicast is received by the middleware unit 22 via the object unit 23, and the middleware unit 22 sends the reception notification to the application unit. Deliver to 21.
  • the terminal device B requests the middleware unit 22 to read data from the registered logical communication channel (channel ID), and the middleware unit 22 transmits the terminal device A that is the transmission source via the object unit 23. Is requested to read data from the object, and data is read from the transmission buffer of the terminal device A.
  • the application unit 21 of the terminal device B on the receiving side receives the data write notification, data is transmitted from the terminal device A to the terminal device B by going to the transmission buffer of the terminal device A that is the transmission source. Is completed.
  • the terminal device A on the transmission side and the terminal device B on the reception side do not need to know information on the terminal device of the other party with which data communication is performed.
  • identifier information previously associated with the logical communication path used by the transmitting terminal device 1 (first terminal device) for data transmission, or the receiving terminal device 2 (second terminal device) receives data.
  • Data communication can be executed between the terminal devices (1, 2) that have registered the same logical communication path as long as the identifier information previously associated with the logical communication path used for reception is determined. .
  • a terminal device in which the logical communication path information (channel name) and identifier information (IID) are associated with each other in advance and the same logical communication path is registered by the server identifier information management and routing function. Since communication between each other is realized, there is an effect that a service program for the channel management table is not required, the server configuration is simplified, and the load can be reduced.
  • the network system of the present embodiment is provided with a storage unit (17, 27) and a collation unit (18, 28) in each terminal device (1, 2).
  • the data is transmitted to all the terminal devices (B, C, D) on 4 and the collation unit (18, 28) of each terminal device verifies whether the same logical communication path is set for data reception. There is a feature in the point to do.
  • Other configurations are substantially the same as those of the network system according to the first embodiment, and thus redundant description is omitted.
  • information (channel ID) of the logical communication path used for data communication is stored in the middleware section (12, 22) of the terminal device (1, 2) used in this embodiment. Whether to receive the data transmitted by collating the channel ID storage unit (17, 27) to be stored and the channel ID used for data transmission with the information of the logical communication path stored in the channel ID storage unit A channel ID verification unit (18, 28) for determination is provided. Further, information (channel ID) of the logical communication path provided from the middleware part (12, 22) is written as a variable in the transmission data or the reception data in the object part (13, 23). As the identifier of the object, an OID unique to each terminal device and an IID (for example, “XYZ”) common to all terminal devices are set.
  • the server 3 used in the present embodiment includes a communication unit 30, an object management table 31 ⁇ / b> B that stores correspondence information between identifier information (OID, IID) and routing information, and object interface definition information.
  • the storage unit 31 and the routing processing unit 32B are mainly configured.
  • the identifier IID common to all the terminal devices is used, data transmission is performed to each terminal device by multicast or broadcast by the original routing function of the server 3.
  • identifier information such as an IID (for example, “XYZ”) common to all terminal devices and an OID unique to each terminal device is sent from the object part (13, 23) to the network 4 (server 3). It is done.
  • the identifier information is registered in the object management table 31B.
  • the server 3 that manages the IID can easily find all the terminal devices that have objects to which the common IID is assigned by the original routing function.
  • a subscribe flag variable is defined in the middleware part of the terminal device on the receiving side, as in the second embodiment.
  • the middleware unit of the terminal device on the receiving side receives the data reception notification via the object unit, it may be controlled whether to notify the application by referring to the subscribe flag variable.
  • each terminal device (A, B) information (for example, channel ID) of a logical communication path used for data transmission / reception is requested by the application unit (11, 21) in the middleware unit (12, 22). Are stored in the channel ID storage unit (17, 27).
  • the middleware unit 12 After completing the initial setting of the identifier information (OID, IID) to the network 4, for example, when the application unit 11 of the terminal device A issues a data transmission request to the middleware unit 12, the middleware unit 12 The data is written into the transmission buffer together with the channel ID. Next, a data write notification is sent from the object unit 13 to the objects having the common identifier “XYZ”. At this time, as described above, the server 3 can easily find all the terminal devices having an object with a common IID by its original function based on the identifier information registered in advance. A data write notification is transmitted by multicast to the object having “XYZ”. In this embodiment, since the subscription information is not managed on the server, it is impossible to distinguish the presence / absence of the subscription in the routing at the time of data transmission, and it is always multicast to all the terminal devices. .
  • the middleware unit 22 of the terminal device B on the receiving side receives the data write notification via the object unit 23
  • the middleware unit 22 reads the channel ID from the transmission buffer of the terminal device A that is the transmission source to the network 4
  • the request is made via the unit 23.
  • the channel ID collating unit 28 collates the channel ID received (read) from the transmission buffer with a pre-registered channel ID, and if both match, A data reception notification is sent to the application unit 21.
  • the application unit 21 Upon receiving the reception notification, the application unit 21 requests the middleware unit 22 to read data from the logical communication path registered for data reception, and the middleware unit 22 receives data from the object of the terminal device A on the transmission side. Reading is requested through the object unit 23. As a result, data is read from the transmission buffer of the transmission source terminal device A to the reception side terminal device B via the registered logical communication path.
  • the application unit 21 of the terminal device B receives the data and obtains the channel ID in the transmission buffer of the terminal device A that is the transmission source. After receiving the notification, the data transmission from the terminal device A to the terminal device B is completed by going to the transmission buffer of the terminal device A that is the transmission source.
  • each of the terminal device 1 on the transmission side and the terminal device 2 on the reception side does not need to know information on the terminal device of the other party with which data communication is performed.
  • the same logical communication is performed in each of the reception-side terminal devices (second terminal device). Whether each channel is set is verified in each terminal device on the receiving side, and data reception is executed only when the same logical communication channel is set.
  • each terminal device manages the channel ID separately from transmission data and reception data in the object section (13, 23). Also good.
  • the server 3 can easily find all the terminal devices having an object with a common IID by its original function based on information registered in advance, and the common identifier “XYZ”.
  • a data write notification is transmitted by multicast to the object having
  • the middleware unit 22 transmits the channel ID variable of the terminal device A on the transmitting side to the network 4 via the object unit 23. Request reading of the channel ID.
  • the channel ID collating unit 28 collates the channel ID received (read) from the transmission buffer with a pre-registered channel ID, and if both match, A data reception notification is sent to the application unit 21.
  • the application unit 21 Upon receiving the reception notification, the application unit 21 requests the middleware unit 22 to read data from the logical communication path registered for data reception.
  • the middleware unit 22 requests the network to read data from the transmission buffer of the terminal device A on the transmission side via the object unit 23. As a result, data is read from the transmission buffer of the transmission source terminal device A to the reception side terminal device B via the registered logical communication path.
  • the channel ID is taken into the channel ID variable of the object of the transmitting terminal device A.
  • this embodiment has a correspondence between channel IDs and identifier information on the server 3 as in the first embodiment, the correspondence between channel IDs and identifier information (IID or OID) is fixed in the table. It is managed and is not updated when the terminal device (1, 2) joins the channel. By adopting such a configuration, the online table management on the server is simplified, and channel IDs can be intensively managed on the server after the terminal device is installed.
  • the terminal device used in the present embodiment can adopt substantially the same configuration as the terminal device (1, 2) shown in FIG.
  • the server 3 used in this embodiment is shown in FIG.
  • the contents of the channel management table 31A are fixedly registered, and information on the logical communication path (channel ID) used for data communication is transmitted from each terminal device (1, 2) to the channel. Since the operation of registering in the management table is not required, the configuration of the first processing unit of the service processing unit 32A is different from that of the server of FIG.
  • the subscription information can be set from the service processing unit 32A. Further, an offline ID editing processing unit 35 may be provided for rewriting the contents of the channel management table when offline.
  • the object part (13, 23) of each terminal device connects to the server 3 and transmits identifier information (OID, IID) and routing information (IP address, etc.).
  • the object management table 31B is created based on the information provided from the object part of each terminal device.
  • the correspondence between information for identifying a logical communication path (for example, channel ID) and object identifier information is registered in advance in the server channel management table 31A and managed in a fixed manner. Therefore, the channel management table 31A is not updated when the terminal device (1, 2) joins the channel.
  • each terminal device (A, B) information (for example, channel ID) of a logical communication path used for data transmission / reception is requested by the application unit (11, 21) in the middleware unit (12, 22). Is remembered.
  • the middleware unit 12 After the creation of the object management table 31B is completed as described above, for example, when the application unit 11 of the terminal device A sends a data transmission request to the middleware unit 12, the middleware unit 12 stores it in the transmission buffer of the object unit 13. Request to write data and channel ID used for data communication. After the data and channel ID are written in the transmission buffer, when a data write notification is transmitted from the object unit 13 to the network 4 (server 3), the server 3 refers to the channel management table 31A and sets the channel ID. Collating the associated identifier information, referring to the object management table by the server's original function based on the identifier information, routing the object (terminal device) registered for data reception through the same logical communication path, A data transmission request notification is notified by multicast.
  • the channel ID in which the user participates the own OID, and the IID are associated in advance.
  • the application unit may select which terminal device is to transmit data (multicast). In this case, it is necessary to specify a channel ID for data transmission.
  • a table for selecting which channel to use from the stored channels according to the request content from the application unit is provided in the middleware unit. May be.
  • the data transmission request notification transmitted by multicast is delivered to the application unit 21 via the object unit 23 and the middleware unit 22.
  • the receiving-side terminal device B Upon receiving the data transmission request notification, the receiving-side terminal device B requests the middleware unit 22 to receive data from the registered channel, and the middleware unit sends the data reception from the transmitting terminal device A to the network 4 and the object unit 23. Request through.
  • the application unit 21 of the terminal device B on the receiving side receives the data transmission request notification, the data from the terminal device A to the terminal device B is obtained by going to the transmission buffer of the terminal device A that is the data transmission source. Transmission is complete.
  • the terminal device A on the transmission side and the terminal device B on the reception side it is not necessary for the terminal device A on the transmission side and the terminal device B on the reception side to know the information of the partner terminal device with which data communication is performed. If the information (channel ID) for identifying the logical communication path used by the (first terminal device) for data transmission is determined, the information (channel ID) for identifying the same logical communication path is set. Data communication can be executed with the terminal device 2 (second terminal device) on the receiving side.
  • the channel management table is fixedly managed except when the setting content is changed by the offline ID editing processing unit 35, the operation of setting the channel ID to the server when the terminal device joins the channel is performed. There is also an effect that the load for managing the online table on the server can be reduced.
  • the object portions (13, 23) of each terminal device are connected to the server 3 in the same manner as in FIG. , OID, IID and routing information (IP address, etc.) are registered in the object management table 31B.
  • the service program on the server 3 subscribes to the variables (transmission data and reception data) of each object, so that notification is performed when an event in which the value of the variable is changed occurs.
  • the object for data transmission / reception is an object for simply transmitting / receiving data for general purposes, and does not include a function unique to each terminal device.
  • the security sensor function and the security sensor state display function which are functions unique to each terminal device, are processed by the application unit (11, 21) of each terminal device.
  • Application unit (11, 21) sets a channel ID (for example, “security system”) for the network interface unit (12, 22).
  • a channel ID for example, “security system”
  • the security system since the correspondence between the channel ID and the object is fixedly determined in advance in the channel management table on the server 3, processing for registering the channel ID in the server 3 as in FIG. Is not done.
  • the security system can be operated under actual usage conditions. That is, as shown in FIG. 21, when the security sensor function of the security sensor application unit 11 detects the presence of an intruder, the network interface unit 12 transmits the sensor state value to the network. Actually, the network interface unit 12 that has received the transmission request from the application unit 11 writes the sensor state value in the transmission data variable of the object unit 13 together with the channel ID stored in the network interface unit 12, and as a result, the sensor state A transmission data variable including a value is notified from the object unit 13 to the service program on the server 3 via the network 4.
  • the service program on the server 3 refers to the channel management table 31A that is fixedly managed, and collates other terminal devices (reception side objects) belonging to the same channel as the transmission side object.
  • the object of the security alarm receiving terminal registers the same channel as the security sensor (channel ID “security system”), the sensor state value is written in the reception data variable of the object part 23 of the security alarm receiving terminal. It is.
  • the object data transmission / reception is performed using the routing information registered in the object management table 31B.
  • the network interface unit 22 When the sensor state value is written in the reception data variable of the object unit 23 on the reception side, the network interface unit 22 reads the reception data, and notifies the application unit 21 when subscribed, and the application unit 21 receives the security alarm.
  • the security sensor status is displayed as a function unique to the device. In this way, the user can know the occurrence of an abnormality such as the presence of an intruder from the contents displayed on the crime prevention alarm receiving apparatus.
  • Other configurations are substantially the same as those of the crime prevention system described in the first embodiment, and thus redundant description is omitted.
  • the network system of the present invention is applied to a power consumption management system for an office building.
  • terminal devices 2 each having a power measurement function are installed in each room on each floor (first floor, second floor, and third floor) of an office building. Of the three terminal devices 2 installed on each floor, one is installed in the office and the remaining two are installed in the work room.
  • These terminal devices 2 are connected to a terminal device 1 A having an arithmetic processing function through a LAN 6 and connected to a network (Internet) 4 through a gateway 5. That is, each terminal device 2 on the LAN 6 is given a local IP address as a unique ID and managed by the router function of the gateway 5.
  • the gateway 5 is assigned a global IP address to the network 4.
  • a server 3 to be described later is connected to the network 4.
  • the gateway 5 includes a hub unit for collecting the cables of the LAN 6 connected to the terminal devices 2, a modem unit for connecting to the network 4, and a service function unit including various software.
  • the service function unit stores the combination information of the local IP address assigned to each terminal device 2 and the OID of the object and the IID of the interface in a correspondence table (not shown).
  • the service function unit includes software that realizes a function as an object router for hiding the network connection of the terminal device 2, and converts different protocols into the network system of the present embodiment seamlessly.
  • Protocol bridge service for connecting to the server 3 on the network 4 and a protocol used for communication with the server 3 on the network 4 are converted into SOAP (Simple Object Access Protocol) and passed through the firewall. Implement additional service functions.
  • the server 3 on the network 4 is equipped with a service function unit similar to the gateway 5 and performs communication with other service function units by the above-described SOAP.
  • a client terminal device 1 that manages power consumption of an office building is connected to the network 4.
  • the client terminal device 1 includes information on the integrated value of power consumption for each floor or room type (for example, office), or power consumption per fixed time with respect to the terminal device 1A on the LAN 6.
  • An application for requesting information on the difference value is installed.
  • the terminal device 2 arranged in each room of the office building has an integration function for integrating the measured power in addition to the power measurement function for measuring the power consumption. Also, a measurement object that defines the measured power consumption information as a variable and an object that determines data capture by collating information on a logical communication path used for data communication are incorporated.
  • a different logical communication path is set for each floor as a logical communication path used for data communication.
  • a common logical communication path (for example, xxx) is set for all terminal devices 2 arranged on the first floor, and is different from that set for the first floor for all terminal devices 2 arranged on the second floor.
  • a common logical communication path (for example, yyy) is set.
  • a common logical communication path (for example, zzz) is set for all the terminal devices 2 arranged on the third floor.
  • a logical communication path for example, sss
  • a common to all offices is set regardless of the floor.
  • a common logical communication path (for example, AAA) may be set for the entire office building. Which of the plurality of logical communication paths set in this way is used for data transmission can be selected by the channel selection unit 19 provided in the client terminal device 1.
  • the terminal device 1A is connected to the LAN 6 at an arbitrary location, and calculates a desired power value using an arithmetic processing function.
  • An object included in the terminal device 1A is operated in response to a request from the client terminal device 1.
  • Information on the OID and IID of the object mounted on the terminal device 1A is registered in the connection management table of the server 3 in association with the IP address of the gateway 5 corresponding to the LAN 6 to which the terminal device 1A is connected.
  • the client terminal device 1 When the client terminal device 1 requests a function of a predetermined object using the OID and IID, the request is transmitted to the terminal device 1A by the routing function of the server 3 and the routing function of the gateway 5.
  • the terminal device 1A is a sum of integrated power values measured by the terminal device 2 for each floor, a sum of integrated power values measured by the terminal device 2 for each room type, and an integration measured by all the terminal devices 2 in the building.
  • an object having an interface identifier defined for each service is implemented. For example, as an interface identifier (IID), an identifier corresponding to the total of integrated power values measured by the terminal device 2 is assigned to each floor, and as each object identifier (OID), a unique identifier is assigned to each terminal device 2. Is done.
  • IID interface identifier
  • OID object identifier
  • the terminal device 1A when the client terminal device 1 transmits an information request about the total of the integrated power values from the terminal device 2 arranged on the second floor, the terminal device 1A that has received this request is arranged on the second floor Data transmission with a common identifier (for example, “XYZ”) together with a function that uses as arguments the information on the logical communication path common to all the terminal devices 2 and the predetermined information consisting of the IID of the measurement object
  • the request is transmitted to all the terminal devices 2 in the office building by multicast or broadcast by the routing operation of the gateway 5. That is, in this case, the terminal device 1A is the terminal device that is the data transmission source for the terminal device 2 on the receiving side.
  • each terminal device 2 executes the data reception object, collates the information on the logical communication path specified in the argument, and matches the information on the logical communication path registered in advance in each terminal device 2 Is checked. Therefore, in this case, as in the third embodiment described above, the storage unit that stores information on the logical communication path registered in advance and the collation unit that collates information on the logical communication path are provided to each terminal device 2. Is provided. If the logical communication path information matches, it means that the terminal device 2 is a terminal device on the second floor, receives predetermined information (IID of the measurement object) written in the argument, and receives a callback function. Is called.
  • the measurement object is executed, the electric energy value is acquired, and returned as a variable to the terminal device 1A. If the information on the logical communication path does not match, it means that the terminal device 2 is the terminal device 2 arranged on the second floor, and the predetermined information (IID of the measurement object) written in the argument is used. I cannot receive it.
  • the terminal device 1A performs a calculation corresponding to the requested object based on the received power amount information, and provides the calculation result to the client terminal device 1.
  • the client terminal device 1 requests information on the sum of the integrated power values from the terminal device 2 disposed in the office on each floor, all the terminal devices 2 disposed in the office are requested.
  • a desired calculation result is provided to the client terminal device in the same manner as described above except that the information on the common logical communication path is used.
  • the power consumption management system of the present embodiment based on data communication between the terminal device 2 and the terminal device 1A having an arithmetic processing function, which is performed without notifying each other of connection information on the network.
  • information required by the client terminal device 1 for power consumption management can be obtained.
  • even when information is acquired from a new combination of terminal devices in an office building it is only necessary to set a common logical communication path for the combination and configure the combination. Therefore, it is not necessary to perform complicated setting work in each of the terminal devices, and it is possible to easily cope with a new information request from the client terminal device.
  • a flag indicating a floor or a room can be added to the information, and the floor or room can be determined from the flag during calculation.
  • the network system of the present embodiment has, for example, sensor functions such as temperature, humidity, and luminance, and information acquired by a plurality of terminal devices sharing a logical communication path. It can also be applied to a system that provides air conditioning and lighting based on the terminal device that serves as a master.
  • the network system of the present embodiment can be defined in a higher-level concept as follows. That is, in this network system, at least two terminal devices that share a preset first logical communication path and a second logical communication path different from the first logical communication path are preset, A network system in which a plurality of terminal devices including at least two terminal devices sharing this are connected to a network and information can be exchanged between terminal devices sharing a communication path, One of the plurality of terminal devices includes an information transmitting unit that transmits predetermined information and information for identifying a logical communication path used for transmitting the predetermined information to the network.
  • the network system includes a collation unit that collates whether the information on the logical communication path transmitted from the information transmission unit matches the information on the logical communication path set in advance in another terminal device,
  • the other terminal device includes an information acquisition unit that captures the predetermined information only when the information on the logical communication path transmitted from the information transmission unit matches the information on the logical communication path set in advance. It is characterized by.
  • the address information of the communication partner terminal device is taken into account by setting the logical communication path information used by each terminal device for data communication to the network. Therefore, even a user who does not have expertise in network communication can easily perform operations such as addition / change of terminal devices to the network system and construction of new data communication. Also, by registering the same logical communication path, network communication is possible not only with the same type of terminal device but also with different types of terminal devices. For example, when a provider provides a network service such as crime prevention monitoring or energy management, the user can receive the service simply by connecting an adapter (registered logical communication path).
  • a network service such as crime prevention monitoring or energy management
  • the present invention can flexibly cope with the diversification of service contents required in the future, and can change the system relatively easily. Therefore, the present invention is expected to be widely used as a next-generation network system. Is done.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A network system which facilitates addition or modification of a terminal device on a network and ensures a smooth data communication between terminal devices without regard to address information of a peer-side terminal device in data communication. The network system includes a storage section to register the information on logical communication paths which each terminal device uses for data communication, a first network interface section to perform data transmission to the network using the information on the logical communication paths, a checking section to identify a terminal device which has registered for data reception the same logical communication path as that used for data transmission by referring to the information registered on the storage section, and a second network interface section which receives data from the logical communication path used for data transmission to provide the data to the identified terminal device.

Description

ネットワークシステムおよびデータ通信方法Network system and data communication method
 本発明は、ネットワークに接続された端末機器同士の間でデータ通信を行う技術に関するものである。 The present invention relates to a technology for performing data communication between terminal devices connected to a network.
 近年のデータ通信技術の発達により、ネットワークを介して遠隔地にある電気機器が計測した情報の通知を受けたり、防犯カメラの映像を離れた場所でネットワークを通してリアルタイムに監視したりする遠隔監視システムや、住居などに設置された電気機器(照明器具、空調機器、電子施錠)を屋外からネットワークを介して制御する遠隔制御システムが実用化されている。 With the recent development of data communication technology, a remote monitoring system that receives notifications of information measured by remote electrical devices via the network, or monitors the video of the security camera in real time through the network at a remote location, Remote control systems that control electrical equipment (lighting fixtures, air conditioning equipment, electronic locks) installed in residences from outside via a network have been put into practical use.
 例えば、日本公開特許公報2003-60664号には、図23に示すように、インターネット4に接続されたパソコン140や携帯電話150のような端末装置や宅内のIP機器100を、宅内にある冷蔵庫、エアコン、電子レンジなどの非IP機器110にアクセス可能にするネットワークシステムが記載されている。このネットワークシステムにおいては、ゲートウェイ120が、IPv6ネットワークを介してIPv6ルータ130に接続され、IPv6ルータ130はインターネット4に接続される。また、ゲートウェイ120は、ECHONETのような非IPネットワークを介して非IP機器110に接続されるとともに、パソコンのような家庭内のIP機器100にIPv6ネットワークを介して接続される。 For example, in Japanese Patent Application Publication No. 2003-60664, as shown in FIG. 23, a terminal device such as a personal computer 140 or a mobile phone 150 connected to the Internet 4 or a home IP device 100 is connected to a refrigerator, A network system is described that enables access to non-IP devices 110 such as air conditioners and microwave ovens. In this network system, the gateway 120 is connected to the IPv6 router 130 via the IPv6 network, and the IPv6 router 130 is connected to the Internet 4. The gateway 120 is connected to the non-IP device 110 via a non-IP network such as ECHONET, and is connected to the home IP device 100 such as a personal computer via the IPv6 network.
 ゲートウェイ120は、周辺部の制御、データ処理や通信に関する各種プログラムの実行を行うCPUと、非IPネットワークにおける非IP機器のネットワーク上の識別子(ローカルアドレス)と、非IP機器に割り当てられたIPv6アドレスの対応をとるための変換テーブルを保持する記憶部と、ECHONETを介した通信制御を行う非IP通信制御部と、IPv6を用いた通信制御を行うIP通信制御部とで主として構成される。このネットワークシステムによれば、インターネット4に接続されたパソコン140や携帯電話150からの非IP機器110宛てのパケットを、ゲートウェイ120で非IP機器110が接続されているネットワークのプロトコルに変換することで、非IP機器110とのアクセスが可能になる。 The gateway 120 includes a CPU that executes various programs related to peripheral control, data processing, and communication, a network identifier (local address) of a non-IP device in a non-IP network, and an IPv6 address assigned to the non-IP device. Is mainly composed of a storage unit that holds a conversion table for taking the above-mentioned correspondence, a non-IP communication control unit that performs communication control via ECHONET, and an IP communication control unit that performs communication control using IPv6. According to this network system, a packet addressed to the non-IP device 110 from the personal computer 140 or the mobile phone 150 connected to the Internet 4 is converted by the gateway 120 into a network protocol to which the non-IP device 110 is connected. Access to the non-IP device 110 becomes possible.
 また、日本公開特許公報2006-41753号には、図24に示すように、インターネット4及びダイヤルアップ接続可能な電話回線200を介して宅内の画像を送信する宅内装置210を、携帯電話などのユーザ端末220によって遠隔監視するシステムが記載されている。 In Japanese Patent Application Publication No. 2006-41753, as shown in FIG. 24, an in-home device 210 that transmits in-house images via the Internet 4 and a telephone line 200 capable of dial-up connection is provided as a user such as a mobile phone. A system for remotely monitoring by a terminal 220 is described.
 このシステムにおいては、ユーザがユーザ端末220を操作してサーバ240上の専用ホームページにアクセスすると、ホームページがユーザ端末220に表示される。次いで、ID/パスワードを入力してログインすると、サーバ240のデータベースDBに記憶されたデータをもとにユーザ認証が行われ、コマンドが一覧表示される。ユーザが必要なコマンドを選択すると、選択したコマンドがサーバ240に送信され、サーバ240のコマンドキュー242に蓄積される。コマンドの送信が終わると、電話番号が埋め込まれたオートダイヤルメニューが表示される。オートダイヤルメニューにはユーザ専用の宅内装置210のダイヤルアップ接続可能な電話回線200の電話番号が埋め込まれており、ユーザがオートダイヤルメニューを選択するとオートダイヤルが実行され、宅内装置210の呼出しが行われる。この時、ユーザは、所定回数以下の呼出し(例えば1コール)を行った後、通信を切断する。 In this system, when the user operates the user terminal 220 to access the dedicated home page on the server 240, the home page is displayed on the user terminal 220. Next, when the user logs in by entering the ID / password, user authentication is performed based on data stored in the database DB of the server 240, and a list of commands is displayed. When the user selects a necessary command, the selected command is transmitted to the server 240 and stored in the command queue 242 of the server 240. When the command is sent, the auto dial menu with the phone number embedded is displayed. In the auto dial menu, the telephone number of the telephone line 200 capable of dial-up connection of the in-house device 210 dedicated to the user is embedded. When the user selects the auto dial menu, auto dial is executed and the in-home device 210 is called. Is called. At this time, the user disconnects communication after making a predetermined number of calls (for example, one call).
 宅内装置210は、ユーザ端末220によりなされた呼出しを認識すると、この呼出しをトリガとして電話回線をISP(インターネットサービスプロバイダ)230にダイヤルアップ接続し、さらにサーバ240に接続する。サーバ240は、ダイヤルアップ接続してきた宅内装置210を認証し、宅内装置210はコマンドキュー242に蓄積された全てのコマンドを取得するとともに通信回線を切断する。宅内装置210は、取得した各コマンドを実行した後、再びISPにダイヤルアップ接続してサーバ240に電話回線を接続し、コマンド実行結果をサーバ240に送信する。コマンド実行結果が画像ファイルデータなどである場合は、例えば、ファイル転送プロトコル(FTP)のパッシブ(PASV)モード(FTPサーバ側が接続ポートを通知して接続する方法)を用いて宅内装置210からサーバ240へと送られる。 When the in-home device 210 recognizes the call made by the user terminal 220, the call is triggered by this call to dial-up the telephone line to the ISP (Internet service provider) 230 and further to the server 240. The server 240 authenticates the home device 210 that has been dial-up connected, and the home device 210 acquires all commands stored in the command queue 242 and disconnects the communication line. The in-home device 210 executes each acquired command, then dials up again to the ISP, connects the telephone line to the server 240, and transmits the command execution result to the server 240. When the command execution result is image file data or the like, for example, the file transfer protocol (FTP) passive (PASV) mode (method in which the FTP server side notifies the connection port for connection) connects the in-home apparatus 210 to the server 240. Sent to.
 サーバ240は、コマンド実行結果を宅内装置210から受信すると、その実行結果、例えば、宅内画像データをWEBコンテンツに加工するとともに、ユーザ端末220にコマンド完了通知を送信する。ユーザは、ユーザ端末220を用いてコマンド完了通知を確認し、サーバ240に格納された実行結果、例えば宅内画像をブラウジングして閲覧することができる。このように、上記したネットワークによれば、宅内装置210からの防犯情報等を携帯電話などのユーザ端末220によって遠隔監視することができる。 When the server 240 receives the command execution result from the in-home device 210, the server 240 processes the execution result, for example, in-house image data into WEB content, and transmits a command completion notification to the user terminal 220. The user can confirm the command completion notification using the user terminal 220, and browse and view the execution result stored in the server 240, for example, a home image. As described above, according to the network described above, it is possible to remotely monitor the crime prevention information and the like from the home device 210 by the user terminal 220 such as a mobile phone.
 ところで、上記したネットワークシステムにおいては、制御/監視対象となる電気機器を追加/変更したりする度にネットワーク上において種々の設定作業を行う必要があるが、ネットワーク通信に関する相応の専門知識を持たないユーザにとってこの作業を実施することは容易でない。また、監視/制御対象となる多数の端末装置に一括して情報を送信したり、多数の端末装置のうち所望のグループの端末装置からのみ情報を受信したりする場合には、送信側の端末装置と受信側の端末装置の情報をネットワーク上に設定する煩雑な作業が必要になる。さらに、これらの情報をネットワーク上に設けたサーバで管理する場合は、サーバの負担が増大して円滑な情報通信に支障をきたす恐れもある。 By the way, in the above-described network system, it is necessary to perform various setting operations on the network every time an electric device to be controlled / monitored is added / changed, but does not have appropriate expertise regarding network communication. It is not easy for the user to perform this operation. In addition, when transmitting information collectively to a large number of terminal devices to be monitored / controlled, or when receiving information only from a desired group of terminal devices among a large number of terminal devices, a transmitting terminal A complicated operation of setting information on the device and the terminal device on the receiving side on the network is required. Furthermore, when managing these pieces of information with a server provided on the network, there is a possibility that the burden on the server increases and hinders smooth information communication.
 そこで、本発明は上記問題点に鑑みてなされたものであり、その目的とするところは、ネットワークへの端末装置の追加(機能の追加)や変更が容易であるとともに、データ送信における相手側の端末装置のアドレス情報(IPアドレス)を意識することなく、端末装置間で円滑な情報通信を行えるネットワークシステムを提供することにある。 Therefore, the present invention has been made in view of the above-described problems, and the object of the present invention is to easily add or change a terminal device to a network (addition of functions) and to change the other party in data transmission. It is an object of the present invention to provide a network system capable of smooth information communication between terminal devices without being aware of the address information (IP address) of the terminal devices.
 すなわち、本発明のネットワークシステムは、ネットワークを介して第1端末装置と複数の第2端末装置の少なくとも1つとの間でデータ通信を行うためのネットワークシステムであって、
第1端末装置がデータ送信に使用する論理的通信路を識別するための情報、および第2端末装置の各々がデータ受信に使用する論理的通信路を識別するための情報が登録される記憶部と、
第1端末装置からの要求に基づき、データ送信に使用する論理的通信路を識別するための情報を使用してネットワークに対してデータ送信を実行する第1ネットワークインタフェース部と、
前記記憶部に登録した情報を参照して、第1端末装置がデータ送信に使用するのと同じ論理的通信路をデータ受信のために登録している第2端末装置を特定する照合部と、
第2端末装置の各々に対して設けられ、データ送信に使用するのと同じ論理的通信路を登録した第2端末装置に対して、当該論理的通信路からのデータ受信を実行する第2ネットワークインタフェース部とを含むことを特徴とする。
That is, the network system of the present invention is a network system for performing data communication between a first terminal device and at least one of a plurality of second terminal devices via a network,
A storage unit in which information for identifying a logical communication path used for data transmission by the first terminal device and information for identifying a logical communication path used for data reception by each of the second terminal devices is registered When,
A first network interface unit for performing data transmission to the network using information for identifying a logical communication path used for data transmission based on a request from the first terminal device;
Referring to the information registered in the storage unit, a verification unit that identifies the second terminal device that is registered for data reception on the same logical communication path that the first terminal device uses for data transmission;
A second network that is provided for each of the second terminal apparatuses and that receives data from the logical communication path for the second terminal apparatus that has registered the same logical communication path used for data transmission. And an interface unit.
 本発明の技術思想は、端末装置と端末装置の間の関係ではなく、各端末装置とネットワークの間の関係が中心であり、その関係を実現する仕組みがネットワークインタフェース部であることに特徴がある。例えば、FTPパッシブモードを用いる上記した先行技術の場合と本発明とを比較すると、FTPパッシブモードではデータ転送に使用するポートはFTPサーバ側が決定し、ユーザ(クライエント)はそれに従うことが前提となる。これに対して、本発明においては、送信側の端末装置および受信側の端末装置のそれぞれがデータ通信に使用する論理的通信路を独立して決めることができ、送信側の端末装置が使用する論理的通信路が、受信側の端末装置が使用する論理的通信路と一致する場合にのみこれらの間でデータの送受信が可能になる。 The technical idea of the present invention is characterized not by the relationship between the terminal device and the terminal device, but by the relationship between each terminal device and the network, and the mechanism for realizing the relationship is the network interface unit. . For example, comparing the above-described prior art using the FTP passive mode with the present invention, it is assumed that the FTP server side determines the port used for data transfer in the FTP passive mode, and the user (client) follows it. Become. On the other hand, in the present invention, each of the terminal device on the transmission side and the terminal device on the reception side can independently determine a logical communication path used for data communication, and is used by the terminal device on the transmission side. Data can be transmitted and received only when the logical communication path matches the logical communication path used by the terminal device on the receiving side.
 このように、本発明のネットワークシステムは、プロトコル的に一方の端末装置(送信側の端末装置)が主となって使用する通信チャネルを決定するシステム(例えば、FTPのアクティブモードやパッシブモード)とは相違するものであり、データ通信を行うにあたって通信相手となる端末装置のアドレス情報を必要としないから、新規の端末装置をネットワークに追加したり、既存の端末装置間に新たなデータ通信路を構築したりすることが容易になるという長所がある。尚、本発明において、論理的通信路の追加や変更が容易であると言う時は、たとえば、ある論理的通信路を使用してすでにデータ通信が確立されている端末装置間において、新たに別の論理的通信路を使用したデータ通信を端末装置間に容易に確立することができることを意味する。また、論理的通信路を識別するための情報には、論理的通信路に付された名前(チャネル名)のような論理的通信路の情報や、予め論理的通信路に対応付けられた識別子の情報などが含まれる。 In this way, the network system of the present invention is a system (for example, active mode or passive mode of FTP) that determines a communication channel mainly used by one terminal device (transmission side terminal device) in terms of protocol. Is different and does not require the address information of the terminal device that is the communication partner for data communication, so a new terminal device can be added to the network or a new data communication path can be established between existing terminal devices. It has the advantage of being easy to build. In the present invention, when it is easy to add or change a logical communication path, for example, a new communication is newly established between terminal apparatuses that have already established data communication using a certain logical communication path. This means that data communication using the logical communication path can be easily established between the terminal devices. The information for identifying the logical communication path includes logical communication path information such as a name (channel name) assigned to the logical communication path, or an identifier associated with the logical communication path in advance. This information is included.
 さらに詳しく説明すると、本発明のネットワークシステムによれば、送信側の端末装置(第1端末装置)において、新たなデータ通信のための論理的通信路の増設が必要な場合でも、データ送信に使用する論理的通信路を記憶部に追加登録すればよく、反対に既存の論理的通信路を削除する場合も、記憶部から当該論理的通信路の登録を削除するだけでよい。換言すれば、データ送信側の端末装置とデータ受信側の端末装置の間の関係を考慮することなく、データ送信側の端末装置で使用する論理的通信路の情報のみを設定すれば、ネットワーク上に必要な数の論理的通信路を容易に得ることができる。同様に、受信側の端末装置(第2端末装置)において、新たなデータ受信のための論理的通信路の増設が必要な場合でも、データ受信に使用する論理的通信路を記憶部に追加登録すればよく、反対に既存の論理的通信路を削除する場合も、記憶部から当該論理的通信路の登録を削除するだけでよい。したがって、データ送信側の端末装置との関係を考慮することなく、データ受信側の端末装置で使用する論理的通信路の情報のみを設定すれば、ネットワーク上に必要な数の論理的通信路を容易に得ることができる。 More specifically, according to the network system of the present invention, the transmission side terminal device (first terminal device) is used for data transmission even when a logical communication path for new data communication needs to be added. It is only necessary to additionally register the logical communication path to be stored in the storage unit. Conversely, when deleting an existing logical communication path, it is only necessary to delete the registration of the logical communication path from the storage unit. In other words, if only the information of the logical communication path used in the terminal device on the data transmission side is set without considering the relationship between the terminal device on the data transmission side and the terminal device on the data reception side, The number of logical communication paths necessary for the above can be easily obtained. Similarly, in the terminal device on the receiving side (second terminal device), even if it is necessary to add a logical communication channel for receiving new data, the logical communication channel used for data reception is additionally registered in the storage unit. On the contrary, when deleting an existing logical communication path, it is only necessary to delete the registration of the logical communication path from the storage unit. Therefore, if only the information on the logical communication path used in the data receiving terminal device is set without considering the relationship with the terminal device on the data transmitting side, the required number of logical communication channels on the network are set. Can be easily obtained.
 さらに、データ送信に際しては、受信側の端末装置のアドレス情報を知る必要がなく、データ送信に使用する論理的通信路を識別するための情報があればよく、データ受信に際しても、送信元の端末装置のアドレス情報を知る必要がなく、データ受信に使用する論理的通信路を識別するための情報があればよい。要するに、データ送信に使用する論理的通信路とデータ受信に使用する論理的通信路が一致する第1端末装置と第2端末装置との間でのみ情報通信が確立されるのである。尚、データ受信側の端末装置に一致する論理的通信路が登録されていない場合は当然ながらデータ通信は成立しない。 Furthermore, when transmitting data, it is not necessary to know the address information of the terminal device on the receiving side, and it is sufficient if there is information for identifying a logical communication path used for data transmission. There is no need to know the address information of the device, and it is sufficient if there is information for identifying a logical communication path used for data reception. In short, information communication is established only between the first terminal device and the second terminal device in which the logical communication path used for data transmission matches the logical communication path used for data reception. Of course, data communication cannot be established if a logical communication path that matches the terminal device on the data receiving side is not registered.
 上記ネットワークシステムにおいて、第2ネットワークインタフェース部は、データ送信に使用する論理的通信路と同じ論理的通信路が登録された第2端末装置が、データ受信を一時的に拒否することを可能にするサブスクライブ選択部を含むことが好ましい。例えば、防犯システムにおいては、夜間や外出時には人感センサのようなセンサ装置からデータを受信する必要があるが、昼間や在宅中はデータの受信を拒否したい場合がある。このように、ユーザの都合に合わせて一時的にデータの受信を拒否するかどうかの選択を行うことができる。尚、論理的通信路の設定を変更することも考えられるが、論理的通信路の設定はサブスクライブのON/OFFを設定する場合に比べ処理が重たくなる。特に、データの受信を一時的にON/OFFすることを周期的に繰り返す必要がある場合は、論理的通信路の設定を毎回変更することは面倒であることは想像に難くない。このように個々のユーザのニーズにより柔軟に対応可能なネットワークシステムを実現することができる。 In the above network system, the second network interface unit allows the second terminal device in which the same logical communication path as the logical communication path used for data transmission is registered to temporarily refuse data reception. It is preferable to include a subscribe selection unit. For example, in a crime prevention system, it is necessary to receive data from a sensor device such as a human sensor at night or when going out, but there are cases where it is desired to refuse to receive data during the day or at home. In this way, it is possible to select whether to temporarily refuse data reception in accordance with the convenience of the user. Although it is conceivable to change the setting of the logical communication path, the setting of the logical communication path becomes heavy compared to the case where the ON / OFF of the subscription is set. In particular, when it is necessary to periodically turn ON / OFF the reception of data periodically, it is not difficult to imagine that it is troublesome to change the setting of the logical communication path each time. In this way, it is possible to realize a network system that can respond flexibly to the needs of individual users.
 上記ネットワークシステムにおいては、第1端末装置が送信元の端末装置として機能し、第2端末装置が受信側の端末装置として機能するが、第1端末装置と第2端末装置との間で双方向のデータ通信を行えるネットワークシステムとすることも好ましい。この場合は、ネットワークに複数の第1端末装置が接続され、前記記憶部には、第2端末装置の各々がデータ送信に使用する論理的通信路を識別するための情報、および第1端末装置の各々がデータ受信に使用する論理的通信路を識別するための情報が登録され、第2端末装置のいずれかからの要求に基づいて、第2ネットワークインタフェース部は、データ送信に使用する論理的通信路を識別するための情報を使用してネットワークに対してデータ送信を実行し、前記照合部は、前記記憶部に登録した情報を参照して、第2ネットワークインタフェース部がデータ送信に使用する論理的通信路と同じ論理的通信路をデータ受信のために登録している第1端末装置を特定し、第1ネットワークインタフェース部は、第1端末装置の各々に対して設けられ、第2端末装置がデータ送信に使用する論理的通信路からのデータ受信を第1端末装置に対して実行することが好ましい。尚、各端末装置は、データ送信に使用するのと同じ論理的通信路をデータ受信のための論理的通信路としても使用することができる。要するに、第1端末装置→第2端末装置にデータ送信する場合と、第2端末装置→第1端末装置にデータ送信する場合とにおいて同じ論理的通信路を使用しても良い。 In the above network system, the first terminal device functions as a transmission source terminal device and the second terminal device functions as a reception-side terminal device. However, bidirectional communication between the first terminal device and the second terminal device is possible. It is also preferable to use a network system that can perform data communication. In this case, a plurality of first terminal devices are connected to the network, and in the storage unit, information for identifying a logical communication path used for data transmission by each of the second terminal devices, and the first terminal device Information for identifying a logical communication channel used for data reception by each of the second network interface unit is registered, and based on a request from one of the second terminal devices, the second network interface unit uses a logical channel for data transmission. Data is transmitted to the network using information for identifying the communication path, and the collation unit refers to the information registered in the storage unit and is used by the second network interface unit for data transmission. The first terminal device that registers the same logical communication channel as the logical communication channel for data reception is specified, and the first network interface unit Provided, it is preferable that the second terminal device performs on the first terminal device to receive data from a logical channel used for data transmission. Each terminal device can also use the same logical communication path used for data transmission as a logical communication path for data reception. In short, the same logical communication path may be used when data is transmitted from the first terminal device to the second terminal device and when data is transmitted from the second terminal device to the first terminal device.
 上記ネットワークシステムにおいて、第1ネットワークインタフェース部を第1端末装置内に設ける場合は、例えば、第1端末装置は、第1アプリケーション部と、第1ネットワークインタフェース部として機能する第1ミドルウェア部とを構築するためのソフトウェアを記憶するプログラム記憶部、および前記ソフトウェアを実行して第1アプリケーション部と第1ミドルウェア部を実現するCPUとを備え、第1ミドルウェア部は、データ送信に使用する論理的通信路を識別するための情報を前記記憶部に登録する機能と、第1アプリケーション部からのデータ送信の要求に基づき、データ送信に使用する論理的通信路を識別するための情報を使用してネットワークに対してデータ送信を実行する機能を有することが好ましい。 In the network system, when the first network interface unit is provided in the first terminal device, for example, the first terminal device constructs a first application unit and a first middleware unit that functions as the first network interface unit. A program storage unit for storing software for executing the processing, and a CPU for executing the software to realize a first application unit and a first middleware unit, wherein the first middleware unit is a logical communication path used for data transmission Based on the function of registering information for identifying the data in the storage unit and the data transmission request from the first application unit, the information for identifying the logical communication path used for data transmission is stored in the network. It is preferable to have a function of executing data transmission.
 同様に、第2ネットワークインタフェース部を第2端末装置内に設ける場合は、例えば、第2端末装置の各々は、第2アプリケーション部と、第2ネットワークインタフェース部として機能する第2ミドルウェア部とを構築するためのソフトウェアを記憶するプログラム記憶部、および前記ソフトウェアを実行して第2アプリケーション部と第2ミドルウェア部を実現するCPUとを備え、第2ミドルウェア部は、第2端末装置がデータ受信に使用する論理的通信路を識別するための情報を前記記憶部に登録する機能と、第1端末装置がデータ送信に使用する論理的通信路からのデータ受信を実行する機能を有することが好ましい。 Similarly, when the second network interface unit is provided in the second terminal device, for example, each of the second terminal devices constructs a second application unit and a second middleware unit that functions as the second network interface unit. A program storage unit for storing software and a CPU for executing the software to realize a second application unit and a second middleware unit, and the second middleware unit is used by the second terminal device for data reception It is preferable to have a function of registering information for identifying a logical communication path to be registered in the storage unit and a function of executing data reception from the logical communication path used for data transmission by the first terminal device.
 また、第1ネットワークインタフェース部を第1端末装置と個別に設ける場合、例えば、第1ネットワークインタフェース部は、第1端末装置とは別体に外付けされる筐体内に設けられ、CPUおよびプログラム記憶部を備えたハードウェア、ソフトウェアモジュール、およびハードウェアおよびソフトウェアモジュールの組み合わせのいずれかによって実現される。同様に、第2ネットワークインタフェース部を第2端末装置と個別に設ける場合、例えば、第2ネットワークインタフェース部の各々は、第2端末装置とは別体に外付けされる筐体内に設けられ、CPUおよびプログラム記憶部を備えたハードウェア、ソフトウェアモジュール、およびハードウェアおよびソフトウェアモジュールの組み合わせのいずれかによって実現される。 In addition, when the first network interface unit is provided separately from the first terminal device, for example, the first network interface unit is provided in a housing externally attached to the first terminal device, and the CPU and program storage This is realized by any of hardware provided with a unit, software module, and a combination of hardware and software module. Similarly, when the second network interface unit is provided separately from the second terminal device, for example, each of the second network interface units is provided in a casing externally attached to the second terminal device, and the CPU And hardware provided with a program storage unit, a software module, and a combination of hardware and software module.
 本発明のネットワークシステムの好ましい形態の一例において、各端末装置がデータ通信に使用する論理的通信路を識別するための情報は、ネットワーク上のサーバに設けた記憶部で集中的に保管、管理される。例えば、第1端末装置および第2端末装置の各々は、論理的通信路を識別するための情報の設定機能、データ送信機能およびデータ受信機能を有し、ネットワークシステムは、ネットワークに接続される少なくとも1つのサーバを含み、前記サーバには前記記憶部および前記照合部が設けられる。第1ネットワークインタフェース部は、第1端末装置からの要求に基づき、前記設定機能を用いて前記サーバの記憶部に前記論理的通信路を識別するための情報を登録し、第2ネットワークインタフェース部の各々は、第2端末装置からの要求に基づき、前記設定機能を用いて前記サーバの記憶部に前記論理的通信路を識別するための情報を登録する。サーバの記憶部は、第1端末装置および第2端末装置の各々が登録した前記論理的通信路を識別するための情報が保存されるチャネル管理テーブルを有する。第1ネットワークインタフェース部が、第1端末装置からの送信要求に基づき、前記データ送信機能を用いてネットワークに対してデータ送信に使用する前記論理的通信路を識別するための情報を送ると、サーバの照合部は、前記チャネル管理テーブルを参照して、前記データ送信に使用されるのと同じ論理的通信路を識別するための情報を前記チャネル管理テーブルに登録した第2端末装置を特定し、当該特定された第2端末装置へ前記データ送信を行う。前記特定された第2端末装置に対応する第2ネットワークインタフェース部は、前記データ受信機能を用いて第1端末装置がデータ送信に使用する論理的通信路からデータを受信する。 In an example of a preferred form of the network system of the present invention, information for identifying a logical communication path used by each terminal device for data communication is centrally stored and managed in a storage unit provided in a server on the network. The For example, each of the first terminal device and the second terminal device has an information setting function for identifying a logical communication path, a data transmission function, and a data reception function, and the network system is at least connected to the network. The server includes one server, and the server is provided with the storage unit and the verification unit. The first network interface unit registers information for identifying the logical communication path in the storage unit of the server using the setting function based on a request from the first terminal device, and the second network interface unit Each registers information for identifying the logical communication path in the storage unit of the server using the setting function based on a request from the second terminal device. The storage unit of the server has a channel management table in which information for identifying the logical communication path registered by each of the first terminal device and the second terminal device is stored. When the first network interface unit sends information for identifying the logical communication path used for data transmission to the network using the data transmission function based on the transmission request from the first terminal device, the server The collating unit refers to the channel management table, identifies the second terminal device that has registered in the channel management table information for identifying the same logical communication path used for the data transmission, The data transmission is performed to the specified second terminal device. The second network interface unit corresponding to the specified second terminal apparatus receives data from the logical communication path used for data transmission by the first terminal apparatus using the data reception function.
 上記サーバを備えた本発明のネットワークシステムによれば、サーバの記憶部で管理されている論理的通信路を識別するための情報を参照して、サーバに設けた照合部がデータを送信すべき端末装置を特定するので、各端末装置に固有のアドレス情報をサーバで管理する場合に比べ、サーバの負担を軽減できて円滑な情報通信ネットワークを実現することができる。尚、サーバが各端末装置の使用する論理的通信路を識別するための情報を収集する場合は、ネットワーク上に設けたサーバが各端末装置に問い合わせて当該情報を収集してもよいし、あるいは各端末装置が自発的にネットワーク上のサーバに当該情報を提供する構成を採用してもよい。 According to the network system of the present invention including the server, the collation unit provided in the server should transmit data with reference to the information for identifying the logical communication path managed by the storage unit of the server. Since the terminal device is specified, the load on the server can be reduced and a smooth information communication network can be realized compared to the case where address information unique to each terminal device is managed by the server. When the server collects information for identifying the logical communication path used by each terminal device, the server provided on the network may collect the information by inquiring each terminal device, or A configuration in which each terminal device voluntarily provides the information to a server on the network may be adopted.
 また、本発明のネットワークシステムにオブジェクト指向の思想を導入する場合は、機能をオブジェクトで表現するとともに、サーバを介してオブジェクトの識別子(例えば、”OID”や”IID”)を用いたルーティングを行うことによって分散オブジェクト化することができる。ここに、”OID”はオブジェクトごとに固有の識別子であり、”IID”はオブジェクトの有する機能を識別するための識別子として定義される。 When the object-oriented concept is introduced into the network system of the present invention, the function is expressed by an object, and routing using an object identifier (for example, “OID” or “IID”) is performed through a server. Can be made into a distributed object. Here, “OID” is an identifier unique to each object, and “IID” is defined as an identifier for identifying a function of the object.
 オブジェクト指向の思想を導入した本発明の好ましいネットワークシステムとしては、各端末装置上にオブジェクトがあって、ネットワーク上に設けたサーバが各端末装置に問い合わせることで論理的通信路に関する情報を収集し、サーバに設けた記憶部で収集した情報を保管、管理する形態がある。 As a preferred network system of the present invention that introduces an object-oriented idea, there is an object on each terminal device, and a server provided on the network collects information on logical communication paths by inquiring each terminal device, There is a form in which information collected by a storage unit provided in the server is stored and managed.
 オブジェクト指向の思想を導入した本発明のネットワークシステムの好ましい形態として、第1端末装置および第2端末装置の各々は、論理的通信路の設定機能、データ送信機能およびデータ受信機能を有するとともに、識別子が付されたオブジェクトを有し、ネットワークシステムは、ネットワークに接続される少なくとも1つのサーバを含み、サーバには前記記憶部および前記照合部が設けられる。第1ネットワークインタフェース部は、第1端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記記憶部に論理的通信路を識別するための情報を登録し、第2ネットワークインタフェース部の各々は、第2端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記記憶部に論理的通信路を識別するための情報を登録する。前記記憶部は、第1端末装置および第2端末装置の各々が登録した論理的通信路を識別するための情報と前記オブジェクトの識別子との対応関係が保存されるチャネル管理テーブルと、前記オブジェクトの識別子とルーティング情報とを対応付けたオブジェクト管理テーブルを有する。第1ネットワークインタフェース部が、第1端末装置からの別の要求に基づき、前記オブジェクトのデータ送信機能を用いてネットワークに対してデータ送信に使用する論理的通信路を識別するための情報を送ると、前記サーバの照合部は、チャネル管理テーブルを参照して、前記データ送信に使用する論理的通信路を識別するための情報に対応するオブジェクトの識別子を照合するとともに、オブジェクト管理テーブルを参照して、前記照合されたオブジェクトの識別子に対応するルーティング情報を照合することにより決定される第2端末装置へ前記データ送信を行う。当該第2端末装置に対応する第2ネットワークインタフェース部は、前記オブジェクトのデータ受信機能を用いて第1端末装置がデータ送信に使用する論理的通信路からデータを受信する。 As a preferred form of the network system of the present invention in which the object-oriented concept is introduced, each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function, and an identifier. The network system includes at least one server connected to the network, and the server includes the storage unit and the verification unit. The first network interface unit registers information for identifying the logical communication path in the storage unit using the logical communication path setting function of the object based on a request from the first terminal device, Each of the network interface units registers information for identifying the logical communication path in the storage unit using the logical communication path setting function of the object based on a request from the second terminal device. The storage unit includes a channel management table in which a correspondence relationship between information for identifying a logical communication path registered by each of the first terminal device and the second terminal device and an identifier of the object is stored; It has an object management table in which identifiers and routing information are associated with each other. When the first network interface unit sends information for identifying a logical communication path used for data transmission to the network using the data transmission function of the object based on another request from the first terminal device. The collation unit of the server refers to the channel management table, collates the identifier of the object corresponding to the information for identifying the logical communication path used for the data transmission, and refers to the object management table. The data transmission is performed to the second terminal apparatus determined by collating the routing information corresponding to the collated object identifier. The second network interface unit corresponding to the second terminal device receives data from the logical communication path used by the first terminal device for data transmission using the data reception function of the object.
 この場合は、論理的通信路を識別するための情報、例えば論理的通信路に付与されるチャネルIDが端末装置上のオブジェクトの変数として保存され、サーバが各端末装置上のチャネルIDを収集してチャネル管理テーブルにおいて管理するから、チャネルIDを後から追加・変更するのが容易になるという長所がある。尚、サーバが送信元の端末装置および受信側の端末装置から論理的通信路の情報を採集して、オブジェクトの識別子との対応関係を管理しているので、サーバではオブジェクトを鍵にルーティングしているが、各端末装置ではそれぞれがデータ送信/受信に使用する論理的通信路の情報を決めればよく、相手側の端末装置のアドレス情報を考慮しなくてよいことは上記した通りである。したがって、本実施形態のネットワークシステムにおいても、ネットワークへの端末装置の追加・変更が容易であり、円滑な情報通信ネットワークを実現することができるという効果が確保される。 In this case, information for identifying the logical communication path, for example, the channel ID assigned to the logical communication path is stored as a variable of the object on the terminal device, and the server collects the channel ID on each terminal device. Since the channel management table manages the channel ID, it is easy to add or change the channel ID later. The server collects logical communication path information from the source terminal device and the receiving terminal device and manages the correspondence with the object identifiers, so the server routes the object to the key. However, as described above, each terminal device only needs to determine the information of the logical communication path used for data transmission / reception, and does not need to consider the address information of the counterpart terminal device. Therefore, also in the network system of the present embodiment, it is easy to add / change the terminal device to the network, and the effect that a smooth information communication network can be realized is ensured.
 オブジェクト指向の思想を導入した本発明のネットワークシステムの別の好ましい形態として、第1端末装置および第2端末装置の各々は、論理的通信路の設定機能、データ送信機能およびデータ受信機能を有するとともに、識別子が付されたオブジェクトを有し、ネットワークシステムは、ネットワークに接続される少なくとも1つのサーバを含み、前記サーバには前記記憶部および前記照合部が設けられる。第1ネットワークインタフェース部は、第1端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記記憶部に論理的通信路の情報に予め対応付けたオブジェクトの識別子を登録し、第2ネットワークインタフェース部の各々は、第2端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記記憶部に論理的通信路の情報に予め対応付けたオブジェクトの識別子を登録する。前記記憶部は、前記オブジェクトの識別子とルーティング情報とを対応付けたオブジェクト管理テーブルを有する。第1ネットワークインタフェース部が、第1端末装置からの別の要求に基づき、前記オブジェクトのデータ送信機能を用いてネットワークに対してデータ送信に使用する論理的通信路の情報に予め対応付けたオブジェクトの識別子を送ると、前記サーバの照合部は、オブジェクト管理テーブルを参照して、前記データ送信に使用する論理的通信路の情報に予め対応付けたオブジェクトの識別子に対応するルーティング情報を照合することにより決定される第2端末装置へ前記データ送信を行う。当該第2端末装置に対応する第2ネットワークインタフェース部は、前記オブジェクトのデータ受信機能を用いて前記第1端末装置がデータ送信に使用する論理的通信路からデータを受信する。 As another preferred form of the network system of the present invention that introduces the object-oriented concept, each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function. The network system includes at least one server connected to the network, and the server is provided with the storage unit and the verification unit. Based on a request from the first terminal device, the first network interface unit registers an identifier of an object previously associated with the information on the logical communication path in the storage unit using the logical communication path setting function of the object. Then, each of the second network interface units is an object previously associated with the information of the logical communication path in the storage unit using the logical communication path setting function of the object based on a request from the second terminal device. Register the identifier. The storage unit includes an object management table in which the identifier of the object is associated with routing information. Based on another request from the first terminal device, the first network interface unit uses the data transmission function of the object, and the object previously associated with the logical communication path information used for data transmission to the network When the identifier is sent, the collation unit of the server refers to the object management table and collates the routing information corresponding to the identifier of the object previously associated with the information on the logical communication path used for the data transmission. The data transmission is performed to the determined second terminal device. The second network interface unit corresponding to the second terminal device receives data from a logical communication path used for data transmission by the first terminal device using the data reception function of the object.
 上記した第1の好ましいネットワークシステムでは、サーバのチャネル管理テーブルが、第1端末装置および第2端末装置の各々が登録した論理的通信路の情報とオブジェクトの識別子との対応関係を管理し、サーバのオジェクト管理テーブルが、オブジェクトの識別子とルーティング情報(第2端末装置にデータ送信するためのアドレス情報、例えば、IPアドレス)との対応関係を管理しているのに対し、第2の好ましいネットワークシステムにおいては、各端末装置において、論理的通信路の情報がオブジェクトの識別子に予め対応付けられているので、チャネル管理テーブルをサーバに設ける必要がなく、オブジェクトの識別子とルーティング情報との対応関係を管理するオジェクト管理テーブルだけを設ければよいので、サーバの負荷をさらに軽減できるという長所がある。 In the first preferred network system described above, the server channel management table manages the correspondence between the logical communication path information registered by each of the first terminal device and the second terminal device and the identifier of the object. The object management table of FIG. 2 manages the correspondence between the identifier of the object and the routing information (address information for transmitting data to the second terminal device, eg, IP address), whereas the second preferred network system In each terminal device, since the logical communication path information is associated with the object identifier in advance, it is not necessary to provide a channel management table in the server, and the correspondence between the object identifier and the routing information is managed. Only the object management table that needs to be There is an advantage that the load can be further reduced.
 本発明のネットワークシステムにおいて、前記記憶部は、データ送信に使用する論理的通信路を識別するための情報を登録するために第1端末装置に対応して設けられる第1記憶部と、データ受信に使用する論理的通信路を識別するための情報を登録するために第2端末装置の各々に対応して設けられる第2記憶部とで構成され、前記照合部は、第2端末装置の各々に対応して設けられることが好ましい。この場合は、各照合部によって、対応する第2端末装置が論理的通信路からデータを受信するかどうかが判定される。 In the network system of the present invention, the storage unit includes a first storage unit provided corresponding to the first terminal device for registering information for identifying a logical communication path used for data transmission, and data reception And a second storage unit provided corresponding to each of the second terminal devices for registering information for identifying the logical communication path used for the second terminal device, It is preferable to be provided corresponding to. In this case, each collating unit determines whether or not the corresponding second terminal apparatus receives data from the logical communication path.
 オブジェクト指向の思想を導入した場合の好ましい実施形態にかかるネットワークシステムにおいては、第1端末装置および第2端末装置の各々が、論理的通信路の設定機能、データ送信機能、およびデータ受信機能を有するとともに、共通の識別子が付されたオブジェクトを有する。第1ネットワークインタフェース部は、第1端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて第1記憶部に論理的通信路を識別するための情報を登録し、第2ネットワークインタフェース部の各々は、第2端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて第2チャネル記憶部に論理的通信路を識別するための情報を登録する。第1ネットワークインタフェース部が、第1端末装置からのデータ送信要求に基づき、前記前記共通の識別子を用いてネットワークに対してデータ送信に使用する論理的通信路を識別するための情報を送ると、前記照合部の各々は、データ送信に使用する論理的通信路を識別するための情報が、第2記憶部に登録された論理的通信路を識別するための情報と一致するかどうかを照合する。前記第2ネットワークインタフェース部は、第2端末装置の各々に対して設けられ、前記データ送信に使用する論理的通信路を識別するための情報が、第2記憶部に登録された論理的通信路を識別するための情報と一致する場合にのみ、前記オブジェクトのデータ受信機能を用いて第1端末装置がデータ送信に使用する論理的通信路からデータを受信する。 In the network system according to the preferred embodiment when the object-oriented concept is introduced, each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function. And an object with a common identifier. The first network interface unit registers information for identifying the logical communication path in the first storage unit using the logical communication path setting function of the object based on a request from the first terminal device, Each of the two network interface units registers information for identifying the logical channel in the second channel storage unit using the logical channel setting function of the object based on a request from the second terminal device. . When the first network interface unit sends information for identifying a logical communication path used for data transmission to the network using the common identifier based on a data transmission request from the first terminal device, Each of the verification units verifies whether information for identifying a logical communication path used for data transmission matches information for identifying a logical communication path registered in the second storage unit. . The second network interface unit is provided for each of the second terminal devices, and a logical communication channel in which information for identifying a logical communication channel used for the data transmission is registered in the second storage unit Only when the information matches the information for identifying the data, the first terminal device receives data from the logical communication path used for data transmission by using the data reception function of the object.
 この場合は、すべての端末装置に共通の識別子が付されたオブジェクトがあって、データ通信に使用される論理的通信路を識別するための情報(例えば、チャネルID)が各端末装置の記憶部で管理される。そして、前記共通の識別子を用いたデータ送信が一旦は全ての端末装置に対して実行され、各第2端末装置の照合部が論理的通信路の情報を照合することによって、最終的に当該論理通信路からデータを受信するかどうかを判断する。したがって、論理的通信路の照合を目的としてネットワーク上にサーバを設ける必要がない。また、共通の識別子を使用したデータ送信をマルチキャストで行う場合のルーティングを目的としてネットワーク上にサーバを設ける場合でも、サーバの構成を簡略化できて、負荷も小さくなるという長所がある。さらに、論理的通信路の情報をあらかじめ識別子に対応させておく必要が無いので、端末装置を後から追加・変更することも容易である。 In this case, there is an object with a common identifier for all the terminal devices, and information (for example, channel ID) for identifying a logical communication path used for data communication is stored in the storage unit of each terminal device. Managed by. Then, data transmission using the common identifier is executed once for all the terminal devices, and the collation unit of each second terminal device collates the information on the logical communication path, so that the logical communication is finally performed. Determine whether to receive data from the communication path. Therefore, it is not necessary to provide a server on the network for the purpose of collating logical communication paths. Further, even when a server is provided on the network for the purpose of routing when data transmission using a common identifier is performed by multicast, the configuration of the server can be simplified and the load is reduced. Furthermore, since there is no need to associate the logical communication path information with the identifier in advance, it is easy to add or change the terminal device later.
 本発明のさらに好ましい形態にかかるネットワークシステムにおいては、第2端末装置は、第1グループを構成する複数の端末装置と、第2グループを構成する複数の端末装置とを含み、前記第1端末装置は、指令用端末装置を有する。第1グループの端末装置がデータ受信に使用する第1の論理的通信路を識別するための情報と、第2グループの端末装置がデータ受信に使用する第2の論理的通信路を識別するための情報とが予め前記記憶部に登録される。指令用端末装置は、データ送信に使用する論理的通信路として、第1の論理的通信路と第2の論理的通信路のいずれかを選択するためのチャネル選択部を有する。 In the network system according to a further preferred aspect of the present invention, the second terminal device includes a plurality of terminal devices constituting a first group and a plurality of terminal devices constituting a second group, wherein the first terminal device Has a command terminal. Information for identifying the first logical communication channel used for data reception by the first group of terminal devices and for identifying the second logical communication channel used for data reception by the second group of terminal devices Are previously registered in the storage unit. The command terminal device has a channel selection unit for selecting either the first logical communication path or the second logical communication path as the logical communication path used for data transmission.
 このネットワークシステムにおいては、第1グループの端末装置および第2グループの端末装置のすべてがデータ受信に使用する共通の論理的通信路を識別するための情報が前記記憶部に登録され、チャネル選択部は、データ送信に使用する論理的通信路として、第1の論理的通信路、第2の論理的通信路、又は前記共通の論理的通信路のいずれかを選択可能であることがさらに好ましい。また、前記記憶部には、第1グループの端末装置の一部および第2グループの端末装置の一部がデータ受信に使用する第3の論理的通信路を識別するための情報が登録され、チャネル選択部は、データ送信に使用する論理的通信路として、第1の論理的通信路、第2の論理的通信路、又は第3の論理的通信路のいずれかを選択可能であることも好ましい。さらに、必要に応じて、第1の論理的通信路、第2の論理的通信路、第3の論理的通信路又は前記共通の論理的通信路の中からデータ送信に使用する論理的通信路が選択されるようにチャネル選択部を形成してもよい。 In this network system, information for identifying a common logical communication path used for data reception by all of the first group of terminal devices and the second group of terminal devices is registered in the storage unit, and a channel selection unit It is more preferable that any one of the first logical communication path, the second logical communication path, and the common logical communication path can be selected as the logical communication path used for data transmission. Further, in the storage unit, information for identifying a third logical communication path used for data reception by a part of the first group of terminal devices and a part of the second group of terminal devices is registered, The channel selection unit may be able to select one of the first logical communication path, the second logical communication path, and the third logical communication path as the logical communication path used for data transmission. preferable. Furthermore, a logical communication path used for data transmission from the first logical communication path, the second logical communication path, the third logical communication path, or the common logical communication path as necessary. The channel selector may be formed so that is selected.
 また、第1グループおよび第2グループの端末装置にはそれぞれ所望の電気機器が接続され、データは、各端末装置に接続された電気機器が提供するコンテンツの送信要求を含み、データ送信に使用する論理的通信路が前記第1の論理的通信路である時、第1グループの端末装置のそれぞれに接続された電気機器のコンテンツが前記指令用端末装置に送信されることが好ましい。 Also, desired electrical devices are connected to the terminal devices of the first group and the second group, respectively, and the data includes a transmission request for content provided by the electrical devices connected to each terminal device, and is used for data transmission. When the logical communication path is the first logical communication path, it is preferable that the content of the electrical equipment connected to each of the first group of terminal devices is transmitted to the command terminal device.
 このネットワークシステムによれば、例えば、オフィスビルの各階における電力消費量を管理することが必要な場合や、各階から特定の部屋における電力消費量のみを管理することが必要な場合に好適な電力消費管理システムを提供することができる。 According to this network system, for example, when it is necessary to manage the power consumption in each floor of an office building, or when it is necessary to manage only the power consumption in a specific room from each floor, the power consumption is suitable. A management system can be provided.
 尚、本発明のネットワークシステムは、以下のように定義することもできる。すなわち、ネットワークを介して接続される端末装置同士の間でデータ通信を行うためのネットワークシステムであって、
データ送信を要求する第1アプリケーション部を備えた端末装置;
前記第1アプリケーション部とネットワークの間に接続され、前記第1アプリケーション部からのデータ送信の要求に基づいて、データ送信に使用する論理的通信路を識別するための情報を用いてネットワークに対してデータ送信を実行する第1ミドルウェア部;
他の端末装置がデータ受信に使用する論理的通信路を識別するための情報が登録される記憶部;
前記データ送信に使用する論理的通信路を識別するための情報と、前記記憶部に登録されたデータ受信に使用する論理的通信路を識別するための情報とを照合する照合部;および
前記他の端末装置に設けた第2アプリケーション部とネットワークとの間に接続される第2ミドルウェア部とを含み、
 前記第2ネットワークインタフェース部は、前記データ送信に使用する論理的通信路を識別するための情報と前記データ受信に使用する論理的通信路を識別するための情報とが一致する場合にのみ、当該論理的通信路から送信されるデータを受信して、前記第2アプリケーション部に提供することを特徴とする。
The network system of the present invention can also be defined as follows. That is, a network system for performing data communication between terminal devices connected via a network,
A terminal device including a first application unit that requests data transmission;
Connected between the first application unit and the network, and based on a data transmission request from the first application unit, information for identifying a logical communication path used for data transmission is used for the network. A first middleware unit for executing data transmission;
A storage unit in which information for identifying a logical communication path used for data reception by another terminal device is registered;
A collation unit that collates information for identifying a logical communication path used for data transmission and information for identifying a logical communication path used for data reception registered in the storage unit; and the others A second middleware unit connected between the second application unit provided in the terminal device and the network,
The second network interface unit is concerned only when the information for identifying the logical communication path used for the data transmission matches the information for identifying the logical communication path used for the data reception. Data transmitted from a logical communication path is received and provided to the second application unit.
 本発明の更なる目的は、上記したネットワークシステムと同じ基本思想に基づくデータ通信方法を提供することにある。すなわち、このデータ通信方法は、ネットワークを介して接続される端末装置同士の間でデータ通信を行うための方法であって、
データ受信側の端末装置がデータ受信に使用する論理的通信路を識別するための情報を記憶部に登録するステップと、
データ送信側の端末装置に設けた第1アプリケーション部がデータ送信を要求するステップと、
前記第1アプリケーション部とネットワークの間に接続される第1ミドルウェア部が、前記第1アプリケーション部からのデータ送信の要求に基づいて、データ送信に使用する論理的通信路を識別するための情報を用いてネットワークに対してデータ送信を実行するステップと、
前記データ送信に使用する論理的通信路を識別するための情報と、前記記憶部に登録されたデータ受信に使用する論理的通信路を識別するための情報とを照合部で照合するステップとを含み、
前記照合ステップによって、前記データ送信に使用する論理的通信路を識別するための情報と前記データ受信に使用する論理的通信路を識別するための情報とが一致する場合にのみ、データ受信側の端末装置に設けた第2アプリケーション部とネットワークの間に接続される第2ミドルウェア部が当該論理的通信路からデータを受信して、前記第2アプリケーション部に提供することを特徴とする。
It is a further object of the present invention to provide a data communication method based on the same basic idea as the network system described above. That is, this data communication method is a method for performing data communication between terminal devices connected via a network,
Registering information for identifying a logical communication path used for data reception by the terminal device on the data receiving side in the storage unit;
A step in which a first application unit provided in a terminal device on the data transmission side requests data transmission;
Information for identifying a logical communication path used for data transmission by a first middleware unit connected between the first application unit and the network based on a data transmission request from the first application unit is provided. Using to perform data transmission to the network;
Collating the information for identifying the logical communication path used for the data transmission and the information for identifying the logical communication path used for data reception registered in the storage unit by the collating unit; Including
Only when the information for identifying the logical communication path used for the data transmission matches the information for identifying the logical communication path used for the data reception by the collating step, the data receiving side A second middleware unit connected between the second application unit provided in the terminal device and the network receives data from the logical communication path and provides the data to the second application unit.
 本発明のさらなる特徴およびそれがもたらす効果は,以下に述べる発明を実施するための最良の形態に基づいてより明確に理解されるだろう。 The further features of the present invention and the effects it provides will be more clearly understood based on the best mode for carrying out the invention described below.
本発明のネットワークシステムの基本思想を示す概念図である。It is a conceptual diagram which shows the basic idea of the network system of this invention. 本発明の第1実施形態にかかるネットワークシステムの概略図である。1 is a schematic diagram of a network system according to a first embodiment of the present invention. 第1実施形態に使用される端末装置の概略図である。It is the schematic of the terminal device used for 1st Embodiment. 第1実施形態に使用されるサーバの概略図である。It is the schematic of the server used for 1st Embodiment. 第1実施形態のネットワークシステムの動作説明図である。It is operation | movement explanatory drawing of the network system of 1st Embodiment. 第1実施形態のネットワークシステムの好ましい応用例にかかる防犯システムの起動時の動作説明図である。It is operation | movement explanatory drawing at the time of starting of the crime prevention system concerning the preferable application example of the network system of 1st Embodiment. 防犯システムのチャネル登録動作の説明図である。It is explanatory drawing of the channel registration operation | movement of a security system. 防犯システムのデータ送受信時の動作説明図である。It is operation | movement explanatory drawing at the time of the data transmission / reception of a security system. 本発明の第2実施形態に使用される端末装置の概略図である。It is the schematic of the terminal device used for 2nd Embodiment of this invention. 第2実施形態に使用されるサーバの概略図である。It is the schematic of the server used for 2nd Embodiment. 第2実施形態のネットワークシステムの動作説明図である。It is operation | movement explanatory drawing of the network system of 2nd Embodiment. 本発明の第3実施形態にかかるネットワークシステムの概略図である。It is the schematic of the network system concerning 3rd Embodiment of this invention. 本発明の第3実施形態に使用される端末装置の概略図である。It is the schematic of the terminal device used for 3rd Embodiment of this invention. 第3実施形態に使用されるサーバの概略図である。It is the schematic of the server used for 3rd Embodiment. 第3実施形態のネットワークシステムの動作説明図である。It is operation | movement explanatory drawing of the network system of 3rd Embodiment. 第3実施形態の変更例に使用される端末装置の概略図である。It is the schematic of the terminal device used for the example of a change of 3rd Embodiment. 第3実施形態の変更例にかかるネットワークシステムの動作説明図である。It is operation | movement explanatory drawing of the network system concerning the example of a change of 3rd Embodiment. 本発明の第4実施形態にかかるネットワークシステムに使用されるサーバの概略図である。It is the schematic of the server used for the network system concerning 4th Embodiment of this invention. 第4実施形態のネットワークシステムの動作説明図である。It is operation | movement explanatory drawing of the network system of 4th Embodiment. 第4実施形態のネットワークシステムの好ましい応用例にかかる防犯システムのチャネル設定動作の説明図である。It is explanatory drawing of the channel setting operation | movement of the crime prevention system concerning the preferable application example of the network system of 4th Embodiment. 防犯システムのデータ送受信時の動作説明図である。It is operation | movement explanatory drawing at the time of the data transmission / reception of a security system. 本発明の第5実施形態にかかるネットワークシステムの概略図である。It is the schematic of the network system concerning 5th Embodiment of this invention. 従来のネットワークシステムを示す概略図である。It is the schematic which shows the conventional network system. 従来の別のネットワークシステムを示す概略図である。It is the schematic which shows another conventional network system.
 以下、本発明のネットワークシステムを好ましい実施形態に基づいて詳細に説明する。
(本発明のネットワークシステムの基本思想)
 まず、本発明のネットワークシステムの基本思想について説明する。図1に示すように、本発明のネットワークシステムの最小必須構成は、データ送信側の第1端末装置1とデータ受信側の第2端末装置2とがそれぞれネットワークインタフェース部(12、22)を介して物理的なネットワーク4に接続されてなる。前記したように、本発明においては、送信側の端末装置1と受信側の端末装置2との間の関係ではなく、各端末装置(1、2)とネットワーク4との間の関係が重要であり、この関係を実現するための手段がネットワークインタフェース部(12、22)である。
Hereinafter, the network system of the present invention will be described in detail based on a preferred embodiment.
(Basic idea of the network system of the present invention)
First, the basic idea of the network system of the present invention will be described. As shown in FIG. 1, the minimum essential configuration of the network system of the present invention is that the first terminal device 1 on the data transmission side and the second terminal device 2 on the data reception side are respectively connected via the network interface unit (12, 22). Connected to the physical network 4. As described above, in the present invention, not the relationship between the terminal device 1 on the transmission side and the terminal device 2 on the reception side, but the relationship between each terminal device (1, 2) and the network 4 is important. There is a network interface unit (12, 22) for realizing this relationship.
 第1端末装置1に対して設けられる第1ネットワークインタフェース部12は、第1端末装置1からの要求に基づき、データ送信に使用される論理的通信路を識別するための情報を用いて物理的なネットワーク4に対してデータ送信を実行するためのものである。尚、データ送信に使用される論理的通信路を識別するための情報とは、論理的通信路に付与されたチャネルIDのような論理的通信路そのものの情報や、論理的通信路のチャネルIDに予め対応付けられ、各端末装置に実装されているオブジェクトの識別子などの情報も含まれる。また、図では、第1端末装置1とネットワーク4との間に第1ネットワークインタフェース部12が位置づけられているが、これは第1端末装置1と第1ネットワークインタフェース部12を個別に設けることを意味するものではなく、端末装置1と物理ネットワーク4の間に第1ネットワークインタフェース部12の機能が存在することを概念的に示している。図1中、点線で囲まれた領域の内部は論理ネットワーク領域4Aを示している。 The first network interface unit 12 provided for the first terminal device 1 is physically based on information for identifying a logical communication path used for data transmission based on a request from the first terminal device 1. This is for executing data transmission to the secure network 4. The information for identifying the logical communication path used for data transmission is information on the logical communication path itself such as the channel ID assigned to the logical communication path, or the channel ID of the logical communication path. And information such as identifiers of objects mounted in advance on each terminal device are also included. In the figure, the first network interface unit 12 is positioned between the first terminal device 1 and the network 4, but this means that the first terminal device 1 and the first network interface unit 12 are provided separately. It does not mean that the function of the first network interface unit 12 exists conceptually between the terminal device 1 and the physical network 4. In FIG. 1, the area surrounded by the dotted line indicates the logical network area 4A.
 同様に、第2端末装置2の各々に対して設けられる第2ネットワークインタフェース部22は、データ送信に使用される論理的通信路と同じ論理的通信路がデータ受信用の論理的通信路として参加(登録)されている場合にのみ、第2端末装置2に対してデータ受信を実行するためのものである。図では、各第2端末装置2と物理ネットワーク4との間に第2ネットワークインタフェース部22が位置づけられているが、第1端末装置1の場合と同様に、第2端末装置2と第2ネットワークインタフェース部22を個別に設けることを意味するものではなく、端末装置2と物理ネットワーク4の間に第2ネットワークインタフェース部22の機能が存在することを概念的に示している。 Similarly, the second network interface unit 22 provided for each of the second terminal devices 2 participates in the same logical communication path used for data transmission as a logical communication path for data reception. It is for executing data reception with respect to the second terminal device 2 only when (registered). In the figure, the second network interface unit 22 is positioned between each second terminal device 2 and the physical network 4. However, as in the case of the first terminal device 1, the second terminal device 2 and the second network are arranged. It does not mean that the interface unit 22 is provided separately, but conceptually shows that the function of the second network interface unit 22 exists between the terminal device 2 and the physical network 4.
 また、本発明のネットワークシステムは、データ送信やデータ受信に使用される論理的通信路を識別するための情報を保管する記憶部と、記憶部に登録した情報を参照して、データ送信に使用する論理的通信路と同じ論理的通信路をデータ受信のために登録している第2端末装置を特定する照合部とを備えている。これらは、以下の実施形態で詳述するように、各端末装置に対するネットワークインタフェース部に設けたり、ネットワーク4上に設けたサーバ3に設けたりすることができる。
(第1実施形態)
 本実施形態のネットワークシステムは、図2に示すように、記憶部31および照合部32をネットワーク上のサーバ3に設け、記憶部31に登録した情報を参照して、照合部32がデータ送信に使用するのと同じ論理的通信路をデータ受信用に登録している第2端末装置2を特定する点に特徴がある。
Further, the network system of the present invention is used for data transmission with reference to information stored in the storage unit for storing information for identifying a logical communication path used for data transmission and data reception, and information registered in the storage unit. And a collation unit that identifies the second terminal device that has registered the same logical communication channel as the logical communication channel to be received for data reception. These can be provided in a network interface unit for each terminal device or in a server 3 provided on the network 4 as described in detail in the following embodiments.
(First embodiment)
As shown in FIG. 2, the network system according to the present embodiment includes a storage unit 31 and a verification unit 32 in the server 3 on the network, and the verification unit 32 transmits data by referring to information registered in the storage unit 31. It is characterized in that the second terminal device 2 that registers the same logical communication path as that used for data reception is specified.
 本実施形態においては、端末装置Aがデータ送信側の端末装置1であり、端末装置B、C、Dがデータ受信側の端末装置2として使用されるが、後述するように、各端末装置(1、2)は固有の機能部を備えていることを除き、実質的に同等のデータ送受信機能を有しているので、端末装置(B、C、D)をデータ送信側の端末装置として機能させ、端末装置Aをデータ受信側の端末装置として機能させることも可能である。要するに、本実施形態において、各端末装置(1、2)には双方向データ通信を行える機能が備わっている。 In the present embodiment, the terminal device A is the terminal device 1 on the data transmission side, and the terminal devices B, C, and D are used as the terminal device 2 on the data reception side. 1 and 2) have substantially the same data transmission / reception functions except that they have unique function units, so that the terminal devices (B, C, D) function as terminal devices on the data transmission side. The terminal device A can also function as a terminal device on the data receiving side. In short, in the present embodiment, each terminal device (1, 2) has a function of performing bidirectional data communication.
 図3に示すように、各端末装置(1、2)は、情報処理部(10、20)と、ネットワーク通信(例えばイーサネット(登録商標)規格の通信)のための通信部(14、24)と、各端末装置に固有の機能部(15、25)とで主として構成される。データ送信側の端末装置1の機能部15の有する機能としては、ネットワーク4に送信する環境データを取得するためのセンサ機能を例示でき、データ受信側の端末装置2の機能部25の有する機能としては、受信した環境データに基づいて空調や照明を制御する制御機能を例示できる。 As shown in FIG. 3, each terminal device (1, 2) includes an information processing unit (10, 20) and a communication unit (14, 24) for network communication (for example, Ethernet (registered trademark) standard communication). And functional units (15, 25) unique to each terminal device. As a function of the functional unit 15 of the terminal device 1 on the data transmission side, a sensor function for acquiring environmental data to be transmitted to the network 4 can be exemplified, and as a function of the functional unit 25 of the terminal device 2 on the data reception side Can illustrate a control function for controlling air conditioning and lighting based on the received environmental data.
 情報処理部(10、20)は、アプリケーション部(11、21)と、ネットワークインタフェース部(12、22)として機能するミドルウェア部(尚、以下の説明では、ミドルウェア部についてもネットワークインタフェース部と同じ符号12、22を付す)と、ミドルウェア部の下位レイヤーとして設けられるオブジェクト部(13、23)とを含む。本実施形態においては、情報処理部(10、20)の各構成を所定のソフトウェアプログラムを実行することによって実現しているので、ソフトウェアプログラムを記憶するプログラム記憶部(図示せず)と当該ソフトウェアプログラムを実行するCPU(図示せず)とがハードウェア構成として設けられている。 The information processing unit (10, 20) includes an application unit (11, 21) and a middleware unit that functions as a network interface unit (12, 22). 12 and 22) and an object part (13, 23) provided as a lower layer of the middleware part. In the present embodiment, since each configuration of the information processing unit (10, 20) is realized by executing a predetermined software program, a program storage unit (not shown) for storing the software program and the software program A CPU (not shown) that executes the above is provided as a hardware configuration.
 尚、本実施形態のオブジェクト部(13、23)を備えたミドルウェア部(12、22)を、アプリケーション部(11、21)を有する端末装置(1、2)とは別体に外付けされる筐体内に設け、CPUおよびプログラム記憶部を備えたハードウェア、ソフトウェアモジュール、およびハードウェアおよびソフトウェアモジュールの組み合わせのいずれかによって実現してもよい。 In addition, the middleware part (12, 22) provided with the object part (13, 23) of this embodiment is externally attached separately from the terminal device (1, 2) having the application part (11, 21). You may implement | achieve either in the hardware provided with the housing | casing and provided with CPU and a program memory | storage part, a software module, and the combination of a hardware and a software module.
 アプリケーション部(11、21)は、データ送受信に使用する論理的通信路を論理ネットワーク4A(もしくは物理ネットワーク4上のサーバ3)に登録する要求をミドルウェア部(12、22)に送る機能、および登録した論理的通信路を使用したデータ送信の要求をミドルウェア部に送る機能を有する。 The application unit (11, 21) sends a request for registering a logical communication path used for data transmission / reception to the logical network 4A (or the server 3 on the physical network 4) to the middleware unit (12, 22), and registration. A function of sending a request for data transmission using the logical communication path to the middleware unit.
 ミドルウェア部(12、22)は、データ送受信に使用する論理的通信路の設定機能、物理ネットワーク4に対してデータを送信するデータ送信機能、論理的通信路からデータを受信する機能、およびデータ受信を一時的に拒否する設定を行うサブスクライブ選択機能を備えている。以下、各機能について詳細に説明する。 The middleware section (12, 22) has a function for setting a logical communication path used for data transmission / reception, a data transmission function for transmitting data to the physical network 4, a function for receiving data from the logical communication path, and data reception. It has a subscribe selection function for setting to temporarily reject. Hereinafter, each function will be described in detail.
 ミドルウェア部(12、22)の有する論理的通信路の設定機能には、データ送受信に使用する論理的通信路の情報(例えば、論理的通信路に付されたチャネルID)を追加登録したり、データ送受信にすでに使用している論理的通信路の情報を変更あるいは削除したりする機能が含まれる。具体的には、各端末装置(1、2)のミドルウェア部(12、22)は、追加した論理的通信路の情報を記憶保持するとともに、ネットワーク(意味的にはネットワーク4上の他の全ての端末装置)に対し、その端末装置自身の識別子と保持しているチャネルIDの組み合わせを(例えばマルチキャストで)通知する。尚、ネットワークに対して通知すると言っても、実際に他の全ての端末装置に通知することは現実的ではないので、通常は物理ネットワーク4上に設けたサーバ3に通知してテーブル化し、複数のサーバ同士でテーブルの情報を交換し合って、ネットワーク上で共有化することが好ましい。 In the setting function of the logical communication path of the middleware unit (12, 22), information on the logical communication path used for data transmission / reception (for example, the channel ID attached to the logical communication path) is additionally registered, A function for changing or deleting information of a logical communication path already used for data transmission / reception is included. Specifically, the middleware unit (12, 22) of each terminal device (1, 2) stores and holds information on the added logical communication path, and also stores all other networks on the network 4 (in a semantic sense, the network 4). Terminal device) is notified of the combination of the identifier of the terminal device itself and the channel ID held (for example, by multicast). Note that even if it is notified to the network, it is not practical to actually notify all the other terminal devices, so normally, the server 3 provided on the physical network 4 is notified and tabulated, It is preferable to share information on the network by exchanging table information between the servers.
 ミドルウェア部12の有するデータ送信機能には、データ送信側の端末装置1のアプリケーション部11からの要求に基づき、ネットワーク4に対して(既に登録済みの)所定の論理的通信路を介してデータ送信を実行する機能(手段)が含まれる。具体的には、ミドルウェア部のデータ送信は、送信側の端末装置1上のミドルウェア部12がアプリケーション部11からデータを受け取って、物理ネットワーク4上のサーバ3にデータ送信要求を通知するとともに、サーバ3上で管理している端末装置の識別子とチャネルIDの組み合わせを照合(探索)することにより、該当する論理的通信路(情報チャネル)を登録している全ての端末装置にマルチキャストによる通知を行って、通知された受信側の端末装置が送信側の端末装置に個別にデータを取りに来るようにして行われる。 The data transmission function of the middleware unit 12 is based on a request from the application unit 11 of the terminal device 1 on the data transmission side, and transmits data to the network 4 via a predetermined logical communication path (already registered). A function (means) for executing is included. Specifically, in the data transmission of the middleware unit, the middleware unit 12 on the terminal device 1 on the transmission side receives data from the application unit 11, notifies the server 3 on the physical network 4 of the data transmission request, and 3. By collating (searching) the combination of the terminal device identifier and channel ID managed in 3 above, it notifies all the terminal devices that have registered the corresponding logical communication channel (information channel) by multicast. Thus, the notification is performed such that the notified receiving terminal device individually obtains data from the transmitting terminal device.
 また、ミドルウェア部22の有するデータ受信機能には、受信側の端末装置2のアプリケーション部21が所定の論理的通信路からのデータ受信を行うことを登録している場合に、ネットワーク4上の他の端末装置が該当する論理的通信路に送信したデータを受信する機能(手段)を含む。具体的には、1つの端末装置1がデータ送信要求を行うと、ネットワーク4とミドルウェア部の機能により、該当する論理的通信路が登録されている全ての端末装置に通知され、ミドルウェア部22を介してアプリケーション部21が当該通知を受け取ることによりデータ受信が実行される。 In addition, the data reception function of the middleware unit 22 includes other functions on the network 4 when the application unit 21 of the terminal device 2 on the receiving side has registered to receive data from a predetermined logical communication path. The terminal device includes a function (means) for receiving data transmitted to the corresponding logical communication path. Specifically, when one terminal device 1 makes a data transmission request, the functions of the network 4 and the middleware unit notify all the terminal devices in which the corresponding logical communication path is registered, and the middleware unit 22 The data reception is executed when the application unit 21 receives the notification.
 データ受信側の端末装置2のミドルウェア部22が有するサブスクライブ選択機能には、上記した論理的通信路の設定機能によって登録された内容を変更することなく、一時的にデータ受信を拒否する機能を含む。例えば、防犯システムでは、昼間や在宅中などの所定の時間帯においてはデータの受信を拒否することができ、論理的通信路の設定を毎回変更する必要がないという長所がある。この場合、表示制御装置におけるボタン操作等でサブスクライブ機能を選択すればよい。 The subscribe selection function of the middleware unit 22 of the terminal device 2 on the data receiving side has a function of temporarily refusing data reception without changing the contents registered by the logical communication path setting function described above. Including. For example, the crime prevention system has an advantage that it is possible to refuse data reception in a predetermined time zone such as daytime or at home, and it is not necessary to change the setting of the logical communication path every time. In this case, the subscribe function may be selected by a button operation or the like in the display control device.
 オブジェクト部(13、23)は、本発明のネットワークシステムにオブジェクト指向の思想を導入するために設けられ、識別子(OIDやIID)が付されたオブジェクトを有している。ここに、オブジェクトとは、関数、変数、イベントの少なくとも1つから構成されたひとまとまりの機能単位としてソフトウェア的に端末装置上に実装したものを指す。通常1つの端末装置は最低1つのオブジェクトを有するが、複数のオブジェクトを組み合せて有してもよい。オブジェクトに付される識別子には、たとえば個別のオブジェクトを一意に区別する為のOID(オブジェクトID)や、オブジェクトの機能を区別する為のIID(インタフェースID)などがあるが、これらに限定するものではない。 The object section (13, 23) is provided for introducing an object-oriented concept into the network system of the present invention, and has an object with an identifier (OID or IID). Here, the object refers to an object implemented on a terminal device in software as a group of functional units configured from at least one of a function, a variable, and an event. Normally, one terminal device has at least one object, but may have a plurality of objects combined. Examples of identifiers attached to objects include OID (object ID) for uniquely distinguishing individual objects and IID (interface ID) for distinguishing the functions of objects. is not.
 以上まとめると、本明細書で説明する実施形態においては、論理的通信路の設定、論理的通信路によるデータ送受信、サブスクライブの機能は、ネットワークインタフェース部(12、22)の機能である。オブジェクト部(13、23)は関数・変数・イベントの機能によってそれらを実現する。論理的通信路の設定やそれを通じたデータ送受信を要求するのはアプリケーション部(11、21)である。また、論理的通信路を使用したデータ送信の概念(チャネルの概念)は、オブジェクト部やアプリケーション部にはなく、ネットワークインタフェース部によってはじめて提供されるものである。例えば、アプリケーション部からネットワークインタフェース部に対してデータ送受信が要求されると、ネットワークインタフェース部は、当該データ送信に使用するチャネルを識別するための情報をオブジェクト部の関数・変数・イベントに書き込んでネットワークに送信する。 In summary, in the embodiment described in this specification, the functions of the network interface unit (12, 22) are the logical communication path setting, the data transmission / reception via the logical communication path, and the subscribing function. The object part (13, 23) realizes them by functions of functions, variables, and events. The application unit (11, 21) requests logical channel setting and data transmission / reception through the logical channel. The concept of data transmission using a logical communication path (the concept of channel) is not provided in the object part or application part, but is provided only by the network interface part. For example, when data transmission / reception is requested from the application unit to the network interface unit, the network interface unit writes information for identifying a channel to be used for data transmission into the function / variable / event of the object unit. Send to.
 各端末装置の論理的通信路の設定時には、データ送信/受信時に使用する論理的通信路の情報とともに、OIDもしくはIID、あるいはOIDとIIDの組み合わせ情報がサーバ3に送られ、登録される。例えば、チャネルIDとOIDとの対応関係が記憶されている場合には、サーバ3がチャネルID「AAA」を受信した時、当該対応関係から「AAA」を探索し、「AAA」と対応付けられている1乃至複数のOIDを特定する。従って、1乃至複数の端末装置を特定してグループを形成し情報を送受することが可能となる。また、チャネルIDとOID、IIDの組み合わせとの対応関係が記憶されている場合には、サーバがチャネルID「AAA」を受信した時、当該対応関係から「AAA」を探索し、「AAA」と対応付けられている1乃至複数のOID及びIIDの組み合わせを特定し、当該OID及びIIDを有する端末装置をグループとして情報を送受することも可能である。さらに、チャネルIDとIIDとの対応関係が記憶されている場合には、サーバがチャネルID「AAA」を受信した時、当該対応関係から「AAA」を探索し、「AAA」と対応付けられているIIDを特定し、1つのチャネルIDに対して、同一機能(IID)をもつ複数の端末装置を対応づけることも可能である。 When setting the logical communication path of each terminal device, information on the logical communication path used at the time of data transmission / reception, OID or IID, or combination information of OID and IID is sent to the server 3 and registered. For example, when the correspondence between the channel ID and the OID is stored, when the server 3 receives the channel ID “AAA”, the server 3 searches for “AAA” from the correspondence and associates it with “AAA”. One or more OIDs are identified. Therefore, it is possible to identify one or a plurality of terminal devices, form a group, and transmit / receive information. If the correspondence between the channel ID and the combination of OID and IID is stored, when the server receives the channel ID “AAA”, the server searches for “AAA” from the correspondence, It is also possible to identify a combination of one or more OIDs and IIDs that are associated with each other, and to transmit / receive information by grouping terminal devices having the OIDs and IIDs. Further, when the correspondence between the channel ID and the IID is stored, when the server receives the channel ID “AAA”, the server searches for “AAA” from the correspondence and associates it with “AAA”. It is also possible to identify an IID and associate a plurality of terminal devices having the same function (IID) with one channel ID.
 このように、OIDやIIDとは別に、チャネルIDを使用する効果として、OIDやIIDのグループとは別に、よりフレキシブルなグループを設けることができ、その論理的通信路で形成されたグループ内の端末装置において、相手先のアドレス情報を意識しないで通信が行えることが挙げられる。また、本実施形態においては、通知を受けた受信側の端末装置が送信側の端末装置に個別にデータを取りに来るようにしているが、送信側がsend関数等を定義したオブジェクトを動作させることにより、論理的通信路の確立とともに、データを受信側へ直接送るようにしてもよい。 As described above, as an effect of using the channel ID separately from the OID or IID, a more flexible group can be provided separately from the OID or IID group, and within the group formed by the logical communication path. The terminal device can communicate without being aware of the address information of the other party. Further, in the present embodiment, the receiving terminal device that has received the notification individually retrieves data from the transmitting terminal device, but the transmitting side operates an object that defines a send function or the like. Thus, data may be sent directly to the receiving side along with establishment of a logical communication path.
 次に、ネットワーク4上に配置される本実施形態のサーバ3の構成について説明する。図4に示すように、サーバ3は、通信部30と、ネットワークに参加登録される論理的通信路を特定するための情報が記憶される記憶部31と、サービス処理部32Aおよびルーティング処理部32Bを含む照合部32とで主として構成される。 Next, the configuration of the server 3 of this embodiment arranged on the network 4 will be described. As shown in FIG. 4, the server 3 includes a communication unit 30, a storage unit 31 in which information for specifying a logical communication path registered to participate in the network is stored, a service processing unit 32A, and a routing processing unit 32B. It is mainly comprised by the collation part 32 containing.
 記憶部31には、端末装置(1、2)の各々が登録した論理的通信路を識別するための情報(例えば、チャネルID)と各端末装置が有するオブジェクトの識別子(例えば、OID)との対応関係が格納されるチャネル管理テーブル31Aと、各端末装置(1、2)が有するオブジェクトの識別子とルーティング情報(例えば、各端末装置のアドレス情報(IPアドレス等))とを対応付けたオブジェクト管理テーブル31Bとが格納されている。 The storage unit 31 includes information (for example, channel ID) for identifying a logical communication path registered by each of the terminal devices (1, 2) and an identifier (for example, OID) of an object included in each terminal device. Object management in which the channel management table 31A in which the correspondence relationship is stored, the identifier of the object included in each terminal device (1, 2), and routing information (for example, address information (such as IP address of each terminal device)) are associated with each other Table 31B is stored.
 例えば、図4に示すように、チャネル管理テーブル31Aでは、OIDとチャネルIDとサブスクライブ情報とがテーブル化される。図示例においては、OIDが<yyy>のオブジェクトを有する端末装置において、<AAA>というチャネルIDを有する論理的通信路と<BBB>というチャネルIDを有する論理的通信路とが登録され、チャネルID<AAA>の論理的通信路にはサブスクライブ設定がされている。また、OIDが<xxx>のオブジェクトを有する端末装置とOIDが<yyy>のオブジェクトを有する端末装置が同じチャネルID<AAA>の論理的通信路に参加していることになる。尚、この例では、第1端末装置1と第2端末装置2を分けずに1つのチャネル管理テーブルを兼用しているが、個別に設けても良い。 For example, as shown in FIG. 4, in the channel management table 31A, the OID, channel ID, and subscribe information are tabulated. In the illustrated example, in a terminal device having an object whose OID is <yyy>, a logical communication path having a channel ID of <AAA> and a logical communication path having a channel ID of <BBB> are registered, and the channel ID Subscribing is set for the logical communication path <AAA>. In addition, a terminal device having an object with an OID of <xxx> and a terminal device having an object with an OID of <yyy> are participating in the same channel ID <AAA> logical communication path. In this example, the first terminal device 1 and the second terminal device 2 are not divided but share one channel management table, but may be provided individually.
 一方、オブジェクト管理テーブル31Bには、OIDやIIDの情報、ルーティング情報、オブジェクトインタフェース情報がテーブル化されている。オブジェクトインタフェース情報としては、各端末装置が有する機能に関する情報(関数、変数、イベントなど)が登録される。具体的には、論理的通信路(チャネル)の設定機能、データ送信機能、データ受信機能、およびサブスクライブ選択機能などを実現する際に必要な関数、変数、イベントの組み合わせが定義される。 On the other hand, in the object management table 31B, OID and IID information, routing information, and object interface information are tabulated. As the object interface information, information (function, variable, event, etc.) related to the function of each terminal device is registered. Specifically, a combination of functions, variables, and events necessary for realizing a logical communication channel (channel) setting function, a data transmission function, a data reception function, a subscribe selection function, and the like is defined.
 尚、上記した4つの機能を別々のIIDで実現してもよいが、そのようにすると、IIDの数が増えてしまうため、4つの機能を一つのIIDを有するオブジェクトとして実現するとともに、そのオブジェクトの中に4つの機能を実現する関数や変数を複数定義することが好ましい。これにより、1つのIIDを指定してさらにそのオブジェクト内の複数の情報の1つを指定することが可能になる。 Note that the above four functions may be realized by separate IIDs. However, since this increases the number of IIDs, the four functions are realized as objects having one IID, and the object It is preferable to define a plurality of functions and variables that realize four functions. This makes it possible to specify one IID and further specify one of a plurality of pieces of information in the object.
 サービス処理部32Aは、論理的通信路の設定時に使用され、チャネルIDやオブジェクトの識別子の登録/削除処理のための第1処理部、登録されたチャネルIDやオブジェクトの識別子の探索/照合処理のための第2処理部、およびオブジェクトへのアクセス処理部等を有する。一方、ルーティング処理部32Bは、識別子情報(OID、IID)やルーティング情報の登録/削除処理のための第1処理部、登録された識別子情報やルーティング情報の探索/照合処理のための第2処理部、およびオブジェクトへのルーティング処理の実行部等を有する。 The service processing unit 32A is used when setting a logical communication path, and is a first processing unit for registering / deleting a channel ID and an object identifier, and a search / collation process for a registered channel ID and an object identifier. A second processing unit, an object access processing unit, and the like. On the other hand, the routing processing unit 32B includes a first processing unit for registering / deleting identifier information (OID, IID) and routing information, and a second process for searching / verifying registered identifier information and routing information. And an execution unit for routing processing to objects.
 上記した本実施形態のネットワークシステムにおいて、ネットワーク4の論理的通信路の設定からデータ送信、データ受信までの一連の動作を、図5を参照しながら、具体的に説明する。 In the network system of the present embodiment described above, a series of operations from setting the logical communication path of the network 4 to data transmission and data reception will be specifically described with reference to FIG.
 各端末装置がデータ通信に使用する論理的通信路の初期設定動作として、端末装置(A、B)のアプリケーション部(11、21)からデータ送受信に使用する論理的通信路の情報がミドルウェア部(12、22)に送られる。次いで、ミドルウェア部(12、22)では論理的通信路を設定する機能を用いてチャネルIDをオブジェクトの変数に書きこむ。チャネルIDがオブジェクトの変数に設定されると、サーバ3の処理として、各端末装置の有するオブジェクトの識別子と各端末装置が使用する論理的通信路の情報が収集され、これらの対応関係を管理するためのチャネル管理テーブル31Aが作成される。 As an initial setting operation of a logical communication path used by each terminal device for data communication, information on the logical communication path used for data transmission / reception from the application unit (11, 21) of the terminal device (A, B) is a middleware unit ( 12, 22). Next, in the middleware section (12, 22), the channel ID is written in the variable of the object using the function of setting the logical communication path. When the channel ID is set in the object variable, as the processing of the server 3, the identifier of the object possessed by each terminal device and the information on the logical communication path used by each terminal device are collected and their correspondence is managed. A channel management table 31A is created for this purpose.
 尚、端末装置がサブスクライブする場合は、たとえば、IIDにより定義されるオブジェクトインタフェースにおいて、サブスクライブフラグを変数として用意しておき、これをセットすればよい。サーバ3のサービス処理部32Aは、サブスクライブフラグの値を調べてチャネル管理テーブル31Aに追加保存する(サブスクライブフラグ変数にサブスクライブすることにより通知を受けてもよい)。ネットワーク4においてデータ送受信に使用可能な論理的通信路の登録が完了すると、サーバから各端末装置に登録通知が送られる。 When the terminal device subscribes, for example, in the object interface defined by the IID, a subscribe flag may be prepared as a variable and set. The service processing unit 32A of the server 3 checks the value of the subscribe flag and additionally stores it in the channel management table 31A (you may receive notification by subscribing to the subscribe flag variable). When registration of a logical communication path that can be used for data transmission / reception in the network 4 is completed, a registration notification is sent from the server to each terminal device.
 一例として、図4にあるように、端末装置が持つオブジェクトと、そのオブジェクト(同義的にはその端末装置)が参加するチャネルと、サブスクライブの有無を1つのレコードとして管理することができる。この例では、オブジェクト”xxx”と”yyy”が共通のチャネル”AAA”に参加している。尚、送信用と受信用のチャネルを区別していないが、区別することも可能である。その場合は、同様の形態で別テーブルにするか、1つのテーブルでさらに送信/受信の区別をレコードとして登録すればよい。また、1つの端末装置が1つのオブジェクトを持つ場合は、オブジェクトのルーティングと端末装置のルーティングは同じになるが、1つの端末装置が複数のオブジェクトを持ったり、1つのオブジェクトを複数の端末装置に分散させたりすることも可能である。 As an example, as shown in FIG. 4, an object held by a terminal device, a channel in which the object (synonymously the terminal device) participates, and the presence / absence of a subscription can be managed as one record. In this example, the objects “xxx” and “yyy” participate in the common channel “AAA”. Although the transmission and reception channels are not distinguished, they can be distinguished. In that case, a separate table may be used in the same manner, or transmission / reception distinction may be registered as a record in one table. In addition, when one terminal device has one object, the routing of the object is the same as the routing of the terminal device, but one terminal device has a plurality of objects or one object to a plurality of terminal devices. It is also possible to disperse.
 サーバ3では、オブジェクトの識別子情報と、データが送信される端末装置のルーティング情報(例えば、受信側の端末装置2のアドレス情報)との対応関係をテーブル化したオブジェクト管理テーブル31Bがサーバ3のルーティング処理部32Bによって作成される。すなわち、端末起動時(もしくはネットワーク接続時)に端末装置が有するオブジェクトがサーバに接続して自分のOIDやIID及びルーティングのための情報(IPアドレスなど)をオブジェクト管理テーブルに登録することで作成される。尚、受信側の端末装置2のアドレス情報とは、端末装置がサーバに直接接続されている場合はIPアドレス等になるが、端末装置がサーバに1乃至複数の別のサーバを介して接続されている場合は、端末装置の直接のアドレスではなく、直接接続されている隣のサーバのコネクション情報も含まれる。何れにしても、サーバ3に提供される論理的通信路の情報に対応するオブジェクトの識別子に基づいてルーティングが行われる。 In the server 3, the object management table 31 </ b> B that tabulates the correspondence between the object identifier information and the routing information of the terminal device to which data is transmitted (for example, the address information of the terminal device 2 on the receiving side) is the routing of the server 3. It is created by the processing unit 32B. In other words, when the terminal is activated (or when connected to the network), the object held by the terminal device connects to the server and registers its own OID, IID, and routing information (IP address, etc.) in the object management table. The The address information of the terminal device 2 on the receiving side is an IP address or the like when the terminal device is directly connected to the server, but the terminal device is connected to the server via one or more other servers. In this case, not the direct address of the terminal device but the connection information of the directly connected server is also included. In any case, routing is performed based on the identifier of the object corresponding to the logical communication path information provided to the server 3.
 上記のように、ネットワークへの論理的通信路の初期設定が完了した後、例えば、端末装置Aのアプリケーション部11がデータの送信要求をミドルウェア部12に出すと、ミドルウェア部12はデータ送信を行う機能を用いて送信データをオブジェクト部13の送信バッファ変数に書きこむ。送信データが送信データバッファ変数に書き込まれるとサーバ3に通知され、サーバ3上のサービス処理部32Aの機能として、送信したオブジェクトと同じチャネルに属する他の端末装置のオブジェクトがチャネル管理テーブル内から探索/照合される。このようにして送信側と同じ論理的通信路に参加している他の端末のオブジェクト識別子が特定されると、次にルーティング処理部32Bがオブジェクト管理テーブル31Bを参照して、同じ論理的通信路に参加している他の端末のルーティング情報が探索、照合される。特定されたルーティング情報にしたがってデータ送信が例えばマルチキャストでイベント通知される。 As described above, after the initial setting of the logical communication path to the network is completed, for example, when the application unit 11 of the terminal device A issues a data transmission request to the middleware unit 12, the middleware unit 12 performs data transmission. The transmission data is written into the transmission buffer variable of the object unit 13 using the function. When the transmission data is written to the transmission data buffer variable, the server 3 is notified, and as a function of the service processing unit 32A on the server 3, an object of another terminal device belonging to the same channel as the transmitted object is searched from the channel management table. / Matched. When the object identifiers of other terminals participating in the same logical communication path as the transmitting side are specified in this way, the routing processing unit 32B next refers to the object management table 31B and the same logical communication path The routing information of other terminals participating in the network is searched and verified. Data transmission is notified of an event by multicast, for example, according to the specified routing information.
 換言すると、ミドルウェア部12がオブジェクトの送信バッファにデータを書き込むことでデータ書込通知がサーバ3に送られると、サーバ3ではサービス処理部32Aがチャネル管理テーブル31Aを参照し、さらにルーティング処理部32Bがオブジェクト管理テーブル31Bを参照して、同じ論理的通信路(チャネルID)に参加している他の端末装置にデータ送信要求通知を例えばマルチキャストする。 In other words, when the middleware unit 12 writes data to the object transmission buffer and a data write notification is sent to the server 3, the service processing unit 32A refers to the channel management table 31A in the server 3, and further the routing processing unit 32B. Refers to the object management table 31B, for example, multicasts a data transmission request notification to other terminal devices participating in the same logical communication channel (channel ID).
 同じ論理的通信路が設定された受信側の端末装置Bでは、マルチキャストにより送信されたデータ送信要求通知が、オブジェクト部23からミドルウェア部22へ送られ、さらにミドルウェア部22からアプリケーション部21へ送られる。要するに、データ送信要求通知が、オブジェクト部23、ミドルウェア部22を介してアプリケーション部21に届けられる。 In the receiving-side terminal device B in which the same logical communication path is set, a data transmission request notification transmitted by multicast is sent from the object unit 23 to the middleware unit 22, and further sent from the middleware unit 22 to the application unit 21. . In short, a data transmission request notification is delivered to the application unit 21 via the object unit 23 and the middleware unit 22.
 データ送信要求通知を受けた受信側の端末装置Bは、登録したチャネルからのデータ受信をミドルウェア部22に要求し、ミドルウェア部は送信元の端末装置Aのオブジェクトに対してデータ受信をネットワーク4に対して要請し、端末装置Aの送信バッファからのデータの読み込みを行う。要するに、受信側の端末装置Bのアプリケーション部21がデータ送信要求を受け取った後に、データ送信元の端末装置Aの送信バッファにデータを取りに行くことによって端末装置Aから端末装置Bへのデータ送信が完了する。 Upon receiving the data transmission request notification, the receiving terminal device B requests the middleware unit 22 to receive data from the registered channel, and the middleware unit receives data from the transmission source terminal device A to the network 4. The data is read from the transmission buffer of the terminal device A. In short, after the application unit 21 of the terminal device B on the receiving side receives the data transmission request, data is transmitted from the terminal device A to the terminal device B by going to the transmission buffer of the terminal device A that is the data transmission source. Is completed.
 このように、本実施形態のネットワークシステムにおいては、送信側の端末装置Aと受信側の端末装置(B、C、D)の各々が、データ通信する相手先の端末装置の情報を知る必要がない。換言すれば、送信側の端末装置(第1端末装置1)がデータ送信に使用する論理的通信路の情報、あるいは受信側の端末装置(第2端末装置2)がデータ受信に使用する論理的通信路の情報さえ決定すれば、同じ論理的通信路を登録している端末装置(1、2)同士の間でデータ通信を実行することができる。 As described above, in the network system according to the present embodiment, it is necessary that each of the terminal device A on the transmission side and the terminal devices (B, C, D) on the reception side know the information of the partner terminal device with which data communication is performed. Absent. In other words, information on the logical communication path used for data transmission by the terminal device on the transmitting side (first terminal device 1), or logical information used by the receiving terminal device (second terminal device 2) for data reception. If only the communication path information is determined, data communication can be executed between the terminal devices (1, 2) that have registered the same logical communication path.
 また、本実施形態では、サーバで論理的通信路の情報に対応付けたオブジェクトの識別子(OIDやIID)を用いてルーティングしているので、サーバ3での照合によって同じ論理的通信路の使用が登録されている端末装置にのみデータが転送される。従って、ネットワーク上のすべての端末装置にデータ送信をブロードキャストする場合に比べ、より円滑で効率的なデータ通信を提供することができる。 In this embodiment, since the routing is performed using the identifier (OID or IID) of the object associated with the logical communication path information in the server, the same logical communication path can be used by the verification in the server 3. Data is transferred only to registered terminal devices. Therefore, it is possible to provide smoother and more efficient data communication than when broadcasting data transmission to all terminal devices on the network.
 次に、本発明のネットワークシステムを防犯システムに応用した場合について具体的に説明する。この防犯システムは、図6に示すように、防犯警報受信装置によって構成されるデータ受信側の端末装置2(第2端末装置)、動体センサや熱感知センサのような防犯センサによって構成されるデータ送信側の端末装置1(第1端末装置)、およびサーバ3がネットワーク4に接続されている。図では、説明を容易にするために1個の防犯センサのみが描かれているが、複数の防犯センサをネットワークに接続し、これらのセンサを防犯警報受信装置で集中的に管理する形態がより現実的である。また、防犯センサの他に、煙センサのような火災検知器や、振動センサのような地震検知器などをネットワークに接続して、データ受信側の端末装置2を防災/防犯警報受信装置として機能させることも好ましい。 Next, the case where the network system of the present invention is applied to a crime prevention system will be specifically described. As shown in FIG. 6, the security system includes a data receiving terminal device 2 (second terminal device) configured by a security alarm receiving device, data configured by a security sensor such as a moving body sensor and a thermal sensor. A transmitting terminal device 1 (first terminal device) and a server 3 are connected to a network 4. In the figure, only one security sensor is drawn for ease of explanation, but a form in which a plurality of security sensors are connected to a network and these sensors are centrally managed by a security alarm receiver is more effective. Realistic. In addition to security sensors, fire detectors such as smoke sensors and earthquake detectors such as vibration sensors are connected to the network, and the terminal device 2 on the data reception side functions as a disaster prevention / security alarm receiver. It is also preferable that
 この防犯システムにおいては、防犯センサの起動時に防犯センサのオブジェクト部13がサーバ3へアクセスし、OID、IIDとそのルーティング情報(IPアドレス等)をサーバ3上のオブジェクト管理テーブル31Bに登録する。また、サーバ3上のサービスプログラムが各オブジェクトの変数(チャネルID、送信データ、受信データ)にサブスクライブを行って、変数の値が変更されるイベントが発生すると通知が行われるように準備する。尚、データ送受信用のオブジェクトは汎用的にデータの送受信を単純に行うオブジェクトであり、データ送信側の端末装置1に固有の防犯センサ機能、すなわち動体検知機能や熱感知機能は、防犯センサのアプリケーション部11が処理を担う。同様に、防犯警報受信装置においても、データ受信側の端末装置2(防犯警報受信装置)に固有の機能、すなわち防犯センサの状態を表示する機能は防犯警報受信装置のアプリケーション部23が処理を担う。尚、追加の防犯センサをネットワーク4に新規参加させる場合にも、上記と同様の動作により、追加した防犯センサのOID、IIDとそのルーティング情報(IPアドレス等)がサーバ3上のオブジェクト管理テーブル31Bに登録される。 In this security system, when the security sensor is activated, the security sensor object unit 13 accesses the server 3, and registers the OID, IID and routing information (IP address, etc.) in the object management table 31B on the server 3. In addition, the service program on the server 3 subscribes to the variables (channel ID, transmission data, reception data) of each object, and prepares to be notified when an event in which the value of the variable is changed occurs. The object for data transmission / reception is an object that simply performs data transmission / reception for general purposes. The security sensor function unique to the terminal device 1 on the data transmission side, that is, the moving object detection function and the heat detection function are the applications of the security sensor. Unit 11 is responsible for processing. Similarly, also in the security alarm receiving device, the application unit 23 of the security alarm receiving device is responsible for the function unique to the terminal device 2 (security alarm receiving device) on the data receiving side, that is, the function of displaying the status of the security sensor. . Even when an additional security sensor is newly added to the network 4, the OID and IID of the added security sensor and its routing information (IP address, etc.) are added to the object management table 31B on the server 3 by the same operation as described above. Registered in
 次に、防犯センサと防犯警報受信装置との間で互いに通信できるようにするためには、防犯センサと防犯警報受信装置を同一のチャネルに参加させるため動作が行われる。すなわち、図7に示すように、防犯センサおよび防犯警報装置の各々のアプリケーション部(11、21)がネットワークインタフェース部(12、22)に対して、チャネルID(例えば、「防犯システム」)を設定する。次いで、ネットワークインタフェース部(12、22)は、オブジェクト部(13、23)のチャネルID変数にチャネルID「防犯システム」をセットし、オブジェクトのサブスクライブ機能によってサーバ3上のサービスプログラムに通知する。サーバ上のサービスプログラムは、通知されたチャネルIDとOID、IIDの対応関係をチャネル管理テーブル31Aに登録する。このようにして、ネットワークに接続されている各端末装置(本例では、防犯センサと防犯警報受信装置)のチャネルIDとOID、IIDの情報がチャネル管理テーブル31Aに登録されると、同じチャネルIDに属する端末装置のオブジェクトを照合できるので、互いに通信可能となる。 Next, in order to be able to communicate with each other between the security sensor and the security alarm receiving device, an operation is performed so that the security sensor and the security alarm receiving device participate in the same channel. That is, as shown in FIG. 7, each application unit (11, 21) of the security sensor and the security alarm device sets a channel ID (eg, “security system”) for the network interface unit (12, 22). To do. Next, the network interface unit (12, 22) sets the channel ID “security system” in the channel ID variable of the object unit (13, 23), and notifies the service program on the server 3 by the object subscription function. The service program on the server registers the correspondence between the notified channel ID, OID, and IID in the channel management table 31A. In this way, when the channel ID, OID, and IID information of each terminal device (in this example, the security sensor and the security alarm receiving device) connected to the network are registered in the channel management table 31A, the same channel ID Since the objects of the terminal devices belonging to can be collated, they can communicate with each other.
 上記のように、OID、IIDとそのルーティング情報(IPアドレス等)のオブジェクト管理テーブル31Bへの登録と、チャネルIDとOID、IIDの対応関係のチャネル管理テーブル31Aへの登録が完了した後、実際の使用条件下で防犯システムが動作可能となる。すなわち、図8に示すように、防犯センサ1のアプリケーション部11の防犯センサ機能が侵入者の存在を検知すると、ネットワークインタフェース部12の機能によりセンサ状態値をネットワーク4に送信する。実際には、センサ状態値がネットワークインタフェース部12の送信データ変数に書き込まれ、オブジェクト部13からネットワークを介してサーバ3上のサービスプログラムに通知される。サーバ3上のサービスプログラムは、チャネル管理テーブル31Aを参照して、送信側オブジェクトと同じチャネルに属する他の端末装置を照合する。この場合は、防犯警報受信端末2のオブジェクトが防犯センサと同じチャネルを登録しているから、防犯警報受信端末2のオブジェクト部23の受信データ変数にセンサ状態値が書き込まれる。この時、データ送受信は、オブジェクト管理テーブル31Bに登録されたルーティング情報を用いて行われる。受信側のオブジェクト部23の受信データ変数にセンサ状態値が書き込まれると、ネットワークインタフェース部22が受信データを読み取るとともに、サブスクライブされている場合はアプリケーション部21に通知し、アプリケーション部21が防犯警報受信装置2に固有の機能として、センサの状態の表示を行う。このようにして、防犯警報受信装置に表示された内容から、使用者は侵入者の存在のような異常の発生を知ることができる。
(第2実施形態)
 本実施形態のネットワークシステムは、ミドルウェア部(12、22)において、論理的通信路の情報に予め識別子が対応付けられ、ネットワークに対しては、論理的通信路の情報の代わりに、対応付けた識別子情報が論理的通信路を識別するための情報として提供される点に特徴がある。要するに、各端末装置(1、2)上にオブジェクトがあって、各端末装置が使用する論理的通信路の情報(例えば、チャネルID)と識別子情報(例えば、IID)を予め対応付けておき、サーバの識別子(IID)管理及びルーティング機能によって、ネットワーク上においては論理的通信路自体の情報(チャネルID)を使用することなく、通信路を共有する端末装置との間でデータ通信を実現するものである。その他の構成は第1実施形態のネットワークシステムと実質的に同じ構成であるので、重複する説明を省略する。
As described above, after the registration of the OID, IID and routing information (IP address, etc.) in the object management table 31B and the registration of the correspondence relationship between the channel ID, OID, and IID in the channel management table 31A are completed The security system can be operated under the use conditions. That is, as shown in FIG. 8, when the security sensor function of the application unit 11 of the security sensor 1 detects the presence of an intruder, the network interface unit 12 transmits a sensor state value to the network 4. Actually, the sensor state value is written in the transmission data variable of the network interface unit 12, and is notified from the object unit 13 to the service program on the server 3 via the network. The service program on the server 3 refers to the channel management table 31A and collates with other terminal devices belonging to the same channel as the transmission side object. In this case, since the object of the security alarm receiving terminal 2 registers the same channel as the security sensor, the sensor state value is written in the reception data variable of the object part 23 of the security alarm receiving terminal 2. At this time, data transmission / reception is performed using the routing information registered in the object management table 31B. When the sensor state value is written in the reception data variable of the object unit 23 on the reception side, the network interface unit 22 reads the reception data and notifies the application unit 21 when subscribed, and the application unit 21 provides a security alarm. As a function unique to the receiving device 2, the state of the sensor is displayed. In this way, the user can know the occurrence of an abnormality such as the presence of an intruder from the contents displayed on the crime prevention alarm receiving apparatus.
(Second Embodiment)
In the network system of the present embodiment, in the middleware unit (12, 22), an identifier is associated with the information on the logical communication path in advance, and the network is associated with the information instead of the information on the logical communication path. It is characterized in that the identifier information is provided as information for identifying a logical communication path. In short, there is an object on each terminal device (1, 2), and the logical communication path information (for example, channel ID) used by each terminal device is associated with identifier information (for example, IID) in advance. Server identifier (IID) management and routing function realizes data communication with terminal devices sharing the communication path without using information (channel ID) of the logical communication path itself on the network It is. Other configurations are substantially the same as those of the network system according to the first embodiment, and thus redundant description is omitted.
 図9に示すように、本実施形態に使用される端末装置(1、2)は、ミドルウェア部(12、22)に論理的通信路のチャネルIDと識別子(IID)の対応表(16、26)が格納されている。例えば、”AAA”というチャネルIDに対して、”xxx”というIIDを対応付けたり、”BBB”というチャネルIDに対して、”yyy”というIIDを対応付けたりすることができる。要するに、各端末装置(1、2)上のオブジェクトは予め自分が参加する論理的通信路を知っており、その論理的通信路に対応する固有のIIDを有している。尚、端末装置(1、2)に論理的通信路の情報と識別子情報の対応関係をあらかじめ設定可能な記憶部を設けても良いし、端末装置(1、2)内に論理的通信路の情報にあらかじめ対応付けられた識別子が固定的に格納されてもよい。この場合の対応付けは、通常、端末装置の製造時や施工時に設定される。 As shown in FIG. 9, the terminal device (1, 2) used in the present embodiment has a correspondence table (16, 26) of the channel ID and identifier (IID) of the logical communication path in the middleware part (12, 22). ) Is stored. For example, the channel ID “AAA” can be associated with the IID “xxx”, and the channel ID “BBB” can be associated with the IID “yyy”. In short, the object on each terminal device (1, 2) knows in advance the logical communication path in which it participates, and has a unique IID corresponding to the logical communication path. The terminal device (1, 2) may be provided with a storage unit that can set the correspondence between the logical communication path information and the identifier information in advance, or the logical communication path in the terminal device (1, 2). An identifier associated with information in advance may be fixedly stored. The association in this case is usually set at the time of manufacturing or construction of the terminal device.
 これにより、ミドルウェア部(12、22)は、論理的通信路の情報の代わりに、それに対応付けた識別子の情報をオブジェクト部(13、23)に提供し、ネットワーク4に対しては、識別子の情報を用いたデータ送信が実行される。したがって、本実施形態のサーバ3では、論理的通信路の情報(チャネルID)を予めサーバに登録したり、チャネル管理テーブル31Aを作成したりする必要がないので、図10に示すように、サーバ3は、通信部30と、識別子の情報(OID、IID)とルーティング情報の対応関係、オブジェクトインタフェースの定義情報が格納されるオブジェクト管理テーブル31Bを有する記憶部31と、ルーティング処理部32Bを有する照合部32とで主として構成される。 Thereby, the middleware part (12, 22) provides the identifier information associated with the object part (13, 23) instead of the logical communication path information to the object part (13, 23). Data transmission using information is executed. Therefore, in the server 3 of the present embodiment, it is not necessary to register logical channel information (channel ID) in the server in advance or to create the channel management table 31A. 3, a communication unit 30, a correspondence between identifier information (OID, IID) and routing information, a storage unit 31 having an object management table 31B in which object interface definition information is stored, and a collation having a routing processing unit 32B The unit 32 is mainly configured.
 また、本実施形態でもサーバ3が有する照合部32で照合を行うが、識別子情報に基づく照合とオブジェクトのルーティングが同時に行われる。また、同じグループを構成する端末装置を決定するためのOIDやIIDは、受信側の端末装置の有するオブジェクトのサービス機能(OIDやIID)と同じになるので別管理はできない。即ち、同じグループを構成する端末装置の決定と、実際に端末装置に実行させたい機能とは一致させる必要がある。 In this embodiment, the collation unit 32 of the server 3 also performs collation. Collation based on the identifier information and object routing are performed at the same time. Further, since the OID and IID for determining the terminal devices constituting the same group are the same as the service functions (OID and IID) of the objects of the receiving terminal device, they cannot be managed separately. That is, it is necessary to match the determination of the terminal devices that constitute the same group with the function that the terminal device actually wants to execute.
 上記した本実施形態のネットワークシステムにおいて、ネットワーク4の論理的通信路の設定からデータ送信、データ受信までの一連の動作を、図11を参照しながら、具体的に説明する。 In the network system of the present embodiment described above, a series of operations from setting the logical communication path of the network 4 to data transmission and data reception will be specifically described with reference to FIG.
 まず、端末装置(A、B)のアプリケーション部(11、21)からデータ送受信に使用する論理的通信路の情報(例えば、チャネルID)がミドルウェア部(12、22)に送られる。ミドルウェア部(12、22)は、その論理的通信路の情報に予め対応付けられた識別子の情報をオブジェクト部(13、23)に送る。オブジェクト部(13、23)は、当該識別子の情報を変数として書き込み、ネットワーク4上のサーバ3の記憶部31に送信する。このように、通信に使用する論理的通信路の情報を決めれば、直ちに対応するIID等の識別子に変換されるので、実際に各端末装置(1、2)からサーバ3(あるいは、ネットワーク4)に対して送る情報は、論理的通信路の情報ではなく、IIDなどの識別子情報である。 First, information (for example, channel ID) of a logical communication path used for data transmission / reception is sent from the application unit (11, 21) of the terminal device (A, B) to the middleware unit (12, 22). The middleware part (12, 22) sends the identifier information previously associated with the logical communication path information to the object part (13, 23). The object part (13, 23) writes the information of the identifier as a variable and transmits it to the storage part 31 of the server 3 on the network 4. In this way, if information on the logical communication path used for communication is determined, it is immediately converted into an identifier such as a corresponding IID, so that the actual terminal device (1, 2) to the server 3 (or network 4). Information to be sent to is not logical communication path information but identifier information such as IID.
 一方、サーバ3では識別子情報(IID)を管理しているので、第1実施形態のようにサーバ3のサービス処理部32Aが、チャネルIDを調べてチャネル管理テーブル31A(論理的通信路のチャネルID―オブジェクトの識別子情報の間の対応関係)を作成する必要がなく、送信内容の中身をみなくても論理的通信路の情報に対応付けた識別子情報を容易に知ることができる。つまり、ネットワークに対して送られる情報が、論理的通信路の情報(チャネルID)ではなく、それに対応付けられた識別子情報であるから、サーバ3ではこの識別子情報に基づいてオブジェクト管理テーブル31Bを参照することによりダイレクトに対応関係にある受信側の端末装置2のアドレス情報を特定してルーティングすることができる。 On the other hand, since the server 3 manages the identifier information (IID), the service processing unit 32A of the server 3 checks the channel ID as in the first embodiment, and checks the channel management table 31A (the channel ID of the logical communication path). -Correspondence between identifier information of objects) does not need to be created, and the identifier information associated with the logical communication path information can be easily known without looking at the contents of the transmission contents. That is, since the information sent to the network is not the logical communication path information (channel ID) but the identifier information associated with it, the server 3 refers to the object management table 31B based on this identifier information. By doing so, it is possible to identify and route the address information of the terminal device 2 on the receiving side that is in direct correspondence.
また、端末装置がサブスクライブする場合は、たとえば、論理的通信路に固有のIIDのインタフェースとしてデータ送信用変数を定義しておき、その変数に対してサブスクライブすればよい。また、端末装置が論理的通信路にサブスクライブする機能を実現する場合は、たとえば、受信側の端末装置のミドルウェア部の中にサブスクライブフラグ変数を定義しておき、受信端末のミドルウェア部がオブジェクト部を介してデータ受信通知を受け取った場合に、サブスクライブフラグを参照することにより、アプリケーションに通知をおこなうかどうかの制御を行ってもよい。ただし、この場合はサーバ上でサブスクライブを管理しているわけではないので、送信側の端末装置から受信側の端末装置へのデータ送信通知そのものは必ず実行されることになる。 When the terminal device subscribes, for example, a data transmission variable may be defined as an IID interface unique to the logical communication path, and the variable may be subscribed to. When the terminal device realizes a function of subscribing to the logical communication path, for example, a subscribe flag variable is defined in the middleware part of the terminal device on the receiving side, and the middleware part of the receiving terminal is an object. When a data reception notification is received via the unit, it may be controlled whether to notify the application by referring to the subscribe flag. However, in this case, since the subscription is not managed on the server, the data transmission notification itself from the transmission-side terminal device to the reception-side terminal device is always executed.
 上記のように、ネットワークへの識別子情報の初期設定が完了した後、例えば、端末装置Aのアプリケーション部11が、論理的通信路のチャネルIDを用いてデータの送信要求をミドルウェア部12に送る。ミドルウェア部12は、論理的通信路のチャネルIDに対応する識別子情報(IID)を調べ、オブジェクト部13に対して送信バッファへのデータ書き込みを要請する。同じ識別子情報を有するオブジェクトへのデータ書込通知がオブジェクト部13からネットワーク4(サーバ3)に対して送信されると、サーバ3ではルーティング処理部32Bがオブジェクト管理テーブル31Bを参照して、同じ識別子情報を持つオブジェクト(=同じ論理的通信路をデータ受信のために登録した端末装置)にデータ書込通知をマルチキャストにより通知する。 As described above, after the initial setting of the identifier information to the network is completed, for example, the application unit 11 of the terminal device A sends a data transmission request to the middleware unit 12 using the channel ID of the logical communication path. The middleware unit 12 checks identifier information (IID) corresponding to the channel ID of the logical communication path, and requests the object unit 13 to write data to the transmission buffer. When a data write notification to an object having the same identifier information is transmitted from the object unit 13 to the network 4 (server 3), the routing processing unit 32B refers to the object management table 31B in the server 3, and the same identifier A data write notification is notified by multicast to an object having information (= a terminal device that has registered the same logical communication path for data reception).
 同じ論理的通信路が設定された受信側の端末装置Bでは、マルチキャストにより送信されたデータ書込通知が、オブジェクト部23を介してミドルウェア部22によって受信され、ミドルウェア部22は受信通知をアプリケーション部21に届ける。データ書込通知を受けた端末装置Bは、登録した論理的通信路(チャネルID)からのデータ読出をミドルウェア部22に要求し、ミドルウェア部22はオブジェクト部23を介して送信元の端末装置Aのオブジェクトに対してデータ読出を要請し、端末装置Aの送信バッファからのデータの読込みが行われる。要するに、受信側の端末装置Bのアプリケーション部21がデータ書込通知を受け取った後に、データを送信元の端末装置Aの送信バッファに取りに行くことによって端末装置Aから端末装置Bへのデータ送信が完了する。 In the terminal device B on the receiving side in which the same logical communication path is set, the data write notification transmitted by multicast is received by the middleware unit 22 via the object unit 23, and the middleware unit 22 sends the reception notification to the application unit. Deliver to 21. Upon receiving the data write notification, the terminal device B requests the middleware unit 22 to read data from the registered logical communication channel (channel ID), and the middleware unit 22 transmits the terminal device A that is the transmission source via the object unit 23. Is requested to read data from the object, and data is read from the transmission buffer of the terminal device A. In short, after the application unit 21 of the terminal device B on the receiving side receives the data write notification, data is transmitted from the terminal device A to the terminal device B by going to the transmission buffer of the terminal device A that is the transmission source. Is completed.
 このように、本実施形態のネットワークシステムにおいては、送信側の端末装置Aと受信側の端末装置Bが、データ通信する相手先の端末装置の情報を知る必要がない。換言すれば、送信側の端末装置1(第1端末装置)がデータ送信に使用する論理的通信路に予め対応付けた識別子の情報、あるいは受信側の端末装置2(第2端末装置)がデータ受信に使用する論理的通信路に予め対応付けた識別子の情報さえ決定すれば、同じ論理的通信路を登録している端末装置(1、2)同士の間でデータ通信を実行することができる。 As described above, in the network system according to the present embodiment, the terminal device A on the transmission side and the terminal device B on the reception side do not need to know information on the terminal device of the other party with which data communication is performed. In other words, identifier information previously associated with the logical communication path used by the transmitting terminal device 1 (first terminal device) for data transmission, or the receiving terminal device 2 (second terminal device) receives data. Data communication can be executed between the terminal devices (1, 2) that have registered the same logical communication path as long as the identifier information previously associated with the logical communication path used for reception is determined. .
 また、論理的通信路の情報(チャネル名)と識別子情報(IID)に予め固有の対応付けをしておき、サーバの識別子情報の管理及びルーティング機能によって同一の論理的通信路を登録した端末装置同士の通信を実現するから、チャネル管理テーブルのためのサービスプログラムを必要とせず、サーバ構成が単純となり、負荷も小さくて済むという効果がある。
(第3実施形態)
 本実施形態のネットワークシステムは、図12に示すように、各端末装置(1、2)に記憶部(17、27)および照合部(18、28)を設け、送信側の端末装置Aからネットワーク4上のすべての端末装置(B、C、D)にデータ送信を行い、同じ論理的通信路をデータ受信のために設定しているかどうかを各端末装置の照合部(18、28)において照合する点に特徴がある。その他の構成は、第1実施形態のネットワークシステムと実質的に同じ構成であるので、重複する説明を省略する。
In addition, a terminal device in which the logical communication path information (channel name) and identifier information (IID) are associated with each other in advance and the same logical communication path is registered by the server identifier information management and routing function. Since communication between each other is realized, there is an effect that a service program for the channel management table is not required, the server configuration is simplified, and the load can be reduced.
(Third embodiment)
As shown in FIG. 12, the network system of the present embodiment is provided with a storage unit (17, 27) and a collation unit (18, 28) in each terminal device (1, 2). The data is transmitted to all the terminal devices (B, C, D) on 4 and the collation unit (18, 28) of each terminal device verifies whether the same logical communication path is set for data reception. There is a feature in the point to do. Other configurations are substantially the same as those of the network system according to the first embodiment, and thus redundant description is omitted.
 すなわち、図13に示すように、本実施形態に使用される端末装置(1、2)のミドルウェア部(12、22)には、データ通信に使用する論理的通信路の情報(チャネルID)を保存するチャネルID記憶部(17、27)と、データ送信に使用するチャネルIDをチャネルID記憶部に保存された論理的通信路の情報と照合して送信されてきたデータを受信するかどうかを判定するチャネルID照合部(18、28)とが設けられている。また、ミドルウェア部(12、22)から提供される論理的通信路の情報(チャネルID)は、オブジェクト部(13、23)において送信データや受信データ内に変数として書き込まれる。また、オブジェクトの識別子としては、各端末装置に固有のOIDとすべての端末装置に共通のIID(例えば、”XYZ”)が設定される。 That is, as shown in FIG. 13, information (channel ID) of the logical communication path used for data communication is stored in the middleware section (12, 22) of the terminal device (1, 2) used in this embodiment. Whether to receive the data transmitted by collating the channel ID storage unit (17, 27) to be stored and the channel ID used for data transmission with the information of the logical communication path stored in the channel ID storage unit A channel ID verification unit (18, 28) for determination is provided. Further, information (channel ID) of the logical communication path provided from the middleware part (12, 22) is written as a variable in the transmission data or the reception data in the object part (13, 23). As the identifier of the object, an OID unique to each terminal device and an IID (for example, “XYZ”) common to all terminal devices are set.
 本実施形態で使用されるサーバ3は、図14に示すように、通信部30と、識別子の情報(OID、IID)とルーティング情報の対応関係、オブジェクトインタフェース定義情報が格納されるオブジェクト管理テーブル31Bを有する記憶部31と、ルーティング処理部32Bとで主として構成される。ここでは、すべての端末装置に共通な識別子IIDを使用しているので、サーバ3本来のルーティング機能によってマルチキャストもしくはブロードキャストで各端末装置にデータ送信が行われる。 As shown in FIG. 14, the server 3 used in the present embodiment includes a communication unit 30, an object management table 31 </ b> B that stores correspondence information between identifier information (OID, IID) and routing information, and object interface definition information. The storage unit 31 and the routing processing unit 32B are mainly configured. Here, since the identifier IID common to all the terminal devices is used, data transmission is performed to each terminal device by multicast or broadcast by the original routing function of the server 3.
 上記した本実施形態のネットワークシステムにおいて、ネットワーク4の論理的通信路の設定からデータ送信、データ受信までの一連の動作を、図15を参照しながら、具体的に説明する。 In the network system of the present embodiment described above, a series of operations from setting the logical communication path of the network 4 to data transmission and data reception will be specifically described with reference to FIG.
 まず、起動時に、すべての端末装置に共通のIID(例えば、“XYZ”)、各端末装置に固有のOIDなどの識別子情報が、オブジェクト部(13、23)からネットワーク4(サーバ3)に送られる。サーバ3では、オブジェクト管理テーブル31Bにこれらの識別子情報が登録される。これにより、IIDを管理するサーバ3は、その本来のルーティング機能により共通のIIDが付されたオブジェクトを有する全ての端末装置を容易に見つけることができる。 First, identifier information such as an IID (for example, “XYZ”) common to all terminal devices and an OID unique to each terminal device is sent from the object part (13, 23) to the network 4 (server 3). It is done. In the server 3, the identifier information is registered in the object management table 31B. As a result, the server 3 that manages the IID can easily find all the terminal devices that have objects to which the common IID is assigned by the original routing function.
尚、端末装置がサブスクライブする場合は、第2実施形態の場合と同様に、チャネル名と送信データを格納する変数に対してサブスクライブすればよい。尚、端末装置が論理的通信路にサブスクライブする機能を実現する場合は、第2実施形態の場合と同様に、たとえば、受信側の端末装置のミドルウェア部の中にサブスクライブフラグ変数を定義しておき、受信側の端末装置のミドルウェア部がオブジェクト部を介してデータ受信通知を受け取った場合に、サブスクライブフラグ変数を参照することにより、アプリケーションに通知をおこなうかどうかの制御を行ってもよい。 Note that when the terminal device subscribes, as in the case of the second embodiment, it is only necessary to subscribe to a variable that stores a channel name and transmission data. When the terminal device realizes the function of subscribing to the logical communication path, for example, a subscribe flag variable is defined in the middleware part of the terminal device on the receiving side, as in the second embodiment. In addition, when the middleware unit of the terminal device on the receiving side receives the data reception notification via the object unit, it may be controlled whether to notify the application by referring to the subscribe flag variable. .
 また、各端末装置(A、B)においては、アプリケーション部(11、21)から要求により、データ送受信に使用される論理的通信路の情報(例えば、チャネルID)がミドルウェア部(12、22)のチャネルID記憶部(17、27)に記憶される。 In addition, in each terminal device (A, B), information (for example, channel ID) of a logical communication path used for data transmission / reception is requested by the application unit (11, 21) in the middleware unit (12, 22). Are stored in the channel ID storage unit (17, 27).
 このように、ネットワーク4への識別子情報(OID、IID)の初期設定を完了した後、例えば、端末装置Aのアプリケーション部11がデータの送信要求をミドルウェア部12に出すと、ミドルウェア部12はオブジェクトの送信バッファにチャネルIDとともにデータを書き込む。次いで、オブジェクト部13から共通の識別子 “XYZ”を有するオブジェクトにデータ書込通知が送られる。この時、サーバ3は、上記したように、予め登録した識別子情報に基づいてその本来の機能により共通のIIDが付されたオブジェクトを有する全ての端末装置を容易に見つけることができ、共通の識別子“XYZ”を有するオブジェクトにマルチキャストによってデータ書込み通知が送信される。尚、本実施形態においては、サブスクライブ情報をサーバ上で管理していないので、データ送信時のルーティングにおいてサブスクライブの有無を区別することができないことになり、常にすべての端末装置にマルチキャストされる。 Thus, after completing the initial setting of the identifier information (OID, IID) to the network 4, for example, when the application unit 11 of the terminal device A issues a data transmission request to the middleware unit 12, the middleware unit 12 The data is written into the transmission buffer together with the channel ID. Next, a data write notification is sent from the object unit 13 to the objects having the common identifier “XYZ”. At this time, as described above, the server 3 can easily find all the terminal devices having an object with a common IID by its original function based on the identifier information registered in advance. A data write notification is transmitted by multicast to the object having “XYZ”. In this embodiment, since the subscription information is not managed on the server, it is impossible to distinguish the presence / absence of the subscription in the routing at the time of data transmission, and it is always multicast to all the terminal devices. .
 受信側の端末装置Bのミドルウェア部22がオブジェクト部23を介してデータ書込通知を受け取ると、ミドルウェア部22は、送信元の端末装置Aの送信バッファからのチャネルIDの読出しをネットワーク4にオブジェクト部23を介して要求する。次いで、端末装置Bのミドルウェア部22では、チャネルID照合部28が、送信バッファから受け取った(読込んだ)チャネルIDを予め登録してあるチャネルIDと照合し、両者が一致している場合は、データの受信通知がアプリケーション部21に送られる。 When the middleware unit 22 of the terminal device B on the receiving side receives the data write notification via the object unit 23, the middleware unit 22 reads the channel ID from the transmission buffer of the terminal device A that is the transmission source to the network 4 The request is made via the unit 23. Next, in the middleware unit 22 of the terminal device B, the channel ID collating unit 28 collates the channel ID received (read) from the transmission buffer with a pre-registered channel ID, and if both match, A data reception notification is sent to the application unit 21.
 受信通知を受け取ったアプリケーション部21は、データ受信のために登録した論理的通信路からのデータ読出しをミドルウェア部22に対して要求し、ミドルウェア部22は送信側の端末装置Aのオブジェクトからのデータ読出しをオブジェクト部23を介して要求する。これにより、登録された論理的通信路を介して送信元の端末装置Aの送信バッファから受信側の端末装置Bへのデータの読込みが行われる。要するに、受信側の端末装置Bのミドルウェア部22がデータ書込通知を受け取った後に、送信元の端末装置Aの送信バッファにチャネルIDを取りに行くとともに、端末装置Bのアプリケーション部21がデータ受信通知を受け取った後に、送信元の端末装置Aの送信バッファにデータを取りに行くことによって端末装置Aから端末装置Bへのデータ送信が完了する。 Upon receiving the reception notification, the application unit 21 requests the middleware unit 22 to read data from the logical communication path registered for data reception, and the middleware unit 22 receives data from the object of the terminal device A on the transmission side. Reading is requested through the object unit 23. As a result, data is read from the transmission buffer of the transmission source terminal device A to the reception side terminal device B via the registered logical communication path. In short, after the middleware unit 22 of the terminal device B on the receiving side receives the data write notification, the application unit 21 of the terminal device B receives the data and obtains the channel ID in the transmission buffer of the terminal device A that is the transmission source. After receiving the notification, the data transmission from the terminal device A to the terminal device B is completed by going to the transmission buffer of the terminal device A that is the transmission source.
 このように、本実施形態のネットワークシステムにおいては、送信側の端末装置1と受信側の端末装置2の各々が、データ通信する相手先の端末装置の情報を知る必要がない。換言すれば、送信側の端末装置(第1端末装置)がデータ送信に使用する論理的通信路の情報さえ決定すれば、受信側の端末装置(第2端末装置)の各々において同じ論理的通信路が設定されているかどうかが受信側の各端末装置において照合され、同じ論理的通信路が設定されている場合にのみデータ受信が実行される。 As described above, in the network system according to the present embodiment, each of the terminal device 1 on the transmission side and the terminal device 2 on the reception side does not need to know information on the terminal device of the other party with which data communication is performed. In other words, as long as the information on the logical communication path used for data transmission by the transmission-side terminal device (first terminal device) is determined, the same logical communication is performed in each of the reception-side terminal devices (second terminal device). Whether each channel is set is verified in each terminal device on the receiving side, and data reception is executed only when the same logical communication channel is set.
 尚、上記の実施形態では、送信側の端末装置1のアプリケーション部11がデータの送信要求をミドルウェア部12に送ると、チャネルIDが送信データに書き込まれ、チャネルIDを有する送信データがオブジェクトの送信バッファに書き込まれる場合について説明したが、変更例として、図16に示すように、各端末装置は、オブジェクト部(13、23)においてチャネルIDを送信データや受信データと個別に管理するようにしてもよい。 In the above embodiment, when the application unit 11 of the terminal device 1 on the transmission side sends a data transmission request to the middleware unit 12, the channel ID is written in the transmission data, and the transmission data having the channel ID is transmitted to the object. The case where data is written in the buffer has been described. As an example of modification, as shown in FIG. 16, each terminal device manages the channel ID separately from transmission data and reception data in the object section (13, 23). Also good.
 すなわち、本変更例においては、図17に示すように、端末装置Aのアプリケーション部11がデータの送信要求をミドルウェア部12に送ると、ミドルウェア部12は、オブジェクトの送信バッファにデータを書き込むとともに、オブジェクトのチャネルID変数にチャネルIDを書き込む。次いで、オブジェクト部13から共通の識別子(IID=“XYZ”)を有するオブジェクトへのデータ書込通知がネットワーク(サーバ3)に送信される。サーバ3では、上記したように、予め登録した情報に基づいて、その本来の機能により共通のIIDが付されたオブジェクトを有する全ての端末装置を容易に見つけることができ、共通の識別子“XYZ”を有するオブジェクトにマルチキャストによってデータ書込み通知を送信する。 That is, in the present modification, as shown in FIG. 17, when the application unit 11 of the terminal device A sends a data transmission request to the middleware unit 12, the middleware unit 12 writes the data in the object transmission buffer, Write the channel ID to the channel ID variable of the object. Next, a data write notification to objects having a common identifier (IID = “XYZ”) is transmitted from the object unit 13 to the network (server 3). As described above, the server 3 can easily find all the terminal devices having an object with a common IID by its original function based on information registered in advance, and the common identifier “XYZ”. A data write notification is transmitted by multicast to the object having
 受信側の端末装置Bでは、ミドルウェア部22がオブジェクト部23を介してデータ書込み通知を受け取ると、ミドルウェア部22は、オブジェクト部23を介してネットワーク4に送信側の端末装置AのチャネルID変数からのチャネルIDの読込みを要求する。次いで、端末装置Bのミドルウェア部22では、チャネルID照合部28が、送信バッファから受け取った(読込んだ)チャネルIDを予め登録してあるチャネルIDと照合し、両者が一致している場合は、データの受信通知がアプリケーション部21に送られる。 In the terminal device B on the receiving side, when the middleware unit 22 receives the data write notification via the object unit 23, the middleware unit 22 transmits the channel ID variable of the terminal device A on the transmitting side to the network 4 via the object unit 23. Request reading of the channel ID. Next, in the middleware unit 22 of the terminal device B, the channel ID collating unit 28 collates the channel ID received (read) from the transmission buffer with a pre-registered channel ID, and if both match, A data reception notification is sent to the application unit 21.
 受信通知を受け取ったアプリケーション部21は、データ受信のために登録した論理的通信路からのデータ読出しをミドルウェア部22に対して要求する。ミドルウェア部22は、オブジェクト部23を介してネットワークに送信側の端末装置Aの送信バッファからのデータ読込みを要求する。これにより、登録された論理的通信路を介して送信元の端末装置Aの送信バッファから受信側の端末装置Bへのデータの読込みが行われる。要するに、本変更例にかかるネットワークシステムにおいては、受信側の端末装置Bのミドルウェア部22がデータ書込通知を受け取った後に、送信元の端末装置AのオブジェクトのチャネルID変数にチャネルIDを取りに行くとともに、端末装置Bのアプリケーション部21がデータ受信通知を受け取った後に、送信元の端末装置Aの送信バッファにデータを取りに行くことによって端末装置Aから端末装置Bへのデータ送信が完了する。
(第4実施形態)
 本実施形態は、第1実施形態と同様にサーバ3上にチャネルIDと識別子情報の対応関係を有しているが、チャネルIDと識別子情報(IIDもしくはOID)の対応関係がテーブルに固定的に管理され、端末装置(1、2)のチャネルへの参加時に更新されない点に特徴がある。このような構成を採用することで、サーバ上のオンラインテーブル管理が簡略化されるとともに、端末装置の設置後にサーバ上で集中的にチャネルIDを管理できるという長所がある。
Upon receiving the reception notification, the application unit 21 requests the middleware unit 22 to read data from the logical communication path registered for data reception. The middleware unit 22 requests the network to read data from the transmission buffer of the terminal device A on the transmission side via the object unit 23. As a result, data is read from the transmission buffer of the transmission source terminal device A to the reception side terminal device B via the registered logical communication path. In short, in the network system according to this modification, after the middleware unit 22 of the receiving terminal device B receives the data write notification, the channel ID is taken into the channel ID variable of the object of the transmitting terminal device A. At the same time, after the application unit 21 of the terminal device B receives the data reception notification, the data transmission from the terminal device A to the terminal device B is completed by going to the transmission buffer of the terminal device A that is the transmission source. .
(Fourth embodiment)
Although this embodiment has a correspondence between channel IDs and identifier information on the server 3 as in the first embodiment, the correspondence between channel IDs and identifier information (IID or OID) is fixed in the table. It is managed and is not updated when the terminal device (1, 2) joins the channel. By adopting such a configuration, the online table management on the server is simplified, and channel IDs can be intensively managed on the server after the terminal device is installed.
 本実施形態で使用される端末装置は、図3に示す端末装置(1、2)と実質的に同じ構成を採用できるので、重複する説明を省略する。一方、本実施形態で使用されるサーバ3を図18に示す。前記したように、本実施形態ではチャネル管理テーブル31Aの内容が固定的に登録されており、データ通信に使用する論理的通信路の情報(チャネルID)を各端末装置(1、2)からチャネル管理テーブルに登録する動作を必要としないので、サービス処理部32Aの第1処理部の構成が図4のサーバのそれと異なっている。尚、サブスクライブ情報の設定はサービス処理部32Aから行うことができる。また、オフライン時にチャネル管理テーブルの内容を書き換えるためのオフラインID編集処理部35を設けても良い。 The terminal device used in the present embodiment can adopt substantially the same configuration as the terminal device (1, 2) shown in FIG. On the other hand, the server 3 used in this embodiment is shown in FIG. As described above, in this embodiment, the contents of the channel management table 31A are fixedly registered, and information on the logical communication path (channel ID) used for data communication is transmitted from each terminal device (1, 2) to the channel. Since the operation of registering in the management table is not required, the configuration of the first processing unit of the service processing unit 32A is different from that of the server of FIG. The subscription information can be set from the service processing unit 32A. Further, an offline ID editing processing unit 35 may be provided for rewriting the contents of the channel management table when offline.
 本実施形態のネットワークシステムにおいて、識別子情報の登録からデータ送信、データ受信までの一連の動作を、図19を参照しながら具体的に説明する。 In the network system of this embodiment, a series of operations from registration of identifier information to data transmission and data reception will be specifically described with reference to FIG.
 まず、起動時に、各端末装置のオブジェクト部(13、23)はサーバ3へ接続し、識別子情報(OID、IID)とそのルーティング情報(IPアドレス等)を送信する。サーバ3では、各端末装置のオブジェクト部から提供された情報に基づいてオブジェクト管理テーブル31Bが作成される。尚、本実施形態においては、論理的通信路を識別するための情報(例えば、チャネルID)とオブジェクトの識別子情報との対応関係がサーバのチャネル管理テーブル31Aに予め登録され、固定的に管理されるから、端末装置(1、2)のチャネルへの参加時にチャネル管理テーブル31Aの更新は行われない。 First, at the time of activation, the object part (13, 23) of each terminal device connects to the server 3 and transmits identifier information (OID, IID) and routing information (IP address, etc.). In the server 3, the object management table 31B is created based on the information provided from the object part of each terminal device. In the present embodiment, the correspondence between information for identifying a logical communication path (for example, channel ID) and object identifier information is registered in advance in the server channel management table 31A and managed in a fixed manner. Therefore, the channel management table 31A is not updated when the terminal device (1, 2) joins the channel.
 また、各端末装置(A、B)においては、アプリケーション部(11、21)から要求により、データ送受信に使用される論理的通信路の情報(例えば、チャネルID)がミドルウェア部(12、22)に記憶される。 In addition, in each terminal device (A, B), information (for example, channel ID) of a logical communication path used for data transmission / reception is requested by the application unit (11, 21) in the middleware unit (12, 22). Is remembered.
 上記のようにしてオブジェクト管理テーブル31Bの作成が完了した後、例えば、端末装置Aのアプリケーション部11が、データ送信要求をミドルウェア部12に送ると、ミドルウェア部12は、オブジェクト部13の送信バッファにデータおよびデータ通信に使用するチャネルIDの書き込みを要請する。データおよびチャネルIDが送信バッファに書き込まれた後、オブジェクト部13からデータ書込通知がネットワーク4(サーバ3)に対して送信されると、サーバ3ではチャネル管理テーブル31Aを参照してチャネルIDに対応付けられた識別子情報を照合し、当該識別子情報に基づいてサーバ本来の機能によりオブジェクト管理テーブルを参照して同じ論理的通信路をデータ受信のために登録したオブジェクト(端末装置)をルーティングし、データ送信要求通知をマルチキャストにより通知する。 After the creation of the object management table 31B is completed as described above, for example, when the application unit 11 of the terminal device A sends a data transmission request to the middleware unit 12, the middleware unit 12 stores it in the transmission buffer of the object unit 13. Request to write data and channel ID used for data communication. After the data and channel ID are written in the transmission buffer, when a data write notification is transmitted from the object unit 13 to the network 4 (server 3), the server 3 refers to the channel management table 31A and sets the channel ID. Collating the associated identifier information, referring to the object management table by the server's original function based on the identifier information, routing the object (terminal device) registered for data reception through the same logical communication path, A data transmission request notification is notified by multicast.
 尚、自分が参加するチャネルIDと自分のOIDとIIDは予め対応付けられているが、どの端末装置にデータ送信(マルチキャスト)するかはアプリケーション部で選択するようにしてもよい。この場合は、データ送信に際し、チャネルIDを指定する必要がある。 Note that the channel ID in which the user participates, the own OID, and the IID are associated in advance. However, the application unit may select which terminal device is to transmit data (multicast). In this case, it is necessary to specify a channel ID for data transmission.
 また、複数のチャネルIDがミドルウェア部に記憶されている場合は、アプリケーション部からの要求内容に応じて記憶されているチャネルのうちどのチャネルを使用するかを選択するためのテーブルをミドルウェア部に設けても良い。 In addition, when a plurality of channel IDs are stored in the middleware unit, a table for selecting which channel to use from the stored channels according to the request content from the application unit is provided in the middleware unit. May be.
 同じ論理的通信路が設定された受信側の端末装置Bでは、マルチキャストにより送信されたデータ送信要求通知が、オブジェクト部23、ミドルウェア部22を介してアプリケーション部21に届けられる。 In the terminal device B on the receiving side in which the same logical communication path is set, the data transmission request notification transmitted by multicast is delivered to the application unit 21 via the object unit 23 and the middleware unit 22.
 データ送信要求通知を受けた受信側の端末装置Bでは、登録したチャネルからのデータ受信をミドルウェア部22に要求し、ミドルウェア部は送信元の端末装置Aからのデータ受信をネットワーク4にオブジェクト部23を介して要請する。要するに、受信側の端末装置Bのアプリケーション部21がデータ送信要求通知を受け取った後に、データ送信元の端末装置Aの送信バッファにデータを取りに行くことによって端末装置Aから端末装置Bへのデータ送信が完了する。 Upon receiving the data transmission request notification, the receiving-side terminal device B requests the middleware unit 22 to receive data from the registered channel, and the middleware unit sends the data reception from the transmitting terminal device A to the network 4 and the object unit 23. Request through. In short, after the application unit 21 of the terminal device B on the receiving side receives the data transmission request notification, the data from the terminal device A to the terminal device B is obtained by going to the transmission buffer of the terminal device A that is the data transmission source. Transmission is complete.
 このように、本実施形態のネットワークシステムにおいても、送信側の端末装置Aと受信側の端末装置Bが、データ通信する相手先の端末装置の情報を知る必要がなく、送信側の端末装置1(第1端末装置)がデータ送信に使用する論理的通信路を識別するための情報(チャネルID)を決定すれば、同じ論理的通信路を識別するための情報(チャネルID)が設定された受信側の端末装置2(第2端末装置)とデータ通信を実行することができる。 As described above, also in the network system of the present embodiment, it is not necessary for the terminal device A on the transmission side and the terminal device B on the reception side to know the information of the partner terminal device with which data communication is performed. If the information (channel ID) for identifying the logical communication path used by the (first terminal device) for data transmission is determined, the information (channel ID) for identifying the same logical communication path is set. Data communication can be executed with the terminal device 2 (second terminal device) on the receiving side.
 また、オフラインID編集処理部35によって設定内容を変更する場合を除いて、チャネル管理テーブルは固定的に管理されるので、端末装置のチャネルへの参加時にサーバに対してチャネルIDを設定する動作を必要とせず、サーバ上のオンラインテーブル管理のための負荷を軽減できるという効果もある。 Since the channel management table is fixedly managed except when the setting content is changed by the offline ID editing processing unit 35, the operation of setting the channel ID to the server when the terminal device joins the channel is performed. There is also an effect that the load for managing the online table on the server can be reduced.
 以下、本実施形態のネットワークシステムを応用した防犯システムについて具体的に説明する。 Hereinafter, a crime prevention system to which the network system of this embodiment is applied will be described in detail.
 本防犯システムの端末装置である防犯センサや防犯警報受信装置の起動時もしくは接続時においては、図6の場合と同様にして、各端末装置のオブジェクト部(13、23)がサーバ3へ接続し、OID、IIDとそのルーティング情報(IPアドレス等)をオブジェクト管理テーブル31Bに登録する。また、サーバ3上のサービスプログラムが各オブジェクトの変数(送信データ、受信データ)にサブサブスクライブを行って、変数の値が変更されるイベントが発生すると通知が行われるように設定する。尚、データ送受信用のオブジェクトは、汎用的にデータの送受信を単純に行うオブジェクトであり、各端末装置に固有の機能は含まれない。各端末装置に固有の機能である防犯センサ機能や防犯センサ状態の表示機能は、各端末装置のアプリケーション部(11、21)が処理を担う。 When starting or connecting a security sensor or a security alarm receiving device that is a terminal device of this security system, the object portions (13, 23) of each terminal device are connected to the server 3 in the same manner as in FIG. , OID, IID and routing information (IP address, etc.) are registered in the object management table 31B. In addition, the service program on the server 3 subscribes to the variables (transmission data and reception data) of each object, so that notification is performed when an event in which the value of the variable is changed occurs. The object for data transmission / reception is an object for simply transmitting / receiving data for general purposes, and does not include a function unique to each terminal device. The security sensor function and the security sensor state display function, which are functions unique to each terminal device, are processed by the application unit (11, 21) of each terminal device.
 防犯センサと防犯警報受信装置との間で互いに通信できるようにするために防犯センサと防犯警報受信装置を同一のチャネルに参加させる場合は、図20に示すように、各端末機器(1、2)のアプリケーション部(11、21)がネットワークインタフェース部(12、22)に対しチャネルID(例えば、「防犯システム」)を設定する。尚、本防犯システムにおいては、予めチャネルIDとオブジェクトの対応関係がサーバ3上のチャネル管理テーブルにおいて固定的に決まっているので、図7の場合のように、チャネルIDをサーバ3に登録する処理は行われない。 When the security sensor and the security alarm receiving device are to participate in the same channel so that they can communicate with each other between the security sensor and the security alarm receiving device, as shown in FIG. ) Application unit (11, 21) sets a channel ID (for example, “security system”) for the network interface unit (12, 22). In this security system, since the correspondence between the channel ID and the object is fixedly determined in advance in the channel management table on the server 3, processing for registering the channel ID in the server 3 as in FIG. Is not done.
 上記の各設定動作が完了した後、実際の使用条件下で防犯システムが動作可能となる。すなわち、図21に示すように、防犯センサのアプリケーション部11の防犯センサ機能が侵入者の存在を検知すると、ネットワークインタフェース部12の作用によりそのセンサ状態値をネットワークに送信する。実際には、アプリケーション部11からの送信要求を受けたネットワークインタフェース部12が、センサ状態値をネットワークインタフェース部12に記憶されているチャネルIDとともにオブジェクト部13の送信データ変数に書き込み、その結果センサ状態値を含む送信データ変数がオブジェクト部13からサーバ3上のサービスプログラムにネットワーク4を介して通知される。 After the above settings have been completed, the security system can be operated under actual usage conditions. That is, as shown in FIG. 21, when the security sensor function of the security sensor application unit 11 detects the presence of an intruder, the network interface unit 12 transmits the sensor state value to the network. Actually, the network interface unit 12 that has received the transmission request from the application unit 11 writes the sensor state value in the transmission data variable of the object unit 13 together with the channel ID stored in the network interface unit 12, and as a result, the sensor state A transmission data variable including a value is notified from the object unit 13 to the service program on the server 3 via the network 4.
 サーバ3上のサービスプログラムでは、固定的に管理されているチャネル管理テーブル31Aを参照して送信側オブジェクトと同じチャネルに属する他の端末装置(受信側オブジェクト)を照合する。この場合は、防犯警報受信端末のオブジェクトが防犯センサと同じチャネル(「防犯システム」というチャネルID)を登録しているから、防犯警報受信端末のオブジェクト部23の受信データ変数にセンサ状態値が書き込まれる。尚、オブジェクトのデータ送受信は、オブジェクト管理テーブル31Bに登録されたルーティング情報を用いて行われる。 The service program on the server 3 refers to the channel management table 31A that is fixedly managed, and collates other terminal devices (reception side objects) belonging to the same channel as the transmission side object. In this case, since the object of the security alarm receiving terminal registers the same channel as the security sensor (channel ID “security system”), the sensor state value is written in the reception data variable of the object part 23 of the security alarm receiving terminal. It is. The object data transmission / reception is performed using the routing information registered in the object management table 31B.
 受信側のオブジェクト部23の受信データ変数にセンサ状態値が書き込まれると、ネットワークインタフェース部22が受信データを読み取り、サブスクライブされている場合はアプリケーション部21に通知し、アプリケーション部21が防犯警報受信装置に固有の機能として防犯センサの状態表示を行う。このようにして、防犯警報受信装置に表示された内容から、使用者は侵入者の存在のような異常の発生を知ることができる。その他の構成は第1実施形態で説明した防犯システムと実質的に同じであるので、重複する説明を省略する。
(第5実施形態)
 本実施形態は、本発明のネットワークシステムをオフィスビルの消費電力管理システムに応用したものである。
When the sensor state value is written in the reception data variable of the object unit 23 on the reception side, the network interface unit 22 reads the reception data, and notifies the application unit 21 when subscribed, and the application unit 21 receives the security alarm. The security sensor status is displayed as a function unique to the device. In this way, the user can know the occurrence of an abnormality such as the presence of an intruder from the contents displayed on the crime prevention alarm receiving apparatus. Other configurations are substantially the same as those of the crime prevention system described in the first embodiment, and thus redundant description is omitted.
(Fifth embodiment)
In the present embodiment, the network system of the present invention is applied to a power consumption management system for an office building.
 図22に示すように、本実施形態のネットワークシステムにおいては、オフィスビルの各階(1階、2階、3階)の各部屋に電力計測機能を備えた端末装置2がそれぞれ設置されている。また、各階に設置した3台の端末装置2のうち、1台は事務室に設置され、残りの2台は作業室に設置されている。これらの端末装置2は、LAN6を通じて演算処理機能を有する端末装置1Aに接続されるとともに、ゲートウェイ5を介してネットワーク(インターネット)4に接続される。すなわち、LAN6上の各端末装置2には固有のIDとしてローカルIPアドレスが付与され、ゲートウェイ5のルータ機能で管理される。また、ゲートウェイ5は、ネットワーク4に対してグローバルなIPアドレスが付与されている。ネットワーク4には後述するサーバ3が接続されている。 As shown in FIG. 22, in the network system of the present embodiment, terminal devices 2 each having a power measurement function are installed in each room on each floor (first floor, second floor, and third floor) of an office building. Of the three terminal devices 2 installed on each floor, one is installed in the office and the remaining two are installed in the work room. These terminal devices 2 are connected to a terminal device 1 A having an arithmetic processing function through a LAN 6 and connected to a network (Internet) 4 through a gateway 5. That is, each terminal device 2 on the LAN 6 is given a local IP address as a unique ID and managed by the router function of the gateway 5. The gateway 5 is assigned a global IP address to the network 4. A server 3 to be described later is connected to the network 4.
 ゲートウェイ5は、端末装置2を夫々接続したLAN6のケーブルを集線するためのハブ部と、ネットワーク4に接続するためのモデム部と、種々のソフトウェアから構成されるサービス機能部を備えている。例えば、サービス機能部は、各端末装置2に割り当てたローカルIPアドレスと、オブジェクトのOIDとインタフェースのIIDとの組み合わせ情報を対応関係テーブル(図示せず)に格納する。また、サービス機能部は、端末装置2のネットワークの繋がり方を隠すためのオブジェクト・ルータとしての機能を実現するソフトとを備えるとともに、異種のプロトコルを変換して本実施形態のネットワークシステムにシームレスに繋ぐためのプロトコル・ブリッジサービスと、ネットワーク4上のサーバ3との間の通信に用いるプロトコルをSOAP(Simple Object Access Protocol)に変換してファイヤーウォールを通過させるためのファイヤーウォール・ブリッジ・サービス等の追加可能なサービス機能を実現する。 The gateway 5 includes a hub unit for collecting the cables of the LAN 6 connected to the terminal devices 2, a modem unit for connecting to the network 4, and a service function unit including various software. For example, the service function unit stores the combination information of the local IP address assigned to each terminal device 2 and the OID of the object and the IID of the interface in a correspondence table (not shown). In addition, the service function unit includes software that realizes a function as an object router for hiding the network connection of the terminal device 2, and converts different protocols into the network system of the present embodiment seamlessly. Protocol bridge service for connecting to the server 3 on the network 4 and a protocol used for communication with the server 3 on the network 4 are converted into SOAP (Simple Object Access Protocol) and passed through the firewall. Implement additional service functions.
 ネットワーク4上のサーバ3は、ゲートウェイ5と同様にサービス機能部を搭載し、他のサービス機能部との間の通信を上述のSOAPによって行う。 The server 3 on the network 4 is equipped with a service function unit similar to the gateway 5 and performs communication with other service function units by the above-described SOAP.
 また、ネットワーク4上には、オフィスビルの消費電力を管理するクライアント用端末装置1が接続されている。クライアント用端末装置1には、LAN6上の端末装置1Aに対して、階ごと、或いは部屋の種類(例えば、事務室)ごとの電力消費量の積算値に関する情報、或いは一定時間当たりの電力消費量の差分値に関する情報を要求するためのアプリケーションが搭載されている。 In addition, a client terminal device 1 that manages power consumption of an office building is connected to the network 4. The client terminal device 1 includes information on the integrated value of power consumption for each floor or room type (for example, office), or power consumption per fixed time with respect to the terminal device 1A on the LAN 6. An application for requesting information on the difference value is installed.
 オフィスビルの各部屋に配置される端末装置2は、消費電力を計測する電力計測機能に加え、計測した電力を積算する積算機能を備えている。また、計測した電力消費量の情報を変数として定義する計測用オブジェクトと、データ通信に使用する論理的通信路の情報を照合することによりデータの取り込みを判断するオブジェクトが組み込まれている。 The terminal device 2 arranged in each room of the office building has an integration function for integrating the measured power in addition to the power measurement function for measuring the power consumption. Also, a measurement object that defines the measured power consumption information as a variable and an object that determines data capture by collating information on a logical communication path used for data communication are incorporated.
 本実施形態においては、データ通信に使用する論理的通信路として、階毎に異なる論理的通信路が設定されている。例えば、1階に配置したすべての端末装置2には共通の論理的通信路(例えば、xxx)が設定され、2階に配置したすべての端末装置2には1階で設定したのとは異なる共通の論理的通信路(例えば、yyy)が設定される。同様に、3階に配置したすべての端末装置2にも共通の論理的通信路(例えば、zzz)が設定される。また、階に関係なく、すべての事務室に共通の論理的通信路(例えば、sss)も設定されている。さらに、オフィスビル全体に共通の論理的通信路(例えば、AAA)が設定されてもよい。このように設定された複数の論理的通信路のうちどの論理的通信路をデータ送信に使用するかはクライアント用端末装置1に設けたチャネル選択部19によって選択することができる。 In this embodiment, a different logical communication path is set for each floor as a logical communication path used for data communication. For example, a common logical communication path (for example, xxx) is set for all terminal devices 2 arranged on the first floor, and is different from that set for the first floor for all terminal devices 2 arranged on the second floor. A common logical communication path (for example, yyy) is set. Similarly, a common logical communication path (for example, zzz) is set for all the terminal devices 2 arranged on the third floor. Also, a logical communication path (for example, sss) common to all offices is set regardless of the floor. Furthermore, a common logical communication path (for example, AAA) may be set for the entire office building. Which of the plurality of logical communication paths set in this way is used for data transmission can be selected by the channel selection unit 19 provided in the client terminal device 1.
 端末装置1Aは、図22に示すように、任意の場所でLAN6に接続され、演算処理機能を用いて所望の電力値を演算する。端末装置1Aが有するオブジェクトは、クライアント用端末装置1からの要求に応じて操作される。端末装置1Aが搭載しているオブジェクトのOID、IIDの情報は、端末装置1Aが接続されているLAN6に対応したゲートウェイ5のIPアドレスと関連付けられてサーバ3の接続管理テーブルに登録されている。 As shown in FIG. 22, the terminal device 1A is connected to the LAN 6 at an arbitrary location, and calculates a desired power value using an arithmetic processing function. An object included in the terminal device 1A is operated in response to a request from the client terminal device 1. Information on the OID and IID of the object mounted on the terminal device 1A is registered in the connection management table of the server 3 in association with the IP address of the gateway 5 corresponding to the LAN 6 to which the terminal device 1A is connected.
 クライアント用端末装置1がOID及びIIDを用いて所定のオブジェクトの機能を要求すると、サーバ3のルーティング機能とゲートウェイ5のルーティング機能とにより端末装置1Aに対して当該要求が送信される。 When the client terminal device 1 requests a function of a predetermined object using the OID and IID, the request is transmitted to the terminal device 1A by the routing function of the server 3 and the routing function of the gateway 5.
 端末装置1Aは、階ごとに端末装置2が計測した積算電力値の合計、部屋種別ごとに端末装置2が計測した積算電力値の合計、更には建物内のすべての端末装置2が計測した積算電力値の合計をクライアント用端末装置1に提供するため、それぞれのサービスについて定義されたインタフェース識別子を有するオブジェクトが実装されている。例えば、インタフェース識別子(IID)としては、階ごとに端末装置2が計測した積算電力値の合計に対応する識別子が付与され、オブジェクト識別子(OID)としては、各端末装置2に固有の識別子が付与される。 The terminal device 1A is a sum of integrated power values measured by the terminal device 2 for each floor, a sum of integrated power values measured by the terminal device 2 for each room type, and an integration measured by all the terminal devices 2 in the building. In order to provide the total power value to the client terminal device 1, an object having an interface identifier defined for each service is implemented. For example, as an interface identifier (IID), an identifier corresponding to the total of integrated power values measured by the terminal device 2 is assigned to each floor, and as each object identifier (OID), a unique identifier is assigned to each terminal device 2. Is done.
 例えば、クライエント用端末装置1が、2階に配置された端末装置2からの積算電力値の合計についての情報要求を送信する場合は、この要求を受けた端末装置1Aが、2階に配置したすべての端末装置2に共通の論理的通信路の情報と、計測用オブジェクトのIIDからなる所定情報とを引数とした関数とともに、共通の識別子(例えば、“XYZ”)が付されたデータ送信要求を、ゲートウェイ5のルーティング動作によりマルチキャスト又はブロードキャストでオフィスビル内のすべての端末装置2に送信する。つまり、この場合は、端末装置1Aが受信側の端末装置2に対するデータ送信元の端末装置となる。 For example, when the client terminal device 1 transmits an information request about the total of the integrated power values from the terminal device 2 arranged on the second floor, the terminal device 1A that has received this request is arranged on the second floor Data transmission with a common identifier (for example, “XYZ”) together with a function that uses as arguments the information on the logical communication path common to all the terminal devices 2 and the predetermined information consisting of the IID of the measurement object The request is transmitted to all the terminal devices 2 in the office building by multicast or broadcast by the routing operation of the gateway 5. That is, in this case, the terminal device 1A is the terminal device that is the data transmission source for the terminal device 2 on the receiving side.
 各端末装置2においては、データ受信用オブジェクトを実行して、引数に指定された論理的通信路の情報を照合し、各端末装置2に予め登録された論理的通信路の情報と一致するかどうかが照合される。したがって、この場合は、上記した第3実施形態と同様に、予め登録された論理的通信路の情報を保存する記憶部と、論理的通信路の情報を照合する照合部は各端末装置2に設けられている。論理的通信路の情報が一致する場合は、その端末装置2が2階の端末装置であることを意味し、引数に書き込まれている所定情報(計測用オブジェクトのIID)を受け取り、コールバック関数の呼出しを行う。これにより計測用オブジェクトが実行され、電力量値を取得して、端末装置1Aに変数として返信される。論理的通信路の情報が一致しない場合は、その端末装置2が2階以外に配置された端末装置2であることを意味し、引数に書き込まれている所定情報(計測用オブジェクトのIID)を受け取ることはできない。 Whether each terminal device 2 executes the data reception object, collates the information on the logical communication path specified in the argument, and matches the information on the logical communication path registered in advance in each terminal device 2 Is checked. Therefore, in this case, as in the third embodiment described above, the storage unit that stores information on the logical communication path registered in advance and the collation unit that collates information on the logical communication path are provided to each terminal device 2. Is provided. If the logical communication path information matches, it means that the terminal device 2 is a terminal device on the second floor, receives predetermined information (IID of the measurement object) written in the argument, and receives a callback function. Is called. As a result, the measurement object is executed, the electric energy value is acquired, and returned as a variable to the terminal device 1A. If the information on the logical communication path does not match, it means that the terminal device 2 is the terminal device 2 arranged on the second floor, and the predetermined information (IID of the measurement object) written in the argument is used. I cannot receive it.
 端末装置1Aは、受信した電力量値の情報をもとに要求されたオブジェクトに対応する演算を行い、その演算結果をクライアント端末装置1に提供する。 The terminal device 1A performs a calculation corresponding to the requested object based on the received power amount information, and provides the calculation result to the client terminal device 1.
 同様にして、クライエント用端末装置1が、各階の事務室に配置された端末装置2からの積算電力値の合計についての情報を要求する場合は、事務室に配置したすべての端末装置2に共通の論理的通信路の情報を使用すること以外は上記と同様にして所望の演算結果がクライエント用端末装置に提供される。 Similarly, when the client terminal device 1 requests information on the sum of the integrated power values from the terminal device 2 disposed in the office on each floor, all the terminal devices 2 disposed in the office are requested. A desired calculation result is provided to the client terminal device in the same manner as described above except that the information on the common logical communication path is used.
 このように、本実施形態の消費電力管理システムによれば、ネットワーク上で互いの接続情報を知らせることなく行われる端末装置2と演算処理機能を備えた端末装置1Aとの間のデータ通信に基づいて消費電力管理用のクライアント用端末装置1が必要とする情報を得ることができる。また、本実施形態においては、オフィスビル内の端末装置の新規の組み合わせから情報を取得する場合であっても、その組み合わせに対して共通の論理的通信路を設定するだけよく、当該組み合わせを構成する端末装置のそれぞれにおいて煩雑な設定作業を行う必要がないので、クライエント用端末装置からの新たな情報要求にも容易に対応することができる。また、端末装置1Aに対して電力量の情報を送る際に、階別や部屋別を示すフラグを情報に付加し、演算時にこのフラグから階別、部屋別を判別することもできる。 Thus, according to the power consumption management system of the present embodiment, based on data communication between the terminal device 2 and the terminal device 1A having an arithmetic processing function, which is performed without notifying each other of connection information on the network. Thus, information required by the client terminal device 1 for power consumption management can be obtained. Further, in the present embodiment, even when information is acquired from a new combination of terminal devices in an office building, it is only necessary to set a common logical communication path for the combination and configure the combination. Therefore, it is not necessary to perform complicated setting work in each of the terminal devices, and it is possible to easily cope with a new information request from the client terminal device. In addition, when sending information on the amount of power to the terminal device 1A, a flag indicating a floor or a room can be added to the information, and the floor or room can be determined from the flag during calculation.
 本実施形態のネットワークシステムは、上記した消費電力管理システムの他にも、例えば、温度、湿度、輝度などのセンサ機能を有するとともに、論理的通信路を共有する複数の端末装置が取得した情報をマスターとなる端末装置に提供し、それに基づいて空調や照明を制御するシステム等へも応用可能である。 In addition to the power consumption management system described above, the network system of the present embodiment has, for example, sensor functions such as temperature, humidity, and luminance, and information acquired by a plurality of terminal devices sharing a logical communication path. It can also be applied to a system that provides air conditioning and lighting based on the terminal device that serves as a master.
 尚、本実施形態のネットワークシステムは、より上位概念的に以下のように定義することができる。すなわち、このネットワークシステムは、予め設定される第1の論理的通信路を共有する少なくとも2つの端末装置と、第1の論理的通信路とは異なる第2の論理的通信路が予め設定され、これを共有する少なくとも2つの端末装置とを含む複数の端末装置がネットワークに接続され、通信路を共有する端末装置同士の間で情報の授受を行えるネットワークシステムであって、
前記複数の端末装置の1つは、所定情報と当該所定情報の送信に使用される論理的通信路を識別するための情報とをネットワークに対して送信する情報送信部を有し、
ネットワークシステムは、情報送信部から送信された論理的通信路の情報が、他の端末装置に予め設定された論理的通信路の情報と一致するかどうかを照合する照合部を含み、
前記他の端末装置は、情報送信部から送信された論理的通信路の情報が、予め設定された論理的通信路の情報と一致する場合にのみ、前記所定情報を取り込む情報取得部を備えることを特徴とする。
Note that the network system of the present embodiment can be defined in a higher-level concept as follows. That is, in this network system, at least two terminal devices that share a preset first logical communication path and a second logical communication path different from the first logical communication path are preset, A network system in which a plurality of terminal devices including at least two terminal devices sharing this are connected to a network and information can be exchanged between terminal devices sharing a communication path,
One of the plurality of terminal devices includes an information transmitting unit that transmits predetermined information and information for identifying a logical communication path used for transmitting the predetermined information to the network.
The network system includes a collation unit that collates whether the information on the logical communication path transmitted from the information transmission unit matches the information on the logical communication path set in advance in another terminal device,
The other terminal device includes an information acquisition unit that captures the predetermined information only when the information on the logical communication path transmitted from the information transmission unit matches the information on the logical communication path set in advance. It is characterized by.
 上記したように、本発明のネットワークシステムによれば、端末装置の各々がデータ通信に使用する論理的通信路の情報をネットワークに対して設定することにより、通信相手の端末装置のアドレス情報を考慮する必要がないので、ネットワークシステムへの端末装置の追加/変更や、新たなデータ通信の構築といった作業をネットワーク通信に関する専門知識を持たないユーザであっても容易に行うことができる。また、同じ論理的通信路を登録することで、同じ種類の端末装置はもちろんのこと、種類の異なる端末装置との間でもネットワーク通信が可能になる。例えば、プロバイダが防犯監視やエネルギー管理のようなネットワークサービスを提供する場合に、ユーザが(論理的通信路を登録済みの)アダプタをつなげるだけでサービスを受けることが可能になる。さらに、ネットワークに種々の電気製品(照明、エアコン、電気錠、人感センサなど)を追加して接続する時に、共通の論理的通信路を登録しておくことによってユーザの需要(自動点灯、省エネ、防犯など)に応じたより満足度の高いサービスを実現することが可能になる。 As described above, according to the network system of the present invention, the address information of the communication partner terminal device is taken into account by setting the logical communication path information used by each terminal device for data communication to the network. Therefore, even a user who does not have expertise in network communication can easily perform operations such as addition / change of terminal devices to the network system and construction of new data communication. Also, by registering the same logical communication path, network communication is possible not only with the same type of terminal device but also with different types of terminal devices. For example, when a provider provides a network service such as crime prevention monitoring or energy management, the user can receive the service simply by connecting an adapter (registered logical communication path). Furthermore, when adding various electrical products (lights, air conditioners, electric locks, human sensors, etc.) to the network and connecting them, the user's demand (automatic lighting, energy saving) is registered by registering a common logical communication path. , Crime prevention etc.), it becomes possible to realize a service with higher satisfaction.
 このように、本発明は、将来的に要求されるサービス内容の多様化に柔軟に対処できるとともに、システムの変更を比較的容易に行えることから、次世代のネットワークシステムとしてその広範な用途が期待される。 As described above, the present invention can flexibly cope with the diversification of service contents required in the future, and can change the system relatively easily. Therefore, the present invention is expected to be widely used as a next-generation network system. Is done.

Claims (18)

  1. ネットワークを介して第1端末装置と複数の第2端末装置の少なくとも1つとの間でデータ通信を行うためのネットワークシステムであって、
    前記第1端末装置がデータ送信に使用する論理的通信路を識別するための情報、および前記第2端末装置の各々がデータ受信に使用する論理的通信路を識別するための情報が登録される記憶部と、
    第1端末装置からの要求に基づき、データ送信に使用する前記論理的通信路を識別するための情報を使用してネットワークに対してデータ送信を実行する第1ネットワークインタフェース部と、
    前記記憶部に登録した情報を参照して、第1端末装置が前記データ送信に使用するのと同じ論理的通信路をデータ受信のために登録している第2端末装置を特定する照合部と、
    前記第2端末装置の各々に対して設けられ、前記データ送信に使用するのと同じ論理的通信路を登録した第2端末装置に対して、当該論理的通信路からのデータ受信を実行する第2ネットワークインタフェース部とを含むことを特徴とするネットワークシステム。
    A network system for performing data communication between a first terminal device and at least one of a plurality of second terminal devices via a network,
    Information for identifying a logical communication path used for data transmission by the first terminal device and information for identifying a logical communication path used for data reception by each of the second terminal devices are registered. A storage unit;
    A first network interface unit for performing data transmission to the network using information for identifying the logical communication path used for data transmission based on a request from the first terminal device;
    A collating unit that refers to the information registered in the storage unit and identifies a second terminal device that is registered for data reception on the same logical communication path that the first terminal device uses for the data transmission; ,
    A second terminal device that is provided for each of the second terminal devices and that registers the same logical communication channel used for data transmission and that receives data from the logical communication channel. A network system comprising two network interface units.
  2. 前記第2ネットワークインタフェース部は、前記データ送信に使用する論理的通信路と同じ論理的通信路が登録された第2端末装置が、データ受信を一時的に拒否することを可能にするサブスクライブ選択部を含むことを特徴とする請求項1に記載のネットワークシステム。 The second network interface unit selects a subscription that allows a second terminal device registered with the same logical communication path as that used for the data transmission to temporarily refuse data reception. The network system according to claim 1, further comprising a unit.
  3. 前記ネットワークには複数の第1端末装置が接続され、
    前記記憶部には、第2端末装置の各々がデータ送信に使用する論理的通信路を識別するための情報、および前記第1端末装置の各々がデータ受信に使用する論理的通信路を識別するための情報が登録され、
    第2端末装置のいずれかからの要求に基づいて、第2ネットワークインタフェース部は、データ送信に使用する前記論理的通信路を識別するための情報を使用してネットワークに対してデータ送信を実行し、
    前記照合部は、前記記憶部に登録した情報を参照して、第2ネットワークインタフェース部が前記データ送信に使用する論理的通信路と同じ論理的通信路をデータ受信のために登録している第1端末装置を特定し、
    第1ネットワークインタフェース部は、前記第1端末装置の各々に対して設けられ、前記第2端末装置が前記データ送信に使用する論理的通信路からのデータ受信を第1端末装置に対して実行することを特徴とする請求項1に記載のネットワークシステム。
    A plurality of first terminal devices are connected to the network,
    The storage unit identifies information for identifying a logical communication path used for data transmission by each of the second terminal devices, and identifies a logical communication path used for data reception by each of the first terminal devices. Information is registered,
    Based on a request from one of the second terminal devices, the second network interface unit executes data transmission to the network using information for identifying the logical communication path used for data transmission. ,
    The collation unit refers to the information registered in the storage unit, and registers the same logical communication path used for data transmission by the second network interface unit for data reception. Identify one terminal device,
    The first network interface unit is provided for each of the first terminal devices, and executes data reception from the logical communication path used for the data transmission by the second terminal device to the first terminal device. The network system according to claim 1.
  4. 前記第1端末装置は、第1アプリケーション部と、前記第1ネットワークインタフェース部として機能する第1ミドルウェア部とを構築するためのソフトウェアを記憶するプログラム記憶部、および前記ソフトウェアを実行して第1アプリケーション部と第1ミドルウェア部を実現するCPUとを備え、
    前記第1ミドルウェア部は、データ送信に使用する前記論理的通信路を識別するための情報を前記記憶部に登録する機能と、第1アプリケーション部からのデータ送信の要求に基づき、前記データ送信に使用する論理的通信路を識別するための情報を使用してネットワークに対してデータ送信を実行する機能を有することを特徴とする請求項1に記載のネットワークシステム。
    The first terminal device includes a program storage unit that stores software for constructing a first application unit and a first middleware unit that functions as the first network interface unit, and a first application that executes the software. And a CPU that realizes the first middleware unit,
    The first middleware unit performs the data transmission based on a function of registering information for identifying the logical communication path used for data transmission in the storage unit and a data transmission request from the first application unit. The network system according to claim 1, further comprising a function of performing data transmission to the network using information for identifying a logical communication path to be used.
  5. 前記第2端末装置の各々は、第2アプリケーション部と、前記第2ネットワークインタフェース部として機能する第2ミドルウェア部とを構築するためのソフトウェアを記憶するプログラム記憶部、および前記ソフトウェアを実行して第2アプリケーション部と第2ミドルウェア部を実現するCPUとを備え、
    前記第2ミドルウェア部は、前記第2端末装置がデータ受信に使用する前記論理的通信路を識別するための情報を前記記憶部に登録する機能と、前記第1端末装置がデータ送信に使用する論理的通信路からのデータ受信を実行する機能を有することを特徴とする請求項4に記載のネットワークシステム。
    Each of the second terminal devices includes a program storage unit that stores software for constructing a second application unit and a second middleware unit that functions as the second network interface unit, and executes the software and executes the software. A CPU that implements two application units and a second middleware unit,
    The second middleware unit has a function of registering information for identifying the logical communication path used for data reception by the second terminal device in the storage unit, and a function used by the first terminal device for data transmission. 5. The network system according to claim 4, wherein the network system has a function of executing data reception from a logical communication path.
  6. 前記第1ネットワークインタフェース部は、第1端末装置とは別体に外付けされる筐体内に設けられ、CPUおよびプログラム記憶部を備えたハードウェア、ソフトウェアモジュール、および前記ハードウェアおよび前記ソフトウェアモジュールの組み合わせのいずれかによって実現されることを特徴とする請求項1に記載のネットワークシステム。 The first network interface unit is provided in a housing that is externally attached separately from the first terminal device, and includes a hardware and software module including a CPU and a program storage unit, and the hardware and the software module. The network system according to claim 1, wherein the network system is realized by any one of the combinations.
  7. 前記第2ネットワークインタフェース部の各々は、第2端末装置とは別体に外付けされる筐体内に設けられ、CPUおよびプログラム記憶部を備えたハードウェア、ソフトウェアモジュール、および前記ハードウェアおよび前記ソフトウェアモジュールの組み合わせのいずれかによって実現されることを特徴とする請求項6に記載のネットワークシステム。 Each of the second network interface units is provided in a case that is externally attached separately from the second terminal device, and includes a hardware and software module including a CPU and a program storage unit, and the hardware and the software The network system according to claim 6, wherein the network system is realized by any one of a combination of modules.
  8. 前記第1端末装置および第2端末装置の各々は、前記論理的通信路を識別するための情報の設定機能、データ送信機能およびデータ受信機能を有し、
    ネットワークシステムは、ネットワークに接続される少なくとも1つのサーバを含み、前記サーバには前記記憶部および前記照合部が設けられ、
    第1ネットワークインタフェース部は、第1端末装置からの要求に基づき、前記設定機能を用いて前記サーバの記憶部に前記論理的通信路を識別するための情報を登録し、
    第2ネットワークインタフェース部の各々は、第2端末装置からの要求に基づき、前記設定機能を用いて前記サーバの記憶部に前記論理的通信路を識別するための情報を登録し、
    前記サーバの記憶部は、第1端末装置および第2端末装置の各々が登録した前記論理的通信路を識別するための情報が保存されるチャネル管理テーブルを有し、
    第1ネットワークインタフェース部は、第1端末装置からのデータ送信要求に基づき、前記データ送信機能を用いてネットワークに対してデータ送信に使用する前記論理的通信路を識別するための情報を送り、
    前記サーバの照合部は、前記チャネル管理テーブルを参照して、前記データ送信に使用されるのと同じ論理的通信路を識別するための情報を前記チャネル管理テーブルに登録した第2端末装置を特定し、当該特定された第2端末装置へ前記データ送信を行い、
    前記特定された第2端末装置に対応する第2ネットワークインタフェース部は、前記データ受信機能を用いて前記第1端末装置がデータ送信に使用する論理的通信路からデータを受信することを特徴とする請求項1に記載のネットワークシステム。
    Each of the first terminal device and the second terminal device has an information setting function, a data transmission function, and a data reception function for identifying the logical communication path,
    The network system includes at least one server connected to a network, and the server includes the storage unit and the verification unit.
    The first network interface unit registers information for identifying the logical communication path in the storage unit of the server using the setting function based on a request from the first terminal device,
    Each of the second network interface units registers information for identifying the logical communication path in the storage unit of the server using the setting function based on a request from the second terminal device,
    The storage unit of the server has a channel management table in which information for identifying the logical communication path registered by each of the first terminal device and the second terminal device is stored,
    The first network interface unit sends information for identifying the logical communication path used for data transmission to the network using the data transmission function based on the data transmission request from the first terminal device,
    The verification unit of the server refers to the channel management table and identifies the second terminal device that has registered in the channel management table information for identifying the same logical communication path used for the data transmission And transmitting the data to the specified second terminal device,
    The second network interface unit corresponding to the specified second terminal device receives data from a logical communication path used for data transmission by the first terminal device using the data reception function. The network system according to claim 1.
  9. 上記第1端末装置および第2端末装置の各々は、論理的通信路の設定機能、データ送信機能およびデータ受信機能を有するとともに、識別子が付されたオブジェクトを有し、
    ネットワークシステムは、ネットワークに接続される少なくとも1つのサーバを含み、前記サーバには前記記憶部および前記照合部が設けられ、
    第1ネットワークインタフェース部は、第1端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記サーバの記憶部に論理的通信路を識別するための情報を登録し、
    第2ネットワークインタフェース部の各々は、第2端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記サーバの記憶部に論理的通信路を識別するための情報を登録し、
    前記サーバの記憶部は、第1端末装置および第2端末装置の各々が登録した論理的通信路を識別するための情報と前記オブジェクトの識別子との対応関係が保存されるチャネル管理テーブルと、前記オブジェクトの識別子とルーティング情報とを対応付けたオブジェクト管理テーブルを有し、
    第1ネットワークインタフェース部は、第1端末装置からのデータ送信要求に基づき、前記オブジェクトのデータ送信機能を用いてネットワークに対してデータ送信に使用する論理的通信路を識別するための情報を送り、
    前記サーバの照合部は、前記チャネル管理テーブルを参照して、前記データ送信に使用する論理的通信路を識別するための情報に対応するオブジェクトの識別子を照合するとともに、前記オブジェクト管理テーブルを参照して、前記照合されたオブジェクトの識別子に対応するルーティング情報を照合することにより決定される第2端末装置へ前記データ送信を行い、
    当該第2端末装置に対応する第2ネットワークインタフェース部は、前記オブジェクトのデータ受信機能を用いて前記第1端末装置がデータ送信に使用する論理的通信路からデータを受信することを特徴とする請求項1に記載のネットワークシステム。
    Each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function, and an object with an identifier,
    The network system includes at least one server connected to a network, and the server includes the storage unit and the verification unit.
    The first network interface unit registers information for identifying the logical communication path in the storage unit of the server using the logical communication path setting function of the object based on a request from the first terminal device,
    Each of the second network interface units registers information for identifying the logical communication path in the storage unit of the server using the logical communication path setting function of the object based on a request from the second terminal device. And
    The storage unit of the server includes a channel management table in which a correspondence relationship between information for identifying a logical communication path registered by each of the first terminal device and the second terminal device and an identifier of the object is stored; An object management table that associates object identifiers with routing information,
    The first network interface unit sends information for identifying a logical communication path used for data transmission to the network using the data transmission function of the object, based on the data transmission request from the first terminal device,
    The collation unit of the server refers to the channel management table, collates an identifier of an object corresponding to information for identifying a logical communication path used for the data transmission, and refers to the object management table. The data transmission to the second terminal device determined by collating the routing information corresponding to the collated object identifier,
    The second network interface unit corresponding to the second terminal device receives data from a logical communication path used for data transmission by the first terminal device using a data reception function of the object. Item 4. The network system according to Item 1.
  10. 上記第1端末装置および第2端末装置の各々は、論理的通信路の設定機能、データ送信機能およびデータ受信機能を有するとともに、識別子が付されたオブジェクトを有し、
    ネットワークシステムは、ネットワークに接続される少なくとも1つのサーバを含み、前記サーバには前記記憶部および前記照合部が設けられ、
    第1ネットワークインタフェース部は、第1端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記サーバの記憶部に論理的通信路の情報に予め対応付けたオブジェクトの識別子を登録し、
    第2ネットワークインタフェース部の各々は、第2端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記サーバの記憶部に論理的通信路の情報に予め対応付けたオブジェクトの識別子を登録し、
    前記サーバの記憶部は、前記オブジェクトの識別子とルーティング情報とを対応付けたオブジェクト管理テーブルを有し、
    第1ネットワークインタフェース部は、第1端末装置からのデータ送信要求に基づき、前記オブジェクトのデータ送信機能を用いてネットワークに対してデータ送信に使用する論理的通信路の情報に予め対応付けたオブジェクトの識別子を送り、
    前記サーバの照合部は、前記オブジェクト管理テーブルを参照して、前記データ送信に使用する論理的通信路の情報に予め対応付けたオブジェクトの識別子に対応するルーティング情報を照合することにより決定される第2端末装置へ前記データ送信を行い、
    当該第2端末装置に対応する第2ネットワークインタフェース部は、前記オブジェクトのデータ受信機能を用いて前記第1端末装置がデータ送信に使用する論理的通信路からデータを受信することを特徴とする請求項1に記載のネットワークシステム。
    Each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function, and an object with an identifier,
    The network system includes at least one server connected to a network, and the server includes the storage unit and the verification unit.
    The first network interface unit, based on a request from the first terminal device, uses an object logical communication path setting function to associate an identifier of the object in advance with the logical communication path information in the storage unit of the server. And register
    Based on a request from the second terminal device, each of the second network interface units uses an object logical communication path setting function to associate the logical communication path information with the storage unit of the server in advance. Register an identifier for
    The storage unit of the server has an object management table in which the identifier of the object and routing information are associated with each other,
    The first network interface unit, based on a data transmission request from the first terminal device, uses a data transmission function of the object to store an object previously associated with information on a logical communication path used for data transmission to the network. Send an identifier,
    The server collation unit is determined by referring to the object management table and collating routing information corresponding to an identifier of an object associated in advance with information on a logical communication path used for the data transmission. Send the data to the two terminal devices,
    The second network interface unit corresponding to the second terminal device receives data from a logical communication path used for data transmission by the first terminal device using a data reception function of the object. Item 4. The network system according to Item 1.
  11. 前記記憶部は、データ送信に使用する論理的通信路を識別するための情報を登録するために第1端末装置に対応して設けられる第1記憶部と、データ受信に使用する論理的通信路を識別するための情報を登録するために第2端末装置の各々に対応して設けられる第2記憶部とで構成され、前記照合部は、第2端末装置の各々に対応して設けられることを特徴とする請求項1に記載のネットワークシステム。 The storage unit includes a first storage unit provided corresponding to the first terminal device for registering information for identifying a logical communication channel used for data transmission, and a logical communication channel used for data reception. And a second storage unit provided corresponding to each of the second terminal devices for registering information for identifying, the verification unit being provided corresponding to each of the second terminal devices The network system according to claim 1.
  12. 前記第1端末装置および第2端末装置の各々は、論理的通信路の設定機能、データ送信機能、およびデータ受信機能を有するとともに、共通の識別子が付されたオブジェクトを有し、
    第1ネットワークインタフェース部は、第1端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記第1記憶部に論理的通信路を識別するための情報を登録し、
    第2ネットワークインタフェース部の各々は、第2端末装置からの要求に基づき、前記オブジェクトの論理的通信路の設定機能を用いて前記第2記憶部に論理的通信路を識別するための情報を登録し、
    第1ネットワークインタフェース部は、第1端末装置からのデータ送信要求に基づき、前記前記共通の識別子を用いてネットワークに対してデータ送信に使用する論理的通信路を識別するための情報を送り、
    前記照合部の各々は、前記データ送信に使用する論理的通信路を識別するための情報が、前記第2記憶部に登録された論理的通信路を識別するための情報と一致するかどうかを照合し、
    前記第2ネットワークインタフェース部は、前記第2端末装置の各々に対して設けられ、前記データ送信に使用する論理的通信路を識別するための情報が、第2記憶部に登録された論理的通信路を識別するための情報と一致する場合にのみ、前記オブジェクトのデータ受信機能を用いて前記第1端末装置がデータ送信に使用する論理的通信路からデータを受信することを特徴とする請求項11に記載のネットワークシステム。
    Each of the first terminal device and the second terminal device has a logical communication path setting function, a data transmission function, and a data reception function, and an object with a common identifier attached thereto,
    The first network interface unit registers information for identifying a logical communication path in the first storage unit using the logical communication path setting function of the object based on a request from the first terminal device,
    Each of the second network interface units registers information for identifying the logical communication path in the second storage unit based on a request from the second terminal device using the logical communication path setting function of the object. And
    The first network interface unit sends information for identifying a logical communication path used for data transmission to the network using the common identifier based on a data transmission request from the first terminal device,
    Each of the verification units determines whether information for identifying a logical communication path used for the data transmission matches information for identifying a logical communication path registered in the second storage unit. Match
    The second network interface unit is provided for each of the second terminal devices, and logical communication in which information for identifying a logical communication path used for the data transmission is registered in the second storage unit The data receiving function of the object is used to receive data from the logical communication path used by the first terminal device for data transmission only when the information matches the information for identifying the path. 11. The network system according to 11.
  13. 前記第2端末装置は、第1グループを構成する複数の端末装置と、第2グループを構成する複数の端末装置とを含み、前記第1端末装置は指令用端末装置を含み、
    第1グループの端末装置がデータ受信に使用する第1の論理的通信路を識別するための情報と、第2グループの端末装置がデータ受信に使用する第2の論理的通信路を識別するための情報とが予め前記記憶部に登録され、
    前記指令用端末装置は、データ送信に使用する論理的通信路として、第1の論理的通信路と第2の論理的通信路のいずれかを選択するためのチャネル選択部を有することを特徴とする請求項1に記載のネットワークシステム。
    The second terminal device includes a plurality of terminal devices constituting a first group and a plurality of terminal devices constituting a second group, and the first terminal device includes a command terminal device,
    Information for identifying the first logical communication channel used for data reception by the first group of terminal devices and for identifying the second logical communication channel used for data reception by the second group of terminal devices Information is previously registered in the storage unit,
    The command terminal device includes a channel selection unit for selecting one of a first logical communication path and a second logical communication path as a logical communication path used for data transmission. The network system according to claim 1.
  14. 前記第1グループの端末装置および前記第2グループの端末装置のすべてがデータ受信に使用する共通の論理的通信路を識別するための情報が前記記憶部に登録され、
    前記チャネル選択部は、データ送信に使用する論理的通信路として、第1の論理的通信路、第2の論理的通信路、又は前記共通の論理的通信路のいずれかを選択可能であることを特徴とする請求項13に記載のネットワークシステム。
    Information for identifying a common logical communication path used for data reception by all of the first group of terminal devices and the second group of terminal devices is registered in the storage unit,
    The channel selection unit can select one of a first logical communication path, a second logical communication path, and the common logical communication path as a logical communication path used for data transmission. The network system according to claim 13.
  15. 前記記憶部には、第1グループの端末装置の一部および第2グループの端末装置の一部がデータ受信に使用する第3の論理的通信路を識別するための情報が登録され、前記チャネル選択部は、データ送信に使用する論理的通信路として、第1の論理的通信路、第2の論理的通信路、又は第3の論理的通信路のいずれかを選択可能であることを特徴とする請求項13に記載のネットワークシステム。 Information for identifying a third logical communication path used for data reception by a part of the first group of terminal devices and a part of the second group of terminal devices is registered in the storage unit, and the channel The selection unit can select any one of the first logical communication path, the second logical communication path, and the third logical communication path as the logical communication path used for data transmission. The network system according to claim 13.
  16. 前記第1グループおよび前記第2グループの端末装置にはそれぞれ所望の電気機器が接続され、前記データは、各端末装置に接続された電気機器が提供するコンテンツの送信要求を含み、前記データ送信に使用する論理的通信路が前記第1の論理的通信路である時、第1グループの端末装置のそれぞれに接続された電気機器のコンテンツが前記指令用端末装置に送信されることを特徴とする請求項13に記載のネットワークシステム。 Desired electrical devices are connected to the terminal devices of the first group and the second group, respectively, and the data includes a transmission request for content provided by the electrical devices connected to the terminal devices, and the data transmission When the logical communication path to be used is the first logical communication path, the contents of the electrical equipment connected to each of the terminal devices of the first group are transmitted to the command terminal device. The network system according to claim 13.
  17. ネットワークを介して接続される端末装置同士の間でデータ通信を行うためのネットワークシステムであって、
    データ送信を要求する第1アプリケーション部を備えた端末装置;
    前記第1アプリケーション部とネットワークの間に接続され、前記第1アプリケーション部からのデータ送信の要求に基づき、データ送信に使用する論理的通信路を識別するための情報を用いてネットワークに対してデータ送信を実行する第1ミドルウェア部;
    他の端末装置がデータ受信に使用する論理的通信路を識別するための情報が登録される記憶部;
    前記データ送信に使用する論理的通信路を識別するための情報と、前記記憶部に登録されたデータ受信に使用する論理的通信路を識別するための情報とを照合する照合部;および
    前記他の端末装置に設けた第2アプリケーション部とネットワークとの間に接続される第2ミドルウェア部とを含み、
     前記第2ミドルウェア部は、前記データ送信に使用する論理的通信路を識別するための情報と前記データ受信に使用する論理的通信路を識別するための情報とが一致する場合にのみ、当該論理的通信路から送信されるデータを受信して、前記第2アプリケーション部に提供することを特徴とするネットワークシステム。
    A network system for performing data communication between terminal devices connected via a network,
    A terminal device including a first application unit that requests data transmission;
    Data connected to the network using information for identifying a logical communication path used for data transmission based on a data transmission request from the first application unit, connected between the first application unit and the network A first middleware unit that executes transmission;
    A storage unit in which information for identifying a logical communication path used for data reception by another terminal device is registered;
    A collation unit that collates information for identifying a logical communication path used for data transmission and information for identifying a logical communication path used for data reception registered in the storage unit; and the others A second middleware unit connected between the second application unit provided in the terminal device and the network,
    The second middleware unit performs the logical operation only when the information for identifying the logical communication path used for the data transmission matches the information for identifying the logical communication path used for the data reception. A network system characterized by receiving data transmitted from a general communication path and providing the data to the second application unit.
  18. ネットワークを介して接続される端末装置同士の間でデータ通信を行うための方法であって、
    データ受信側の端末装置がデータ受信に使用する論理的通信路を識別するための情報を記憶部に登録するステップと、
    データ送信側の端末装置に設けた第1アプリケーション部がデータ送信を要求するステップと、
    前記第1アプリケーション部とネットワークの間に接続される第1ミドルウェア部が、前記第1アプリケーション部からのデータ送信の要求に基づいて、データ送信に使用する論理的通信路を識別するための情報を用いてネットワークに対してデータ送信を実行するステップと、
    前記データ送信に使用する論理的通信路を識別するための情報と、前記記憶部に登録されたデータ受信に使用する論理的通信路を識別するための情報とを照合部で照合するステップとを含み、
    前記照合ステップによって、前記データ送信に使用する論理的通信路を識別するための情報と前記データ受信に使用する論理的通信路を識別するための情報とが一致する場合にのみ、データ受信側の端末装置に設けた第2アプリケーション部とネットワークの間に接続される第2ミドルウェア部が当該論理的通信路からデータを受信して、前記第2アプリケーション部に提供することを特徴とするデータ通信方法。
     
    A method for performing data communication between terminal devices connected via a network,
    Registering information for identifying a logical communication path used for data reception by the terminal device on the data receiving side in the storage unit;
    A step in which a first application unit provided in a terminal device on the data transmission side requests data transmission;
    Information for identifying a logical communication path used for data transmission by a first middleware unit connected between the first application unit and the network based on a data transmission request from the first application unit is provided. Using to perform data transmission to the network;
    Collating the information for identifying the logical communication path used for the data transmission and the information for identifying the logical communication path used for data reception registered in the storage unit by the collating unit; Including
    Only when the information for identifying the logical communication path used for the data transmission matches the information for identifying the logical communication path used for the data reception by the collating step, the data receiving side A data communication method, wherein a second middleware unit connected between a second application unit provided in a terminal device and a network receives data from the logical communication path and provides the data to the second application unit .
PCT/JP2008/053549 2008-02-28 2008-02-28 Network system and method for data communication WO2009107220A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2008/053549 WO2009107220A1 (en) 2008-02-28 2008-02-28 Network system and method for data communication
JP2010500495A JPWO2009107220A1 (en) 2008-02-28 2008-02-28 Network system and data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2008/053549 WO2009107220A1 (en) 2008-02-28 2008-02-28 Network system and method for data communication

Publications (1)

Publication Number Publication Date
WO2009107220A1 true WO2009107220A1 (en) 2009-09-03

Family

ID=41015634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2008/053549 WO2009107220A1 (en) 2008-02-28 2008-02-28 Network system and method for data communication

Country Status (2)

Country Link
JP (1) JPWO2009107220A1 (en)
WO (1) WO2009107220A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794767A (en) * 2021-09-13 2021-12-14 联想(北京)有限公司 Data processing method, server and communication interaction system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007228243A (en) * 2006-02-23 2007-09-06 Nec Corp Community management system and member managing method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007228243A (en) * 2006-02-23 2007-09-06 Nec Corp Community management system and member managing method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Mailing List Mania 2", PC JAPAN, vol. 6, no. 4, 1 April 2004 (2004-04-01), pages 186 - 195 *
MATSUSHITA DENKO GIHO: "Home Control System Muke Kokakuchosei Tsushin Protocol", MATSUSHITA DENKO GIHO, vol. 52, no. 4, 19 November 2004 (2004-11-19), pages 4 - 10 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794767A (en) * 2021-09-13 2021-12-14 联想(北京)有限公司 Data processing method, server and communication interaction system
CN113794767B (en) * 2021-09-13 2023-09-22 联想(北京)有限公司 Data processing method, server and communication interaction system

Also Published As

Publication number Publication date
JPWO2009107220A1 (en) 2011-06-30

Similar Documents

Publication Publication Date Title
JP3906801B2 (en) Apartment house home automation system
JP4455170B2 (en) Network home appliance control system
US20070097993A1 (en) System and method for remote control of local devices over a wide area network
KR101056102B1 (en) Network system
KR100960586B1 (en) Network system
JP4595438B2 (en) Remote monitoring control system, center server for remote monitoring control system, equipment monitoring control device for remote monitoring control system, and communication method for remote monitoring control system
CN109450744A (en) Approaches to IM
CN101529398B (en) Network system
KR100969906B1 (en) Network system
JP5038956B2 (en) Network system
WO2009107220A1 (en) Network system and method for data communication
JP2009217671A (en) Control device and its control method
CA2525199A1 (en) System and method for extensible control network for remote devices
JP2005242877A (en) Network household electrical appliance system
JP4473836B2 (en) Remote monitoring system
JP2008211383A (en) Remote monitoring system
JP5135422B2 (en) Gateway device
JP5662360B2 (en) Information communication system, community management server, gateway device, information communication method and program
JP4079176B2 (en) Remote control system
CN101375262B (en) Network system
JP2007174208A (en) Display system of electronic apparatus

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2010500495

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08712120

Country of ref document: EP

Kind code of ref document: A1