WO2001044952A1 - Procede de communication de donnees, clients/serveur, et support d'enregistrement de programme de communication, - Google Patents

Procede de communication de donnees, clients/serveur, et support d'enregistrement de programme de communication, Download PDF

Info

Publication number
WO2001044952A1
WO2001044952A1 PCT/JP2000/008897 JP0008897W WO0144952A1 WO 2001044952 A1 WO2001044952 A1 WO 2001044952A1 JP 0008897 W JP0008897 W JP 0008897W WO 0144952 A1 WO0144952 A1 WO 0144952A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
message
server
protocol
data
Prior art date
Application number
PCT/JP2000/008897
Other languages
English (en)
French (fr)
Inventor
Koichi Ebata
Shuichi Shibata
Kenji Takeda
Kazuhiro Okanoue
Masahiro Ono
Masahiko Tsukue
Original Assignee
Nec Corporation
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 Nec Corporation filed Critical Nec Corporation
Priority to AU18914/01A priority Critical patent/AU1891401A/en
Publication of WO2001044952A1 publication Critical patent/WO2001044952A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Definitions

  • the present invention relates to a data communication method, a client, a server, and a recording medium on which a communication program is recorded, and in particular, records a data communication method, a client, a server, and a communication program using a protocol defined between a client and a server. It relates to a recording medium.
  • the standard network architecture for computer communications is defined by the International Organization for Standardization (Iso) and the International Brass and Telephone Consultative Committee (CCITT), currently the ITU-T (International Brass and Telephone Consultative Committee). It is defined as a reference model for OSI (Open Systems Interconnection).
  • the OSI reference model is the physical layer (layer 1), data link layer (layer 2), network layer (layer 3), transport layer (layer 4), and session layer (layer 5).
  • Layer a presentation layer (sixth layer), and an application layer (seventh layer).
  • the fifth layer, the session layer performs synchronization and controls how data is sent in order to efficiently and retrieving data between processes at both ends of communication.
  • WSP Wireless Application Protocol
  • WAP Wireless Application Protocol Architecture Specification, WAP Architecture 30-Apr-1998) is used.
  • rotoco I Wireless Application Protocol, Wireless Session Protocol Specification Version 228- May-1999
  • HTTP Hyper Text Transfer Protocol
  • WAP has the characteristics of a mobile terminal, such as low processing capacity, low memory and power resources, and small display equipment.
  • This is a communication protocol and its execution environment group that have been proposed mainly for the purpose of using the Internet in mobile terminals, taking into account the characteristics of line transmission.
  • WSP is a protocol that performs the same function as HTTP in a WAP network, and has a function equivalent to HTTP version 1.1.
  • OTA protocol WAP Push OTA Protocol Proposed Version 16-August-1999 used in the push service for transmitting data from the server to the client. I do.
  • FIG 4 shows the network architecture of WAP.
  • WAP when connecting from a user terminal (WAP client 6) to a server having content (origin server 8), if the network to which the client belongs and the network to which the origin server belongs are different, A gateway or proxy-1 (WAP gateway / proxy-1 7) is used as an intermediary. If they belong to the same network, they may communicate directly.
  • the WAP communication protocol is used to communicate with a WAP-equipped server or WAP gateway Z proxy 17 in the network to which the WAP client 6 belongs, and the WAP gateway proxy 17 Another communication protocol is used in another network between the server and the origin server 8.
  • WSP which is the protocol of the session layer in WAP
  • a connection-oriented communication service that establishes a session between communication ends is provided prior to data transmission.
  • the WAP client plays the role of the client, the WAP gateway proxy, or the origin server that directly communicates with the client.
  • FIG. 8A shows the sequence at the time of session establishment.
  • S-Connect. Req The session establishment request
  • Fig. 8A The session establishment message
  • the session establishment message includes the type of the message (here, session establishment).
  • the server returns a session establishment response message (Fig. 8F) in response to this session establishment message, and the session is established when the operation ends normally.
  • Session-related operations include temporary release, restoration, and release in addition to the establishment described above. It is the client that generates each request and the server that generates the response.
  • Figure 6 shows the sequence for transferring or requesting data from the client to the server.
  • these primitives are called S-Method Inovke and S-ethodResult.
  • S-Method Invoke.req data transfer or request request primitives
  • the message includes the type of message (method in this case), the content of the request that specifies the data transfer or request, the communication destination, and the data.
  • the server In response to this message, the server returns a method response message (Fig. 8F) using a lower-layer protocol (for example, transport protocol), and then sends a result to the client's data transfer or request, and a pre-transaction indicating the result transfer. It is transmitted using a result message (Fig. 8C) by mitigation (S-MethodResult).
  • the result message contains the type of message (here the result) and the data.
  • the client receiving the result message returns a result response message (Fig. 8F) to the server.
  • the server is a WAP gateway / proxy, it communicates with the origin server and returns the result from the origin server to the client using the S-MethodResult primitive.
  • S-MethodResu is always compatible with S-Method Invoke and cannot be used alone.
  • Fig. 7 shows the sequence of data transfer from the server to the client by push.
  • WSP this is called the S-ConfirmedPush primitive.
  • Push is an operation in which data is transferred from a server to a client without a request from the client. In this operation, for example, in the architecture shown in Fig. 4, data is transferred from the origin server on the Internet to the client in the WAP network without any request from the client. Used in cases.
  • the push message (Fig. 8D) includes the message type (here, push) and the data.
  • the lower part of Fig. 7 shows the sequence for prompting the server to establish a session. In WAP, this is called the Push OTA Pom-SessionRequest primitive.
  • Session establishment is only possible from the client, so the server prompts the client to establish a session.
  • the server receives data for a client that has not established a session, it can prompt the establishment of a session and perform a push-initiated data transfer from the server.
  • the session establishment reminder message includes the type of message (here, session establishment reminder).
  • HTTP on the Internet does not define a protocol for session management or push, but it is almost the same as WSP for data requests and transfers.
  • the functions of the client and the server are clearly separated, and each performs different operations. Basically, messages for session management start from the client, and the server responds to them.
  • Push 0TA prepares a message to prompt the client from the server only for the session establishment operation. Data transfer can be started from both the client and server, but the messages used are not the same.
  • a terminal used by a user is equipped with a client module, which communicates with an origin server equipped with a server module of the protocol in the same network, or a gateway equipped with the server module. It communicates with the origin server on another network using the proxy as a relay.
  • the first problem is defined by the session layer client and server as described above. If a protocol that uses the protocol is used, mutual communication between clients equipped with the client module of the protocol cannot be performed.
  • the reason is that in such a protocol, the message transmission direction defined by the protocol is determined, and the message processing method differs between the client and server, and the node that triggers the operation starts. Is fixed.
  • the second problem is to implement a server protocol module on the terminal as the simplest solution for performing client-to-client communication. This means that memory resources are required.
  • An object of the present invention is to enable mutual communication between clients via a relay server using a protocol defined by the client and the server. Disclosure of the invention
  • a first client is provided.
  • the relay server once receives the message sent from the server and specifying the second client as the communication destination, interprets that the message is addressed to the second client, and requests the message.
  • the message is transmitted to the second client as a push message including the result transfer destination in the relay server as the destination of the content, the communication destination, and the data transmitted by the second client in the data part.
  • the message is analyzed, and the result within the specified relay server By transmitting the result data for the request to the transfer destination, mutual communication between the clients is enabled.
  • FIG. 1 is a diagram illustrating a configuration of the first embodiment.
  • FIG. 2 is a diagram showing a configuration of a push message.
  • FIG. 3 is a sequence diagram showing a data request or transfer.
  • FIG. 4 is a diagram illustrating an example of a WAP network architecture.
  • FIG. 5 is a sequence diagram showing the establishment of one session in the conventional example.
  • FIG. 6 is a sequence diagram showing a conventional example 2 content request and its transfer.
  • Fig. 7 is a sequence diagram showing a conventional example 3 session establishment prompt and confirmation push.
  • FIGS. 8A to 8F are diagrams showing the configuration of various messages. BEST MODE FOR CARRYING OUT THE INVENTION
  • FIG. 1 shows a configuration in which a first client 1 communicates with a second client 3 using a relay server 2.
  • the first client 1 communicates with an application processing unit 1 ⁇ and a data management unit 12.
  • the relay server 2 has a session management unit 21 and a data management unit 22, and the second client 3 has a session management unit 31, a data management unit 32, and an application processing unit 33. .
  • the first client 1 and the relay server 2 and the relay server 2 and the second client 3 are connected by wired or wireless physical links 4 and 5, and are in a state where communication is possible.
  • WTP Wireless Transact on Protocol
  • TCP Transmissionmissive Control Protocol
  • UDP User Datagram Protocol
  • the first client 1 has a client module of a protocol defined between the client and the server, and includes an application processing unit 11 and a data management unit 12.
  • the data management unit 12 includes a method start processing unit 121 and a method result processing unit 122 for exchanging messages for data transfer.
  • Each processing unit receives a request from the application processing unit 11 and exchanges a message with the corresponding processing unit of the relay server 2 by using the above-mentioned protocol, whereby each service is transmitted to the application processing unit 11. provide.
  • the method start processing unit 122 1 communicates with the first method start processing unit 22 1 of the relay server 2.
  • a method that includes the contents of the request, such as destination or data transfer or request Send a message ( Figure 8B).
  • the relay server 2 receives a method response message (FIG. 8F) for the method message from the first method start processing unit 221 of the relay server 2 and supplies a confirmation of the method start to the application processing unit ⁇ 1. I do.
  • the met result processing unit 122 receives the result message (FIG. 8C) from the first met result processing unit 222 of the relay server 2 as a result of the request content of the method message, and outputs the result message.
  • the result of the request content included in the data section of the request is extracted and supplied to the application processing section 11.
  • a result response message (FIG. 8F) is transmitted to the first method result processing unit 222 of the relay server 2 according to the notification from the application processing unit 11.
  • the application processing unit # 1 performs data transfer or a request to the method start processing unit 121. In response to a data transfer or request, it accepts a methed start confirmation that is performed when the methed start processing unit 12 1 receives a method response message from the relay server 2. Then, the application processing unit 11 is provided with the result of the data transfer or the request from the met result processing unit 122, and when the result of the data transfer request or the like is supplied, the met result result unit 1 22 Request a result response message to be sent.
  • the relay server 2 has a server module of a protocol defined by the client and the server, and is composed of a session management unit 21 and a data management unit 22.
  • the session management unit 21 exchanges messages for session management.
  • Each processing unit exchanges a message with the corresponding processing unit of the second client 3 using the above-mentioned protocol.
  • the establishment prompting processing unit 212 when no session has been established between the relay server 2 and the second client that is the destination of the method message, sets the data management unit 22 In response to the request for establishment from the first method start processing unit 221, a session establishment prompt message (Fig. 8E) is transmitted to the second client's establishment prompting unit 3 ⁇ 2.
  • the establishment processing unit 211 receives the session establishment message (FIG. 8A) from the establishment processing unit 311 of the second client 3, and sends a session establishment response message (FIG. 8F) to the second client 3.
  • the session is established by returning it to the establishment processing unit 311 and the session is added to the existing session table 213. Further, it notifies the first method start processing section 222 that the session establishment has been completed.
  • the currently established session is registered in the existing session table 2 13, and the newly established session is registered by the notification from the establishment processing unit 2 11.
  • the data management unit 22 exchanges messages for data transfer, a first method start processing unit 22 2, a first method result processing unit 22 2, a push processing unit 22 3,
  • the second method start processing unit 224, the second method result processing unit 225, and the message management unit 22 that manages the correspondence of messages between the first client 1 and the second client 3. 6 is provided.
  • Each processing unit exchanges a message with the corresponding processing unit of the first client 1 or the second client 3 using the protocol.
  • the first method start processing unit 221 receives the method message from the method start processing unit 121 of the first client 1 and communicates with the second client. If it is, the existing session table 2 13 is inquired about whether a session exists between the second client 3 and the relay server 2. If the session has not been established, supply the request for establishment to the establishment promotion section 2 1 2. When the session has been established, or when the establishment processing unit 2-1 notifies that the session has been established, the method message is supplied to the push processing unit 23. Further, when receiving the method message from the method start processing unit 121 of the first client 1, it transmits a method response message to the method start processing unit 121 of the first client 1.
  • the push processing unit 222 receives the communication destination and request included in the method message in the conventional data portion of the push message shown in FIG.
  • the content, and in the case of data transfer, the data and the result in the relay server 2 to which the second client 3 sends the result to the request The transfer destination is designated and transmitted to the push processing unit 3 2 1 of the second client. Further, as a result of this, the transfer destination and the first client which made the request in the method message are associated with each other and notified to the message management unit. Also, it receives a push response message (FIG. 8F) from the push processing unit 321 of the second client.
  • a push response message FIG. 8F
  • the message management unit 222 stores the correspondence between the result transfer destination and the first client who made the request using the met message.
  • the second method start processing unit 224 receives the method message from the second client method start processing unit 322, and based on the result transfer destination included in the message, the message management unit 224.
  • the result is for the method message received from the first client, and the first client to which the data is to be transferred is searched for. From 22, it is supplied to the first method result processing section 222 together with the data section of the method message.
  • the second method start processing unit 222 receives the method message from the second client method start processing unit 322, the second method start processing unit 322 of the second client receives the method message. Send a response message.
  • the first method result processing unit 222 enters the data supplied from the second method start processing unit 224 into the data portion of the result message, and sets the first client as a communication destination with the first client. To the met result processing unit 122 of the client. When the result response message (FIG. 8F) is received from the first client's met result processing unit 122, the second client's met result result is sent to the second method result processing unit 222. Requests processing section 232 to send a result message.
  • the second method result processing unit 222 transmits a result message to the second client in response to the request of the first method processing result unit 222.
  • the second client receives a response result response message from the method result processing unit 3233 of the second client.
  • the relay server 2 can know that the request from the first client to the second client is completed.
  • the second client 3 is equipped with a client module of the above-mentioned protocol, and includes a session management unit 31, a data management unit 32 and an application processing unit 33.
  • the session management section 31 includes an establishment processing section 311 for exchanging messages for session management, an establishment prompting processing section 312, and an existing session table 313.
  • Each processing unit belonging to the session management unit 31 responds to the message from the relay server 2 or the request or response from the application processing unit 33 by using the above-mentioned protocol.
  • Each service is provided to the application processing unit 33 by exchanging messages with the processing unit.
  • the establishment prompting processor 3 12 supplies the session establishment instruction to the application processor 3 3.
  • the establishment processing unit 3-1 receives a request for session establishment from the application processing unit 33, and transmits a session establishment message to the establishment processing unit 211 of the relay server 2.
  • the establishment processing unit 311 receives the session establishment response message from the establishment processing unit 211 of the relay server 2, the establishment processing unit 311 adds the session of the existing session table 313 of the second client 3.
  • the currently established session is registered in the existing session table 313, and the newly established session is registered by the notification from the establishment processing unit 311.
  • the data management unit 32 exchanges messages for data transfer, from the push processing unit 321, the MET start processing unit 322, the MET result processing unit 32, and the relay server 2. And a message analyzer 324 for interpreting the message included in the push message and supplying an appropriate instruction to the application processor 33.
  • Each of the three processing units belonging to the data management unit 32 exchanges a message with the corresponding processing unit of the relay server 2 to provide a service to the application processing unit 33, but the push processing unit 3 21 A message is supplied to the analysis unit 324, and a response is supplied from the application processing unit 33. This is because information that is not exchanged by conventional client-server communication may be included in the data.
  • the push processing unit 32 ⁇ ⁇ ⁇ supplies the push message to the message analysis unit 324.
  • a push response message is relayed by an instruction from the application processing unit 33. —Send to push processor 2 2 3 of bus 2.
  • the message analyzer 324 analyzes the data part of the push message, and the request contents (operations, etc.) requested by the first client 1 which is the opposite client indicated by the message, and the request contents are transmitted by data transfer. If so, the transferred data and the result transfer destination are supplied to the application processing unit 33.
  • the method start processing unit 3 222 sets the result transfer destination supplied from the application processing unit 3 3 as the communication destination, sets the data transfer as the request content, and receives the request from the first client supplied from the application processing unit 33.
  • the relay server 2 transmits a met message in which the result of the request content is included in the data to the second met start processing unit 224 of the relay server 2. If the request content from the first client is a data request, the requested data is included in the data, and if it is a data transfer, the result of the data transfer is included in the data as a result of the request content. Also, the methed start processing unit 322 receives the methed response message from the second method start processing unit 224 of the relay server 2.
  • the method result processing unit 323 When receiving the result message from the second method result processing unit 225 of the relay server 2, the method result processing unit 323 notifies the application processing unit 33 that the result message has been received. Further, as a result of this notification, a request response message is transmitted to the second method result processing unit of the relay server 2 in response to a request from the application processing unit 33.
  • the push processing unit 3 Notify 2 ⁇ to send a push response message. Also, in accordance with the request of the first client 1 instructed from the message analysis unit 324, the request result and the result transfer destination are supplied to the method start processing unit 322. Further, when notified that the result message has been received from the method result processing unit 32 3, the relay unit 2 requests the second method result processing unit of the relay server 2 to transmit a result response message.
  • the first client 1, the relay server 2, and the second client 3 each exchange a plurality of types of messages.
  • the received message can be sorted to an appropriate processing unit by checking the information on the type included in the message.
  • the second client 3 which is the client is designated as the communication destination when the first client 1 transmits the method message.
  • the relay server 2 confirms the communication destination, and if a session has not been established for the client, prompts the establishment of the session and establishes the session, and transmits the method message from the first client 1 to the second. Resend as a push message to client 3.
  • the method message received from the first client 1 at the relay server 2 corresponds to the result transfer destination in the relay server 2 designated as the destination of the data returned by the second client 3
  • the data from the second client 3 is accurately relayed to the first client. By doing so, mutual communication between the first client 1 and the second client 3 is enabled.
  • the application processing unit ⁇ 1 supplies a data transfer or a request to the second client 3 to the MET start processing unit 121 (MET start request: S 1), and the MET start processing unit 1 2 1 Sends the first method start processing unit 221 method message of the relay server 2 (S2).
  • the met message includes the message type (here, met), the communication destination (here, the second client 3), the data transfer, or the request contents indicating the request.
  • the first method start processing unit 22 1 of the relay server 2 From the type, communication destination, and request contents, it is recognized that the data transfer or request is to the second client 3.
  • the existing session table 2 13 is inquired about whether a session exists with the second client 3 that is the communication destination, and if it does not exist, a session establishment prompt is issued. Further, the first method start processing unit 221 of the relay server 2 transmits a method response message to the method start processing unit 121 of the first client 1 (S3).
  • the method start processing unit 121 of the first client Upon receiving the method response message from the first method start processing unit 22 1 of the relay server 2, the method start processing unit 121 of the first client performs a method start confirmation on the application. Supply to processing unit 11 (method start confirmation: S4).
  • the establishment prompt is performed as follows.
  • the operations for prompting session establishment and session establishment are the same as the conventional operations shown in Figs.
  • An establishment prompting request is supplied from the first method start processing unit 2 2 1 to the establishment prompting unit 2 12 of the relay server 2, and the establishment prompting unit 2 1 2 sends a session establishment prompt message to the second To client 3.
  • the establishment prompting processing unit 312 of the second client 3 which has received the session establishment prompting message supplies an instruction for session establishment to the application processing unit 33.
  • the application processing unit 33 supplies a request for session establishment to the establishment processing unit 311.
  • the establishment processing unit 311 sends a session establishment message to the establishment processing unit 211 of the relay server 2. I do.
  • the establishment processing unit 211 of the relay server 2 Upon receiving the session establishment message, the establishment processing unit 211 of the relay server 2 returns a session establishment response message to establish the session, and as the existing session in the existing session table 211, the relay server 2 and the second client In addition to adding the session with the third client, the first method start processing unit 22 ⁇ is notified that the session establishment with the second client 3 is completed.
  • the establishment processing unit 311 of the second client Upon receiving the session establishment response message from the establishment processing unit 211 of the relay server 2, the establishment processing unit 311 of the second client adds the session of the existing session table 313 of the second client 3. I do. If the session between Relay Server 2 and Second Client 3 has been established, or after the establishment is completed, communication from Relay Server 2 to Second Client 3 is performed.
  • the first method start processing unit 2 12 of the relay server 2 issues a push request to the push processing unit 2 23 (push request: S 5).
  • the method message received from the first client 1 by the first method start processing unit 221 of the relay server 2 is supplied to the push processing unit 223, and the first message is stored in the data part of the push message.
  • the destination, the request content, and the data included in the method message from the client 1 and the destination in the relay server 2 that transmits the result to the second client 3 are designated as the result transfer destination, and the second destination is specified.
  • Send to client 3 (S6).
  • the result transfer destination specified here is associated with the client that transmitted the request (here, the first client ⁇ ), and is notified to the message management unit 226.
  • the result data returned from the second client 3 can be accurately returned to the requesting client (here, the first client 1).
  • This correspondence may be the correspondence between the requesting client and the result transfer destination, or the correspondence between the requested client and the met message and the result transfer destination.
  • the push processor 321 of the second client 3 that has received the push message supplies the message to the message analyzer 324.
  • the message analysis unit 3 2 4 analyzes the data portion of the push message to extract the request contents, data, and result transfer destination of the first client 1 and supply them to the application processing unit 33 (push instruction: S 7). .
  • the application processing unit 33 notifies the push processing unit 321, so as to return the response of the push message (push response: S8), and transmits the push response message to the relay server 2 (S Along with 9), the result of the request content from the first client 1 and the result transfer destination are supplied to the method start processing unit 3222 (method start request: S10).
  • the method start processing unit 3 2 2 sets the result transfer destination in the designated relay server 2 as the communication destination, the data transfer as the request content, and includes the result in the data. Is sent to the relay server 2 (S11).
  • the second method start processing unit 224 of the relay server 2 inquires the message management unit 226 from the result transfer destination in the relay server 2 that has received the message, and sends the first client 1 It recognizes that the result is a method message received from the first client, and supplies the data part of the message to the first met result processing unit 222 with the first client 1 as a destination (method result request: S 14). Also, the second method start processing unit 224 of the relay server 2 transmits the method response message of the second client's method start processing unit 322 (S12) o. Then, the method start processing unit 322 of the second client confirms the start of the method to the application processing unit 33 (S13).
  • the first method result processing unit 222 receives the request for the result of the method, inserts the data supplied from the second method start processing unit 224 into the data part of the result message, and sends the first client 1 (S15).
  • the method result processing unit 122 of the first client 1 that has received the result message performs application processing on the result of the data transfer of the second client 3 or the result of the data request included in the data part of the result message.
  • Supply to part 11 (method result indication: S16).
  • the application processing unit ⁇ Upon receiving the method result instruction, the application processing unit ⁇ notifies the method result processing unit 122 of the transmission of the result response message (method result response: S17) and causes the transmission (S18). .
  • the first method result processing unit 222 of the relay server 2 that has received the result response message requests the second method result processing unit 225 to send the result message (method result request: S 19 ), And send it (S20).
  • the method result processing unit 323 of the second client 3 that has received the result message notifies the message reception to the application processing unit 33 (method result instruction: S21), and the application processing unit 33 sends a response to the method result. It is supplied to the processing unit 323 (method result response: S22).
  • the met result processing unit 323 transmits a result response message to the relay server 2 (S23).
  • the first client designates the second client 3 which is the client as the communication destination of the method message, and the relay server 2 transmits the method message of the first client 1 from the first client 1.
  • the communication destination and the request contents, including the result transfer destination in the relay server 2 are transmitted to the second client 3 as a push message, and the second client 3 receiving the push message transmits the first client 1
  • the first client 1 and the second client 3 can communicate with each other by transmitting the request result from the specified result transfer destination.
  • the message configuration does not necessarily need to be as shown in the figure as long as the contents shown in FIG. 2 and FIGS. 8A to 8F can be confirmed at the receiving end.
  • the data transfer message and the data request message may be divided into two types and the items of the request contents may be excluded.
  • the first client, the relay server, and the second client in the first embodiment of the present invention each include a data processing device and a storage device, and further include a communication program. It has a storage medium for recording (not shown). This recording medium may be a magnetic disk, a semiconductor memory, a CD-ROM, or another recording medium.
  • the communication program for controlling the first client is read from the recording medium into the storage device of the first client, and causes the data processing device to generate the data management unit 12 and control its operation.
  • the data processing device executes the same processing as the communication processing by the data management unit 12 of the first client in the first embodiment under the control of the communication program.
  • the communication program for controlling the second client is read from the recording medium into the storage device of the second client, and the data processing device generates the session management unit 31 and the data management unit 32. Control behavior.
  • the data processing device executes the same processing as the communication processing by the session management unit 31 and the data management unit 32 of the second client in the first embodiment under the control of the communication program.
  • the communication program for controlling the relay server is read from the recording medium into the storage device of the relay server, and causes the data processing device to generate the session management unit 21 and the data management unit 22 and control the operation thereof.
  • the data processing device controls the communication program. The same processing as the communication processing by the session management unit 21 and the data management unit 22 of the relay server according to the first embodiment is executed.
  • mutual communication using a server as a relay can be performed between a client and a client having a client module of a protocol defined by the server.
  • the reason is that the first client sends a method message specifying the second client as the communication destination, and the relay server that received the method message recognizes that it is communication between clients, If a session between the relay server and the second client has not been established, it is established, and the destination in the method message, the request, the data, and the result in the relay server as the destination of the result of the second client
  • a push message that specifies a transmission destination is sent to a second client, and the second client that receives the push message analyzes the push message and specifies a requested result.
  • the result message in the relay server is sent to the destination, and the relay server sends the result message and the It is for taking a correspondence between client Bok of method on message.

Description

明 細 書 データ通信方法、 クライアント、 サーバ及び通信プログラムを記録した記録媒体 技術分野
本発明はデータ通信方法、 クライアント、 サーバ及び通信プログラムを記録し た記録媒体に関し、 特にクライアン卜とサーバ間で定義されたプロ 卜コルを用い るデータ通信方法、 クライアント、 サーバ及び通信プログラムを記録した記録媒 体に関する。 背景技術
コンピュータ通信における、 標準的なネッ 卜ワークアーキテクチャは、 I so (International Organization for Standardization; 国際標準化機構) や CC I TT (International Telegraph and Telephone Consulta ive Committee 国際 電信電話諮問委員会,現 ITU-T)により、 OS I (Open Systems Interconnection; 開放型システム間相互接続) の参照モデルとして定義されている。
OS I の参照モデルは物理層 (第 1層)、 デ一タリンク層 (第 2層)、 ネッ トヮ ーク層 (第 3層)、 トランスポート層 (第 4層)、 セッション層 (第 5層)、 プレゼ ンテーシヨン層 (第 6層)、 アプリケーション層 (第 7層) の 7層から構成されて いる。 第 5層であるセッション層は、 通信の両端のプロセス間でデータを効率よ くやリ取リするために、 同期を取ることや、 データの送り方の制御等を行う。 セッション層プロ トコルの実際の例としては、 WAP (Wireless Application Protocol; Wireless Application Protocol Architecture Specification, WAP Arch i tectu re Ve rs i on 30-Apr- 1998)における W S P (W i re I ess Sess i on P rotoco I; Wireless Application Protocol Wireless Session Protocol Specification Version 228- May-1999) や、 インターネッ 卜における H TT P (Hyper Text Transfer Protocol; RFC 2068) が挙げられる。
WAPは、 処理能力やメモリ、 電力資源が少なく、 表示用機器も小さいという 移動体端末の特徴や、 使用帯域が狭い、 遅延が大きい、 安定性が低いといった無 線伝送による特色を考慮して、 主に移動体端末においてインターネッ 卜を利用す ることを目的に提案されている通信プロ 卜コルとその実行環境群である。
WS Pは、 WAPネッ トワークにおいて HTTPと同様の機能を果たすプロ ト コルであり、 HTTP version 1.1相当の機能を持つ。 W A Pにおけるセッション層 プロ卜コルには、 WS P以外に、 サーバからクライアン卜に対してデータ伝送を 行うプッシュサービス時に利用される OTAプロ トコル (WAP Push OTA Protocol Proposed Version 16-August- 1999) が存在する。
WA Pにおけるネッ トワークアーキテクチャを図 4に示す。 WAPでは、 ユー ザの端末 (WAPクライアン卜 6) からコンテンツを持つサーバ (オリジンサ一 バ 8) へ接続する際に、 クライアントの所属するネッ 卜ワークとオリジンサーバ の所属するネッ 卜ワークが異なる場合、 その仲介としてゲートウェイ、 あるいは プロキシ一 (WA Pゲートウェイ/プロキシ一 7) を用いる。 所属するネッ 卜ヮ ークが同一である場合は、 直接通信する場合もある。
WAPの通信プロ 卜コルは、 WAPクライアン卜 6の所属するネッ トワーク内 の WA Pを搭載したサーバ、 または WAPゲ一トウエイ Zプロキシ一 7と通信す るために使用され、 WAPゲートウエイノプロキシ一 7からオリジンサーバ 8ま での間の別のネッ トワークでは、 他の通信プロ 卜コルが利用される。
WA Pにおけるセッシヨン層のプロ トコルである WS Pを用いた通信では、 デ —タの伝送に先駆けて、 通信端同士でセッションを設立するコネクションオリエ ンテツ ド型の通信サービスを提供している。 WS Pを用いる通信では、 WAPク ライアン卜がクライアント、 WAPゲートウェイ プロキシ一、 またはクライア ン卜と直接通信するオリジンサーバがサーバの役割を負う。
図 5は、 セッション設立時のシーケンスを示しており、 WS Pではセッション 設立のプリミティブを S- Connectと呼ぶ。セッションの設立要求(S-Connect. req) は、 必ずクライアント側で生成され、 クライアントからサーバに向けてセッショ ン設立行うためにセッション設立メッセージ (図 8A) が送信される。 セッショ ン設立メッセージには、 メッセージの種類 (ここでは、 セッション設立) が含ま れる。 サーバ側はこのセッシヨン設立メッセージに対してセッシヨン設立応答メ ッセージ (図 8F) を返し、 正常に動作が終了するとセッションが設立される。 セッションに関わる動作には以上の設立の他に、 一時解放、 復旧、 解放が存在す る。 それぞれの要求を生成するのは必ずクライアントで、 応答を生成するのは必 ずサーバである。
図 6は、 クライアン卜からサーバに向けたデータの転送または要求を行う場合 のシーケンスであり、 WS Pではこのプリミティブを S- Method Inovkeおよび S- ethodResult と呼ぶ。 これらのデータ転送または要求の要求プリミティブ (S- Method Invoke.req) は必ずクライアントで生成され、 クライアントからサーバに 向けてデータ転送または要求を要請するためのメソッ ドメッセージ (図 8B) が 送信される。 メッツ ドメッセージには、 メッセージの種類(ここでは、 メソッ ド)、 データ転送あるいは要求を指定する要求内容、 通信先、 データが含まれる。
サーバはこのメッセージ.に対して下位層のプロ トコル (例えば卜ランスポート プロトコル) でメソッ ド応答メッセージ (図 8F) を返した後、 クライアントの データ転送や要求に対する結果を、 結果の転送を示すプリ ミティ ブ (S- MethodResult) により結果メッセージ (図 8C) を用いて転送する。 結果メッセ 一ジにはメッセージの種類 (ここでは、 結果) とデータが含まれる。
結果メッセージを受信したクライアン卜は、 サーバに対して結果応答メッセ一 ジ (図 8F) を返信する。 この動作においてサーバが WAPゲートウェイ/プロ キシ一である場合は、 オリジンサーバとの通信を行い、 オリジンサーバからの結 果をクライアン 卜に S- MethodResult プリ ミティ ブを用いて返信する。 S- MethodResuけは、 必ず S- Method Invokeに対応し、 単独で使用することはできな い。
図 7上部は、 プッシュによるサーバからクライアン卜へのデータ転送のシーケ ンスを示したものであり、 WS Pでは S-ConfirmedPushプリミティブと呼ぶ。 プ ッシュはクライアン卜からの要求なしに、 サーバからクライアン卜に対してデー タが転送される動作である。 この動作は、 例えば図 4のようなアーキテクチャに おいて、 インターネッ ト上のオリジンサーバから WA Pネッ 卜ワーク内のクライ アン卜に対して、 クライアン卜からの要求がない状態でデータが転送される場合 に利用される。 プッシュメッセージ (図 8 D) には、 メッセージの種類 (ここで は、 プッシュ) とデータが含まれる。 図 7下部は、 サーバからのセッション設立催促のシーケンスを示したものであ リ、 W A Pでは、 Push OTAの Pom- Sess i onRequestプリミティブと呼ぶ。 セッシ ョン設立はクライアン卜からのみ可能であるので、 サーバがクライアントへセッ シヨンの設立を促すのがセッション設立催促である。 これを用いることにより、 サーバはセッションの設立されていないクライアントに対するデータを受け取つ た際にセッションの設立を催促し、 サーバから開始されるプッシュのデータ転送 を行うことが可能となる。
この機搆は、 例えば、 前記のようにインターネッ ト上のオリジンサーバから W A Pゲートウエイに対して、 W A Pクライアント宛のデータがプッシュされたと きに、 W A Pゲ一トウエイとクライアン 卜の間のセッションが設立されていない 場合に利用される。 セッション設立催促メッセージ (図 8 A ) には、 メッセージ の種類 (ここでは、 セッション設立催促) が含まれる。
インターネッ 卜における H T T Pには、 セッション管理やプッシュに関するプ 口 トコルの定義はないが、データ要求と転送に関しては W S Pとほぼ同一である。 以上のように W A Pにおけるセッションプロ卜コルでは、 クライアントとサ一 バの機能が明確に分かれており、 それぞれが異なる動作を行う。 セッション管理 のためのメッセージは基本的にクライアン卜から動作が開始され、 サーバがそれ に答える形を取る。 Push 0TAではセッション設立の動作のみ、 サーバからクライ アン卜に対して催促を行うためのメッセージを用意している。 また、 データ転送 に関してはクライアントおよびサーバの両側からの始動が可能となっているが、 用いられるメッセージは同一のものではない。
このため、 セッション層におけるクライアン卜とサーバで定義されるプロ トコ ルの実装にはクライアン卜用モジュールとサーバ用モジュールとの 2種類が存在 する。 通常、 ユーザが使用する端末にはクライアントモジュールが搭載され、 同 ーネッ トワークに存在する当該プロ 卜コルのサーバモジュールを搭載したオリジ ンサーバと通信を行うか、 あるいは当該サーバモジュールを搭載したゲ一トウェ ィ プロキシ一を中継器として他のネッ 卜ワークに存在するオリジンサーバと通 信を行う。
第一の問題点は、 前記のようにセッション層のクライアントとサーバで定義さ れるプロ トコルを用いた場合、 プロ トコルのクライアントモジュールを搭載した クライアント間での相互通信ができないことである。
その理由は、 このようなプロ トコルでは、 プロ トコルで定義されているメッセ ージの伝送方向が決まっており、 クライアン卜とサーバでメッセージの処理方法 が異なるとともに、動作を開始する契機となるノードが固定的であるためである。 第二の問題点は、クライアン卜間通信を行うための最も簡易な解決方法として、 端末にサーバ用のプロ トコルモジュールを実装することが挙げられるが、 この場 合、 端末に高い処理能力や大きなメモリ資源が必要となるということである。 本発明の目的は、 クライアントとサーバで定義されるプロ トコルを用いて、 中 継サーバを経由したクライアン卜間の相互通信を可能とすることにある。 発明の開示
クライアントとサーバで定義されるセッシヨンプロ 卜コルのクライアントモジ ユールを搭載した第一のクライアン卜と第二のクライアン卜が、 サーバモジユー ルを搭載した中継サーバを通じて接続されているネッ トワークにおいて、 第一の クライアン卜から送信された、 通信先として第二のクライアン卜が指定されたメ ッセージを中継サーバが一旦受信して、 メッセージを第二のクライアン卜宛のも のであることを解釈し、 そのメッセージの要求内容、 通信先及び第二のクライア ン卜が送出するデータの送信先として中継サーバ内の結果転送宛先をデータ部に 含んだ、 プッシュメッセージとして、 第二のクライアントに対して送信し、 第二 のクライアントにおいて、 そのメッセージを解析して、 指定された中継サーバ内 の結果転送宛先に要求に対する結果データを送信することによリクライアン卜間 の相互通信を可能にする。 図面の簡単な説明
図 1は、 第 1の実施の形態の構成を示す図である。
図 2は、 プッシュメッセージの構成を示す図である。
図 3は、 データ要求または転送を示すシーケンス図である。
図 4は、 WA Pネッ トワークアーキテクチャの例を示す図である。 図 5は、 従来例 1セッションの設立を示すシーケンス図である。
図 6は、 従来例 2コンテンツ要求とその転送を示すシーケンス図である。
図 7は、 従来例 3セッション設立催促と確認付きプッシュを示すシ一ケンス図 である。
図 8 Aから図 8 Fは、 各種メッセージの構成を示す図である。 発明を実施するための最良の形態
図 1 を用いて本発明の第 1の実施の形態について説明する。
図 1 は、 第一のクライアント 1が中継サーバ 2を利用して第二のクライアント 3と通信するための構成であり、 第一のクライアント 1 はアプリケーション処理 部 1 〗 とデータ管理部 1 2とを有し、中継サーバ 2は、セッション管理部 21 とデ ータ管理部 2 2を有し、 第二のクライアント 3はセッション管理部 3 1 、 データ 管理部 3 2、 およびアプリケーション処理部 3 3を有する。
第一のクライアント 1 と中継サーバ 2、 および中継サーバ 2と第二のクライア ント 3は、 有線あるいは無線の物理リンク 4、 5で接続されており、 通信が可能 な状態になっている。 この通信に際しては W A Pにおける W T P (W i re l ess Transact i on Protoco l )、 あるいはイ ンターネ ッ 卜で用いられる T C P (Transm i ss i on Contro l P rotoco l ) や U D P (Use r Datagram Protoco l ) などを 用いることができる。
第一のクライアン卜 1は、 クライアントとサーバの間で定義されるプロ 卜コル のクライアントモジュールを搭載しており、 アプリケーション処理部 1 1 とデー タ管理部 1 2から構成される。 データ管理部 1 2は、 データ転送のためのメッセ ージの交換を行う、 メッツ ド開始処理部 1 2 1 、 メソッ ド結果処理部 1 2 2、 を 備えている。 各処理部はアプリケーション処理部 1 1からの要求を受け、 前記プ 口 トコルを用いて、 中継サーバ 2の対応する処理部とのメッセージ交換を行うこ とで、 各サービスをアプリケーション処理部 1 1 に提供する。
具体的には、 メソッ ド開始処理部 1 2 1 は、 アプリケーション処理部 1 〗 から データ転送または要求等が供給されると、 中継サーバ 2の第一のメッツ ド開始処 理部 2 2 1へ通信先やデータの転送または要求等の要求内容を含んだメソッ ドメ ッセージ (図 8 B ) を送信する。 また、 中継サーバ 2の第一のメッツ ド開始処理 部 2 2 1からメソッ ドメッセージに対するメッツ ド応答メッセ一ジ (図 8 F ) を 受信し、 アプリケーション処理部〗 1へメソッ ドの開始確認を供給する。
また、 メッツ ド結果処理部 1 2 2は、 中継サーバ 2の第一のメッツ ド結果処理 部 2 2 2からメソッ ドメッセージの要求内容に対する結果として結果メッセージ (図 8 C ) を受信し、 結果メッセージのデータ部に含まれる要求内容に対する結 果を抽出し、 アプリケーション処理部 1 1 に供給する。 また、 アプリケーション 処理部 1 1からの通知により結果応答メッセージ (図 8 F ) を中継サーバ 2の第 —のメソッ ド結果処理部 2 2 2へ送信する。
アプリケーション処理部〗 1 は、 メソッ ド開始処理部 1 2 1にデータ転送また は要求を行う。 データ転送や要求に対して、 メッツ ド開始処理部 1 2〗が中継サ ーバ 2からメソッ ド応答メッセージを受信したときに行われるメッツ ド開始確認 を受け付ける。 そして、 アプリケーション処理部 1 1は、 データ転送または要求 に対する結果をメッツ ド結果処理部 1 2 2から提供され、 データ転送要求等によ る結果が供給されると、 メッツ ド結果処理部 1 2 2に結果応答メッセージの送出 を要求する。
中継サーバ 2はクライアン卜とサーバで定義されるプロ 卜コルのサーバモジュ —ルを搭載しており、 セッション管理部 2 1 とデータ管理部 2 2とから構成され る。
セッション管理部 2 1は、 セッション管理を行うためのメッセージの交換を行 う設立処理部 2 1 1、 設立催促処理部 2 〗 2と、 既存の設立されているセッショ ンを管理する既存セッションテーブル 2 1 3とを備える。 各処理部は、 前記プロ 卜コルを用いて、 第二のクライアント 3の対応する処理部とメッセージの交換を 行う。
具体的には、 設立催促処理部 2 1 2は、 中継サーバ 2とメソッ ドメッセージの 通信先である第二のクライアン卜との間にセッシヨンが設立されていない場合、 データ管理部 2 2の第一のメッツ ド開始処理部 2 2 1から設立催促要求を受け、 セッション設立催促メッセージ (図 8 E ) を第二のクライアン トの設立催促処理 部 3〗 2に対して送信する。 設立処理部 2 1 〗は、 第二のクライアント 3の設立処理部 3 1 1からセッショ ン設立メッセージ (図 8 A ) を受信し、 セッション設立応答メッセージ (図 8 F ) を第二のクライアント 3の設立処理部 3 1 1 に返信してセッションを確立させ、 既存セッションテーブル 2 1 3に当該セッションを追加する。 さらに第一のメソ ッ ド開始処理部 2 2 1 にセッション設立が完了したことを通知する。
既存セッションテーブル 2 1 3には、 現在設立されているセッションが登録さ れており、 設立処理部 2 1 1からの通知により新たに設立されたセッションが登 録される。
データ管理部 2 2は、 データ転送のためのメッセージの交換を行う、 第一のメ ソッ ド開始処理部 2 2〗 、 第一のメソッ ド結果処理部 2 2 2、 プッシュ処理部 2 2 3、 第二のメッツ ド開始処理部 2 2 4、 第二のメソッ ド結果処理部 2 2 5と、 第一のクライアン卜 1 と第二のクライアント 3とのメッセージの対応を管理する メッセージ管理部 2 2 6を備える。 各処理部は、 前記プロ トコルを用いて、 第一 のクライアント 1、 または第二のクライアント 3の対応する処理部とメッセージ の交換を行う。
具体的には、 第一のメソッ ド開始処理部 2 2 1 は、 第一のクライアン卜 1 のメ ソッ ド開始処理部 1 2 1からメッツ ドメッセージを受信し、 その通信先が第二の クライアントである場合、 第二のクライアン卜 3と中継サーバ 2の間にセッショ ンが存在するかどうか既存セッションテーブル 2 1 3に問い合わせる。 セッショ ンが設立されていない場合、 設立催促部 2 1 2に設立催促要求を供給する。 セッ シヨンが設立されていた場合、 または設立処理部 2〗 1からセッションが設立さ れたことを通知されると、 メソッ ドメッセージをプッシュ処理部 2 2 3へ供給す る。 また、 第一のクライアン ト 1のメッツ ド開始処理部 1 2 1 からメソッ ドメッ セージを受信すると、 第一のクライアン ト 1のメッツ ド開始処理部 1 2 1ヘメソ ッ ド応答メッセージを送信する。
プッシュ処理部 2 2 3は、 第一のメッツ ド開始処理部 2 2 1 からメソッ ドメッ セージが供給されると、 図 2に示すプッシュメッセージの従来データ部にメソッ ドメッセージに含まれる通信先、 要求内容、 更にデータ転送の場合はデータと、 第二のクライアント 3が要求に対する結果の送信先である中継サーバ 2内の結果 転送宛先を指定して第二のクライアン卜のプッシュ処理部 3 2 1へ送信する。 更 にこの結果転送宛先とメソッ ドメッセージにて要求を行った第一のクライアント とを対応付けてメッセージ管理部に通知する。 また、 第二のクライアン トのプッ シュ処理部 3 2 1からのプッシュ応答メッセージ (図 8 F ) を受信する。
メッセージ管理部 2 2 6は、 結果転送宛先とメッツ ドメッセージにて要求を行 つた第一のクライアン卜との対応を記憶しておく。
第二のメソッ ド開始処理部 2 2 4は、 第二のクライアントのメソッ ド開始処理 部 3 2 2からメソッ ドメッセージを受信し、 そのメッセージに含まれる結果転送 宛先に基づいてメッセージ管理部 2 2 6を参照することにより、 第一のクライア ントからの受信したメソッ ドメッセ一ジに対する結果であることを認識し、 デ一 夕の転送先である第一のクライアントを求め、 メッツ ド開始処理部 3 2 2からメ ソッ ドメッセージのデータ部とともに第一のメッツ ド結果処理部 2 2 2へ供給す る。 また、 第二のメソッ ド開始処理部 2 2 4は、 第二のクライアントのメソッ ド 開始処理部 3 2 2からメソッ ドメッセージを受信すると、 第二のクライアントの メッツ ド開始処理部 3 2 2ヘメソッ ド応答メッセージを送信する。
第一のメソッ ド結果処理部 2 2 2は、 結果メッセージのデータ部に第二のメソ ッ ド開始処理部 2 2 4から供給されたデータを入れて第一のクライアン卜を通信 先として第一のクライアン卜のメッツ ド結果処理部 1 2 2に対して送信する。 ま た、第一のクライアン卜のメッツ ド結果処理部 1 2 2から結果応答メッセージ(図 8 F ) を受信すると、 第二のメソッ ド結果処理部 2 2 5に第二のクライアントの メッツ ド結果処理部 23 2へ結果メッセージの送出を要求する。
第二のメッツ ド結果処理部 2 2 5は、 第一のメソッ ド処理結果部 2 2 2の要求 により、 第二のクライアントに対して結果メッセージを送信する。 また、 第二の クライアントのメソッ ド結果処理部 3 2 3よリ結果応答メッセージを受信する。 この結果応答メッセージを受信することにより、 第一のクライアントから第二の クライアン卜への要求が完了したことを中継サーバ 2は知ることができる。 第二のクライアン 卜 3は、 前記プロ トコルのクライアントモジュールを搭載し ており、 セッション管理部 3 1 、 データ管理部 3 2及びアプリケーション処理部 3 3とから構成される。 セッション管理部 3 1は、 セッション管理を行うためメッセージの交換を行う 設立処理部 3 1 1、 設立催促処理部 3 1 2、 既存セッションテーブル 3 1 3とを 備える。 セッション管理部 3 1 に属する各処理部は、 中継サーバ 2からのメッセ ージ、 あるいはアプリケーション処理部 3 3からの要求や応答にあわせて、 前記 プロ 卜コルを用いて、 中継サーバ 2の対応する処理部とメッセージを交換するこ とによって、 各サービスをアプリケーション処理部 3 3に提供する。
具体的には、 設立催促処理部 3 1 2は、 中継サーバ 2の設立催促処理部 2 1 2 からセッション設立催促メッセージを受信すると、 アプリケーション処理部 3 3 にセッションの設立の指示を供給する。
また、 設立処理部 3〗 1 は、 アプリケーション処理部 3 3からのセッション設 立の要求を受けて中継サーバ 2の設立処理部 2 1 1 に対してセッション設立メッ セージを送信する。 また、 設立処理部 3 1 1 は、 中継サーバ 2の設立処理部 2 1 1からセッション設立応答メッセージを受信すると、 第二のクライアント 3の既 存セッションテーブル 3 1 3のセッションを追加する。
既存セッションテーブル 3 1 3には、 現在設立されているセッションが登録さ れており、 設立処理部 3 1 1からの通知により新たに設立されたセッションが登 録される。
データ管理部 3 2は、 データ転送を行うためのメッセージの交換を行う、 プッ シュ処理部 3 2 1、 メッツ ド開始処理部 3 2 2、 メッツ ド結果処理部 3 2 3、 中 継サーバ 2からのプッシュメッセージに含まれるメッセージを解釈して適切な指 示をアプリケーション処理部 3 3に供給するメッセージ解析部 3 2 4を備える。 データ管理部 3 2に属する 3つの処理部のそれぞれは、 中継サーバ 2の対応する 処理部とメッセージを交換して、 アプリケーション処理部 3 3にサービスを提供 するが、プッシュ処理部 3 2 1 はメッセージ解析部 3 2 4ヘメッセージを供給し、 アプリケーション処理部 3 3から応答を供給される。 これは、 従来のクライアン ト サーバ間通信では交換しない情報をデータ内に含むことがあるためである。 具体的には、 プッシュ処理部 3 2〗 は、 中継サーバ 2のプッシュ処理部 2 2 3 からプッシュメッセージを受信するとメッセ一ジ解析部 3 2 4に供給する。また、 アプリケ一シヨン処理部 3 3からの指示によりプッシュ応答メッセージを中継サ —バ 2のプッシュ処理部 2 2 3へ送信する。
メッセージ解析部 3 2 4は、 プッシュメッセージのデータ部を解析し、 そのメ ッセージの示す対向クライアン卜である第一のクライアント 1 が要求する要求内 容(動作等)、 更に要求内容がデータ転送であれば転送されたデータ、及び結果転 送宛先をアプリケーション処理部 3 3へ供給する。
メッツ ド開始処理部 3 2 2は、 アプリケーション処理部 3 3から供給された結 果転送宛先を通信先とし、 データ転送を要求内容とし、 アプリケーション処理部 3 3から供給された第一のクライアン卜からの要求内容に対する結果をデータ内 に包含したメッツ ドメッセージを中継サーバ 2の第二のメッツ ド開始処理部 2 2 4へ送信する。 第一のクライアン卜からの要求内容がデータ要求であれば要求さ れたデータ、 データ転送であればデータ転送に対する結果が上記要求内容に対す る結果としてデータ内に包含される。 また、 メッツ ド開始処理部 3 2 2は、 中継 サーバ 2の第二のメソッ ド開始処理部 2 2 4からメッツ ド応答メッセージを受信 する。
メソッ ド結果処理部 3 2 3は、 中継サーバ 2の第二のメッツ ド結果処理部 2 2 5より結果メッセージを受信すると、 アプリケーション処理部 3 3へ結果メッセ ージを受信したことを通知する。 さらにこの通知の結果、 アプリケーション処理 部 3 3からの要求により、 中継サーバ 2の第二のメソッ ド結果処理部へ結果応答 メッセージを送信する。
アプリケーション処理部 3 3は、 メッセージ解析部 3 2 4からプッシュメッセ ージに含まれていた第一のクライアン卜 1が要求する要求内容、 データ、 結果転 送宛先が供給されると、 プッシュ処理部 3 2〗へプッシュ応答メッセージを送信 するように通知する。 また、 メッセージ解析部 3 2 4から指示される第一のクラ イアント 1 の要求にしたがって、 メソッ ド開始処理部 3 2 2へ要求結果と結果転 送宛先を供給する。 また、 メソッ ド結果処理部 3 2 3より結果メッセージを受信 したことを通知されると、 中継サーバ 2の第二のメッツ ド結果処理部へ結果応答 メッセージの送信を要求する。
また、 図では示していないが、 第一のクライアント 1、 中継サーバ 2、 第二の クライアント 3は、 それぞれ複数種類のメッセージを交換するが、 通信相手から 受信したメッセージはメッセージに含まれる種類に関する情報を確認することに よって、 適切な処理部へ振り分け可能である。
また、 本発明では図 8 Aから図 8 Fに示したメッセージの搆造のうち、 プッシ ュメッセージのデータ部分に、 図 2のように、 通信先、 要求内容 (データ転送ま たは要求)、結果転送宛先、 データを含む搆成とし、他のメッセージに関しては同 —のものを使用する。
図 3を用いて、 第一のクライアン卜 1 が、 第二のクライアン卜に対してデータ 転送または要求を行う場合の動作について説明する。
従来は、 クライアント間のデータ転送は想定されていないので、 あるクライァ ン卜から別のクライアン卜宛のデータ、 あるいはデータの要求をサーバに送信し ても、 サーバでは処理できない。
そのため、 本発明では、 第一のクライアント 1 がメソッ ドメッセージを送信す る際の通信先として、 クライアントである第二のクライアント 3を指定する。 中 継サーバ 2において通信先を確認し、 該クライアン卜に対するセッションが設立 されていない状態であると、 セッション設立を催促して設立させ、 第一のクライ アン卜 1 からのメソッ ドメッセージを第二のクライアン卜 3へのプッシュメッセ ージとして再送信する。 その際、 中継サーバ 2において受信した第一のクライァ ント 1 からのメソッ ドメッセージと、 第二のクライアン卜 3が返信するデータの 送信先として指定する中継サーバ 2内の結果転送宛先と、 を対応づけ、 第二のク ライアント 3からのデータを第一のクライアン卜に正確に中継する。 このように することで、 第一のクライアント 1 と第二のクライアント 3との間の相互通信を 可能とする。
まず、 アプリケーション処理部〗 1 が、 メッツ ド開始処理部 1 2 1へ第二のク ライアント 3に対するデータ転送または要求を供給し(メッツ ド開始要求: S 1 )、 メッツ ド開始処理部 1 2 1 は、 中継サーバ 2の第一のメッツ ド開始処理部 2 2 1 ヘメソッ ドメッセージを送信する(S 2 )。図 8 Bに示すようにメッツ ドメッセー ジには、 メッセージの種類(ここではメッツ ド)、 通信先(ここでは第二のクライ アン卜 3 )、 データ転送あるいは要求を示した要求内容が含まれる。
中継サーバ 2の第一のメッツ ド開始処理部 2 2 1 では、 受信したメッセージの 種類、 通信先、 要求内容から、 第二のクライアント 3に対するデータ転送あるい は要求であることを認識する。 通信先である第二のクライアン卜 3との間にセッ シヨンが存在するかを、 既存セッションテーブル 2 1 3に問い合わせ、 存在しな い場合はセッションの設立催促を行う。 また、中継サーバ 2の第一のメッツ ド開 始処理部 2 2 1は、 第一のクライアン卜 1 のメソッ ド開始処理部 1 2 1 に対して メッツ ド応答メッセージを送信する (S 3 )。
第一のクライアン卜のメソッ ド開始処理部 1 2 1 は、 中継サーバ 2の第一のメ ソッ ド開始処理部 2 2 1からメソッ ド応答メッセ一ジを受信すると、 メソッ ド開 始確認をアプリケーション処理部 1 1 に対して供給する (メッツ ド開始確認: S 4 )。
中継サーバ 2と第二のクライアント 3との間にセッションが設立されていない 場合の設立催促は以下のように行う。 セッション設立催促とセッション設立の動 作については、 図 5と図 7に示される従来の動作と同一である。 第一のメソッ ド 開始処理部 2 2 1から中継サーバ 2の設立催促処理部 2 1 2に対して、 設立催促 要求が供給され、 設立催促処理部 2 1 2は、 セッション設立催促メッセージを第 二のクライアント 3に対して送信する。
セッション設立催促メッセージを受信した第二のクライアント 3の設立催促処 理部 3 1 2は、アプリケーション処理部 3 3にセッション設立の指示を供給する。 アプリケーション処理部 3 3は、 設立処理部 3 1 1 にセッション設立の要求を供 給し、 設立処理部 3 1 1は、 セッション設立メッセージを中継サーバ 2の設立処 理部 2 1 1 に対して送信する。
セッション設立メッセージを受信した中継サーバ 2の設立処理部 2 1 1は、 セ ッシヨン設立応答メッセージを返信してセッションを確立させ、 既存セッション テーブル 2 1 3の既存セッションとして中継サーバ 2と第二のクライアント 3と のセッションを追加するとともに、 第一のメッツ ド開始処理部 2 2〗 に第二のク ライアン卜 3とのセッション設立が完了したことを通知する。
第二のクライアン卜の設立処理部 3 1 1 は、 中継サーバ 2の設立処理部 2 1 1 からセッション設立応答メッセージを受信すると、 第二のクライアン卜 3の既存 セッションテーブル 3 1 3のセッションを追加する。 中継サーバ 2と第二のクライアン卜 3のセッションが設立されていた場合、 あ るいは設立が完了した後、 中継サーバ 2から第二のクライアン ト 3への通信を行 ラ。
まず、 中継サーバ 2の第一のメッツ ド開始処理部 2 1 2は、 プッシュ処理部 2 2 3へプッシュ要求を行う (プッシュ要求: S 5 )。 中継サーバ 2の第一のメソッ ド開始処理部 2 2 1が第一のクライアン卜 1から受信したメソッ ドメッセージは、 プッシュ処理部 2 2 3に供給され、 プッシュメッセージのデータ部に第一のクラ イアン卜 1 からのメソッ ドメッセージに含まれる通信先、 要求内容、 データと、 第二のクライアント 3に結果を送信させる中継サーバ 2内の送信先を、 結果転送 宛先として指定して、 第二のクライアント 3へ送信する (S 6 )。
ここで指定する結果転送宛先と要求を送信したクライアン卜 (ここでは第一の クライアン ト 〗) とを対応させて、 メッセージ管理部 2 2 6へ通知する。 このこ とにより、 第二のクライアント 3から返送される結果データを、 要求を出したク ライアン卜 (ここでは第一のクライアント 1 ) に正確に返信することができる。 この対応は、 要求したクライアントと結果転送宛先という対応であっても、 要求 したクライアン卜とメッツ ドメッセージと結果転送宛先という対応であってもか まわない。
該プッシュメッセージを受信した第二のクライアン卜 3のプッシュ処理部 3 2 1は、 メッセージ解析部 3 2 4にメッセージを供給する。 メッセージ解析部 3 2 4はプッシュメッセージのデータ部を解析することにより、 第一のクライアント 1 の要求内容とデータ、 結果転送宛先を取り出し、 アプリケーション処理部 3 3 へ供給する (プッシュ指示: S 7 )。
アプリケーション処理部 3 3は、プッシュメッセ一ジの応答を返信するように、 プッシュ処理部 3 2 1へ通知して(プッシュ応答: S 8 )、 プッシュ応答メッセー ジを中継サーバ 2へ送信する (S 9 ) とともに、 第一のクライアント 1からの要 求内容に対する結果と結果転送宛先をメッツ ド開始処理部 3 2 2へ供給する (メ ソッ ド開始要求: S 1 0 )。
メソッ ド開始処理部 3 2 2は、 指定された中継サーバ 2内の結果転送宛先を通 信先、 データ転送を要求内容とし、 結果をデータ内に包含して、 メッツ ドメッセ ージを中継サーバ 2に送信する (S 1 1 )。
メソッ ドメッセージを受信した中継サーバ 2の第二のメッツ ド開始処理部 22 4は、 受信した中継サーバ 2内の結果転送宛先よりメッセ一ジ管理部 226に問 い合わせ、 第一のクライアン卜 1から受信したメソッ ドメッセージに対する結果 であることを認識し、 該メッセージのデータ部を、 第一のクライアント 1を送信 先として第一のメッツ ド結果処理部 222へ供給する (メッツ ド結果要求: S 1 4)。 また、 中継サーバ 2の第二のメッツ ド開始処理部 224は、第二のクライア ン卜のメッツ ド開始処理部 322ヘメソッ ド応答メッセージを送信する(S 1 2)o このメッツ ド応答メッセージを受信すると第二のクライアントのメソッ ド開始処 理部 322は、 アプリケーション処理部 33へメソッ ドの開始確認を行う (S 1 3)。
第一のメッツ ド結果処理部 222は、 メッツ ド結果要求を受けて、 結果メッセ ージのデータ部に第二のメソッ ド開始処理部 224から供給されたデータを入れ て、 第一のクライアント 1に対して送信する (S 1 5)。
結果メッセージを受信した第一のクライアン卜 1のメソッ ド結果処理部 1 22 は、 結果メッセージのデータ部に含まれる、 第二のクライアン卜 3のデータ転送 に対する結果、 あるいはデータ要求に対する結果をアプリケーション処理部 1 1 に供給する (メソッ ド結果指示: S 1 6)。
アプリケーション処理部〗 〗 は、 メソッ ド結果指示を受けると、 メソッ ド結果 処理部 1 22に結果応答メッセージの送出を通知して (メッツ ド結果応答: S 1 7)、 送出させる (S 1 8)。
結果応答メッセージを受信した中継サーバ 2の第一のメソッ ド結果処理部 22 2は、 第二のメッツ ド結果処理部 225に結果メッセージの送出を要求して (メ ソッ ド結果要求: S 1 9)、 送信させる (S20)。
結果メッセージを受信した第二のクライアント 3のメソッ ド結果処理部 323 は、メッセージ受信をアプリケーション処理部 33に通知し(メソッ ド結果指示: S 21 )、アプリケーション処理部 33は、応答をメソッ ド結果処理部 323に供 給する (メソッ ド結果応答: S 22)。 メッツ ド結果処理部 323は、 結果応答メ ッセージを中継サーバ 2に送信する (S 23)。 以上のように、 第一のクライアン卜がメソッ ドメッセージの通信先としてクラ イアン卜である第二のクライアント 3を指定し、 中継サーバ 2が、 第一のクライ アン卜 1 からのメッツ ドメッセージの通信先と要求内容を、 中継サーバ 2内の結 果転送宛先を含めて、第二のクライアン卜 3へプッシュメッセージとして送信し、 プッシュメッセージを受信した第二のクライアン 卜 3が第一のクライアント 1か らの要求結果を、 指定された結果転送宛先に送信することによって、 第一のクラ イアント 1 と第二のクライアン卜 3との間の相互通信を行うことが可能となる。 なお、 メッセージの構成は、 図 2や図 8 Aから図 8 Fに示した内容が受信端で 確認できれば、 必ずしも図に示すような構成である必要はない。 例えば、 メッツ ドメッセージに関して、 データ転送用メッセージとデータ要求用メッセージと、 2種類にして要求内容の項目を排除してもかまわない。
次に本発明の第 2の実施の形態について説明する。 本発明の第 2の実施の形態 では、 本発明の第 1の実施の形態における、 第一のクライアント、 中継サーバ、 第二のクライアントは、 それぞれデータ処理装置、 記憶装置を備え、 さらに通信 プログラムを記録した記憶媒体を備える (特に図示せず)。 この記録媒体は、 磁気 ディスク、 半導体メモリ、 C D— R O Mその他の記録媒体であってよい。
第一のクライアントを制御する通信プログラムは、 記録媒体から第一のクライ アン卜の記憶装置に読み込まれ、データ処理装置にデータ管理部 1 2を生成させ、 その動作を制御する。 データ処理装置は、 この通信プログラムの制御により第一 の実施の形態における第一のクライアン 卜のデータ管理部 1 2による通信処理と 同一の処理を実行する。
第二のクライアン卜を制御する通信プログラムは、 記録媒体から第二のクライ アン卜の記憶装置に読み込まれ、 データ処理装置にセッション管理部 3 1 、 デ一 タ管理部 3 2を生成させ、 その動作を制御する。 データ処理装置は、 この通信プ 口グラムの制御によリ第一の実施の形態における第二のクライアントのセッショ ン管理部 3 1 、 データ管理部 3 2による通信処理と同一の処理を実行する。
中継サーバを制御する通信プログラムは、 記録媒体から中継サーバの記憶装置 に読み込まれ、 データ処理装置にセッション管理部 21、 データ管理部 2 2を生成 させ、 その動作を制御する。 データ処理装置は、 この通信プログラムの制御によ リ第一の実施の形態における中継サーバのセッション管理部 21、データ管理部 2 2による通信処理と同一の処理を実行する。
本発明により、 クライアン卜とサーバで定義されるプロトコルのクライアント モジュールを実装したクライアント間で、 サーバを中継器とした相互通信が可能 となる。 その理由は、 第一のクライアントが通信先として第二のクライアントを 指定したメソッ ドメッセージを送信し、 該メソッ ドメッセージを受信した中継サ ーバが、 クライアント間通信であることを認識して、 中継サーバと第二のクライ アン卜間のセッションが設立されていなければ設立し、 前記メソッ ドメッセージ の通信先、 要求内容、 データ、 および第二のクライアントの結果の送信先として 中継サーバ内の結果送信宛先、 を指定したプッシュメッセージを、 第二のクライ アン卜へ送信し、 該プッシュメッセージを受信した第二のクライアントが、 該プ ッシュメッセージを解析して、 要求された結果を指定された中継サーバ内の結果 転送宛先に送信し、 中継サーバが結果メッセージの転送先によって、 結果メッセ ージと第一のクライアン卜のメソッ ドメッセージとの対応をとるためである。

Claims

請求の範囲
1 . クライアントとサーバ間の通信を行うために、 クライアン卜がサーバと のセッションの設立を要求するセッション設立メッセージと、 サーバがクライア ントにセッション設立メッセージを送信するよう催促するセッション設立催促メ ッセージと、 クライアン卜がサーバにデータを転送または要求するためのメソッ ドメッセージとを含んで定義されたプロ 卜コルを用いるデータ通信方法であって、 前記プロトコルを用いる第一のクライアントは、 通信先として前記プロ トコル を用いる第二のクライアントを指定し前記メソッ ドメッセージを送信し、
前記プロ トコルを用いる中継サーバは、 該メ.ソッ ドメッセージを受信し、 前記 プロ 卜コルを用いる第二のクライアントとの間にセッションが設立されていなか つた場合、 前記第二のクライアントに対して前記セッション設立催促メッセージ を送信し、
前記第二のクライアン卜がセッション設立メッセージを送信することを特徴と するデータ通信方法。
2. クライアントとサーバ間の通信を行うために、 クライアントがサーバと のセッションの設立を要求するセッション設立メッセージと、 サーバがクライア ン卜にセッション設立メッセージを送信するよう催促するセッション設立催促メ ッセージと、 クライアン卜がサーバにデータを転送または要求するためのメソッ ドメッセージとを含んで定義されたプロ 卜コルを用いるサーバであって、
前記プロ 卜コルを用いる第一のクライアン卜から送信された前記メソッ ドメッ セージを受信し、
当該メッツ ドメッセージ内に、 通信先として前記プロ トコルを用いる第二のク ライアン卜が指定されていた場合、 前記プロ 卜コルを用いる第二のクライアント との間にセッションが設立されていなければ、 前記第二のクライアン 卜に対して 前記セッション設立催促メッセ一ジを送信し、
前記第二のクライアン卜から前記セッション設立メッセージを受信することを 特徴とするデータ通信方法。
3. クライアントとサーバ間の通信を行うために、 クライアントがサーバと のセッションの設立を要求するセッション設立メッセージと、 サーバがクライア ン卜にセッション設立メッセージを送信するよう催促するセッション設立催促メ ッセージと、 クライアン卜がサーバにデータを転送または要求するためのメソッ ドメッセージとを含んで定義されたプロ 卜コルを用いるクライアン卜であって、 他のクライアントとデータの転送または要求を行うために、 通信先として前記 プロトコルを用いる他のクライアン卜を指定した前記メソッ ドメッセージを前記 プロトコルを用いる中継サーバに送信することにより、 当該中継サーバと前記プ 口 トコルを用いる前記他のクライアントとの間にセッシヨンが設立されていなか つた場合、 当該中継サーバに前記他のクライアン卜に対して前記セッション設立 催促メッセージを送信させ、 当該中継サーバと前記第二のクライアント間のセッ シヨンの設立を行なわせることを特徴とするクライアント。
4. クライアントとサーバ間の通信を行うために、 クライアントがサーバと のセッションの設立を要求するセッション設立メッセージと、 サーバがクライア ン卜にセッション設立メッセージを送信するよう催促するセッション設立催促メ ッセージと、 クライアン卜がサーバにデータを転送または要求するためのメッツ ドメッセージとを含んで定義されたプロ 卜コルを用いるクライアン卜であって、 前記プロ トコルを用いる他のクライアントが自クライアン 卜にデータの転送ま たは要求を行うために、 通信先として自クライアン卜を指定して送信された前記 メソッ ドメッセージを受信した前記プロ 卜コルを用いる中継サーバから、 当該メ ソッ ドメッセージを当該中継サーバが受信した際に当該中継サーバと自クライア ン卜との間にセッションが設立されていなかった場合に送信される前記セッショ ン設立催促メッセージを受信し、 当該中継サーバに前記セッション設立メッセー ジを送信することを特徴とするクライアン卜。
5. クライアン卜とサーバ間の通信を行うために、 サーバがクライアン トに データを転送するためのプッシュメッセージと、 クライアン卜がサーバにデータ を転送または要求するためのメッツ ドメッセージとを含んで定義したプロ トコル を用いるデータ通信方法であって、
前記プロトコルを用いる第一のクライアントは、 通信先として前記プロ 卜コル を用いる第二のクライアントを指定し前記メッツ ドメッセージを送信し、 前記プロ 卜コルを用いる中継サーバは、 前記メッツ ドメッセージを受信し、 当 該メッツ ドメッセージに含まれる通信先、 要求内容、 またはデータをプッシュメ ッセージに含ませて、 第二のクライアン卜に対して送信することを特徴とするデ ータ通信方法。
6. クライアントとサーバ間の通信を行うために、 サーバがクライアントに データを転送するためのプッシュメッセージと、 クライアン卜がサーバにデータ を転送または要求するためのメッツ ドメッセージと、 を定義したプロ トコルを用 いるサーバであって、
前記プロ トコルを用いる第一のクライアン卜から送信された前記メッツ ドメッ セージを受信し、 当該メッツ ドメッセージ内に、 通信先として前記プロ 卜コルを 用いる第二のクライアントが指定されていた場合、 当該メッツ ドメッセージに含 まれる通信先、 要求内容、 またはデータを前記プッシュメッセージに含ませて、 第二のクライアン卜に対して送出することを特徴とするサーバ。
7. クライアントとサーバ間の通信を行うために、 サーバがクライアントに データを転送するためのブッシュメッセージと、 クライアン卜がサーバにデータ を転送または要求するためのメッツ ドメッセージとを含んで定義されたプロ トコ ルを用いるクライアン卜であって、
他のクライアントとデータの転送または要求を行うために、 通信先として前記 プロ卜コルを用いる他のクライアントを指定した前記メッツ ドメッセージを前記 プロ卜コルを用いる中継サーバに送信することによリ、 当該中継サーバに前記メ ソッ ドメッセージに含まれる通信先、 要求内容、 またはデータを前記プッシュメ ッセージに含ませて当該他のクライアン卜に送信させることを特徴とするクライ アント。
8. クライアントとサーバ間の通信を行うために、 サーバがクライアン トに データを転送するためのプッシュメッセージと、 クライアン卜がサーバにデータ を転送または要求するためのメッツ ドメッセージとを含んで定義されたプロ トコ ルを用いるクライアン卜であって、
前記プロ 卜コルを用いる他のクライアントが自クライアン 卜にデータの転送ま たは要求を行うために、 通信先として自クライアン卜を指定して送信された前記 メッツ ドメッセージを受信した前記プロ 卜コルを用いる中継サーバから、 当該メ ソッ ドメッセージに含まれる通信先、 要求内容、 またはデータが含まれたプッシ ュデータを受信することを特徴とするクライアント。
9. クライアントとサーバ間の通信を行うために、 サーバがクライアントに データを転送するためのプッシュメッセージと、 クライアン卜がサーバにデータ を転送または要求するためのメソッ ドメッセージと、 前記メソッ ドメッセージに よって要求された結果をサーバがクライアン卜へ返送するための結果メッセージ とを含んで定義されたプロ トコルを用いるデータ通信方法であって、
前記プロトコルを用いる第一のクライアントは、 通信先として前記プロ 卜コル を用いる第二のクライアン卜を指定して第一のメソッ ドメッセージを送信し、 前記プロトコルを用いる中継サーバは、 当該第一のメッツ ドメッセージを受信 し、 当該第一のメソッ ドメッセージに含まれる通信先、 データ転送または要求を 指定する要求内容、 データ、 及び第二のクライアントの結果の送信先となる結果 転送宛先とを前記プッシュメッセージに含ませて第二のクライアン卜に送信し、 当該第二のクライアントは、 当該プッシュメッセージを解析して、 前記要求内 容に対する結果を第二のメッツ ドメッセージを用いて前記中継サーバの結果転送 宛先に対して送信し、
前記中継サーバは、 当該結果転送宛先により、 第二のメッツ ドメッセージと第 一のメッツ ドメッセージとを対応づけて、 前記要求内容に対する結果を第一のク ライアン卜に対して送信することを特徴とするデータ通信方法。
1 0. クライアントとサーバ間の通信を行うために、 サーバがクライアント にデータを転送するためのプッシュメッセージと、 クライアン卜がサーバにデー タを転送または要求するためのメソッ ドメッセージと、 前記メッツ ドメッセージ によって要求された結果をサーバがクライアン卜へ返送するための結果メッセー ジとを含んで定義されたプロ 卜コルを用いるサーバであって、
前記プロトコルを用いる第一のクライアン 卜から、 通信先として前記プロ トコ ルを用いる第二のクライアントを指定された第一のメソッ ドメッセージを受信し、 当該第一のメッツ ドメッセージに含まれる通信先、 データ転送または要求を指 定する要求内容、 データ、 及び第二のクライアン トの結果の送信先となる結果転 送宛先とを前記プッシュメッセージに含ませて第二のクライアン 卜に送信し、 当該第二のクライアン卜から、 前記結果転送宛先に対して第二のメッツ ドメッ セージを用いて送信された前記要求内容に対する結果を受信し、 当該結果転送宛 先により、 第二のメッツ ドメッセージと第一のメッツ ドメッセージとを対応づけ て、 前記要求内容に対する結果を第一のクライアン卜に対して送信することを特 徴とするサーバ。
1 1 . クライアントとサーバ間の通信を行うために、 サーバがクライアント にデータを転送するためのプッシュメッセージと、 クライアン卜がサーバにデー タを転送または要求するためのメッツ ドメッセージと、 前記メッツ ドメッセージ によって要求された結果をサーバがクライ.アン卜へ返送するための結果メッセー ジとを含んで定義されたプロ 卜コルを用いるクライアン 卜であって、
通信先として前記プロ 卜コルを用いる他のクライアン卜を指定して第一のメソ ッ ドメッセージを前記プロ トコルを用いる中継サーバに送信することにより、 前記中継サーバに、 当該第一のメソッ ドメッセージに含まれる通信先、 データ 転送または要求を指定する要求内容、 データ、 及び第二のクライアントの結果の 送信先となる結果転送宛先とを前記プッシュメッセージに含ませて前記他のクラ イアン卜に送信させ、
当該他のクライアントにて、 当該プッシュメッセージが解析され、 前記要求内 容に対する結果を第二のメソッ ドメッセージを用いて前記中継サーバの結果転送 宛先に対して送信され、 前記中継サーバにて、 当該結果転送宛先により、 第二の メソッ ドメッセージと第一のメッツ ドメッセージとを対応づけて送信された前記 要求内容に対する結果を受信することを特徴とするクライアント。
1 2. クライアン 卜とサーバ間の通信を行うために、 サーバがクライアン卜 にデータを転送するためのプッシュメッセージと、 クライアン卜がサーバにデー タを転送または要求するためのメッツ ドメッセージと、 前記メッツ ドメッセージ によって要求された結果をサーバがクライアン卜へ返送するための結果メッセー ジとを含んで定義されたプロ 卜コルを用いるクライアン 卜であって、
前記プロ トコルを用いる他のクライアン卜から、 通信先として自クライアント が指定された第一のメソッ ドメッセージが前記プロ トコルを用いる中継サーバに 送信され、 前記中継サーバから、 当該第一のメッツ ドメッセージに含まれる通信 先、 データ転送または要求を指定する要求内容、 データ、 及び第二のクライアン 卜の結果の送信先となる結果転送宛先とを含ませて送信された前記プッシュメッ セージ受信し、 解析して、 前記要求内容に対する結果を第二のメッツ ドメッセ一 ジを用いて前記中継サーバの結果転送宛先に対して送信することにより、
前記中継サーバに、 当該結果転送宛先により、 第二のメッツ ドメッセージと第 —のメッツ ドメッセージとを対応づけて、 第二のクライアン卜から受信した前記 要求内容に対する結果を前記他のクライアン卜に対して送信させることを特徴と するクライアント。
1 3. クライアン トとサーバ間の通信を行うために、 クライアン卜がサーバ とのセッションの設立を要求するセッション設立メッセージと、 サーバがクライ アン卜にセッション設立メッセージを送信するよう催促するセッション設立催促 メッセージと、 クライアン卜がサーバにデータを転送または要求するためのメソ ッ ドメッセージとを含んで定義されたプロ 卜コルを用いるサーバの通信プログラ 厶を記録した記憶媒体であつて、
前記プロ卜コルを用いる第一のクライアン卜から送信された前記メソッ ドメッ セージを受信する処理と、
当該メッツ ドメッセージ内に、 通信先として前記プロ トコルを用いる第二のク ライアン卜が指定されていた場合、 前記プロ トコルを用いる第二のクライアン卜 との間にセッションが設立されていなければ、 前記第二のクライアン 卜に対して 前記セッション設立催促メッセージを送信する処理と、
前記第二のクライアン卜から前記セッション設立メッセージを受信する処理を サーバに実行させるための通信プログラムを記録したことを特徴とする記録媒体。
1 4. クライアン卜とサーバ間の通信を行うために、 クライアン トがサーバ とのセッションの設立を要求するセッシヨン設立メッセージと、 サーバがクライ アン卜にセッション設立メッセージを送信するよう催促するセッシヨン設立催促 メッセージと、 クライアン卜がサーバにデータを転送または要求するためのメソ ッ ドメッセージとを含んで定義されたプロ 卜コルを用いるクライアン 卜の通信プ ログラムを記録した記録媒体であって、
他のクライアントとデータの転送または要求を行うために、 通信先として前記 プロ 卜コルを用いる他のクライアントを指定した前記メソッ ドメッセージを前記 プロ トコルを用いる中継サーバに送信することにより、 当該中継サーバと前記プ 口 トコルを用いる前記他のクライアン卜との間にセッションが設立されていなか つた場合、 当該中継サーバに前記他のクライアン卜に対して前記セッシヨン設立 催促メッセージを送信させ、 当該中継サーバと前記第二のクライアン卜間のセッ シヨンの設立を行なわせる処理をクライアン卜に実行させるためのプログラムを 記録したことを特徴とする記録媒体。
1 5. クライアントとサーバ間の通信を行うために、 クライアントがサーバ とのセッションの設立を要求するセッション設立メッセージと、 サーバがクライ アン卜にセッション設立メッセージを送信するよう催促するセッション設立催促 メッセージと、 クライアン卜がサーバにデータを転送または要求するためのメソ ッ ドメッセージとを含んで定義されたプロ 卜コルを用いるクライアン卜の通信プ ログラムを記録した記録媒体であつて、
前記プロ 卜コルを用いる他のクライアントが自クライアン卜にデータの転送ま たは要求を行うために、 通信先として自クライアン卜を指定して送信された前記 メッツ ドメッセージを受信した前記プロ 卜コルを用いる中継サーバから、 当該メ ソッ ドメッセージを当該中継サーバが受信した際に当該中継サーバと自クライア ン卜との間にセッションが設立されていなかった場合に送信される前記セッショ ン設立催促メッセージを受信し、 当該中継サーバに前記セッション設立メッセー ジを送信する処理をクライアン 卜に実行させるための通信プログラムを記録した ことを特徴とする記録媒体。
1 6. クライアントとサーバ間の通信を行うために、 サーバがクライアント にデータを転送するためのプッシュメッセージと、 クライアン卜がサーバにデー タを転送または要求するためのメッツ ドメッセージとを定義したプロ 卜コルを用 いるサーバの通信プログラムを記録した記憶媒体であって、
前記プロ トコルを用いる第一のクライアン卜から送信された前記メッツ ドメッ セージを受信する処理と、 当該メッツ ドメッセージ内に、 通信先として前記プロ 卜コルを用いる第二のクライアントが指定されていた場合、 当該メソッ ドメッセ ージに含まれる通信先、 要求内容、 またはデータを前記プッシュメッセージに含 ませて、 第二のクライアン卜に対して送出する処理をサーバに実行させるための 通信プログラムを記録したことを特徴とする記録媒体。
1 7. クライアントとサーバ間の通信を行うために、 サーバがクライアント にデータを転送するためのプッシュメッセージと、 クライアン卜がサーバにデー タを転送または要求するためのメッツ ドメッセージとを含んで定義されたプロト コルを用いるクライアン卜の通信プログラムを記録した記憶媒体であって、 他のクライアン卜とデータの転送または要求を行うために、 通信先として前記 プロ トコルを用いる他のクライアン卜を指定した前記メッツ ドメッセージを前記 プロ 卜コルを用いる中継サーバに送信することにより、 当該中継サーバに前記メ ソッ ドメッセージに含まれる通信先、 要求内容、 またはデータを前記プッシュメ ッセージに含ませて当該他のクライアン卜に送信させる処理をクライアン卜に実 行させるための通信プログラムを記録したことを特徴とする記録媒体。
1 8. クライアントとサーバ間の通信を行うために、 サーバがクライアント にデータを転送するためのプッシュメッセージと、 クライアン卜がサーバにデー タを転送または要求するためのメッツ ドメッセージとを含んで定義されたプロ ト コルを用いるクライアン卜の通信プログラムを記録した記録媒体であって、 前記プロ 卜コルを用いる他のクライアン卜が自クライアン卜にデータの転送ま たは要求を行うために、 通信先として自クライアントを指定して送信された前記 メッツ ドメッセージを受信した前記プロ トコルを用いる中継サーバから、 当該メ ソッ ドメッセージに含まれる通信先、 要求内容、 またはデータが含まれたプッシ ュデータを受信する処理をクライアン卜に実行させるための通信プログラムを記 録したことを特徴とする記録媒体。
1 9. クライアントとサーバ間の通信を行うために、 サーバがクライアント にデータを転送するためのプッシュメッセージと、 クライアン卜がサーバにデー タを転送または要求するためのメッツ ドメッセージと、 前記メッツ ドメッセージ によって要求された結果をサーバがクライアン卜へ返送するための結果メッセ一 ジとを含んで定義されたプロ 卜コルを用いるサーバの通信プログラ厶を記録した 記録媒体であって、
前記プロ トコルを用いる第一のクライアン卜から、 通信先として前記プロ トコ ルを用いる第二のクライアントを指定された第一のメッツ ドメッセージを受信す る処理と、
当該第一のメッツ ドメッセージに含まれる通信先、 データ転送または要求を指 定する要求内容、 データ、 及び第二のクライアントの結果の送信先となる結果転 送宛先とを前記プッシュメッセージに含ませて第二のクライアン卜に送信する処 理と、
当該第二のクライアントから、 前記結果転送宛先に対して第二のメソッ ドメッ セージを用いて送信された前記要求内容に対する結果を受信し、 当該結果転送宛 先により、 第二のメソッ ドメッセージと第一のメソッ ドメッセージとを対応づけ て、 前記要求内容に対する結果を第一のクライアン 卜に対して送信する処理とを サーバに実行させるための通信プログラムを記録したことを特徴とする記録媒体。
2 0. クライアントとサーバ間の通信を行うために、 サーバがクライアント にデータを転送するためのプッシュメッセージと、 クライアン卜がサーバにデー タを転送または要求するためのメソッ ドメッセージと、 前記メッツ ドメッセージ によって要求された結果をサーバがクライアン卜へ返送するための結果メッセー ジとを含んで定義されたプロ 卜コルを用いるクライアン卜の通信プログラムを記 録した記録媒体であって、
通信先として前記プロ 卜コルを用いる他のクライアントを指定して第一のメソ ッ ドメッセージを前記プロ 卜コルを用いる中継サーバに送信することにより、 前記中継サーバに、 当該第一のメッツ ドメッセージに含まれる通信先、 データ 転送または要求を指定する要求内容、 データ、 及び第二のクライアントの結果の 送信先となる結果転送宛先とを前記プッシュメッセージに含ませて前記他のクラ イアン卜に送信させ、
当該他のクライアントにて、 当該プッシュメッセージが解析され、 前記要求内 容に対する結果を第二のメソッ ドメッセージを用いて前記中継サーバの結果転送 宛先に対して送信され、 前記中継サーバにて、 当該結果転送宛先により、 第二の メッツ ドメッセージと第一のメッツ ドメッセージとを対応づけて送信された前記 要求内容に対する結果を受信する処理をクライアン 卜に実行させるための通信プ ログラムを記録したことを特徴とする記録媒体。
2 1 . クライアントとサーバ間の通信を行うために、 サーバがクライアント にデータを転送するためのプッシュメッセージと、 クライアン 卜がサーバにデー タを転送または要求するためのメッツ ドメッセージと、 前記メソッ ドメッセ一ジ によって要求された結果をサーバがクライアン卜へ返送するための結果メッセ一 ジとを含んで定義されたプロ トコルを用いるクライアン卜の通信プログラムを記 録した記録媒体であって、
前記プロ 卜コルを用いる他のクライアン卜から、 通信先として自クライアント が指定された第一のメッツ ドメッセージが前記プロ トコルを用いる中継サーバに 送信され、 前記中継サーバから、 当該第一のメッツ ドメッセージに含まれる通信 先、 データ転送または要求を指定する要求内容、 データ、 及び第二のクライアン 卜の結果の送信先となる結果転送宛先とを含ませて送信された前記プッシュメッ セージ受信し、 解析して、 前記要求内容に対する結果を第二のメッツ ドメッセ一 ジを用いて前記中継サーバの結果転送宛先に対して送信することにより、
前記中継サーバに、 当該結果転送宛先により、 第二のメソッ ドメッセージと第 —のメッツ ドメッセージとを対応づけて、 第二のクライアントから受信した前記 要求内容に対する結果を前記他のクライアン卜に対して送信させる処理をクライ アン卜に実行させるための通信プログラムを記録したことを特徴とする記録媒体。
PCT/JP2000/008897 1999-12-16 2000-12-15 Procede de communication de donnees, clients/serveur, et support d'enregistrement de programme de communication, WO2001044952A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU18914/01A AU1891401A (en) 1999-12-16 2000-12-15 Data communication method, client, server, and recorded medium where communication program is recorded

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP35748799A JP3296354B2 (ja) 1999-12-16 1999-12-16 データ通信方法、クライアント、サーバ及び通信プログラムを記録した記録媒体
JP11-357487 1999-12-16

Publications (1)

Publication Number Publication Date
WO2001044952A1 true WO2001044952A1 (fr) 2001-06-21

Family

ID=18454383

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2000/008897 WO2001044952A1 (fr) 1999-12-16 2000-12-15 Procede de communication de donnees, clients/serveur, et support d'enregistrement de programme de communication,

Country Status (3)

Country Link
JP (1) JP3296354B2 (ja)
AU (1) AU1891401A (ja)
WO (1) WO2001044952A1 (ja)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030085674A (ko) * 2002-04-30 2003-11-07 (주)한넷웨어 무선망 환경에서 주기적인 푸시 정보를 전송하는 시스템및 방식
US7539856B2 (en) * 2003-05-27 2009-05-26 Microsoft Corporation Distributed authentication in a protocol-based sphere of trust in which a given external connection outside the sphere of trust may carry communications from multiple sources
WO2015001671A1 (ja) * 2013-07-05 2015-01-08 株式会社日立製作所 通信制御装置、通信制御装置の制御方法、及び情報処理システム

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10308766A (ja) * 1997-05-02 1998-11-17 Nippon Telegr & Teleph Corp <Ntt> メッセージ配送確認方法及びその装置並びにメッセージ配送確認用プログラムを記憶した記憶媒体

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10308766A (ja) * 1997-05-02 1998-11-17 Nippon Telegr & Teleph Corp <Ntt> メッセージ配送確認方法及びその装置並びにメッセージ配送確認用プログラムを記憶した記憶媒体

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"WAP push OTA protocol ,VERSION 08-NOV.-1999", WAP FORUM, XP002937367 *
HARUMI YASUI ET AL.: "Keitai denwa ga web tanmatsu ni bakeru; te no hira ni noru internet", NIKKEI COMMUNICATION, vol. 289, 1 March 1999 (1999-03-01), pages 104 - 110, XP002937366 *

Also Published As

Publication number Publication date
JP2001177553A (ja) 2001-06-29
JP3296354B2 (ja) 2002-06-24
AU1891401A (en) 2001-06-25

Similar Documents

Publication Publication Date Title
JP4833995B2 (ja) モバイルオンラインゲームシステム、及びモバイルゲーム端末間の通信方法
CN1812405B (zh) 在请求-响应传输协议上的可靠单向消息传送的方法
CN105531979B (zh) 一种用于在客户端与服务器之间交换数据的方法及服务器
JP3777302B2 (ja) 通信振り分け制御装置、および通信振り分けプログラムを記憶した記憶媒体
CN101138219B (zh) 通过网络与客户机通信的方法和系统
US20090030917A1 (en) Multimedia messaging service-based database synchronization
EP1921792A1 (en) Communication system, key management/delivery server, terminal apparatus, data communication method used for them, and program thereof
JP2000099463A (ja) デ―タネットワ―クの二方向対話通信装置用の中心化されたサ―ビス管理システム
CN103782278B (zh) 用于提供在中间件或其它环境中使用的动态调取和服务界面的系统和方法
JP3973352B2 (ja) 電子メール仲介装置および電子メール送達方法
JP3606770B2 (ja) 通信システム、通信システムに使用するゲートウェイ、無線情報端末、及び無線通信方法。
JPH10177548A (ja) セッション管理システム
CN102165484B (zh) 角色独立的上下文交换
WO2001044952A1 (fr) Procede de communication de donnees, clients/serveur, et support d&#39;enregistrement de programme de communication,
TWI407740B (zh) 對話啟始協定多媒體服務之刪除機構
JP2001195330A (ja) ゲートウェイサーバ及びコンテンツ取得方法
CN102291413B (zh) 基于互联网的发现协议系统
JP3827415B2 (ja) 電子メールシステムの端末装置
JP4001047B2 (ja) 中継装置
CN102986173A (zh) 消息状态设置方法和cpm业务服务器
CN102325187A (zh) 一种整合多种功能服务的系统及方法
JP2003516653A (ja) ネットワークと移動電話との間のsimツールの使用
JP3926306B2 (ja) ワークフロー間連携装置とそのプログラム、及びワークフロー処理方法
JP4885188B2 (ja) メッセージ連携装置、方法及びシステム
TWI221986B (en) Method and system for querying program status or message using browser

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase