CN101006706A - Communication device, communication system, communication method, communication program, and communication circuit - Google Patents

Communication device, communication system, communication method, communication program, and communication circuit Download PDF

Info

Publication number
CN101006706A
CN101006706A CNA2006800006069A CN200680000606A CN101006706A CN 101006706 A CN101006706 A CN 101006706A CN A2006800006069 A CNA2006800006069 A CN A2006800006069A CN 200680000606 A CN200680000606 A CN 200680000606A CN 101006706 A CN101006706 A CN 101006706A
Authority
CN
China
Prior art keywords
data
command
request
processing section
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006800006069A
Other languages
Chinese (zh)
Other versions
CN101006706B (en
Inventor
酒井宏仁
直江仁志
深江文博
大泽升平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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
Priority claimed from PCT/JP2005/014446 external-priority patent/WO2006013979A1/en
Application filed by Sharp Corp filed Critical Sharp Corp
Priority claimed from PCT/JP2006/301106 external-priority patent/WO2006080330A1/en
Publication of CN101006706A publication Critical patent/CN101006706A/en
Application granted granted Critical
Publication of CN101006706B publication Critical patent/CN101006706B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

In an client device (1) having OBEX, a pseudo-response command is generated for a request command by a lower layer processing unit (13) as a lower layer of an OBEX layer processing layer (12) and this is reported to the OBEX layer processing layer (12). This enables communication by object exchange with a server device having no transmission function.

Description

Communicator, communication system, communication means, signal procedure, telecommunication circuit
Technical field
The transmission that the present invention relates to carry out data receives, on one side swap data transmit communicator, communication system, communication means, signal procedure, the telecommunication circuit of data on one side.
Background technology
Receive, promptly be used for the communication protocol of the object exchange of data communication as the transmission of data, known have an OBEX (OBject EXchange protocol).OBEX will send the formal standardization (with reference to patent documentation 1) of the process of reception with ' exchange of object (the general data entities of file etc.) ' by the data of infrared port.
Adopted the application software of OBEX can not realize the difference of communication equipment or communication mode and reciprocally exchange various objects, be not only and utilize ultrared IrDA (Infra Red DataAssociation) communication mode, and be used in a lot of fields as the session protocol of Blue tooth (registered trade mark) communication mode etc. that utilizes wireless (2.4GHz frequency band).
As object, except common file, also supposition has the detail, electrocardiogram, receipt of diagnosis, business card, the bank account of equipment etc.For example, between the portable computer that has loaded IrDA or Blue tooth, portable phone, PDA (portable type information communication device), can exchange home address record data or business card data.In addition, to send to the using method of the newsstand of television set or monitor, curbside also be possible to the video data that portable phone or digital camera are taken.In addition, also can be used for the control of television receiver or video tape recorder etc.
OBEX is the upper-layer protocol of IrDA that is equivalent to the session layer of OSI (Open System Interconnection) reference model, possess the same function of HTTP (Hyper Text Transform Protocol) with the internet, do not require the HTTP feature of many resources like that but have.
Fig. 7 represents the protocol stack of the IrDA of standard.The protocol stack of IrDA is by IrPHY (IrDA PhysicalLayer), IrLAP (IrDA Link Access Protocol), IrLMP (IrDA Link ManagementProtocol), TinyTP (Transport Protocol) constitutes, IrPHY has defined modulation system, signal strength signal intensity, directivity etc., IrLAP has defined the error control function according to general HDLC (High level Data LinkControl), except seeing through transmission and current control with the speed of mutual negotiation communication and the function of maximum amount of data before the external communication, and the formality of the uncertain external equipment that should connect of search and find etc., IrLMP provides the multiplexing and multiplexing function of separating that is equivalent to the port numbers used by the TCP of TCP/IP (Transmission ControlProtocol/Internet Protocol) agreement or UDP, TinyTP is used for carrying out current control at individual other logical links, and OBEX is positioned at the high level of the TinyTP of host-host protocol.
At OBEX, order the equipment of a side to be called client devices with having asked, will return the equipment that responds a side according to this request and be called server apparatus.Usually, comply with client devices server apparatus is sent the request command of Put/Get etc., the model of client of server apparatus echo reply order.
Request command by the OBEX regulation roughly comprises following request command.The CONNECT/DISCONNECT that is connected/disconnects is arranged with communication counterpart, carry out the PUT/GET, change of transmission/reception of object of file etc. as the SETPATH in the path, reception destination (current path) of the server apparatus of receiving equipment side and with the transmission of object or receive the ABORT that interrupts forcibly.
The exchange of the basic request command/acknowledgement command among Fig. 8 between relevant client devices of explanation and the server apparatus.Acceptance is during from user's object exchange request, and client devices for server apparatus, sends the CONNECT order that means connection request in order to set up and being connected of server apparatus.
Server apparatus by receiving CONNECT order is for client devices, under the situation that can connect, beam back the SUCCESS acknowledgement command, client devices receives the SUCCESS acknowledgement command, thereby connects between client devices-server apparatus.
At client devices, after connect setting up, begin to carry out the exchange of object, server apparatus is sent the PUT order of the transmission that is used to carry out object.Server apparatus is beamed back the CONTINUE acknowledgement command when the PUT order that has normally received from client devices, client devices receives the CONTINUE acknowledgement command from server apparatus, and after confirming that server apparatus has normally received the PUT order, send next PUT order.At client devices, till sending all objects, all carry out the transmission of PUT order.At server apparatus,, client devices is beamed back the acknowledgement command of SUCCESS when last PUT order is all normally received.
At client devices, behind the acknowledgement command that has received from the SUCCESS of server apparatus, in order to carry out server apparatus being sent the DISCONNECT order that means the request of disconnection with the disconnection process of server apparatus.
Server apparatus by receiving DISCONNECT order is to client devices, beam back the acknowledgement command of the SUCCESS that means that permission disconnects, client devices receives the acknowledgement command of SUCCESS, thereby the connection between client devices-server apparatus is disconnected, and finishes the object exchange between a series of client devices-server apparatus.
Like this, at OBEX,,, carry out the exchange of object by the order of server apparatus echo reply for request command from client computer.
In addition, as above-mentioned IrDA protocol stack, in communication protocol, each layer and other layers are defined header information independently with the such hierarchy of OSI, to the data that should transmit originally between computing equipment, in each layer from top to lowermost layer by additional header information successively.And for receiving data, header information is removed successively from lowermost layer to top each layer, and data are transferred to high level.
As shown in Figure 9, in the client devices side, the request command that is generated by the OBEX layer is added successively to the independent header information that defines of each layer in each layer of TinyTP layer, IrLMP layer, IrLAP layer, and data are transferred to low layer.And at server apparatus, to the data that receive from client devices, carry out removing header information successively, the time to high-rise transfer of data from low layer, at the OBEX layer, the request command that the header information of low layer is removed (CONNECT, PUT, DISCONNECT order etc.) rises from low layer.
[patent documentation 1] Japanese publication communique ' spy opens 2000-196622 communique (open day on July 14th, 2000) '
As described above, OBEX can not realize the difference of equipment or mode and exchange various objects, is used as Object Exchange in IrDA or Blue tooth etc., is installed in the various equipment such as carried terminal of portable phone or PDA etc.
But, in order between client devices that OBEX has been installed and server apparatus, to realize object exchange, produced the requirement that server apparatus must have the sending function that is used to beam back acknowledgement command.Make server apparatus have sending function, improved the cost of equipment and the difficulty of exploitation, require sometimes to realize object exchange by only possessing necessary MIN receiving function.
In addition, as described above, in the object exchange that the PUT based on OBEX orders,, send the CONTINUE acknowledgement command of ordering from server in object exchange midway with respect to PUT from client computer.Also need be with respect to the SUCCESS acknowledgement command of last PUT order, so that being known, client computer carried out object exchange reliably, but when considering the frequency band that is used for the transmission of CONTINUE acknowledgement command, not necessarily need to notify the CONTINUE acknowledgement command of process midway sometimes.
In addition, as described above, OBEX is installed in the various equipment at present, is not easy to change specification, under the situation of the change of carrying out specification, can not call existing resource.
Summary of the invention
The object of the present invention is to provide communicator, communication system, communication means, signal procedure, telecommunication circuit, under the situation of using object exchange to communicate with agreement, for from the specific request command of client devices or whole request commands, server apparatus is not beamed back acknowledgement command.
To achieve these goals, communicator of the present invention, as main website with object exchange layer, by sending request command, and accept acknowledgement command that this request command is responded, thus the object exchange layer at pair station is sent object, it is characterized in that, described communicator comprises: object exchange layer processing section, handle the communication protocol of described object exchange layer; And low layer processing section, the communication protocol of the low layer that processing is lower than described object exchange layer position, described low layer processing section comprises simultaneously: the response generating portion, the virtual acknowledgement command of generation to simulating from the acknowledgement command at described secondary station, and notify described object exchange layer processing section; And low layer control section, control described response generating portion, with when the generation of the order that accepts request from described object exchange layer processing section is notified, generation is used to respond the described virtual acknowledgement command of this request command, thereby notifies described object exchange layer processing section.
In addition, communication means of the present invention, be used to have the main website of object exchange layer, this object exchange layer is by sending request command, and accept acknowledgement command that this request command is responded, and the object exchange layer at pair station is sent object, it is characterized in that, than the lower low layer in described object exchange layer position when described object exchange layer has been accepted the generation notice of request command, the virtual acknowledgement command from described secondary acknowledgement command of standing that responds this request command has been simulated in generation, thereby notifies described object exchange layer.
According to said structure and method, main website (for example, client devices), generate virtual acknowledgement command than the lower low layer of object exchange layer, thus notify object exchange layer.
Therefore, have and do not change the communication protocol of carrying out object exchange based on request command/acknowledgement command, just can with do not have possessing of sending function the pair station of required MIN receiving function (for example, server apparatus) carry out the effect of object exchange.In addition, owing to send reception, do not need to change the communication protocol (object exchange agreement) of object exchange layer, so have the effect that to call existing resource with secondary station as described above.
In addition, communication system of the present invention is characterised in that, comprises as the above-mentioned communicator of main website and the communicator of standing from the conduct pair of this communicator reception object.And communication system of the present invention is characterised in that, does not send acknowledgement command as above-mentioned secondary communicator of standing.
According to above-mentioned communication system,, still generate virtual acknowledgement command and notify object exchange layer by main website even secondary station can not send acknowledgement command.Therefore, have and do not change the communication protocol in the past of carrying out object exchange based on request command/acknowledgement command, just can with do not have possessing of sending function the pair station of required MIN receiving function carry out the effect of object exchange.
In addition, communicator of the present invention, as pair station with object exchange layer, by accepting request command from main website, send the acknowledgement command that this request command is responded, thereby receive object, it is characterized in that from the object exchange layer of main website, described communicator comprises: object exchange layer processing section, handle the communication protocol of described object exchange layer; And handle and to be positioned at the more communication protocol of the low layer of low layer than described object exchange layer, described low layer processing section does not send to main website with this acknowledgement command when having accepted the described acknowledgement command that is sent by described object exchange layer processing section simultaneously.
In addition, communication means of the present invention, be used to have the pair station of object exchange layer, this object exchange layer is by accepting the request command from main website, send the acknowledgement command that this request command is responded, thereby receive object, it is characterized in that from the object exchange layer of main website, when having accepted the acknowledgement command that sends by described object exchange layer, this acknowledgement command is not sent to main website than the lower low layer in described object exchange layer position.
According to said structure and method,, can not send from the pair station even the object exchange layer at secondary station sends unnecessary acknowledgement command yet.For example, (for example becoming secondary station, server apparatus) object exchange layer is beamed back all the time to request command under the situation of installation of acknowledgement command, (for example from main website, when request command client devices) did not need acknowledgement command, low layer did not send the acknowledgement command that secondary object exchange layer of standing sends.
Therefore, the effect that has the power that consumes in the transmission that to cut down secondary station.And sent at the pair station under the situation of acknowledgement command, because main website do not need acknowledgement command, thus from the acknowledgement command at pair station with from the request command of main website the possibility that clashes is arranged, thereby have the effect that can prevent this conflict.
In addition, communication system of the present invention is characterised in that, comprises as the above-mentioned communicator at pair station with as the communicator that object is sent to the main website of this communicator.
According to above-mentioned communication system, be when not needing the request command of acknowledgement command at request command from main website, low layer does not send the acknowledgement command that secondary object exchange layer of standing sends.
Therefore, even the object exchange layer with secondary station carries out the communication protocol in the past of object exchange based on request command/acknowledgement command, do not change it yet, and can carry out the effect of object exchange with the main website that beams back that only accepts required MIN acknowledgement command.
Have again, above-mentioned communicator also can pass through computer realization, in this case, by computer is moved as the each several part of above-mentioned communicator, thereby also belong to category of the present invention by the signal procedure of the communicator of the above-mentioned communicator of computer realization and the computer-readable medium storing that write down it.
In addition, above-mentioned communicator also can be realized by the telecommunication circuit with each part mentioned above function.
In addition, above-mentioned communicator is adapted to pass through the portable phone that this communicator communicates.According to above-mentioned portable phone, use Object Exchange (comprising OBEX), can carry out the high communication of transmission efficiency.
In addition, above-mentioned communicator is suitable for the display unit that shows based on the data that this communicator receives.According to such display unit, use Object Exchange (comprising OBEX), can carry out the high communication of transmission efficiency.
In addition, above-mentioned communicator is suitable for the printing equipment that prints based on the data that this communicator receives.According to such printing equipment, use Object Exchange (comprising OBEX), can carry out the high communication of transmission efficiency.
In addition, above-mentioned communicator is suitable for writing down the tape deck of the data that received by this communicator.According to such tape deck, use Object Exchange (comprising OBEX), can carry out the high communication of transmission efficiency.
Other purposes of the present invention, feature and advantage, fully aware of by record shown below.And of the present invention being in well with reference to becoming clear in the following explanation of accompanying drawing.
Description of drawings
Fig. 1 is the block diagram of structure of client devices of the communication system of expression first execution mode of the present invention.
Fig. 2 is the block diagram of the structure of the above-mentioned communication system of expression.
Fig. 3 is the block diagram of structure example of the server apparatus of the above-mentioned communication system of expression.
Fig. 4 is the precedence diagram of step of the data transfer process of above-mentioned first execution mode of expression.
Fig. 5 is the block diagram of structure of client devices of the communication system of expression second execution mode of the present invention.
Fig. 6 is the precedence diagram of step of the data transfer process of above-mentioned second execution mode of expression.
Fig. 7 is the concept map of the protocol stack of expression IrDA.
Fig. 8 is the precedence diagram of step of the exchange of the basic request command of expression OBEX communication standard and acknowledgement command.
Fig. 9 is the precedence diagram that is used to illustrate the general step that the data of OBEX communication standard transmit.
Figure 10 is the block diagram of structure of client devices of the communication system of expression the 3rd execution mode of the present invention.
Figure 11 is the block diagram of structure of client devices of the communication system of expression the 4th execution mode of the present invention.
Figure 12 is the precedence diagram of step of the data transfer process of expression above-mentioned the 3rd execution mode and the 4th execution mode.
Figure 13 is the block diagram of structure of server apparatus of the communication system of expression the 5th execution mode of the present invention.
Figure 14 is the flow chart of action of low layer processing section of representing the OBEX layer of server apparatus in the past.
Figure 15 is the flow chart of the action in the low layer processing section of OBEX layer of server apparatus of communication system of above-mentioned the 5th execution mode of expression.
Figure 16 is the precedence diagram of step of the data transfer process of above-mentioned the 5th execution mode of expression.
Figure 17 is the block diagram of structure of server apparatus of the communication system of expression the 6th execution mode of the present invention.
Figure 18 is the flow chart of the action in the low layer processing section of OBEX layer of server apparatus of communication system of above-mentioned the 6th execution mode of expression.
Figure 19 is the precedence diagram of step of the data transfer process of above-mentioned the 6th execution mode of expression.
Figure 20 is the flow chart of other actions in the low layer processing section of OBEX layer of server apparatus of communication system of above-mentioned the 6th execution mode of expression.
Figure 21 is the block diagram of structure of representing the client devices of communication system in the past.
Figure 22 is the flow chart of action of representing the OBEX client computer of communication system in the past.
Figure 23 is the block diagram of structure of client devices of the communication system of expression the 7th execution mode of the present invention and the 8th execution mode.
Figure 24 is the flow chart of action of OBEX layer of client devices of the communication system of above-mentioned the 7th execution mode of expression.
Figure 25 is the flow chart of other actions of OBEX layer of client devices of the communication system of expression the 7th execution mode of the present invention.
Figure 26 is the flow chart of action of OBEX layer of client devices of the communication system of expression the 8th execution mode of the present invention.
Figure 27 is the block diagram of structure of representing the server apparatus of communication system in the past.
Figure 28 is the flow chart of action of representing the OBEX server of communication system in the past.
Figure 29 is the block diagram of other structures of server of the communication system of expression the 9th execution mode of the present invention and the tenth execution mode.
Figure 30 is the flow chart of action of OBEX layer of server apparatus of the communication system of above-mentioned the 9th execution mode of expression.
Figure 31 is the flow chart of other actions of OBEX layer of server apparatus of the communication system of above-mentioned the 9th execution mode of expression.
Figure 32 is the flow chart of action of OBEX layer of server apparatus of the communication system of expression the tenth execution mode of the present invention.
Figure 33 is the figure of the communication example between the portable phone of communication system of expression the 11 execution mode of the present invention.
Figure 34 is the portable phone of communication system of expression the 12 execution mode of the present invention and the figure of the communication example between the display unit.
Figure 35 is the portable phone of communication system of expression the 13 execution mode of the present invention and the figure of the communication example between the printing equipment.
Figure 36 is the portable phone of communication system of expression the 14 execution mode of the present invention and the figure of the communication example between the tape deck.
Figure 37 is the schematic diagram of the corresponding relation of the layering of expression OSI7 hierarchical mode, IrDA and layering of the present invention.
Figure 38 (a) is the figure of the order that connects of expression embodiments of the present invention, and Figure 38 (b) is the figure of the order that connects of expression embodiments of the present invention, and Figure 38 (c) is the packet format that is used to connect of embodiments of the present invention.
Figure 39 (a) is the figure of the exchanges data order of expression embodiments of the present invention, and Figure 39 (b) is the figure of the exchanges data order of expression embodiments of the present invention.
Figure 40 (a) is the figure of employed packet format in the exchanges data of expression IrDA, and Figure 40 (b) is the figure of employed packet format in the expression exchanges data of the present invention.
Figure 41 (a) is the figure of the exchanges data order of expression embodiments of the present invention, and Figure 41 (b) is the figure of the exchanges data order of expression embodiments of the present invention.
Figure 42 (a) is the figure of the disconnection order of expression embodiments of the present invention, and Figure 42 (b) is the figure of the disconnection order of expression embodiments of the present invention, and Figure 42 (c) is the packet format of the disconnection order of embodiments of the present invention.
The function (order, message) of each interlayer when Figure 43 is the order of connection of expression embodiments of the present invention and the mobile precedence diagram of grouping.
The key diagram of the variation of the data in the function of the Figure 43 when Figure 44 (a) is the order of connection of expression embodiments of the present invention and each interlayer of the right arrow of Figure 45, Figure 44 (b) are the figure of the variation of the data in the function of each interlayer of expression embodiments of the present invention.
The function (order, message) of each interlayer when Figure 45 is the order of connection of expression embodiments of the present invention and the mobile precedence diagram of grouping.
The function (order, message) of each interlayer when Figure 46 is the exchanges data of expression embodiments of the present invention and the mobile precedence diagram of grouping.
The figure of the Figure 46 when Figure 47 is the exchanges data of expression embodiments of the present invention and the variation of the data in the function of each interlayer among Figure 48.
The function (order, message) of each interlayer when Figure 48 is the exchanges data of expression embodiments of the present invention and the mobile precedence diagram of grouping.
Figure 49 is the function (order, message) of each interlayer in disconnection when order of expression embodiments of the present invention and the mobile precedence diagram of grouping.
Figure 50 (a) is the key diagram of the variation of the data in the function of each interlayer of right arrow among the Figure 49 in disconnection when order of expression embodiments of the present invention and Figure 51, and Figure 50 (b) is the key diagram of the variation of the data in the function of each interlayer of expression embodiments of the present invention.
Figure 51 is the function (order, message) of each interlayer in disconnection when order of expression embodiments of the present invention and the mobile precedence diagram of grouping.
Figure 52 is the data and the schematic diagram of giving and accepting that is connected parameter of connection request function of the main website of expression embodiments of the present invention.
Figure 53 is the schematic diagram of giving and accepting of connection parameter of connection request function at the pair station of expression embodiments of the present invention.
Figure 54 is the schematic diagram of giving and accepting that the data that are connected notification function and the connection parameter at function and secondary station are confirmed in the connection of the main website of expression embodiments of the present invention.
Figure 55 is the schematic diagram of giving and accepting that the data of function are answered in the connection at the pair station of expression embodiments of the present invention.
Figure 56 is the schematic diagram of giving and accepting that the connection parameter of function is confirmed in the connection of the main website of expression embodiments of the present invention.
Figure 57 is the data and the schematic diagram of giving and accepting that be connected parameter of expression as the connection request function of main website variation, under the situation of the shared connection of interlayer parameter of execution mode.
Figure 58 is the data and the schematic diagram of giving and accepting that be connected parameter of expression as the connection notification function at pair station variation, under the situation of the shared connection of interlayer parameter of execution mode.
Figure 59 be expression as the variation of execution mode, each layer will connect the data and the schematic diagram of giving and accepting that is connected parameter of the connection request function of the main website under the situation that parameter is transferred to low layer respectively.
Label declaration
1 client devices (communicator, main website)
11 application layer process parts
12OBEX layer processing section (object exchange layer processing section)
121 control sections
122 request notification section
123 response receiving units
13 low layer processing sections
131 control sections (low layer control section)
132 request receiving units
133 request notification section
134 response generating portions
14 send part
15 receiving units
2 client devices (communicator, main website)
21 application layer process parts
22OBEX layer processing section (object exchange layer processing section)
221 control sections
222 request notification section
223 response receiving units
23 low layer processing sections
231 control sections (low layer control section)
232 request receiving units
233 request notification section
234 response receiving units
235 response notification section
236 response generating portions
237 multiplexers
238 timers
24 send part
25 receiving units
3 client devices (communicator, main website)
31 application layer process parts
32OBEX layer processing section (object exchange layer processing section)
321 control sections
322 request notification section
323 response receiving units
23 low layer processing sections
331 control sections (low layer control section)
332 request receiving units
333 request notification section
334 response receiving units
335 response notification section
336 response generating portions
337 multiplexers
34 send part
35 receiving units
4 client devices (communicator, main website)
41 application layer process parts
42OBEX layer processing section (object exchange layer processing section)
421 control sections
422 request notification section
423 response receiving units
43 low layer processing sections
431 control sections (low layer control section)
432 request receiving units
433 request notification section
434 response receiving units
435 response notification section
436 response generating portions
437 multiplexers
438 header information are resolved part
44 send part
45 receiving units
5 server apparatus (communicator, secondary station)
51 application layer process parts
52OBEX layer processing section (object exchange layer processing section)
521 control sections
525 request analysis parts
53 low layer processing sections
531 control sections
535 request analysis parts
54 send part
55 receiving units
1000 server apparatus (communicator, secondary station)
1010 application layer process parts
1020OBEX layer processing section (object exchange layer processing section)
1021 control sections
1022 response notification section
1025 request analysis parts
1030 low layer processing sections
1031 control sections (low layer control section)
1032 request analysis parts
1050 receiving units
1100 server apparatus (communicator, secondary station)
1110 application layer process parts
1120OBEX layer processing section (object exchange layer processing section)
1121 control sections
1122 response notification section
1125 request analysis parts
1130 low layer processing sections
1131 control sections (low layer control section)
1132 response receiving units
1135 request analysis parts
1140 send part
1150 receiving units
1300 client devices (communicator, main website)
1310 application layer process parts
1320OBEX layer processing section (object exchange layer processing section)
1321 control sections
1322 request notification section
1323 response receiving units
1324 communication directions are selected part
1330 low layer processing sections
1340 send part
1350 receiving units
1500 server apparatus (communicator, secondary station)
1510 application layer process parts
1520OBEX layer processing section (object exchange layer processing section)
1521 control sections
1522 response notification section
1523 request analysis parts
1530 low layer processing sections
1540 send part
1550 receiving units
Embodiment
[summary]
At each execution mode described later, structure and action about the client devices (main website) of communication system of the present invention and server apparatus (secondary station) at length describe based on the OSI7 layer model.Here, the OSI7 layer model is also referred to as ' OSI basic reference model ', ' OSI hierarchical mode '.
At the OSI7 layer model, in order to realize the data communication between different machines, the communication function that computer should be had is divided into 7 layerings, each layer has been defined the functional module of standard.
Specifically, the 1st layer (physical layer) takes on electric conversion or the mechanical operation that is used for data are outputed to communication line.The 2nd layer (data link layer) guarantees the communication path of physics, and carries out the error detection occurs etc. that the data of communication path are crossed in convection current.The 3rd layer (network layer) communicates the selection in path or the management of the address in the communication path.The 4th layer (transport layer) carries out data compression and error correction, repeating transmission control etc.The 5th layer (session layer) is used for carrying out between the signal procedure foundation or the release of the virtual route (connection) that the transmission of data receives.The 6th layer (display layer) will be the form that the user understands easily from the data conversion of the 5th layer of acceptance, maybe will be from the 7th layer of data conversion of sending for being fit to the form of communication.The 7th layer (application layer) will utilize the various services of data communication to offer people or other programs.
Each communication layers of the communication system of each execution mode also has and the equal function of the corresponding layering of above-mentioned OSI7 layer model.But at each execution mode, above-mentioned communication system forms one deck with session layer and display layer, becomes the structure of 6 layerings.At each execution mode, illustrate about this session layer and display layer are formed the example of the communication layers of one deck by OBEX (OBject EXchange protocol) realization.And, will illustrate as transport layer as the communication layers that the low layer that is positioned at the OBEX layer has been set up low layer processing section (aftermentioned).But the communication layers that is provided with the low layer processing section also can be network layer or data link layer.Have again,, omit explanation about application layer.
The present invention can be widely applicable for that transmitter is set up being connected of a plurality of communication layers with receiver and the communication system that communicates.That is, cutting apart of communication function also can be according to the OSI7 layer model.In addition, if the communication layers that connects is a plurality of, then can at random select the number of communication layers.
At each execution mode, for convenience of explanation, describe based on the IrSimple of an application examples of the present invention.But the present invention is not limited to IrSimple.Have, IrSimple has improved the part of functions of IrDA in the past again.Have, the present invention is not limited to ultrared radio communication again, and is also effective in other radio communications and wire communication.
At each execution mode, according to IrSimple, sometimes with data link layer, network layer, transport layer, session layer+display layer respectively souvenir be LAP, LMP, SMP, OBEX.
Below, each execution mode of communication means of the present invention, signal procedure, recording medium, communicator and communication system is described based on Fig. 1 to Figure 59 (wherein, Fig. 7 to Fig. 9, Figure 14, Figure 21, Figure 22, Figure 27, Figure 28 are the key diagrams of conventional art).
About communicator of the present invention, as shown in Figure 2, illustrate from the client devices (communicator) 1 as communicator, to the server apparatus 5 of conduct to method, apparatus, foundation is by the load mode (transmission means) of carrying out the IrDA of object exchange as the infrared ray of medium.But, the invention is not restricted to this.
As above-mentioned client devices 1, can enumerate computer, portable phone, carry information terminal (PDA) and digital camera etc.As above-mentioned server apparatus 5, can enumerate television set (TV), printer, projector, computer, portable phone, carry information terminal (PDA) and digital camera etc.
As above-mentioned medium, except infrared ray, can be set forth in the electric wave that uses in the portable phone etc. of 100MHz~5GHz, with optical fiber as the visible light of transmission path etc.As by the data of object exchange, can enumerate image file, text data etc.
[first execution mode]
Client devices 1 about first execution mode of the present invention carries out following explanation based on Fig. 1.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Fig. 1 is the block diagram of structure of client devices 1 of the communication system of expression present embodiment.As shown in Figure 1, client devices 1 comprises: application layer process part 11, OBEX layer processing section (object exchange layer processing section) 12, low layer processing section 13, transmission part 14 and receiving unit 15.Application layer process part 11, OBEX layer processing section 12, low layer processing section 13 have possessed hierarchy in proper order with this, become each communication protocol of multiple class.
Application layer process part 11 is sent the request command of communicating by letter that is used for outside according to the user's indication that is input to not shown operation part to 12 requests of OBEX layer processing section.And accepted when OBEX layer processing section 12 receives the notice of acknowledgement command, the acknowledgement command according to receiving carries out predetermined process.
OBEX layer processing section 12 comprises: control section 121, request notification section 122 and response receiving unit 123.Control section 121 carries out the generation of request command and sends request command to low layer request notification section 122 notices (control) according to the request from application layer process part 11.In addition, accept acknowledgement command reception result notice, to the reception result of application layer processing section 11 notice acknowledgement commands from response receiving unit 123.
Request notification section 122 is accepted to give notice from the request command of control section 121, generates request command, and outputs to low layer processing section 13.Response receiving unit 123 receives the acknowledgement command of 13 outputs from the low layer processing section, and the parsing of the acknowledgement command that receives receives command analysis result and acknowledgement command to control section 121 notices.
Low layer processing section 13 comprises: control section (low layer control section) 131, request receiving unit 132, request notification section 133 and response generating portion 134.Control section 131 is asked the control of each piece of receiving unit 132, request notification section 133 and response generating portion 134.Relevant details is discussed in the back.
Request receiving unit 132 receives the request command of 12 outputs from OBEX layer processing section, carries out the parsing of request command, and control section 131 notices have been received command analysis result and request command.In addition, will send to request notification section 133 as the request command of the data that receive.
Request notification section 133 is based on the intention that receives command analysis result and request command, acceptance is given notice from the request command of control section 131, to request command as the data that receive from request receiving unit 132, additional necessary header information and regeneration request command, and send to sending part and divide 14.
Send part 14 by the infrared communication circuit, will send to the outside from the request command that low layer processing section 13 receives.Receiving unit 15 is by the infrared communication circuit, receive the intention that is used to represent to receive above-mentioned request command, the acknowledgement command from method, apparatus (server apparatus) is sent, and the acknowledgement command that receives outputed to low layer processing section 13.
As shown in Figure 3, in server apparatus 5, owing to do not send the situation of part, even or comprise and send part 54, but lack be used to generate from the acknowledgement command that sends the request command that 14 pairs of server apparatus of part 5 send for example respond at least a portion that notification section or response send part, so can not beam back acknowledgement command sometimes.With these situations under the data communication of server apparatus 5 in, between client devices 1 and server apparatus 5, produce the uncomfortable situation that can not carry out object exchange sometimes.
Therefore, in present embodiment,, in low layer processing section 13, be provided with response generating portion 134 separately for fear of above-mentioned uncomfortable situation.Above-mentioned response generating portion 134 based on the reception of request in the receiving unit 132 intention of command analysis result and request command, acceptance generates notice from the acknowledgement command of control section 131, generate the virtual acknowledgement command suitable, and output to OBEX layer processing section 12 by response receiving unit 123 as high level with above-mentioned acknowledgement command.
Thus, in the present embodiment, even can not receive original acknowledgement command from the server apparatus 5 that can not beam back acknowledgement command, but by high-rise processing section being notified above-mentioned virtual acknowledgement command, also can observe communication protocol in the past, can keep from the communications status of 1 pair of server apparatus 5 of client devices simultaneously, object can be sent to server apparatus 5 from client devices 1.
About such server apparatus 5, below describe based on Fig. 3.Server apparatus 5 has at least: application layer process part 51, OBEX layer processing section 52, low layer processing section 53, receiving unit 55.
Application layer process part 51 receives the application data (view data, text data etc.) of 52 outputs from OBEX layer processing section, carries out predetermined process.OBEX layer processing section 52 comprises control section 521 and request analysis part 525.Request analysis part 525 is resolved the request command of 53 outputs from the low layer processing section, with analysis result (kind of order etc.) notice control section 521.
In addition, request analysis part 525 is removed the OBEX head from the request command of accepting, based on indication from control section 521, application data is outputed to application layer process part 51, control section 521 will be notified to application layer process part 51 from the analysis result that request analysis part 525 is notified, in addition, based on analysis result, 525 indications transmit application data to application layer process part 51 to the request analysis part.
Low layer processing section 53 comprises control section 531 and request analysis part 535.Request analysis part 535 is resolved from the request command from client devices 1 of receiving unit 55 outputs, with analysis result (kind of order etc.) notice control section 531.
In addition, request analysis part 535 is removed in the additional header information of each layer from the request command of accepting, and extracts the OBEX grouping, the OBEX grouped data that is extracted to 52 outputs of OBEX layer processing section based on indicating from the transmission of control section 531.
Control section 531 will be from the analysis result notice OBEX layer processing section 52 of request analysis part 535 notices, and in addition, based on analysis result, the OBEX grouped data that indication extracts request analysis part 535 is sent to OBEX layer processing section 52.
Below, about the step (communication means) of the data transfer process between the client-server of present embodiment, describe with reference to order and Fig. 1 of Fig. 4.Have, Fig. 4 represents the situation that transmission that connection, the data in the protocol stack of IrDA transmit, disconnect is handled again.
In client devices 1,12 generations of 11 pairs of OBEX layers of application layer process part processing section and the connection request of conduct have been accepted to the server apparatus 5 of method, apparatus from user's object exchange indication.
Control section 121 in having accepted the OBEX layer processing section 12 of above-mentioned connection request, acceptance is from the connection request of application layer process part 11, and indication generates the connection request order to request notification section 122 and sends the connection request order with indication to low layer dispose of communication apparatus 3.
Request notification section 122 is accepted the indication of sending from the connection request order of control section 121, generates the CONNECT order as the connection request order, and to the 13 output CONNECT orders of low layer processing section.Request receiving unit 132 in low layer processing section 13 receives the CONNECT order of 12 outputs from OBEX layer processing section, and 131 notice connection request orders receive and finish to control section, and receive data to 133 outputs of request notification section.
At control section 131, accept to receive the notice that finishes, to sending of request notification section 133 indication connection request orders from the connection request order of request receiving unit 132.The indication of sending the connection request order that request notification section 133 is accepted from control section 131, additional header information the data that receive from request receiving unit 132, thereby export the connection request orders to sending part 14, and finish to control section 131 notice connection request orders.
Control section 131 acceptance send and the suitable virtual acknowledgement command of acknowledgement command of ordering corresponding to CONNECT it from the notice of the connection request order end of output of request notification section 133 to 134 indications of response generating portion.
In response generating portion 134, acceptance is sent indication from the virtual acknowledgement command corresponding to the CONNECT order of control section 131, generate according to as the virtual acknowledgement command corresponding to the SUCCESS of the acknowledgement command of CONNECT order of high-rise OBEX standard, and output to OBEX layer processing section 12.
Response receiving unit 123 in OBEX layer processing section 12, the virtual acknowledgement command of reception SUCCESS of 13 outputs from the low layer processing section, virtual acknowledgement command is identified as the acknowledgement command corresponding to the CONNECT order of the common OBEX standard of foundation, thereby notifies acknowledgement command to receive end corresponding to connection request to control section 121.
The notice that control section 121 acceptance are received from the acknowledgement command corresponding to connection request of response receiving unit 123 is to application layer process part 11 notices and conduct the finishing method, apparatus as high level being connected of server apparatus 5.Thus,, can confirm to finish, can begin object exchange with being connected of server apparatus 5 in application layer process part 11.
Here, as low layer processing section 13, TinyTP layer, IrLMP layer, each layer of IrLAP layer are showed as a piece, but can certainly constitute a piece respectively with each layer.In addition, in Fig. 4,, illustrate the virtual acknowledgement command of generation, but also can generate virtual acknowledgement command at IrLMP layer, IrLAP layer as other layers to OBEX layer processing section 12 at the TinyTP layer of the following one deck that is arranged in OBEX layer processing section 12.
But, preferably, generate virtual acknowledgement command, and saved the time of additional unnecessary header information and the time of elimination OBEX layer processing section 12 at the TinyTP layer of the following one deck that is arranged in OBEX layer processing section 12.Promptly, under the situation about in the TinyTP layer, generating, generate with according to suitable (essence is identical) the virtual acknowledgement command of the acknowledgement command of OBEX, and notice OBEX layer processing section 12 gets final product, and under layer beyond layer under the situation about generating, owing to need to generate virtual acknowledgement command until seeing through OBEX layer processing section 12, so need will be suitable for as shown in the following Table 1, the header information of the OBEX layer and the protocol layer of the interlayer that generates virtual acknowledgement command is attached in the above-mentioned virtual acknowledgement command.
[table 1]
IrLAP layer header information IrLMP layer header information TinyTP layer header information The virtual acknowledgement command of OBEX
After connecting end, for the PUT of the transmission that is used for object data order, be used for ordering with DISCONNECT to the disconnection process of method, apparatus, also same as can be known with the situation of above-mentioned CONNECT order, by the low layer processing section 13 by the low layer that is positioned at OBEX layer processing section 12 generate can carry out corresponding to the virtual acknowledgement command of the CONTINUE of request command or SUCCESS to as the transmission to the server apparatus 5 of method, apparatus of object data, with the disconnection process of above-mentioned server apparatus 5, so omit relevant their explanation here.
As described above, the communication protocol that has hierarchy as use communicates, the request command that the client devices 1 of having asked the order side is sent, the acknowledgement command that the server apparatus of the side that reception responds according to this request is beamed back, adopted the communication system of the object exchange of the exchange of carrying out object with agreement, the client devices 1 of present embodiment has following function, promptly in the communication protocol that is arranged in low layer of above-mentioned object exchange with agreement, when having accepted from request command that this object exchange is sent with agreement, generation is corresponding to according to the above-mentioned object exchange virtual acknowledgement command with this request command of agreement, and the object exchange as high level is notified with agreement.
Therefore, do not change the agreement of carrying out object exchange based on request command/acknowledgement command, the server apparatus 5 that just can possess the equipment of required MIN receiving function with not having sending function carries out object exchange.In addition, owing to do not need to change the object exchange agreement, so can call existing resource.
Below, employed data structure example in the relevant above-mentioned communication protocol is described.Have again, even this data structure example execution mode described later also is suitable for.At first, the data structure of the request command under the situation of expression connection request in following table 2.
[table 2]
Byte0 Bytes1 and 2 Byte3 Byte4 Bytes5 and 6 Bytes7 to n
opcode 0x80 Connect packet length OBEX version Number flags maximum OBEX packet length optional headers
Then, the data structure of the acknowledgement command under the situation of expression connection request in following table 3.
[table 3]
Byte0 Bytes1 and 2 Byte3 Byte4 Bytes5 and 6 Bytes7 to n
response code Connect response packet length OBEX version Number flags Maximum OBEX packet length Optional headers
(explanation of each field)
Connect packet length, connect response packet length: connection request order and corresponding to the block length of the acknowledgement command of connection request order.
OBEX version number:OBEX agreement the version number.
Flags: only whether expression connects corresponding to a plurality of IrLMP under the situation of acknowledgement command.
Maximum OBEX packetlength: receivable maximum OBEX block length is respectively installed in expression.
Secondly, each example of in following table 4, representing request command, acknowledgement command.
[table 4]
Client requests Bytes Implication
Opcode 0x80 CONNECT
0x0007 packet length of 7
0x10 Version 1.0 of OBEX
0x00 no connect flags
0x2000 8K max packet size
The server response Bytes Implication
Response code 0xA0 SUCCESS
0x0007 packet length of 7
0x10 Version 1.0 of OBEX
0x00 no connect flags
0x0800 2K max packet size
Then, the data structure about the request command under the situation of data transmission requests is shown in the following table 5.
[table 5]
Byte0 Bytes1,2 Bytes3 to n
Opcode 0x02 (0x82: final PUT request) packet length sequence of headers
Then, the data structure about the acknowledgement command under the situation of data transmission requests is shown in following table 6.
[table 6]
Byte0 Bytes1,2 Bytes3 to n
Response code typical values 0x90 for Continue 0xA0 for Success Response packet length optional response headers
Then, below represent the explanation of each field of record in above-mentioned table 5 and the table 6.
Packet length, Response packet length: data transmit order and transmit the block length of the acknowledgement command of order corresponding to data.
Then, each request command of record in above-mentioned table 5 and the table 6, the example of acknowledgement command are shown in following table 7 respectively to table 9.
[table 7]
Client requests: Bytes Implication
Opcode 0x02 PUT
0x0422 1058 bytes is length of packet
0x01 Header ID for Name header
0x0017 Length of Name header
JUMAR.TXT name of object
0xC3 Header ID for Length header
0x00001000 Length of object is 4K bytes
0x48 Header ID for Object Body Chunk header
0x0403 Length of Body header(1K)plus Header ID and Header length
0x...... 1K bytes of body
The server response:
Response code 0x90 CONTINUE
0x0003 length of response packet
[table 8]
Client requests: Bytes Implication
Opcode 0x02 PUT
0x0406 1030 bytes is length of packet
0x48 Header ID for Object Body Chunk
0x0403 Length of Body header(1K)plus Header ID and Header length
0x...... next 1K bytes of body
The server response:
Response code 0x90 CONTINUE
0x0003 length of response packet
[table 9]
Client requests: Bytes Implication
Opcode 0x82 PUT
0x0406 1030 bytes is length of packet
0x49 Header ID for End-of-Body Chunk
0x0403 Length of Body header(1K)plus Header ID and Header length
0x...... last 1K bytes of body
The server response:
Response code 0xA0 SUCCESS
0x0003 length of response packet
Then, disconnect the data structure of the request command under the situation of asking about data, be shown in following table 10.
[table 10]
Byte0 Byte1,2 Bytes3 to n
Opcode 0x81 packet length Optional headers
Secondly, disconnect the data structure of the acknowledgement command under the situation of asking about data, be shown in following table 11.
[table 11]
Byte0 Byte1,2 Bytes3 to n
response code 0xA0 or 0xD3 response packet length Optional response headers
Then, following table is shown in the explanation of each field of record in above-mentioned table 10 and the table 11.
Packet length, response packet length: disconnect request command and corresponding to the block length of the acknowledgement command that disconnects request command.
Secondly, each request command of putting down in writing in above-mentioned table 10 of expression and the table 11 in the following table 12, the example of acknowledgement command.
[table 12]
Client requests: Bytes Implication
Opcode 0x81 DISCONNECT
0x0003 packet length of 3
The server response: Bytes Implication
Response code 0xA0 SUCCESS
0x0003 packet length of 3
At last, representational Opcode, Header, Response Code about OBEX are shown in following table 13 respectively to table 15.
[table 13]
·OBEX Operations and Opcode definitions
Opcode Definition Meaning
0x80 Connect choose your partner, negotiation capabilities
0x81 Disconnect signal the end of the session
0x02(0x82) Put send an object
[table 14]
·OBEX Headers
Header ID Header name Description
0x01 Name name of the object(often a file name)
0xC3 Length the length object in bytes
0x48 0x49 Body End of Body a chunk of the object body the final chunk of the object body
[table 15]
·Response Code values
OBEX response code Definition
0x10(0x90) Continue
0x20(0xA0) OK,Success
0x53(0xD3) Service Unavailable
[second execution mode]
Client devices (communicator) about the transfer system (communication system) of the transmission data of second execution mode of the present invention carries out following explanation based on Fig. 5.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Fig. 5 is the block diagram of structure of the client devices of expression present embodiment.As shown in Figure 5, client devices (communicator) 2 has possessed the function same with the client devices 1 of Fig. 1 respectively, comprising: application layer process part 21, OBEX layer processing section (object exchange layer processing section) 22, low layer processing section 23, send part 24 and receiving unit 25.
Application layer process part 21 is according to the indication that is input to the user of not shown operation part, and to OBEX layer processing section 22, request is carried out request command and sent.In addition, when having accepted to receive the notice of intention of acknowledgement command from OBEX layer processing section 22, the acknowledgement command according to receiving carries out predetermined process.
OBEX layer processing section 22 comprises: control section 221, request notification section 222 and response receiving unit 223.Control section 221 sends request command according to the request from application layer process part 21 to the generation of request notification section 222 notice request orders with to low layer.In addition, accept acknowledgement command reception result notice, to the reception result of application layer processing section 21 notice acknowledgement commands from response receiving unit 223.
Request notification section 222 is accepted to give notice from the request command of control section 221, generates request command, and outputs to low layer processing section 23.Response receiving unit 223 receives the acknowledgement commands of 23 outputs from the low layer processing section, carries out the parsing of the acknowledgement command that received, and to control section 221, notice has received the intention of command analysis result and acknowledgement command.
Low layer processing section 23 comprises: control section (low layer control section) 231, request receiving unit 232, request notification section 233, response receiving unit 234, response notification section 235, response generating portion 236, multiplexer 237 and timer 2 38.
Control section 231 carries out the control to each piece of request receiving unit 232, request notification section 233, response receiving unit 234, response notification section 235, response generating portion 236, multiplexer 237 and timer 2 38.Relevant details is discussed in the back.
The request command that request receiving unit 232 receives from OBEX layer processing section 22 carries out the parsing of this order, control section 231 notices has been received the intention of command analysis result and request command.At this moment, when control section 231 is accepted above-mentioned notice, make timer 2 38 actions.Elapsed time after 38 pairs of actions of above-mentioned timer 2 measures.
In addition, the data that receive are outputed to request notification section 233.Request notification section 233 is accepted to give notice from the request command of control section 231, additional necessary header information and generate request command, and output to and send part 24.
Response receiving unit 234 receives data from the receiving unit 25 as low layer, receives the parsing of data, and to control section 231, notice has received the intention of command analysis result and acknowledgement command.In addition, from the acknowledgement command that receives, remove header information, and output to multiplexer 237.
Response notification section 235 will output to OBEX layer processing section 22 from the acknowledgement command of multiplexer 237 outputs.Response generating portion 236 is accepted to generate notice from the acknowledgement command of control section 231, generates and the same virtual acknowledgement command of above-mentioned first execution mode, and sends to multiplexer 237.
Multiplexer 237 is according to the control signal from control section 231, carry out the virtual acknowledgement command that generates by response generating portion 236 or from the switching from the output of the acknowledgement command of low layer of response receiving unit 234 outputs, and output to response notification section 235.Timer 2 38 is used to measure the elapsed time of the regulation in control section 231.
Promptly, control section 231 is when the notice of the intention of having accepted to receive command analysis result and request command from request receiving unit 232, make 38 actions of above-mentioned timer 2 and the elapsed time is measured (instrumentation), after having accepted above-mentioned notice, even the above-mentioned elapsed time has surpassed predefined setting-up time, when also accepting to have received the notice from the intention of the command analysis result of response receiving unit 234 and acknowledgement command, above-mentioned virtual acknowledgement command can be outputed to response notification section 235, response generating portion 236 and multiplexer 237 are controlled.
Send part 24 by the infrared communication circuit, will send to the outside by 23 request commands that receive from the low layer processing section.Receiving unit 25 receives the acknowledgement command that sends to method, apparatus (server apparatus) by the infrared communication circuit, and the acknowledgement command that receives is outputed to low layer processing section 23.
Below, about the step (communication means) of the data transfer process between the client-server of second execution mode of the present invention, describe with reference to order and Fig. 5 of Fig. 6.Have, Fig. 6 represents the situation that transmission that connection, the data in the protocol stack of IrDA transmit, disconnect is handled respectively again.
In client devices 2, accepted application layer process part 21 from user's object exchange indication, to OBEX layer processing section 22, send and the connection request of conduct the server apparatus 5 of method, apparatus.
Control section 221 in having accepted the OBEX layer processing section 22 of above-mentioned connection request, acceptance is from the connection request of application layer process part 21, and indication generates the connection request order to request notification section 222 and sends the connection request order with indication to low layer dispose of communication apparatus 3.
The indication of sending the connection request order that request notification section 222 is accepted from control section 221 generates the CONNECT order as the connection request order, and to the 23 output CONNECT orders of low layer processing section.Request receiving unit 232 in low layer processing section 23 receives the CONNECT order of 22 outputs from OBEX layer processing section, and 231 notice connection request orders receive and finish to control section, and receive data to 233 outputs of request notification section.
At control section 231, accept to receive the notice that finishes from the connection request order of request receiving unit 232, it sends the connection request order to 233 indications of request notification section.The indication that 233 acceptance of request notification section are sent from the connection request order of control section 231, additional header information the data that receive from request receiving unit 232, thereby export the connection request orders, and to control section 231 notice connection request order end of outputs to sending part 24.
Control section 231 is accepted the notice from the connection request order end of output of request notification section 233, makes timer 2 38 startings.When the Measuring Time of timer 2 38 has been passed through the setting-up time of regulation, control section 231 is not judged as and from conduct the server apparatus 5 of method, apparatus is beamed back acknowledgement command, response generating portion 236 is indicated, to send virtual acknowledgement command corresponding to the CONNECT order, and multiplexer 237 controlled, outputing to response notification section 235 from the virtual acknowledgement command corresponding to the CONNECT order of response generating portion 236 outputs.
In response generating portion 236, acceptance is sent indication from the virtual acknowledgement command corresponding to the CONNECT order of control section 231, generate according to as the virtual acknowledgement command corresponding to the SUCCESS of CONNECT order of high-rise OBEX standard, and output to multiplexer 237.
In addition, before the Measuring Time process official hour of timer 2 38, from conduct the acknowledgement command of the server of method, apparatus is beamed back under the next situation, receiving unit 25 receives from the data (comprising above-mentioned acknowledgement command) to method, apparatus output, and outputs to low layer processing section 23.
Response receiving unit 234 in the low layer processing section 23 carries out from the parsing of the data of receiving unit 25 receptions, acknowledgement command reception corresponding to connection request finishes to control section 231 notices, carry out removing of header information, and will receive data and output to multiplexer 237.
At control section 231, accept to receive the notice that finishes from response receiving unit 234 corresponding to the acknowledgement command of connection request, multiplexer 237 is controlled, so that output to response notification section 235 from the dateout of response receiving unit 234.Multiplexer 237 will be from the reception data of response receiving unit 234 and response generating portion 236 based on the switching of exporting from the control signal of control section 231, and outputs to response notification section 235.
Response notification section 235 is accepted the notice that the acknowledgement command from control section 231 sends, and will output to as high-rise OBEX layer processing section 22 from the acknowledgement command that multiplexer 237 receives.Response receiving unit 223 in OBEX layer processing section 22 receives the acknowledgement command of ordering corresponding to the CONNEC from low layer, and control section 221 is carried out receiving the notice that finishes corresponding to the acknowledgement command of CONNECT order.
Control section 221 is accepted to receive the notice that finishes corresponding to the acknowledgement command from the CONNECT order of response receiving unit 223, to as high-rise application layer process part 21 notices and the end that is connected to method, apparatus.Like this, can confirm and the end that is connected, can begin object exchange method, apparatus (server apparatus) in application layer process part 21.
Here, as low layer processing section 23, TinyTP layer, IrLMP layer, each layer of IrLAP layer are showed as a piece, but can certainly constitute a piece respectively by each layer.In addition, in Fig. 6, illustrate TinyTP layer, generate virtual acknowledgement command, but in any one of the IrLMP of other layers layer, IrLAP layer, also can carry out the generation of virtual acknowledgement command corresponding to OBEX layer processing section 22 at the low one deck that is positioned at OBEX layer processing section 22.But, as mentioned above, preferably, generate virtual acknowledgement command corresponding to OBEX layer processing section 12 at the TinyTP layer of the low one deck that is arranged in OBEX layer processing section 12, be used for the time of additional unnecessary header information and the time of deletion with saving.
After connecting end, even for the PUT of the transmission that is used for object data order, be used for ordering with DISCONNECT to the method, apparatus disconnection process, same with the situation of above-mentioned CONNECT order, by generate virtual acknowledgement command at the low layer of OBEX layer corresponding to request command, can carry out object data transmission, with to the disconnection process of method, apparatus, so no longer explanation here.
As described above, the client devices 2 of present embodiment, has following function: be arranged in the communication protocol of described object exchange with the low layer of agreement, after the communication protocol that is positioned at low layer sent the request command that described object exchange sends with agreement, when having passed through the setting-up time of regulation, do not receiving corresponding to from as the time the acknowledgement command of the request command of the server apparatus of method, apparatus, generate according to the virtual acknowledgement command corresponding to this request command of described object exchange, the object exchange as high level is notified with agreement with agreement.
Therefore, with the communicating by letter of the server apparatus with sending function in, can carry out object exchange in the past based on request command/acknowledgement command, with the communicating by letter of the server apparatus 5 that does not have sending function in, by generating virtual acknowledgement command at low layer, thereby, can begin the communication between client devices 2 and the server apparatus 5 to the high level notice, and can keep, carry out object exchange between the two.
[the 3rd execution mode]
Client devices (communicator) about the transfer system (communication system) of the transmission data of the 3rd execution mode of the present invention carries out following explanation based on Figure 10.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Figure 10 is the block diagram of structure of the client devices of expression present embodiment.As shown in figure 10, client devices (communicator) 3 has possessed the function same with the client devices 1 of Fig. 1 respectively, comprising: application layer process part 31, OBEX layer processing section (object exchange layer processing section) 32, low layer processing section 33, send part 34 and receiving unit 35.
Application layer process part 31 is according to the indication that is input to the user of not shown operation part, and to OBEX layer processing section 32, request is carried out request command and sent.In addition, when having accepted to receive the notice of intention of acknowledgement command from OBEX layer processing section 32, the acknowledgement command according to receiving carries out predetermined process.
OBEX layer processing section 32 comprises: control section 321, request notification section 322 and response receiving unit 323.Control section 321 is according to the request from application layer process part 31, to generation of asking notification section 322 notice request orders and send (connection request, data transmission requests, final data transmit request, disconnect request etc.) of low layer being carried out request command.In addition, accept acknowledgement command reception result notice, to the reception result of application layer processing section 31 notice acknowledgement commands from response receiving unit 323.
Request notification section 322 is accepted to give notice from the request command of control section 321, generates request command, and outputs to low layer processing section 33.Response receiving unit 323 receives the acknowledgement commands of 33 outputs from the low layer processing section, carries out the parsing of the acknowledgement command that received, and to control section 321, notice has received the intention of command analysis result and acknowledgement command.
Low layer processing section 33 comprises: control section (low layer control section) 331, request receiving unit 332, request notification section 333, response receiving unit 334, response notification section 335, response generating portion 336 and multiplexer 337.
Control section 331 is asked the control of each piece of receiving unit 332, request notification section 333, response receiving unit 334, response notification section 335, response generating portion 336 and multiplexer 337.Relevant details is discussed in the back.
The request command that request receiving unit 332 receives from OBEX layer processing section 32 carries out the parsing of this order, control section 331 notices has been received the intention of command analysis result and request command.
In addition, request receiving unit 332 outputs to request notification section 333 with the data that receive.Request notification section 333 is accepted to give notice from the request command of control section 331, additional necessary header information and generate request command, and output to and send part 34.
Response receiving unit 334 receives data from the receiving unit 35 as low layer, receives the parsing of data, and to control section 331, notice has received the intention of command analysis result and acknowledgement command.In addition, from the acknowledgement command that receives, remove header information, and output to multiplexer 337.
Response notification section 335 will output to OBEX layer processing section 32 from the acknowledgement command of multiplexer 337 outputs.
Response generating portion 336 is accepted to generate notice from the acknowledgement command of control section 331, generates and above-mentioned first execution mode and the same virtual acknowledgement command of second execution mode, and sends to multiplexer 337.
Multiplexer 337 is according to the control signal from control section 331, carry out the virtual acknowledgement command that generates by response generating portion 336 or from the switching from the output of the acknowledgement command of low layer of response receiving unit 334 outputs, and output to response notification section 335.
Control section 331 is according to giving notice from the request command that sends as the OBEX layer processing section 32 of high level, judgement is the acknowledgement command that receives corresponding to the request command that sends from server apparatus, still generate the request command that is equivalent to corresponding OBEX standard acknowledgement command virtual acknowledgement command and notify OBEX layer.Promptly, the kind of the request command that the request command that control section 331 bases are sent from OBEX layer processing section 32 is given notice (connection request, data transmission requests, final data transmit request, disconnect request etc.), be the acknowledgement command that receives corresponding to the request command that sends from server apparatus, still response generating portion 336 output acknowledgement commands generated the hand-off process of notice.
Then, in this result of determination is under the situation of reception corresponding to the acknowledgement command of the request command that sends from server apparatus, multiplexer 337 is controlled, so that response receiving unit 334 will output to response notification section 335 from the acknowledgement command from server apparatus that receiving unit 35 receives.And under the situation of result of determination for the virtual acknowledgement command of generation, response generating portion 336 and multiplexer 337 are controlled, above-mentioned virtual acknowledgement command is outputed to response notification section 335.
Send part 34 by the infrared communication circuit, will send to the outside by 33 request commands that receive from the low layer processing section.Receiving unit 35 receives the acknowledgement command that sends to method, apparatus (server apparatus) by the infrared communication circuit, and the acknowledgement command that receives is outputed to low layer processing section 33.
Below, about the step (communication means) of the data transfer process between the client-server of the 3rd execution mode of the present invention, describe with reference to order and Figure 10 of Figure 12.Have, Figure 12 represents the situation that transmission that connection, the data in the protocol stack of IrDA transmit, disconnect is handled respectively again.
In client devices 3, accepted application layer process part 31 from user's object exchange indication, to OBEX layer processing section 32, send successively and connection request, data transmission requests, the disconnection request of conduct the server apparatus 5 of method, apparatus.
Control section 321 in having accepted the OBEX layer processing section 32 of above-mentioned request, acceptance is from the request of application layer process part 31, and indication generates request commands (connection request, data transmission requests, final data transmit request, disconnect request etc.) and indication is sent request command to low layer processing section 33 to request notification section 322.
Request notification section 322 is accepted the indication of sending from the request command of control section 321, generates request command, and to low layer processing section 33 output request commands.Request receiving unit 332 in low layer processing section 33 receives 32 request commands of exporting from OBEX layer processing section, and control section 331 notice request orders are received finish, and to request notification section 333 output reception data.
At control section 331, control signal according to 32 notices from OBEX layer processing section, judgement is the acknowledgement command that receives corresponding to the request command that sends from server apparatus, still generates the virtual acknowledgement command of the acknowledgement command that is equivalent to corresponding request command according to the OBEX standard and the OBEX layer is notified.Here, control section 331 is according to the kind (connection request, data transmission requests, final data transmit request, disconnect request etc.) of the request command of 32 notices from OBEX layer processing section, judgement is the acknowledgement command that receives corresponding to the request command that sends from server apparatus, still response generating portion 336 output acknowledgement commands is generated notice.
In present embodiment, when carrying out the data transmission, not under the situation of transmission request of final data in data transmission requests, suppose to generate and be equivalent to the virtual acknowledgement command of correspondence, and the OBEX layer is notified according to the acknowledgement command of the request command of OBEX standard from high level notice.Promptly, the acknowledgement command of the SUCCESS that sends during for connection request, disconnection request, final data transmission request can receive from the acknowledgement command of server apparatus output, for the CONTINUE acknowledgement command, generate the virtual acknowledgement command suitable, the OBEX layer is notified with it.
At control section 331, accept notice from the request command end of request receiving unit 332, indication request notification section 333 is sent request command.Request notification section 333 is accepted the indication that the request command from control section 331 sends, additional header information the data that receive from request receiving unit 332, export request commands to sending part 34, and to control section 331 notice request order end of outputs.
Control section 331 is accepted the notice from the request command end of output of request notification section 333, when data transmit, not under the situation of transmission request of final data from the data transmission requests of high level notice, response generating portion 336 is indicated, to send CONTINUE acknowledgement command as the virtual acknowledgement command of ordering corresponding to PUT, multiplexer 337 is controlled, outputing to response notification section 335 as the CONTINUE acknowledgement command of the virtual acknowledgement command of ordering corresponding to PUT from 336 outputs of response generating portion.
In response generating portion 336, the indication that acceptance is sent from the CONTINUE acknowledgement command corresponding to the virtual acknowledgement command of PUT order of control section 331, generate according to as the virtual acknowledgement command corresponding to the CONTINUE order of PUT order of high-rise OBEX standard, and output to multiplexer 337.
In addition, under the situation of accepted connection request from high level at control section 331, disconnect request, the final data transmission being asked, multiplexer 337 is controlled, outputed to response notification section 335 with the acknowledgement command of the request command that will handle corresponding to common reception, promptly receive from server apparatus.
At this moment, response receiving unit 334 in the low layer processing section 33 carries out from the parsing of the data of receiving unit 35 receptions, control section 331 notice received corresponding to the acknowledgement command of request command finish, carry out removing of header information, and will receive data and output to multiplexer 337.
At control section 331, accept to receive the notice that finishes from response receiving unit 334 corresponding to the acknowledgement command of connection request, multiplexer 337 is controlled, so that output to response notification section 335 from the dateout of response receiving unit 334.Multiplexer 337 will be from the reception data of response receiving unit 334 and response generating portion 336 based on the switching of exporting from the control signal of control section 331, and outputs to response notification section 335.
Response notification section 335 is accepted the notice that the acknowledgement command from control section 331 sends, and will output to as high-rise OBEX layer processing section 32 from the acknowledgement command that multiplexer 337 receives.Response receiving unit 323 in OBEX layer processing section 32 receives corresponding to the acknowledgement command from the request command of low layer, and control section 321 is carried out receiving the notice that finishes corresponding to the acknowledgement command of request command.
Control section 321 is accepted to receive the notice that finishes corresponding to the acknowledgement command from the request command of response receiving unit 323, to application layer process part 31 notices as high level be through with to being connected of method, apparatus, data transmit, disconnection.Like this, application layer process part 31 can confirm to be through with to being connected of method, apparatus (server apparatus), data transmit, disconnect, and finish the object exchange with server apparatus.
Here, as low layer processing section 33, TinyTP layer, IrLMP layer, each layer of IrLAP layer are showed as a piece, but can certainly constitute a piece respectively by each layer.In addition, in Figure 10, illustrate TinyTP layer, generate virtual acknowledgement command, but in any one of the IrLMP of other layers layer, IrLAP layer, also can carry out the generation of virtual acknowledgement command corresponding to OBEX layer processing section 32 at the low one deck that is positioned at OBEX layer processing section 32.But, as mentioned above, preferably, generate virtual acknowledgement command corresponding to OBEX layer processing section 32 at the TinyTP layer of the low one deck that is arranged in OBEX layer processing section 32, be used for the time of additional unnecessary header information and the time of deletion with saving.
As described above, the client devices 3 of present embodiment, has following function: be arranged in the communication protocol of described object exchange with the low layer of agreement, be positioned at when sending request command according to described object exchange with agreement with the communication protocol of low layer of the layer of agreement corresponding to described object exchange, kind according to this request command, reception is corresponding to from the response to the request command of method, apparatus, or, generation is equivalent to corresponding to the virtual acknowledgement command of described object exchange with the acknowledgement command of this request command of agreement, and notice is switched between the two corresponding to as high-rise object exchange protocol layer.
Therefore, by necessary MIN acknowledgement command such as when server apparatus only receives connection request, when disconnecting request, when final data transmits request, just can guarantee the reliability of communicating by letter, for transmitting the corresponding acknowledgement command of request data transmission requests in addition etc. with final data, owing to do not need to receive processing, so can reduce circuit scale.
[the 4th execution mode]
Client devices (communicator) about the transfer system (communication system) of the transmission data of the 4th execution mode of the present invention carries out following explanation based on Figure 11.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Figure 11 is the block diagram of structure of the client devices of expression present embodiment.As shown in figure 11, client devices (communicator) 4 has possessed the function same with the client devices 1 of Fig. 1 respectively, comprising: application layer process part 41, OBEX layer processing section (object exchange layer processing section) 42, low layer processing section 43, send part 44 and receiving unit 45.
Application layer process part 41 is according to the indication that is input to the user of not shown operation part, and to OBEX layer processing section 42, request is carried out request command and sent.In addition, when having accepted to receive the notice of intention of acknowledgement command from OBEX layer processing section 42, the acknowledgement command according to receiving carries out predetermined process.
OBEX layer processing section 42 comprises: control section 421, request notification section 422 and response receiving unit 423.Control section 421 carries out sending of request command according to the request from application layer process part 41 to the generation of request notification section 422 notice request orders with to low layer.In addition, accept acknowledgement command reception result notice, to the reception result of application layer processing section 41 notice acknowledgement commands from response receiving unit 423.
Request notification section 422 is accepted to give notice from the request command of control section 421, generates request command, and outputs to low layer processing section 43.Response receiving unit 423 receives the acknowledgement commands of 43 outputs from the low layer processing section, carries out the parsing of the acknowledgement command that received, and to control section 421, notice has received the intention of command analysis result and acknowledgement command.
Low layer processing section 43 comprises: control section (low layer control section) 431, request receiving unit 432, request notification section 433, response receiving unit 434, response notification section 435, response generating portion 436, multiplexer 437 and header information are resolved part 438.
Control section 431 asks receiving unit 432, request notification section 433, response receiving unit 434, response notification section 435, response generating portion 436, multiplexer 437 and header information to resolve the control of each piece of part 438.Relevant details is discussed in the back.
The request command that request receiving unit 432 receives from OBEX layer processing section 42 carries out the parsing of this order, control section 431 notices has been received the intention of command analysis result and request command.In addition, the data that receive are outputed to header information and resolve part 438.
Resolve part 438 in header information, carry out the parsing of the header information of the request command that receives from request receiving unit 432, judgement can receive corresponding to the acknowledgement command from the request command of server apparatus, still generate the acknowledgement command that is equivalent to corresponding request command according to the OBEX standard virtual acknowledgement command, and notice as high-rise OBEX layer processing section 42, and to control section 431 notice result of determination.In addition, the data that receive are outputed to request notification section 433.
Request notification section 433 is accepted to give notice from the request command of control section 431, additional necessary header information and generate request command, and output to and send part 44.
Response receiving unit 434 receives the parsing of data under the transmission data conditions that receives from receiving unit 45 from server apparatus, control section 431 notices are received the intention of command analysis result and acknowledgement command.In addition, from the acknowledgement command that receives, remove header information, and output to multiplexer 437.
Response notification section 435 will output to OBEX layer processing section 42 from the acknowledgement command of multiplexer 437 outputs.
Response generating portion 436 is accepted to generate notice from the acknowledgement command of control section 431, generates and the same virtual acknowledgement command of above-mentioned first execution mode, and sends to multiplexer 437.
Multiplexer 437 is according to the control signal from control section 431, carry out the virtual acknowledgement command that generates by response generating portion 436 or from the switching from the output of the acknowledgement command of low layer of response receiving unit 434 outputs, and output to response notification section 435.
Control section 431 has accepted to receive the notice of the intention of command analysis result and request command from request receiving unit 432, resolve the result of determination of part 438 notices based on header information, under situation about having accepted corresponding to the notice of the intention of the acknowledgement command of the request command that sends from server apparatus, multiplexer 437 is controlled, so that response receiving unit 434 will output to response notification section 435 from the acknowledgement command from server apparatus that receiving unit 45 receives.In addition, control section 431 is controlled response generating portion 436 and multiplexer 437 under the situation of the notice of the intention of having accepted to generate virtual acknowledgement command, responds notification section 435 so that above-mentioned virtual acknowledgement command is outputed to.Promptly, control section 431 is according to resolved the header information that part 438 is resolved by header information, be the acknowledgement command that receives corresponding to the request command that sends from server apparatus, still generate the virtual acknowledgement command of the acknowledgement command that is equivalent to corresponding request command according to the OBEX standard and notify the hand-off process of OBEX layer.
Send part 44 by the infrared communication circuit, will send to the outside by 43 request commands that receive from the low layer processing section.Receiving unit 45 receives the acknowledgement command that sends to method, apparatus (server apparatus) by the infrared communication circuit, and the acknowledgement command that receives is outputed to low layer processing section 43.
Below, about the step (communication means) of the data transfer process between the client-server of the 4th execution mode of the present invention, describe with reference to order and Figure 11 of Figure 12.Have, Figure 12 represents the situation that transmission that connection, the data in the protocol stack of IrDA transmit, disconnect is handled respectively again.
In client devices 4, accepted application layer process part 41 from user's object exchange indication, to OBEX layer processing section 42, send successively and connection request, data transmission requests, the disconnection request of conduct the server apparatus 5 of method, apparatus.
Control section 421 in having accepted the OBEX layer processing section 42 of above-mentioned request is accepted the request from application layer process part 41, and indication is sent request command to request notification section 422 generation request commands and indication to low layer processing section 43.
Request notification section 422 is accepted the indication of sending from the connection request order of control section 421, generates request command, and to low layer processing section 43 output request commands.Request receiving unit 432 in low layer processing section 43 receives 42 request commands of exporting from OBEX layer processing section, control section 431 notice request orders is received finish, and resolve part 438 output reception data to header information.
Resolve part 438 in header information, carry out parsing the request command that receives from request receiving unit 432.For example, resolve by Opcode the OBEX request command shown in the above-mentioned table 13, be the acknowledgement command that receives corresponding to the request command that sends from server apparatus, still generate the virtual acknowledgement command of the acknowledgement command that is equivalent to corresponding request command according to the OBEX standard and notify the judgement of OBEX layer.Here, suppose for CONNECT (0x80), DISCONNECT (0x81) and the last PUT (0x82) that sends, reception is from the acknowledgement command of server apparatus output, for PUT (0x02) in addition, generation is equivalent to the virtual acknowledgement command of correspondence according to the acknowledgement command of the request command of OBEX standard, and notice OBEX layer.That is,, can receive,, generate the virtual acknowledgement command suitable with it for the CONTINUE acknowledgement command from the acknowledgement command of server apparatus output for the acknowledgement command of SUCCESS, and notice OBEX layer.
At control section 431, accept notice, to sending of request notification section 433 indication request orders from the request command end of request receiving unit 432.Request notification section 433 is accepted the indication that the request command from control section 431 sends, additional header information on the data that receive from request receiving unit 432, export request commands to sending part 44, and to control section 431 notice request order end of outputs.
Control section 431 is in the notice of accepting from the request command end of output of request notification section 433, resolve part 428 generations from header information and be equivalent to the virtual acknowledgement command of correspondence according to the acknowledgement command of the request command of OBEX standard, the notice that acceptance is notified the OBEX layer, promptly accept under the situation of the last PUT that sends PUT order (0x02) in addition from the OBEX layer, response generating portion 436 is indicated, to send CONTINUE acknowledgement command as the virtual acknowledgement command of ordering corresponding to PUT, multiplexer 437 is controlled, outputing to response notification section 435 as the CONTINUE acknowledgement command of the virtual acknowledgement command of ordering corresponding to PUT from 436 outputs of response generating portion.
In response generating portion 436, accept the indication of sending as corresponding to CONTINUE acknowledgement command from the virtual acknowledgement command of the PUT order of control section 431, the virtual acknowledgement command that the CONTINUE that generation is ordered corresponding to the PUT according to high-rise OBEX standard orders, and output to multiplexer 437.
In addition, in the notice of accepting to receive from header information parsing part 428 from the acknowledgement command of server apparatus output, promptly, receive from the OBEX layer under the situation of the PUT order that CONNECT orders, DISCONNECT orders, send at last, multiplexer 437 is controlled, handled to carry out common reception.
At this moment, response receiving unit 434 in the low layer processing section 43 carries out from the parsing of the data of receiving unit 45 receptions, acknowledgement command reception corresponding to request command finishes to control section 431 notices, carries out removing of header information, will receive data and output to multiplexer 437.
At control section 431, accept to finish from of the acknowledgement command reception of response receiving unit 434 notices corresponding to connection request, multiplexer 437 is controlled, will output to response notification section 435 from the dateout of response receiving unit 434.Multiplexer 437 will be from the reception data of response receiving unit 434 and response generating portion 436 based on the switching of exporting from the control signal of control section 431, and outputs to response notification section 435.
Response notification section 435 is accepted the notice that the acknowledgement command from control section 431 sends, and will output to as high-rise OBEX layer processing section 42 from the acknowledgement command that multiplexer 437 receives.Response receiving unit 423 in OBEX layer processing section 42 receives corresponding to the acknowledgement command from the request command of low layer, and control section 421 notices are received corresponding to the acknowledgement command of request command finishes.
Control section 421 is accepted to receive the notice that finishes corresponding to the acknowledgement command from the request command of response receiving unit 423, to as high-rise application layer process part 41 notices and the end that is connected to method, apparatus.Like this, application layer process part 41 can confirm to be through with to being connected of method, apparatus (server apparatus), data transmit, disconnect, and finish the object exchange with server apparatus.
Here, as low layer processing section 43, TinyTP layer, IrLMP layer, each layer of IrLAP layer are showed as a piece, but can certainly constitute a piece respectively by each layer.In addition, in Figure 12, illustrate TinyTP layer, generate virtual acknowledgement command, but in any one of the IrLMP of other layers layer, IrLAP layer, also can carry out the generation of virtual acknowledgement command corresponding to OBEX layer processing section 32 at the low one deck that is positioned at OBEX layer processing section 42.But, as mentioned above, preferably, generate virtual acknowledgement command corresponding to OBEX layer processing section 42 at the TinyTP layer of the low one deck that is arranged in OBEX layer processing section 42, be used for the time of additional unnecessary header information and the time of deletion with saving.
As described above, the client devices 4 of present embodiment, has following function: be arranged in the communication protocol of described object exchange with the low layer of agreement, be positioned at corresponding to described object exchange with the communication protocol of the low layer of the layer of agreement by header information with reference to the request command that sends with agreement by described object exchange, kind according to this request command, reception is corresponding to from the acknowledgement command to the request command of method, apparatus, perhaps generate and be equivalent to the virtual acknowledgement command of the described object exchange of corresponding foundation with the acknowledgement command of this request command of agreement, and notify corresponding to the layer of using agreement as high-rise object exchange, between switches.
Therefore, by necessary MIN acknowledgement command such as when server apparatus only receives connection request, when disconnecting request, when final data transmits request, just can guarantee the reliability of communicating by letter, for transmitting the corresponding acknowledgement command of request data transmission requests in addition etc. with final data, owing to do not need to receive processing, so can reduce circuit scale.
[the 5th execution mode]
Server apparatus (communicator) about the transfer system (communication system) of the transmission data of the 5th execution mode of the present invention carries out following explanation based on Figure 13.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Figure 13 is the block diagram of structure of the server apparatus of expression present embodiment.As shown in figure 13, server apparatus (communicator) 1000 comprises at least: application layer process part 1010, OBEX layer processing section (object exchange layer processing section) 1020, low layer processing section 1030 and receiving unit 1050.
Application layer process part 1010 is according to the indication that is input to the user of not shown operation part, and to OBEX layer processing section 1020, request is carried out request command and handled.In addition, when having accepted to receive the notice of intention of request command from OBEX layer processing section 1020, the request command according to receiving carries out predetermined process.
OBEX layer processing section 1020 comprises: control section 1021, response notification section 1022 and request analysis part 1025.Control section 1021 will generate acknowledgement command and low layer will be sent acknowledgement command push-notification-answer notification section 1022 according to from the request of application layer process part 1010 with from the analysis result of request analysis part 1025.In addition, accept request command reception result notice, to the reception result of application layer processing section 1010 notice request orders from request analysis part 1025.
Response notification section 1022 is accepted to give notice from the acknowledgement command of control section 1021, generates acknowledgement command, and outputs to low layer processing section 1030.Request analysis part 1025 receives the acknowledgement command of 1030 outputs from the low layer processing section, and the parsing of the request command that receives is notified the intention that receives command analysis result and request command to control section 1021.
Low layer processing section 1030 comprises: control section (low layer control section) 1031, response receiving unit 1032 and request analysis part 1035.
Control section 1031 responds the control of receiving unit 1032 and request analysis part 1035.Relevant details, the back is discussed.
The acknowledgement command that response receiving unit 1032 receives from OBEX layer processing section 1020 carries out the parsing of this order, control section 1031 notices is received the intention of command analysis result and acknowledgement command.
Request analysis part 1035 receives the parsing of data under the transmission data conditions that receives by receiving unit 1050 from client devices, control section 1031 notices are received the intention of command analysis result and request command.In addition, from the request command that receives, remove header information, and output to OBEX layer processing section 1020.
Control section 1031 has accepted to have received from response receiving unit 1032 notice of the intention of command analysis result and acknowledgement command, but the acknowledgement command that receives is not sent to client devices.
Receiving unit 1050 receives the request command that sends to method, apparatus (client devices) by the infrared communication circuit, and the request command that receives is outputed to low layer processing section 1030.
Below, with flow chart shown in Figure 14, the action of the control section in the low layer processing section of OBEX layer of relevant server apparatus in the past is described.
Whether step S11 differentiates in the step that receives from the request command of client computer.Under situation about receiving, be transferred to step S12, and under situation about not receiving, be transferred to step S11 once more.
Step S12 is the step that OBEX layer processing section notice has been received request command.Notice is transferred to step S13 after finishing.
Step S13 differentiates the step that whether has received acknowledgement command from OBEX layer processing section.Under situation about receiving, be transferred to step S14, and under situation about not receiving, be transferred to step S13 once more.
Step S14 is the step that client devices is sent above-mentioned OBEX layer acknowledgement command.After sending end, transfer to step S11.
By above action,, carry out reception request command with the OBEX layer and send the exchange of acknowledgement command in the low layer processing section of the OBEX layer of in the past server apparatus.
But, under the situation of the low layer processing section of carrying out action in the past, have the step that the acknowledgement command from OBEX layer processing section is sent to client devices, do not needing to send in the communication of acknowledgement command, the electric power when sending acknowledgement command is wasted.
To this, as shown in figure 15, the control section 1031 of the low layer processing section 1030 of present embodiment is a feature not have the step that sends acknowledgement command.With flow chart shown in Figure 15, the action of control section 1031 of the low layer processing section 1030 of relevant present embodiment is described.
Whether step S21 differentiates in the step that receives from the request command of client computer.Under situation about receiving, be transferred to step S22, and under situation about not having, be transferred to step S21 once more.
Step S22 is the step that OBEX layer processing section 1020 notices has been received request command.Notice is transferred to step S23 after finishing.
Whether step S23 differentiates 1020 to receive acknowledgement commands from OBEX layer processing section.Under the situation about receiving, be transferred to step S21, and under situation about not receiving, be transferred to step S23 once more.Have again, also this step S23 can be set, behind end step S22, be transferred to step S21.
By above action, can realize that low layer processing section 1030 do not send the control section 1031 from the acknowledgement command of OBEX layer processing section 1020.In addition, because the OBEX layer processing section in the past that can use the action that will send corresponding to the acknowledgement command of request command, so can carry out calling of resource.
Then, the exchange of the order of the client devices of expression present embodiment and server equipment room in Figure 16.
As shown in figure 16, in server apparatus 1000, even be issued to TinyTP layer from OBEX layer processing section 1020 as low layer corresponding to acknowledgement command from the request command of client devices, but do not notify described acknowledgement command to low layer by TinyTP layer as low layer, for client devices, realize not carrying out the transmission of acknowledgement command.Have again, in Figure 16, the TinyTP layer of following one deck of OBEX layer as low layer processing section 1030, is carried out low layer not being sent the processing of acknowledgement command, but also can carry out same control with the IrLMP layer of lower floor or IrLAP layer as low layer processing section 1030.
[the 6th execution mode]
Below explanation is about the server apparatus (communicator) of the transfer system (communication system) of the transmission data of the 6th execution mode of the present invention.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Figure 17 is the block diagram of the server apparatus 1100 of expression present embodiment.The server apparatus of present embodiment (communicator) 1100 comprises at least: application layer process part 1110, OBEX layer processing section 1120, low layer processing section 1130, transmission part 1140 and receiving unit 1150.
Application layer process part 1110 is according to the indication that is input to the user of not shown operation part, and to OBEX layer processing section 1120, request is carried out request command and handled.In addition, when having accepted to receive the notice of intention of request command from OBEX layer processing section 1020, the request command according to receiving carries out predetermined process.
OBEX layer processing section 1120 comprises: control section 1121, response notification section 1122 and request analysis part 1125.Control section 1121 will generate acknowledgement command and low layer will be sent acknowledgement command push-notification-answer notification section 1122 according to from the request of application layer process part 1110 with from the analysis result of request analysis part 1125.In addition, accept request command reception result notice, to the reception result of application layer processing section 1110 notice request orders from request analysis part 1125.
Response notification section 1122 is accepted to give notice from the acknowledgement command of control section 1121, generates acknowledgement command, and outputs to low layer processing section 1130.Request analysis part 1125 receives the acknowledgement command of 1130 outputs from the low layer processing section, and the parsing of the request command that receives is notified the intention that receives command analysis result and request command to control section 1121.
Low layer processing section 1130 comprises: control section (low layer control section) 1131, response receiving unit 1132 and request analysis part 1135.
Control section 1131 responds the control of receiving unit 1132 and request analysis part 1135.Relevant details, the back is discussed.
The acknowledgement command that response receiving unit 1132 receives from OBEX layer processing section 1120 carries out the parsing of this order, control section 1131 notices is received the intention of command analysis result and acknowledgement command.
Request analysis part 1135 receives the parsing of data under the transmission data conditions that receives from receiving unit 1150 from client devices, control section 1131 notices are received the intention of command analysis result and request command.In addition, from the request command that receives, remove header information, and output to OBEX layer processing section 1120.
Control section 1131 has accepted to have received from response receiving unit 1132 notice of the intention of command analysis result and acknowledgement command, but the acknowledgement command that receives is not sent to client devices.
Send part 1140 by the infrared communication circuit, will send to the outside by 1030 acknowledgement commands that receive from the low layer processing section.
Receiving unit 1150 receives the request command that sends to method, apparatus (client devices) by the infrared communication circuit, and the request command that receives is outputed to low layer processing section 1130.
Below, with flow chart shown in Figure 180, the action of the control section 1131 in the low layer processing section 1130 of relevant present embodiment is described.
Step S31 differentiates the step that whether calm family machine equipment received request command.Under situation about receiving, be transferred to step S32, and under situation about not receiving, be transferred to step S31 once more.
Step S32 is the step that OBEX layer processing section 1120 notices has been received request command from client devices.Notice is transferred to step S33 after finishing.
Whether step S33 differentiates in 1120 steps that receive acknowledgement commands from OBEX layer processing section.Under situation about receiving, be transferred to step S34, and under situation about not receiving, be transferred to step S33 once more.
Step S34 is the step that 1120 acknowledgement commands that receive from OBEX layer processing section are resolved.After resolving end, transfer to step S35.
Whether step S35 differentiates to need the result who will resolve among the step S34, the acknowledgement commands of 1120 receptions from OBEX layer processing section to send to the step of client computer.Being judged as under the situation about needing, be transferred to step S36, and be judged as under the unwanted situation, be transferred to step S31.In this step S35, for example do not send CONTINUE acknowledgement command, and select only to send the SUCCESS acknowledgement command corresponding to the Put order of OBEX.
Step S36 is the step that client devices is sent acknowledgement command.After sending end, be transferred to step S31.
Above-mentioned action is carried out in low layer processing section 1130 by server apparatus 1100, can carry out client devices is not only sent processing from the acknowledgement command of specific OBEX layer.In addition, owing to can use the OBEX layer processing section in the past that will send corresponding to the acknowledgement command of request command, so can carry out calling of resource.
Below, the exchange of the order of the client devices of expression present embodiment and server equipment room among Figure 19.
As shown in the figure, in server apparatus 1100, even be issued to TinyTP layer from OBEX layer processing section 1120 as low layer corresponding to specific acknowledgement command (the acknowledgement command CONTINUE among the figure) from the request command of client devices, but by not notifying described acknowledgement command to low layer more as the TinyTP layer of low layer, for client devices, realize not carrying out the transmission of specific acknowledgement command.Have again, in Figure 19, the TinyTP layer of following one deck of OBEX layer as low layer processing section 1130, is carried out low layer not being sent the processing of acknowledgement command, but also can carry out same control with the IrLMP layer of lower floor more or IrLAP layer as low layer processing section 1130.
In addition, with the flow chart of Figure 20, other actions of expression low layer processing section 1130.
Step S41 differentiates the step that whether has received request command from client devices.Under situation about receiving, be transferred to step S42, and under situation about not receiving, be transferred to step S41 once more.
Step S42 is the step that OBEX layer processing section 1120 notices has been received request command from client devices.Notice is transferred to step S43 after finishing.
Step S43 differentiates the step that whether has received acknowledgement command from OBEX layer processing section 1120.Be transferred to step S44 under the situation about receiving, and under the situation about not receiving, be transferred to step S43 once more.
Step S44 is the step that the head of 1120 acknowledgement commands that receive from OBEX layer processing section is resolved.Here the parsing of carrying out, for example be whether differentiate be CONTINUE acknowledgement command corresponding to non-final Put order, specifically, differentiation is CONTINUE (0x10 or 0x90) from the 1st byte of the acknowledgement command of OBEX layer processing section 1120, or SUCCESS (0x20 or 0xA0).After resolving end, be transferred to step S45.
Whether step S45 differentiates to need the result who will resolve among the step S44, the acknowledgement commands of 1120 receptions from OBEX layer processing section to send to the step of client computer.Being judged as under the situation about needing, be transferred to step S46, and be judged as under the unwanted situation, be transferred to step S41.In this step S45, for example do not send CONTINUE acknowledgement command, and select only to send the SUCCESS acknowledgement command corresponding to the Put order of OBEX.
Step S46 is the step that client devices is sent acknowledgement command.After sending end, be transferred to step S41.
Above-mentioned action is carried out in low layer processing section 1130 by server apparatus 1100, can carry out client devices is not only sent processing from the acknowledgement command of specific OBEX layer.In addition, owing to can use the OBEX layer processing section in the past that will send corresponding to the acknowledgement command of request command, so can carry out calling of resource.
Have, under the situation of the action of the low layer processing section 1130 shown in the flow chart of Figure 20, the exchange of the order of client devices and server equipment room also becomes order shown in Figure 19 (sequence) again.
Promptly, as shown in figure 19, in server apparatus 1100, even be issued to TinyTP layer from OBEX layer processing section 1120 as low layer corresponding to specific acknowledgement command (the acknowledgement command CONTINUE among the figure) from the request command of client devices, but by not notifying described acknowledgement command, thereby client devices is realized not carrying out the transmission of specific acknowledgement command to low layer more as the TinyTP layer of low layer.Have again, in Figure 19, will for as the TinyTP layer of following one deck of OBEX layer as low layer processing section 1130, carry out low layer not being sent the processing of acknowledgement command, but also can carry out same control with the IrLMP layer of low layer more or IrLAP layer as low layer processing section 1130.
[the 7th execution mode]
Below explanation is about the client devices (communicator) of the transfer system (communication system) of the transmission data of the 7th execution mode of the present invention.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
At first, Figure 21 is to use the block diagram of the client devices that OBEX agreement in the past communicates.
As shown in figure 21, client devices in the past (communicator) 1200 comprises at least: application layer process part 1210, OBEX layer processing section (object exchange layer processing section) 1220, low layer processing section 1230, transmission part 1240 and receiving unit 1250.
Application layer process part 1210 is carried out the processing of sending of request command according to the indication that is input to the user of not shown operation part to 1220 requests of OBEX layer processing section.
OBEX layer processing section 1220 comprises: control section 1221, request notification section 1222 and response receiving unit 1223.
Control section 1221 carries out the generation of request command and low layer is sent request command request notification section 1222 notices according to the request from application layer process part 1210.In addition, accept acknowledgement command reception result notice, to the reception result of application layer processing section 1210 notice acknowledgement commands from response receiving unit 1223.
Request notification section 1222 is accepted to give notice from the request command of control section 1221, generates request command, and outputs to low layer processing section 1230.Response receiving unit 1223 receives the acknowledgement command of 1230 outputs from the low layer processing section, and the parsing of the acknowledgement command that receives is notified the intention that receives command analysis result and response command to control section 1221.
Be transferred to after 1230 pairs of the heads in low layer processing section and send part 1240 from the additional suitable low layer of the request command of OBEX layer processing section 1220, after from reception acknowledgement command, removing the head of suitable low layer simultaneously, be sent to OBEX layer processing section 1220 from receiving unit 1250.
Send part 1240 by the infrared communication circuit, will send to the outside by 1230 request commands that receive from the low layer processing section.
Send part 1250 by the infrared communication circuit, receive the acknowledgement command that sends to method, apparatus (server apparatus), and the acknowledgement command that receives is outputed to low layer processing section 1230.
Below, with flow chart shown in Figure 22, the action of control section 1221 of the OBEX layer processing section 1220 of Figure 21 is described.
Step S51 is in the control section 1221 of the application layer process part 1210 of client devices 1200 and OBEX layer processing section 1220, differentiates the step that whether has taken place the request command of server apparatus.Under situation about taking place, be transferred to step S52, and under nonevent situation, be transferred to step S51 once more.
Step S52 is the step that the request command to server apparatus is sent to low layer processing section 1230.After sending end, be transferred to step S53.
Step S53 differentiates the step that whether has received from low layer processing section 1230 from the acknowledgement command of server apparatus.Under situation about receiving, be transferred to step S54, and under situation about not receiving, step is transferred to step S53 once more.
Step S54 is the step that the acknowledgement command that receives is resolved.After resolving end, be transferred to step S55.
Whether step S55 differentiates the step of sign off.Under the unclosed situation of communication, be transferred to step S51 once more.
By above action, the acknowledgement command corresponding with it can be resolved by sending request command in the OBEX layer processing section 1220 of client devices 1200 in the past, and sends next request command once more and communicate.
But, in the action of the OBEX layer processing section 1220 of above-mentioned client devices 1200 in the past, only exist otherwise receive acknowledgement command from server apparatus, just can not send the problem of next request command.
In order to address this problem, shown in the flow chart of Figure 24, in the client devices 1300 (Figure 23) of present embodiment, after server apparatus has been sent request command, even do not receive acknowledgement command, also can send next request command from server apparatus.Specifically, following such.
Step S61 is in the control section 1321 of the application layer process part 1310 of client devices 1300 and OBEX layer processing section 1320, differentiates the step that whether has taken place the request command of server apparatus.Under situation about taking place, be transferred to step S62, and under nonevent situation, be transferred to step S61 once more.
Step S62 is the step that the request command to server apparatus is sent to low layer processing section 1330.After sending end, be transferred to step S65.
Whether step S65 differentiates the step of sign off.Under the unclosed situation of communication, be transferred to step S61 once more.
The control section 1321 of the OBEX layer processing section 1320 by client devices 1300 carries out above action, after having sent request command from client devices 1300, even do not receive acknowledgement command, also can send next request command from server apparatus.
Here, Figure 23 is the block diagram of the client devices 1300 of present embodiment.
The communication direction of OBEX layer processing section (object exchange layer processing section) 1320 is selected each piece beyond the part 1324, has identical functions with each piece of the OBEX layer processing section 1220 of the above-mentioned client devices 1200 in the past that uses Figure 21 explanation, so omit explanation.
It still is the function of two-way communication for one-way communication that communication direction selects part 1324 to have the communication of selection.Here so-called one-way communication is for the request command from client devices, need be from the communication of the acknowledgement command of server apparatus.In server apparatus, do not exist under the situation that sends part, or in client devices, do not exist under the situation of receiving unit, must become one-way communication, but have the part of transmission and receiving unit respectively at client devices and server apparatus, but signal flow for from client devices under unidirectional situation of server apparatus, still be one-way communication.And two-way communication is the request command that sends for calm family machine equipment, and server apparatus sends acknowledgement command, and after the parsing of described acknowledgement command, client devices sends the communication mode of next request command again.In this case,, might not need acknowledgement command, make in advance the OBEX of the OBEX of client devices layer and server apparatus layer both sides and deciding through consultation down if for whole request commands, then not necessarily need be corresponding to the acknowledgement command of specific request command.
Below, with the flow chart of Figure 25, the action of control section 1321 of OBEX layer processing section 1320 of the client devices 1300 of present embodiment is described.
Step S70 selects part 1324 to select the two-way communication or the step of one-way communication by communication direction.Under the situation of two-way communication, be transferred to step S71, and under the situation of one-way communication, be transferred to S81.
Step S71 is in two-way communication, differentiates the step that whether has taken place in the control section 1321 of application layer process part 1310 or OBEX layer processing section 1320 request command of server apparatus.Under situation about taking place, be transferred to step S72, under nonevent situation, be transferred to step S71 once more.
Step S72 is in two-way communication, will send to the step of low layer processing section 1330 to the request command of server apparatus.After sending end, be transferred to step S73.
Step S73 is in two-way communication, differentiates the step that whether has received from the acknowledgement command of server apparatus.Under situation about receiving, be transferred to step S74, under situation about not receiving, be transferred to step S73 once more.
Step S74 is in two-way communication, resolves the step from the acknowledgement command of server apparatus.After resolving end, be transferred to step S75.
Step S75 is in two-way communication, differentiates the step that whether finishes to communicate by letter.Under unclosed situation, be transferred to step S71 once more.
On the other hand, step S81 is in one-way communication, differentiates the step that whether has taken place in the control section 1321 of application layer process part 1310 or OBEX layer processing section 1320 request command of server apparatus.Under situation about taking place, be transferred to step S82, under nonevent situation, be transferred to step S81 once more.
Step S82 is in one-way communication, will send to the step of low layer processing section 1330 to the request command of server apparatus.After sending end, be transferred to step S85.
Step S85 is in one-way communication, differentiates the step that whether finishes to communicate by letter.Under the unclosed situation, be transferred to step S81 once more.
The control section 1321 of the OBEX layer processing section 1320 by client devices 1300 carries out above action, in two-way communication, from waiting for that the acknowledgement command from server apparatus sends next request command, in one-way communication, even do not receive acknowledgement command, also can send next request command from server apparatus.
[the 8th execution mode]
Below explanation is about the client devices (communicator) of the transfer system (communication system) of the transmission data of the 8th execution mode of the present invention.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Figure 23 is the block diagram of the client devices 1300 of present embodiment.That is, identical with above-mentioned the 7th execution mode, in addition, the action of each piece beyond the control section of OBEX layer processing section 1,320 1321 is also identical with the action of each piece of the 7th execution mode basically, so omit explanation.
With flow chart shown in Figure 26, the action of control section 1321 of the OBEX layer processing section 1320 of present embodiment is described.
Step S91 differentiates the step that whether has taken place the Put request command of server apparatus in the control section 1321 of application layer process part 1310 or OBEX layer processing section 1320.Under situation about taking place, be transferred to step S92, under nonevent situation, be transferred to step S91 once more.
Step S92 is the step that server apparatus is sent the Put request command.After sending end, be transferred to step S93.
Step S93 differentiates the step that the Put request command be sent out is final Put request command.Being under the final situation, be transferred to step S94, rather than under the final situation, be transferred to step S91.
Step S94 differentiates the step that whether has received from the acknowledgement command of server apparatus.Under situation about receiving, be transferred to step S95, under situation about not receiving, be transferred to step S94 once more.
Step S95 is the step of resolving from the acknowledgement command of server apparatus.After resolving end, be transferred to step S96.At this moment, become differentiation and whether received SUCCESS acknowledgement command corresponding to final Put request command.
Step S96 differentiates the step whether communication finishes.Under the unclosed situation, be transferred to step S91 once more.
The control section 1321 of the OBEX layer processing section 1320 by client devices 1300 carries out above action, for not being final Put request command, do not wait for CONTINUE acknowledgement command, just can send next Put request command, can improve the efficient of communication from server apparatus.In addition,, in client devices 1300, confirm, so in client devices 1300, can differentiate and whether can normally carry out the data transmission server apparatus for SUCCESS acknowledgement command from the server apparatus of ordering corresponding to final Put.
In addition, as shown in figure 26, select the two-way communication of part 1324, the switching and the combination of one-way communication by communication direction, can carry out following action: when becoming two-way communication, only final Put order needs the SUCCESS acknowledgement command, during one-way communication, whole request commands is not needed acknowledgement command.
[the 9th execution mode]
The following server apparatus (communicator) of transfer system (communication system) of the transmission data of explanation the 9th execution mode of the present invention.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
At first, the block diagram of the server apparatus that expression usefulness OBEX agreement in the past communicates among Figure 27.
As shown in figure 27, server apparatus (communicator) 1400 comprises at least: application layer process part 1410, OBEX layer processing section (object exchange layer processing section) 1420, low layer processing section 1430, transmission part 1440 and receiving unit 1450.
Application layer process part 1410 is according to the indication that is input to the user of not shown operation part, and to OBEX layer processing section 1420, the reception request command processing is carried out in request and acknowledgement command sends.
OBEX layer processing section 1420 comprises: control section 1421, response notification section 1422 and request analysis part 1423.
Control section 1421 can generate acknowledgement command and low layer is sent acknowledgement command response notification section 1422 notices according to the request from application layer process part 1410.In addition, accept request command reception result, to the reception result of application layer processing section 1410 notice request orders from request analysis part 1423.
Response notification section 1422 is accepted to give notice from the acknowledgement command of control section 1421, generates acknowledgement command, and outputs to low layer processing section 1430.Request analysis part 1423 receives the request command of 1430 outputs from the low layer processing section, and the parsing of the request command that receives is notified the intention that has received command analysis result and request command to control section 1421.
Be transferred to after the head of low layer processing section 1430 additional suitable low layer in and send part 1440 from the acknowledgement command of OBEX layer processing section 1420, after from reception request command, removing the head of suitable low layer simultaneously, be transferred to OBEX layer processing section 1420 from receiving unit 1450.
Send part 1440 and pass through infrared communication circuit etc., will send to the outside by 1430 request commands that receive from the low layer processing section.
Receiving unit 1450 passes through infrared communication circuit etc., receives the request command that sends to method, apparatus (client devices), and the request command that receives is outputed to low layer processing section 1430.
Then, with flow chart shown in Figure 28, the action of control section 1421 of the OBEX layer processing section 1420 of OBEX server apparatus 1400 in the past shown in Figure 27 is described.
Step S101 differentiates the step that whether has received request command from client devices.Under situation about receiving, be transferred to step S102, and under situation about not receiving, be transferred to step S101 once more.
Step S102 is the step of resolving from the request command of client devices.After resolving end, be transferred to step S103.
Step S103 is the step that forms the acknowledgement command of client devices.Acknowledgement command is transferred to step S104 after forming and finishing.
Step S104 is the step that described acknowledgement command is sent to client devices.After sending end, be transferred to step S105.
Step S105 differentiates the step that whether finishes to communicate by letter.Under unclosed situation, transfer to step S101 once more.
By above action, the OBEX layer processing section 1420 of server apparatus 1400 in the past generates and sends the acknowledgement command corresponding with it, thereby can communicate by request command is received parsing.
But, in the action of the OBEX layer processing section 1420 of above-mentioned server apparatus 1400 in the past, for request command from client devices, generate acknowledgement command, and send, so for example one-way communication is such, in need not the communication from the transmission of server apparatus 1400, the electric power that spends in the generation of acknowledgement command becomes the electric power that is wasted.
In order to solve it, shown in the flow chart of Figure 30, after in the server apparatus 1500 (Figure 29) of present embodiment, receiving, having resolved request command from client devices, can not generate, send response command, and receive next request command client devices.Specifically, as described below.
Step S111 differentiates the step that whether has received from the request command of client devices.Under situation about receiving, be transferred to step S112, and under situation about not receiving, be transferred to step S111 once more.
Step S112 is the step that the request command that receives is resolved.After resolving end, be transferred to step S115.
Step S115 differentiates the step whether communication finishes.Under unclosed situation, be transferred to step S111 once more.
The control section 1521 of the OBEX layer processing section 1520 by server apparatus 1500 carries out above action, can not carry out generation, transmission corresponding to the acknowledgement command of the request command that receives, and receive next request command.
Here, Figure 29 is the block diagram of server apparatus 1500 of the another way of present embodiment.
The communication direction of OBEX layer processing section (object exchange layer processing section) 1520 selects part 1524 each piece in addition and each piece of the OBEX layer processing section 1420 of the above-mentioned server apparatus 1400 in the past that illustrates with Figure 27 to have identical functions, so omit explanation.
It still is the function of two-way communication for one-way communication that communication direction selects part 1524 to have the communication of selection.Here, so-called one-way communication is for the request command from client devices, need be from the communication of the acknowledgement command of server apparatus.In server apparatus, do not exist under the situation that sends part, or in client devices, do not exist under the situation of receiving unit, must become one-way communication, but have the part of transmission and receiving unit respectively at client devices and server apparatus, but signal flow for from client devices under unidirectional situation of server apparatus, still be one-way communication.And two-way communication is the request command that sends for from client devices, and server apparatus sends acknowledgement command, and after the parsing of described acknowledgement command, client devices sends the communication mode of next request command again.In this case,, might not need acknowledgement command, make in advance the OBEX of the OBEX of client devices layer and server apparatus layer both sides and deciding through consultation down if for whole request commands, then not necessarily need be corresponding to the acknowledgement command of specific request command.
Below, with the flow chart of Figure 31, the action of control section 1521 of OBEX layer processing section 1520 of the server apparatus 1500 of present embodiment is described.
Step S120 selects part 1524 to select the two-way communication or the step of one-way communication by communication direction.Under the situation of two-way communication, be transferred to step S121, and under the situation of one-way communication, be transferred to S131.
Step S121 is in two-way communication, differentiates the step that whether has received from the request command of client devices.Under situation about receiving, be transferred to step S122, and under situation about not receiving, be transferred to step S121 once more.
Step S122 is in two-way communication, resolves the step from the request command of client devices.After resolving end, be transferred to step S123.
Step S123 is in two-way communication, forms the step to the acknowledgement command of client devices.After acknowledgement command forms end, be transferred to step S124.
Step S124 is in two-way communication, for the acknowledgement command with described formation sends to client devices, and the step of notice low layer processing section 1530.Notice is transferred to step S125 after finishing.
Step S125 differentiates the step that whether finishes to communicate by letter.Under unclosed situation, be transferred to step S121 once more.
On the other hand, step S131 is in one-way communication, differentiates the step that whether has received from the request command of client devices.Under situation about receiving, be transferred to step S132, and under situation about not receiving, be transferred to step S131 once more.
Step S132 is in one-way communication, resolves the step from the request command of client devices.After resolving end, be transferred to step S135 once more.
Step S135 differentiates the step whether communication finishes in one-way communication.Under unclosed situation, be transferred to step S131 once more.
The control section 1521 of the OBEX layer processing section 1520 by server apparatus 1500 carries out above action, can be in two-way communication, when the request command that receives from client devices, generate, send acknowledgement command, and in one-way communication, behind the request command that receives from client devices, do not generate, send acknowledgement command, and receive next request command.
[the tenth execution mode]
The following server apparatus (communicator) of transfer system (communication system) of the transmission data of explanation the tenth execution mode of the present invention.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Figure 29 is the block diagram of the server apparatus 1500 of present embodiment.That is, identical with above-mentioned the 9th execution mode, and also the action of each piece beyond the control section of OBEX layer processing section 1,520 1521 is also identical with the action of each piece of the 9th execution mode basically, so omit explanation.
With flow chart shown in Figure 32, the action of control section 1521 of the OBEX layer processing section 1520 of present embodiment is described.
Step S141 differentiates the step that whether has received from the Put order of client devices.Under situation about receiving, be transferred to step S142, and under situation about not receiving, be transferred to step S141 once more.
Step S142 is the step that the Put order that receives is resolved.After resolving end, be transferred to step S143.
Step S143 differentiates whether the Put order of being resolved is not the step that final Put orders.Under the situation that is final Put order, be transferred to step S144, and under the situation that is not final Put order, be transferred to step S141 once more.
Step S144 is the step that generates the acknowledgement command of client devices.After acknowledgement command generates end, be transferred to step S145.Have, in this step S144, the acknowledgement command of generation for example becomes the SUCCESS acknowledgement command under situation about all normally being through with from the Put order of client computer again.And under situation in addition, do not mention in the present embodiment.
Step S145 is for above-mentioned acknowledgement command is sent to client devices, and the step of notice low layer processing section 1530.Notice is transferred to step S146 after finishing.
Step S146 differentiates the step whether communication finishes.Under unclosed situation, be transferred to step S141.
The control section 1521 of the OBEX layer processing section 1520 by server apparatus 1500 carries out above action, for not being final Put request command, can not carry out generation, the transmission of the CONTINUE acknowledgement command that generates by in the past OBEX layer processing section, for final Put request command, generate, send the SUCCESS acknowledgement command, can improve the efficient of communication.In addition, owing to will send to client devices corresponding to the SUCCESS acknowledgement command of final Put order, so in client devices, can differentiate and whether can normally carry out the data transmission to server apparatus 1500.
In addition, as shown in figure 31, select the two-way communication of part 1524, the switching and the combination of one-way communication by communication direction, can carry out following action: when two-way communication, only final Put order is generated, sends the SUCCESS acknowledgement command, and when one-way communication, whole request commands is not generated, sends acknowledgement command.
[the 11 execution mode]
The transfer system (communication system) of the transmission data of the 11 execution mode of the present invention below is described.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
Communication example between the portable phone of relevant present embodiment is described with Figure 33.
Have again, in present embodiment, on client devices (transmitter) and server apparatus (receiver), used portable phone, but either party of client devices (transmitter) or server apparatus (receiver) is that portable phone is just passable, as long as one of them communication mode by the invention described above, available infrared rays etc. carry out the transmission or the reception of data, and opposite equipment can not be portable phone also.
In addition, in Figure 33, portable phone A is client devices (transmitting terminal), and portable phone B illustrates as server apparatus (receiving terminal), but also can be opposite.
In Figure 33, use infrared ray, the data in the portable phone A are sent to portable phone B.At portable phone B, when receiving, preserve in memory in portable phone B or the external memory storage that is connected and receive data from data that portable phone A sends.Above-mentioned data are text data, view data, voice data, phone directory data, system information etc., are not limited to specific form.And the data in the portable phone A also can be any data of the data in the external memory storage (nonvolatile memories of SD card etc.) that is connected on the data, portable phone in the internal storage of portable phone A can.
When explaining the communication example between the portable phone of present embodiment, as described below.
For example, during two-way communication, in transmitting terminal client devices (portable phone A), sent when not being final Put order at the OBEX layer, do not wait for the CONTINUE acknowledgement command and send next Put order, and when sending final Put order, wait for SUCCESS acknowledgement command from receiving terminal server apparatus (portable phone B), whether the communication of affirmation is normally carried out.Have again, become above-mentioned CONTINUE acknowledgement command, and notify the OBEX layer, also can call the OBEX layer of essential CONTINUE acknowledgement command in the past by low layer processing section artificially generated terrain by the OBEX layer.
In addition, in receiving terminal server apparatus (portable phone B), the OBEX layer received from transmitting terminal client devices (portable phone A) be not final Put order the time, do not generate, send the CONTINUE acknowledgement command, and when having received final Put order, generation, transmission SUCCESS order.Receiving when not being final Put order, calling in the past generation, send the OBEX layer of CONTINUE acknowledgement command, only the CONTINUE order is not being sent to client devices by low layer and get final product.
By realizing above-mentioned communication between transmitting terminal client devices (portable phone A) and receiving terminal server apparatus (portable phone B), can be in two-way communication, use the communication efficiency height and communication quality might as well object exchange, carry out data and transmit.
In addition, for example, during one-way communication, in transmitting terminal client devices (portable phone A), when the OBEX layer has sent whole request commands, do not wait for acknowledgement command, and send next request command from server apparatus.Have again,, become suitable acknowledgement command, and notify the OBEX layer, also can call the OBEX layer of essential acknowledgement command in the past by low layer artificially generated terrain by OBEX for each request command from the OBEX layer.
In addition, in receiving terminal server apparatus (portable phone B), when the OBEX layer has received from whole request command of transmitting terminal client devices (portable phone A), do not generate, send acknowledgement command.And call in the past generation, send the OBEX layer corresponding to the acknowledgement command of the request command that receives, will to send to client devices from the acknowledgement command of OBEX layer just passable and can't help low layer.
By realizing above-mentioned communication between transmitting terminal client devices (portable phone A) and receiving terminal server apparatus (portable phone B),, also can use the Object Exchange of OBEX etc. to carry out data and transmit even in one-way communication.
[the 12 execution mode]
Below explanation is about the transfer system (communication system) of the transmission data of the 12 execution mode of the present invention.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
With Figure 34 the portable phone of relevant present embodiment and the communication example between the display unit are described.
Have again, in present embodiment, portable phone A and display unit B (for example TV etc.) on client devices (transmitter) and server apparatus (receiver), have been used respectively, if but could send data with infrared ray etc. by any one mode of the invention described above, then server apparatus (transmitter) could not be a portable phone also.In addition, also can be that display unit B is client devices (transmitter), and portable phone A be server apparatus (receiver).
In addition, in Figure 34, use infrared ray, the data in the portable phone A are sent to display unit B.At display unit B, the data that send from portable phone A are carried out suitable processing, for example, under the situation that be view data, if desired, then the data of compressing are carried out decompress(ion) etc. after, show, but be not limited thereto.In addition, above-mentioned data are text data, view data, speech data, phone directory data, system information etc., are not the data that are limited to specific form.In addition, the data in the portable phone A also can be the data in the internal storage of portable phone A, any data of the data in the external memory storage (nonvolatile memories of SD card etc.) that portable phone connected.
Below explain the portable phone of present embodiment and the communication example between the display unit.
For example, during two-way communication, in transmitting terminal client devices (portable phone A), sent when not being final Put order at the OBEX layer, do not wait for the CONTINUE acknowledgement command, and send next Put order, and when having sent final Put order, wait is from the SUCCESS acknowledgement command of receiving terminal server apparatus (display unit B), and whether the communication of affirmation is normally carried out.Have again, become above-mentioned CONTINUE acknowledgement command, and notify the OBEX layer, just can call the OBEX layer of essential CONTINUE acknowledgement command in the past by low layer processing section artificially generated terrain by the OBEX layer.
In receiving terminal server apparatus (display unit B), the OBEX layer received from transmitting terminal client devices (portable phone A) be not final Put order the time, do not generate, send the CONTINUE acknowledgement command, when having received final Put order, generate, send the SUCCESS acknowledgement command.Have, receiving when not being final Put order, call in the past generation, send the OBEX layer of CONTINUE acknowledgement command, it is just passable only the CONTINUE order not to be sent to client devices by low layer.
By realizing above-mentioned communication between transmitting terminal client devices (portable phone A) and receiving terminal server apparatus (display unit B), can in two-way communication, use the object exchange of communication efficiency height and good communication quality, carry out for example transmission of view data.
In addition, for example, during one-way communication, in transmitting terminal client devices (portable phone A), when the OBEX layer has sent whole request commands, do not wait for acknowledgement command, and send next request command from client devices.Have again,, generate suitable acknowledgement command by low layer simulation ground, and notify the OBEX layer, just can call the OBEX layer of essential acknowledgement command in the past by OBEX for each request command from the OBEX layer.
In receiving terminal server apparatus (display unit B), when the OBEX layer has received from whole request command of transmitting terminal client devices (portable phone A), do not generate, send acknowledgement command.Have again, also can call in the past generation, send OBEX layer, will send to client devices from the acknowledgement command of OBEX layer and can't help low layer corresponding to the acknowledgement command of the request command that receives.
By realizing above-mentioned communication between transmitting terminal client devices (portable phone A) and receiving terminal server apparatus (display unit B), even in one-way communication, also can use the Object Exchange of OBEX etc., carry out for example transmission of view data.
[the 13 execution mode]
As transfer system (communication system) with transmission data that relevant the 13 execution mode of the present invention is described.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
With Figure 35 the portable phone of relevant present embodiment and the communication example between the printing equipment are described.
Have again, in present embodiment, portable phone A and printing equipment B (for example printer etc.) on client devices (transmitter) and server apparatus (receiver), have been used respectively, if but could send data with infrared ray etc. by any one mode of the invention described above, then server apparatus (transmitter) could not be a portable phone also.In addition, also can be that printing equipment B is client devices (transmitter), and portable phone A be server apparatus (receiver).
In addition, in Figure 35, use infrared ray, the data in the portable phone A are sent to printing equipment B.At printing equipment B, the data that send from portable phone A are carried out suitable processing, for example, under the situation that be view data, if desired, then the data of compressing are carried out decompress(ion) etc. after, print, but be not limited thereto.In addition, above-mentioned data are text data, view data, speech data, phone directory data, system information etc., are not the data that are limited to specific form.In addition, the data in the portable phone A also can be the data in the internal storage of portable phone A, any data of the data in the external memory storage (nonvolatile memories of SD card etc.) that portable phone connected.
Below explain the portable phone of present embodiment and the communication example between the printing equipment.
For example, during two-way communication, in transmitting terminal client devices (portable phone A), sent when not being final Put order at the OBEX layer, do not wait for the CONTINUE acknowledgement command, and send next Put order, and when having sent final Put order, wait is from the SUCCESS acknowledgement command of receiving terminal server apparatus (printing equipment B), and whether the communication of affirmation is normally carried out.Have again, become above-mentioned CONTINUE acknowledgement command, and notify the OBEX layer, just can call the OBEX layer of essential CONTINUE acknowledgement command in the past by low layer processing section artificially generated terrain by the OBEX layer.
In receiving terminal server apparatus (printing equipment B), the OBEX layer received from transmitting terminal client devices (portable phone A) be not final Put order the time, do not generate, send the CONTINUE acknowledgement command, when having received final Put order, generate, send the SUCCESS acknowledgement command.Have, receiving when not being final Put order, call in the past generation, send the OBEX layer of CONTINUE acknowledgement command, it is just passable only the CONTINUE order not to be sent to client devices by low layer.
By realizing above-mentioned communication between transmitting terminal client devices (portable phone A) and receiving terminal server apparatus (printing equipment B), in two-way communication, can use the object exchange of communication efficiency height and good communication quality, for example carry out the transmission of view data.
In addition, for example, during one-way communication, in transmitting terminal client devices (portable phone A), when the OBEX layer has sent whole request commands, do not wait for acknowledgement command, and send next request command from client devices.Have again,, generate suitable acknowledgement command by low layer simulation ground, and notify the OBEX layer, just can call the OBEX layer of essential acknowledgement command in the past by OBEX for each request command from the OBEX layer.
In receiving terminal client devices (printing equipment B), when the OBEX layer has received from whole request command of transmitting terminal client devices (portable phone A), do not generate, send acknowledgement command.Have again, also can call in the past generation, send OBEX layer, will send to client devices from the acknowledgement command of OBEX layer and can't help low layer corresponding to the acknowledgement command of the request command that receives.
By realizing above-mentioned communication between transmitting terminal client devices (portable phone A) and receiving terminal server apparatus (printing equipment B), even in one-way communication, also can use the Object Exchange of OBEX etc., for example carry out the transmission of view data.
[the 14 execution mode]
Below explanation is about the transfer system (communication system) of the transmission data of the 14 execution mode of the present invention.Have, Ding Yi term (comprising member and function) as long as do not illustrate in advance, uses according to its definition with regard to supposition in the present embodiment in other embodiments again.
With Figure 36 the portable phone of relevant present embodiment and the communication example between the printing equipment are described.
Have again, in present embodiment, portable phone A and tape deck B (for example HDD tape deck, DVD tape deck etc.) on client devices (transmitter) and server apparatus (receiver), have been used respectively, if but could send data with infrared ray etc. by any one mode of the invention described above, then server apparatus (transmitter) could not be a portable phone also.In addition, also can be that tape deck B is client devices (transmitter), and portable phone A be server apparatus (receiver).
In addition, in Figure 36, use infrared ray, the data in the portable phone A are sent to tape deck B.At printing equipment B, the data that send from portable phone A are carried out suitable processing, for example, under the situation that is video data, if desired, then after carrying out suitable compression processing, decompression processing, other image processing, be recorded in the recording section in the tape deck, but be not limited thereto.In addition, above-mentioned data are text data, view data, video data, speech data, phone directory data, system information etc., are not the data that are limited to specific form.In addition, the data in the portable phone A also can be the data in the internal storage of portable phone A, any data of the data in the external memory storage (nonvolatile memories of SD card etc.) that portable phone connected.
Below, explain the portable phone of present embodiment and the communication example between the tape deck.
For example, during two-way communication, in transmitting terminal client devices (portable phone A), sent when not being final Put order at the OBEX layer, do not wait for the CONTINUE acknowledgement command, and send next Put order, and when having sent final Put order, wait is from the SUCCESS acknowledgement command of receiving terminal server apparatus (tape deck B), and whether the communication of affirmation is normally carried out.Have again, become above-mentioned CONTINUE acknowledgement command, and notify the OBEX layer, just can call the OBEX layer of essential CONTINUE acknowledgement command in the past by low layer processing section artificially generated terrain by the OBEX layer.
In receiving terminal server apparatus (tape deck B), the OBEX layer received from transmitting terminal client devices (portable phone A) be not final Put order the time, do not generate, send the CONTINUE acknowledgement command, when having received final Put order, generate, send the SUCCESS acknowledgement command.Have, receiving when not being final Put order, call in the past generation, send the OBEX layer of CONTINUE acknowledgement command, it is just passable only the CONTINUE order not to be sent to client devices by low layer.
By realizing above-mentioned communication between transmitting terminal client devices (portable phone A) and receiving terminal server apparatus (tape deck B), in two-way communication, can use the object exchange of communication efficiency height and good communication quality, for example carry out the transmission of video data.
In addition, for example, during one-way communication, in transmitting terminal client devices (portable phone A), when the OBEX layer has sent whole request commands, do not wait for acknowledgement command, and send next request command from client devices.Have again,, generate suitable acknowledgement command by low layer simulation ground, and notify the OBEX layer, just can call the OBEX layer of essential acknowledgement command in the past by OBEX for each request command from the OBEX layer.
In receiving terminal client devices (tape deck B), when the OBEX layer has received from whole request command of transmitting terminal client devices (portable phone A), do not generate, send acknowledgement command.Have again, also can call in the past generation, send OBEX layer, will send to client devices from the acknowledgement command of OBEX layer and can't help low layer corresponding to the acknowledgement command of the request command that receives.
By realizing above-mentioned communication between transmitting terminal client devices (portable phone A) and receiving terminal server apparatus (tape deck B), even in one-way communication, also can use the Object Exchange of OBEX etc., for example carry out the transmission of image data.
[the 15 execution mode]
If based on Figure 37 to Figure 59 other execution modes of the present invention are described, then as described below.Have, the communication protocol that illustrates in the present embodiment is applicable to first execution mode~the 14 execution mode again.Therefore, for the term that defines in first execution mode~the 14 execution mode, as long as not explanation is in advance used according to its definition with regard to supposition in the present embodiment.
(1) communication layers
Figure 37 is the schematic diagram of corresponding relation of the layering of the layering of expression OSI7 hierarchical mode, IrDA and communication system of the present invention.
Each communication layers of the communication system of present embodiment also has and the equal function of the corresponding layering of above-mentioned OSI7 layer model.But as shown in figure 37, above-mentioned communication system is that session layer and display layer are the structure of 6 layerings of one deck.
In present embodiment, for convenience of explanation, describe based on the IrSimple of an application examples of the present invention.But the present invention is not limited to IrSimple.Have, IrSimple is a part of functions of having improved IrDA in the past again.
In present embodiment, according to IrSimple, sometimes with data link layer, network layer, transport layer, session layer+display layer respectively souvenir be LAP, LAMP, SMP, OBEX.In addition, under situation, to transmitter (main website) additional " P ", to receiver (secondary station) additional " S " with transmitter, receiver difference communication layers.For example, " LAP (P) " means the data link layer of transmitter.
(2) order between transmitter-receiver
(2-1) order of connection
[A] has response
Figure 38 (a) is the precedence diagram of the order of connection of (response is arranged) of expression present embodiment.And the key diagram of data structure of the communication data of Figure 38 (c) when being the order of connection of expression present embodiment (response is arranged).
Present embodiment (response is arranged),, can make the SNRM order have the function (the SNRM command of Figure 38 (c)) same with search by on the Destination of SNRM Device Address, using global address.
In addition, present embodiment (response is arranged), in responding as the SNRM order of the connection of data link layer grouping and UA, be inserted in the high level of network layer, transport layer, session layer, display layer etc. be connected necessary parameter and order.Thus, can be a grouping with connection grouping cohesion essential, that be used to connect in IrDA in the past as each high level.
Therefore, the enough groupings of energy are to carrying out the search and the order of connection of essential a plurality of groupings in the past.
[B] do not have response
Figure 38 (b) is the precedence diagram of the order of connection of expression present embodiment (not having response).And the key diagram of the data structure of the communication data of Figure 38 (c) when being the order of connection of expression present embodiment (do not have response).Have again,, do not need UA response (the UA responsefor SNRM of Figure 38 (c)) present embodiment (not having response).
According to user or application and data class, can select will be from the response abridged communication mode of receiver.In this case, shown in Figure 38 (b), can only order and finish search and connection with SNRM.
Like this, the order of connection of present embodiment by concentrating the connection request of a plurality of communication layers, has shortened the time that needs in the connection, so even the situation that communication line disconnects also connects easily again.Therefore, be particularly suitable for that communication line disconnects easily, ultrared radio communication for example.But, comprising that IEEE802.11 is wireless, also be effective in other radio communications of Bluetooth and the wire communication.
In addition, in present embodiment, relevant example with the connection that once communicates to connect whole communication layers has been described, but has the invention is not restricted to this.For example, also can after having connected a communication layers, connect remaining a plurality of communication layers.In addition, also can carry out the connection of a communication layers by repeatedly communicating by letter.For example, need in the connection of network layer under the situation of twice communication, to concentrate be a connection request with being connected for the first time of the connection of data link layer and network layer, the 2nd time of network layer connected and transport layer to be connected concentrated be that a connection request is just passable.
(2-2) exchanges data order
[A] has response
Figure 39 (a), Figure 39 (b) are the precedence diagrams of the exchanges data order of expression present embodiment (response is arranged).And Figure 39 (a) is the key diagram of data structure of communication data in exchanges data when order of expression present embodiment (response is arranged).
Present embodiment (response is arranged), reduce low layer between each data and high-rise response as possible, and after having sent a plurality of data, beamed back mistake and still be free from mistakes.
Transmitter uses by the packet number that is used for search order and receives the no problem mark of data and cut apart the grouping that the partition data of above-mentioned data is constructed according to the size of grouping when data communication.
Shown in Figure 39 (a), transmitter sends the grouping that is provided with above-mentioned mark after the packet count that has sent stated number.To this, the data of receiver before receive initially or from receiving and returning the grouping that is provided with above-mentioned mark, do not detecting under the amiss situation intention that the notice transmitter normally receives.In addition, the data of receiver before receive initially or from receiving and return the grouping that is provided with above-mentioned mark, detecting under the amiss situation, ignore the later above-mentioned partition data part of grouping that can not receive, only confirm above-mentioned mark, and be provided with under the situation of above-mentioned mark, transmitter is notified the packet number that can not receive because of mistake.
And transmitter sends from next one grouping under the situation of the intention of having accepted from receiver normally to receive.And transmitter is being accepted to have under the situation of the such notice of mistake, from the packet number that can not receive, retransmits, till the grouping that is provided with above-mentioned mark.
Thus, can carry out the high communication of efficient with shortening between grouping.
Shown in Figure 39 (a),, use UI frame (Figure 40 (b)) present embodiment (response is arranged).Therefore, can not discern, detect in transport layer in the omission of data link layer (LAP layer) grouping.
In the data division of the transport layer of UI frame, be provided with the number of order and data validation with mark, represent whether be the last grouping of data mark, represent whether normally mark of the data that receive, carry out the transmission of data by these marks.
[B] do not have response
Figure 41 (a), Figure 41 (b) are the precedence diagrams of the exchanges data order of expression present embodiment (not having response).And the key diagram of the data structure of the communication data of Figure 41 (b) when being the exchanges data order of expression present embodiment (do not have response).
Present embodiment (not having response), under the situation of the response that does not need receiver, only confirm the completeness of data.Therefore, transmitter sends whole data in a continuous manner to the packet allocation sequence numbering.
Then, receiver only when confirming whether mistake to be arranged, after accepting whole data under the situation about normally receiving, is confirmed normal the reception in receiver, carry out next one action.Next one action in this case for example is that the data that will receive show, or prints, or preserves.On the other hand,, in receiver, confirm and normally to receive, and carry out next one action detecting under the amiss situation.The action of in this case the next one is to use the family to know to have occurred the indication that takes defeat, or becomes the next wait state that receives.
Have again, even present embodiment (not having response) is also used the UI frame shown in Figure 41 (b) (Figure 40 (b)).
(2-3) disconnection order
[A] has response
Figure 42 (a) is the precedence diagram of the disconnection order of expression present embodiment (response is arranged).And Figure 42 (c) is the key diagram of data structure of communication data in disconnection when order of expression present embodiment (response is arranged).
Shown in Figure 42 (c), present embodiment (response is arranged), will be among parameter required in the disconnection of the high level of network layer, transport layer, session layer, display layer etc. and order be inserted in DISC order and UA response.
Thus, can be with a grouping to need the disconnection order of a plurality of groupings in the past.
[B] do not have response
Figure 42 (b) is the precedence diagram of the disconnection order of expression present embodiment (not having response).And Figure 42 (c) is the key diagram of data structure of communication data in disconnection when order of expression present embodiment (response is arranged).Have again,, do not need UA response (UAresponse of Figure 42 (c)) present embodiment (not having response).
Shown in Figure 42 (b),, under the situation about connecting, can only finish to search for and disconnect with the DIS order in the response that does not need receiver present embodiment (not having response).
(3) order in transmitter, the receiver
In Figure 43~Figure 59, for convenience of explanation, be LAP with the data link layer souvenir, the network layer souvenir is LAMP, and the transport layer souvenir is TTP or SMP, and session layer and display layer souvenir are OBEX.In addition, for transmitter and receiver difference communication layers,, receiver is added " S " to transmitter additional " P ".For example, " LAP (P) " means the data link layer of transmitter.
(3-1) order of connection
[A] has response
Figure 43 is the precedence diagram of the order of connection of expression present embodiment (response is arranged).And the key diagram of data structure of Figure 44 (a), Figure 44 (b) communication data when being the order of connection of expression present embodiment (response is arranged).
As shown in figure 43, present embodiment (response is arranged), transmitter, receiver all connect preparation.Then, when transmitter is transferred to low layer with the request former state of high level, send as a grouping (SNRM).On the other hand, receiver is accepted the SNRM grouping, but after the notice of the intention of high level being carried out the former state connection, when the response former state with OBEX (S) is transferred to low layer, sends as a grouping (UA).Transmitter is having accepted to finish connection under the UA, to high level notice (Connect.confirm).
The transmitter of this moment, the order in the receiver are as described below.
Each communication layers of relevant transmitter at first, is described.
Received under the situation of the connection request that comes self-application at OBEX (P), low layer (SMP (P)) is promptly joined the connection request order in the data and produces connection request function (Primitive).And accepted from SMP (P) to connect under the situation of confirming function at OBEX (P), from these data, confirm the response that OBEX connects, if the response of no problem (Success) then makes to connect and finishes.
SMP (P) accepts the connection request function from OBEX (P), promptly in the data of the connection request function of OBEX (P) additional communicate by letter with the SMP (P) of receiver on necessary parameter, thereby to low layer (LMP (P)) generation connection request function.Confirm under the situation of function and accepted connection from LMP (P), from the data of function, extract the parameter of SMP (P) generation of receiver, confirm its value at SMP (P), thus the negotiation of end and SMP (S).In addition, SMP (P) will from data that connect to confirm function, remove SMP (S) the data of parameter as the connection of OBEX (P) is confirmed that function sends.
LMP (P) accepts the connection request function from SMP (P), the promptly additional parameters needed of communicating by letter with the LMP (S) of receiver in the data of the connection request function of SMP (P), thereby to low layer (LMP (P)) generation connection request function.Confirm under the situation of function and accepted connection from LAP (P), from the data of function, extract the parameter of LMP (S) generation of receiver, confirm its value at LMP (P), thus the negotiation of end and LMP (S).In addition, LMP (P) will from data that connect to confirm function, remove LMP (S) the data of parameter as the connection of SMP (P) is confirmed that function sends.
Have again, define LSAP (Link Service Access Point) for the management logic port usually.Thereby, carrying out not needing to use LMP under the situation of a connection in mode one to one.In this case, in LSAP, connectionless value is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (P) accepts the connection request function from LMP (P), and promptly the additional parameters needed of communicate by letter with the LAP (S) of receiver in the data of the connection request function of LMP (P) is ordered thereby the physical layer of receiver is exported SNRM.And accepted from the physical layer of receiver at LAP (P) under the situation of UA response, from the data of UA response, extract the parameter that the LAP (S) of receiver generates, confirm its value, thereby finish the negotiation with LAP (S).In addition, LAP (P) will from the data of UA response, remove LAP (S) the data of parameter as the connection of LMP (P) is confirmed that function sends.
Each communication layers of relevant receiver then, is described.
OBEX (S) accepts the connection request function from application, and becomes the reception holding state.In addition, accepted under the situation of connection notification function (Indication) from low layer (SMP (S)) at OBEX (S), from these data, confirm the OBEX bind command, if it is no problem, then that Success is such response outputs to SMP (S) as connection response function (Response), and connection is finished.
SMP (S) accepts the connection request function from OBEX (S), becomes the reception holding state.And accepted from low layer (SMP (S)) to connect under the situation of notification function at SMP (S), from the data of function, extract the parameter of SMP (P) generation of transmitter, generation is to the parameter of the response of these parameters, and after OBEX (S) being sent the connection request function of the data that added the parameter of from the data of above-mentioned function, having removed SMP (P), wait for connection response function from OBEX (S).And under SMP (S) has accepted situation from the connection response function of OBEX (S), the parameter of additional above-mentioned response in to the data of the connection response function of the OBEX (S) of LMP (S), thereby the connection response function is taken place in LMP (S), and finish the negotiation of SMP layer.
LMP (S) accepts the connection request function from SMP (S), becomes the reception holding state.And accepted from low layer (LMP (S)) to connect under the situation of notification function at LMP (S), from the data of function, extract the parameter of LMP (P) generation of transmitter, generation is to the parameter of the response of these parameters, and after SMP (S) being sent the connection request function of the data that added the parameter of from the data of above-mentioned function, having removed LMP (P), wait for connection response function from SMP (S).And under LMP (S) has accepted situation from the connection response function of SMP (S), the parameter of additional above-mentioned response in to the data of the connection response function of the SMP (S) of LAP (S), thus the connection response function is taken place in LAP (S), and finish the negotiation of LMP layer
Have again, define LSAP (Link Service Access Point) for the management logic port usually.Thereby, carrying out not needing to use LMP under the situation of a connection in mode one to one.In this case, in LSAP, connectionless value is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (S) accepts the connection request function from LMP (S), becomes the reception holding state.And accepted from physical layer at LAP (S) under the situation of SNRM order, from the data of SNRM order, extract the parameter that receiver LAP (P) generates, after LMP (S) is sent the connection request function of the data that added the parameter of having removed LAP (P) from the data of SNRM order, generation is to the parameter of the response of this function, and wait is from the connection response function of LMP (S).And under LAP (S) had accepted situation from the connection response function of LMP (S), the parameter of additional above-mentioned response in the data of the connection response function of LMP (S) to physical layer output UA response, and finished the negotiation of LAP layer.
[B] do not have response
Figure 45 is the precedence diagram of the order of connection of expression present embodiment (not having response).And the key diagram of the data structure of the communication data of Figure 44 (a) when being the order of connection of expression present embodiment (do not have response).
As shown in figure 45, present embodiment (not having response), transmitter, receiver all connect preparation.Then, when transmitter is transferred to low layer with the request former state of high level, send as a grouping (SNRM).Then, transmitter makes to connect in the moment that has sent the SNRM grouping and finishes, thereby notifies (Connect.confirm) from LAP (P) to high level.On the other hand, receiver is accepted the SNRM grouping, but to the intention that high level notice former state connects, in the moment of notifying OBEX (S) connection is finished.
The transmitter of this moment, the order in the receiver are as described below.
Each communication layers of relevant transmitter at first, is described.
Received under the situation of the connection request that comes self-application at OBEX (P), low layer (SMP (P)) is promptly joined the connection request order in the data and produces connection request function (Primitive).And accepted from SMP (P) to connect under the situation of confirming function at OBEX (P), make to connect and finish.
SMP (P) accepts the connection request function from OBEX (P), promptly in the data of the connection request function of OBEX (P) additional communicate by letter with the SMP (P) of receiver on necessary parameter, thereby to low layer (LMP (P)) generation connection request function.And accepted to connect the moment of confirming function from LMP (P) at SMP (P), and be made as with the parameter that sends and consult, thus the negotiation of end SMP layer.In addition, at this moment, SMP (P) sends to connect to OBEX (P) and confirms function.
LMP (P) accepts the connection request function from SMP (P), the additional parameters needed of communicating by letter with the LMP (S) of receiver in the data of the connection request function of SMP (P) promptly, thereby to low layer (LMP (P)) generation connection request function.And accepted to connect the moment of confirming function from LAP (P) at LMP (P), and be made as with the parameter that sends and consult, thus the negotiation of end LMP layer.In addition, at this moment, LMP (P) sends to connect to SMP (P) and confirms function.
Have again, define LSAP (Link Service Access Point) for the management logic port usually.Thereby, carrying out not needing to use LMP under the situation of a connection in mode one to one.In this case, in LSAP, connectionless value is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (P) accepts the connection request function from LMP (P), and promptly the additional parameters needed of communicate by letter with the LAP (S) of receiver in the data of the connection request function of LMP (P) is ordered thereby the physical layer of receiver is exported SNRM.And exported the moment that SNRM orders at LAP (P), and be made as with the parameter that sends and consult, thus the negotiation of end LAP layer.In addition, at this moment, LAP (P) sends to connect to LMP (P) and confirms function.
Each communication layers of relevant receiver then, is described.
OBEX (S) accepts the connection request function from application, and becomes the reception holding state.In addition, accepted under the situation of connection notification function (Indication) from low layer (SMP (S)), from these data, confirmed the OBEX bind command,, then made to connect and finish if no problem at OBEX (S).
SMP (S) accepts the connection request function from OBEX (S), becomes the reception holding state.And accepted from low layer (SMP (S)) to connect under the situation of notification function at SMP (S), from the data of function, extract the parameter that the SMP (P) of transmitter generates, use this parameter and make and consult to finish.Then, SMP (S) sends the connection request function of the data that added the parameter of having removed SMP (P) from the data of above-mentioned function to OBEX (S).
LMP (S) accepts the connection request function from SMP (S), becomes the reception holding state.And accepted from low layer (LMP (S)) to connect under the situation of notification function at LMP (S), from the data of function, extract the parameter that the LMP (P) of transmitter generates, use this parameter and make and consult to finish.Then, LMP (S) sends the connection request function of the data that added the parameter of having removed LMP (P) from the data of above-mentioned function to SMP (S).
Have again, define LSAP (Link Service Access Point) for the management logic port usually.Thereby, carrying out not needing to use LMP under the situation of a connection in mode one to one.In this case, in LSAP, connectionless value is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (S) accepts the connection request function from LMP (S), becomes the reception holding state.And accepted from physical layer at LAP (S) under the situation of SNRM order, from the data of SNRM order, extract the parameter that LAP (P) generates, use this parameter and make and consult to finish.Then, LAP (S) sends the connection request function of the data that added the parameter of having removed LAP (P) from the data of above-mentioned function to LMP (P).
(3-2) exchanges data order
[A] has response
Figure 46 is the precedence diagram of the exchanges data order of expression present embodiment (response is arranged).And Figure 47 is the key diagram of data structure of communication data in exchanges data when order of expression present embodiment (response is arranged).
As shown in figure 46, present embodiment (response is arranged), transmitter produces the PUT order, and this order is sent to till the low layer, and (Figure 40 (b)) is output as the UI frame.
On the other hand, receiver is accepted data, notifies to high level.At this moment, at SMP (S), for the OBEX (S) of high level, notification data continues (status=truncated).
Transmitter will confirm that mark that whether data just in time arrive is made as ON and sends after the grouping that has sent certain fixed number.Accept this mark, in receiver, SMP (S) is free from mistakes, and is having under the situation of mistake, will the number notifying transmitter of mistake take place.
If be free from mistakes, the packet group of transmitter output back, and if mistake is arranged, then retransmit the later grouping of grouping that mistake is arranged.
When being last data, transmitter is that the sign of last data is made as ON and sends with expression.To this, if this is labeled as ON, then receiver, be SMP (S) to OBEX (S) notification data neat (status=OK), wait for the response of OBEX (S).Then, when the response of OBEX (S) has taken place, these data are sent to low layer, export as the UI frame.
If the response of accepting is Success, then transmitter normal termination.
The transmitter of this moment, the order in the receiver are as described below.
At transmitter, OBEX (P) will send function output as data to the PUT order of low layer.But OBEX (P) under the situation that available SMP (P) sends, continues the order of output back in the response (Continue returns under the normal situation) that need not order except the PUT PUT Final (last PUT) order.Under the situation of the order beyond PUT Final order or the PUT order, wait for data notification function from low layer, observe the interior response of these data and the finish command.
Here, data transmission function is the function (Data Request) that the low layer request msg is sent.And the data notification function is notice has received data from low layer a function (Data Indicate).
At receiver, OBEX (S) accepts the data notification function from low layer, and accepts data.But OBEX (S) does not return response for the PUT order beyond the PUT Final order, under the situation of the order beyond PUT Final order or the PUT order, sends function and returns response as data.
Here, illustrate about data and send head in function and the data notification function etc. shared high level of transmitter, receiver and low layer.
When SMP accepts data transmission function from OBEX, for LMP, (a) send the amount hour of the data in the function than data in the amount (size) that can send by LMP, these data are divided into the amount that LMP can send, when (b) amount of the data the amount that can be sent by LMP sends function than data in is big, several data are carried out combination, the bigger data that the amount that generation can send is following.In addition, SMP generates the SMP head, the SMP head added order number, to the independent variable of the last data of independent variable, the expression of the other side's equipment query data receiving state, expression the SMP of method, apparatus is needed whether normal independent variable etc. of the independent variable of the response of OBEX, data that expression receives.Then, to LMP send with this SMP head be attached to above-mentioned cut apart or the data of combination in adding the data of data send function.
And, when SMP accepts the data notification function from LMP, extract the SMP head the data in this function out, and confirm whether normally whether sequence numbering (that is, arrive with the order of not omitting).Then, under normal situation, OBEX is sent the data notification function.At this moment, the data notification function can be to each the data notification function output from low layer, also can export with the data from several data notification functions of low layer.
The SMP of transmitter (P) will be the data transmission function to LMP (P) from the data transmission functional transformation of OBEX (P), thereby the data that send the data volume of certain fixed number that is prescribed send function.Then, it is True that SMP (P) makes the independent variable to receiver data query accepting state, sends function thereby send data, and waits for the data notification function of LMP (P).
SMP (P) is to resolving from the SMP head in the data notification function of LMP (S), under the data situation whether normal independent variable is normally received that expression receives, be made as and carried out sending the preparation of the data of back, can be thereby become to the state of OBEX (P) transmission.That is, can accept data in this state from OBEX (P).
On the contrary, SMP (P) is resolving the SMP head from the data notification function of the acceptance of LMP (S), under the data situation of representing to receive whether normal independent variable is not normally received, taking place once more to send function from the data that notice can not normally receive is the data transmission function of True to making to the independent variable of the other side's equipment query data receiving state.SMP (P) repeats certain stipulated number and takes place, or till the data that whole data transmission functions produces are informed to receiver.
And, SMP (P) is that the data of True send under the situation of function accepted independent variable as final data from OBEX (P), the independent variable that makes this data send the response of independent variable that function representation is last data or the OBEX (S) that expression needs receiver is True, thus send added these data send function last data, the data of LMP (P) are sent function.
On the contrary, at the SMP of receiver (S) when LMP (S) has accepted the data notification function, in expression is that the independent variable of the response of last data or the OBEX (S) that needs receiver is under the situation of True, OBEX (S) is sent the data notification function of the data that added the head of removing SMP (S).
In addition, accepted from LMP (S) under the situation of data notification function at SMP (S), the data in this data notification function are resolved the SMP head, and the number of affirmation order.If SMP (S) can both normally receive till the head that independent variable to receiver data query accepting state is True until accepting, then expression can normally receive and be used to represent whether normal independent variable of the data that receive, thereby generate the SMP head, and with it as data, LMP (S) is sent data sends function.
On the other hand, SMP (S) is detecting under the situation that can not normally receive, and storage is predicted to be the number of the SMP head that can not normally receive.For example, accepted at 0,1,2,3,5 o'clock, should be 4 and do not accept under 4 the situation at the 5th, being predicted to be the number that can not normally receive is 4.Then, after it, whether the independent variable that SMP (S) only investigates the receiver data query accepting state of SMP head is True, and stops the output to the data notification function of OBEX (S).
SMP (S) is accepting under the situation of data notification function that independent variable to receiver data query accepting state is True, the data that expression is received whether normal independent variable are made as expression and fail normal the reception, generation is used for being inserted into the SMP head of field (field) of the number addition sequence number of the SMP head that can not normally receive, and sends function thereby it is sent data as data to LMP (S).
And be under the situation of data notification function of True at the independent variable that SMP (S) has accepted the response of independent variable that expression is last data or the OBEX (S) that expression needs receiver, after OBEX (S) has been exported the data notification function, wait for data sending request from OBEX (S).
Under SMP (S) has accepted situation from the data sending request of OBEX (S), generation will be represented the data that receive, and whether normal independent variable is made as the SMP head that can normally receive, and it is attached in the data of data sending request of OBEX (S), thereby being sent data, LMP (S) sends function.Have again, having under the situation of mistake,, be seen as normally so wait to bide one's time owing to the notice that stops OBEX (S).
Then, when high level had been accepted the data sending request function, additional LMP head and generate data in the data in this function sent the data sending request function that has added these data to LAP at LMP.In addition, accepted from LAP at LMP under the situation of data notification function, generated the data of having removed the LMP head the data in this function, SMP has been sent the data notification function that has added these data.
Have again, carrying out not needing to use LMP under the situation of a connection in mode one to one.In this case, in the LMP head, add the LSAP that has been added into connectionless value.
When LMP had accepted the data sending request function, additional LAP head and generate data in the data in this function sent the UI frame that has added these data to physical layer at LAP.In addition, accepted from physical layer at LAP to generate the data of from the data of this UI frame, having removed the LAP head, and LMP is sent the data notification function that has added these data under the situation of Data Receiving notice.Have again,, in the LAP head, comprise link address and UI designator in present embodiment.
[B] do not have response
Figure 48 is the precedence diagram of the exchanges data order of expression present embodiment (not having response).And the key diagram of the data structure of the communication data of Figure 47 when being the exchanges data order of expression present embodiment (do not have response).
As shown in figure 48, present embodiment (not having response), transmitter produces the PUT order, and this order is transferred into low layer, is output as the UI frame.
On the other hand, receiver is accepted data, notifies to high level.At this moment, at SMP (S), for the OBEX (S) of high level, notification data continues (status=truncated).
Then, when becoming last data, transmitter is that the mark of last data is made as ON and sends with expression.To this, if this is labeled as ON, then receiver, be SMP (S) to OBEX (S) notification data neat (status=OK), thereby the end data exchange sequence.
The transmitter of this moment, the order in the receiver are as described below.
At transmitter, OBEX (P) sends function with the PUT order as data and low layer is exported.But, OBEX (P) can not need corresponding to the response of whole orders with regard to the finish command.Then, OBEX (P) continues the order of output back under the situation that SMP (P) can send.
At receiver, OBEX (S) accepts the data notification function from low layer, whole orders is not returned response and is only accepted data.
Here, illustrate about data and send head in function and the data notification function etc. shared high level of transmitter, receiver and low layer.
When SMP accepts data transmission function from OBEX, for LMP, (a) send the amount hour of the data in the function than data in the amount (size) that can send by LMP, these data are divided into the amount that LMP can send, when (b) amount of the data the amount that can be sent by LMP sends function than data in is big, several data are carried out combination, the bigger data that the amount that generation can send is following.In addition, SMP generates the SMP head, the SMP head added order number, to the independent variable of the last data of independent variable, the expression of the other side's equipment query data receiving state, expression the SMP of method, apparatus is needed whether normal independent variable etc. of the independent variable of the response of OBEX, data that expression receives.Then, to LMP send with this SMP head be attached to above-mentioned cut apart or the data of combination in adding the data of data send function.
And, when SMP accepts the data notification function from LMP, extract the SMP head the data in this function out, and confirm whether normally whether sequence numbering (that is, arrive with unpumped order).Then, under normal situation, OBEX is sent the data notification function.At this moment, the data notification function can be to each the data notification function output from low layer, also can export with the data from several data notification functions of low layer.
The SMP of transmitter (P) will be the data transmission function to LMP (P) from the data transmission functional transformation of OBEX (P).Then, the independent variable that has formed when having accepted as last data from OBEX (P) is that the data of False send under the situation of function, and the data that will add the SMP head in these data send to LMP (P).To this, SMP (P) is that the data of True send under the situation of function accepted independent variable as final data from OBEX (P), the independent variable that makes this data of expression send the response of independent variable that function is last data or the OBEX (S) that expression needs receiver is True, thus send added these data send function last data, the data of LMP (P) are sent function.
Data in this data notification function and the SMP head is resolved the number of affirmation order on the other hand, have been accepted under the situation of data notification function from low layer at the SMP of receiver (S).Then, the SMP head is resolved, thereby under the situation of confirming normally to receive, LMP (S) is sent data send function at SMP (S).
On the contrary, detect under the situation that can not normally receive, notify OBEX (S) as mistake at SMP (S).For example, receiving 0,1,2,3,5 o'clock, because the 5th should be 4, so be not accept 4 situation.
Thereby, after this, the independent variable that SMP (S) etc. is ready to use in the response of the independent variable of the final data of representing the SMP head or the OBEX (S) that expression needs receiver is True, acceptance (has as the data notification function of True again, do not send notice even accept) to OBEX (S) yet, or accept to disconnect notification function, or OBEX (S) is not carried out data notification through before certain certain hour.
Then, when SMP (S) had accepted the data sending request function, additional LMP head and generate data in the data in this function sent the data sending request function that has added these data to LAP (P) at the LMP of transmitter (P).
On the other hand, accepted from LAP (S) under the situation of data notification function, generated the data of having removed the LMP head the data in this function, and SMP (S) has been sent the data notification function that has added these data at the LMP of receiver (S).
Have again, carrying out not needing to use LMP under the situation of a connection in mode one to one.In this case, in the LMP head, add the LSAP that has been added into connectionless value.
When LMP (P) had accepted the data sending request function, additional LAP head and form data in the data in this function sent the UI frame that has added these data to physical layer at the LAP of transmitter (P).
On the other hand, accepted from physical layer at the LAP of receiver (S) to generate the data of from the data of this UI frame, having removed the LAP head, and LMP (S) is sent the data notification function that has added these data under the situation of Data Receiving notice.Have again,, in the LAP head, comprise link address and UI designator in present embodiment.
(3-3) disconnection order
[A] has response
Figure 49 is the precedence diagram of the disconnection order of expression present embodiment (response is arranged).And Figure 50 (a), Figure 50 (b) are the key diagrams of data structure of communication data in disconnection when order of expression present embodiment (response is arranged).
As shown in figure 49, present embodiment (response is arranged), when the ON-and OFF-command of transmitter is sent to low layer, produce the DISC order.Receiver is accepted this DISC order and when high level is notified, is returned its response, produces the UA response.Then, till the high level of transmitter, all notify to have received UA response back end.
The transmitter of this moment, the order in the receiver are as described below.
Each communication layers of relevant transmitter at first, is described.
Received at OBEX (P) under the situation of the disconnection request that comes self-application, promptly will disconnect request command to low layer (SMP (P)) and join in the data and generation disconnection request function (Primitive).And accepted from SMP (P) to disconnect under the situation of confirmation number at OBEX (P), from these data, confirm the response that OBEX disconnects, if the response of no problem (Success) is then established to disconnect and finished.
SMP (P) accepts the disconnection request function from OBEX (P), and promptly additional communication with the SMP (P) of receiver gone up necessary parameter in the data of the disconnection request function of OBEX (P), asks function thereby low layer (LMP (P)) is produced disconnection.And accepted from LMP (P) to disconnect under the situation of confirmation number at SMP (P), from the data of function, extract the parameter of SMP (S) generation of receiver, confirm its value, thus the disconnection process of end and SMP (S).In addition, SMP (P) will from data that disconnect to confirm function, remove SMP (S) the data of parameter as the disconnection of OBEX (P) is confirmed that function sends.But, when disconnecting, do not have the parameter of newly appending usually by SMP (P).
LMP (P) accepts the disconnection request function from SMP (P), and promptly the additional parameters needed of communicate by letter with the LMP (S) of receiver in the data of the disconnection request function of SMP (P) is asked function thereby low layer (LMP (P)) is produced disconnection.And accepted from LAP (P) to disconnect under the situation of confirmation number at LMP (P), from the data of function, extract the parameter of LMP (S) generation of receiver, confirm its value, thus the disconnection process of end and LMP (S).In addition, LMP (P) will from data that disconnect to confirm function, remove LMP (S) the data of parameter as the disconnection of SMP (P) is confirmed that function sends.But, when disconnecting, do not have the parameter of newly appending usually by LMP (P).
LAP (P) accepts the disconnection request function from LMP (P), and promptly the additional parameters needed of communicate by letter with the LAP (S) of receiver in the data of the disconnection request function of LMP (P) is ordered thereby the physical layer of receiver is exported DISC.And accepted from the physical layer of receiver at LAP (P) under the situation of UA response, from the data of UA response, extract the parameter that the LAP (S) of receiver generates, confirm its value, thereby finish and being connected of LAP (S).In addition, LAP (P) will from the data of UA response, remove LAP (S) the data of parameter as the disconnection of LMP (P) is confirmed that function sends.But, when disconnecting, do not have the parameter of newly appending usually by LAP (P).
Each communication layers of relevant receiver then, is described.
Accepted under the situation of disconnection request letter number (Indication) from low layer (SMP (S)) at OBEX (S), from these data, confirm the OBEX ON-and OFF-command, if it is no problem, then that Success is such response outputs to SMP (S) as disconnecting response function (Response), and establishes to disconnect and finish.
Accept to resolve to open under the situation of knowing function from low layer (SMP (S)) at SMP (S), from the data of function, extract the parameter of SMP (P) generation of transmitter, generation is to the parameter of the response of these parameters, and after OBEX (S) being sent the disconnection request function of the data that added the parameter of from the data of above-mentioned function, having removed SMP (P), wait for disconnection response function from OBEX (S).And under SMP (S) has accepted situation from the disconnection response function of OBEX (S), the parameter of additional above-mentioned response in to the data of the disconnection response function of the OBEX (S) of LMP (S), thereby response function is taken place to disconnect in LMP (S), and finish the disconnection process of SMP layer.But, when disconnecting, do not have the parameter of newly appending usually by SMP (S).
Under LMP (S) has accepted situation from the disconnection request function of low layer (LAP (S)), from the data of function, extract the parameter of LMP (P) generation of transmitter, generation is to the parameter of the response of this parameter, and after SMP (S) is sent the cut-out request function of the data that added the parameter of having removed LMP (P) from the data of above-mentioned function, wait for disconnection response function from SMP (S).And under LMP (S) has accepted situation from the disconnection response function of SMP (S), SMP (S) to the data of the disconnection response function of LAP (S) in the parameter of additional above-mentioned response, thereby response function is taken place to cut off in LAP (S), and finish the disconnection process of LMP layer.But, when disconnecting, do not have the parameter of newly appending usually by LMP (S).
Accepted from physical layer at LAP (S) under the situation of DISC order, from the data of DISC order, extract the parameter of LAP (P) generation of transmitter, after LMP (S) is sent the disconnection request function of the data that added the parameter of having removed LAP (P) from the data of DISC order, generation is to the parameter of its response, and wait is from the disconnection response function of LMP (S).In addition, under LAP (S) had accepted situation from the cut-out response function of LMP (S), the parameter of additional above-mentioned response in the data of the disconnection response function of LMP (S) to physical layer output UA response, and finished the disconnection process of LAP layer.But, when disconnecting, do not have the parameter of newly appending usually by LAP (S).
[B] do not have response
Figure 51 is the precedence diagram of the disconnection order of expression present embodiment (not having response).And the key diagram of the data structure of the communication data of Figure 50 (a) when being the disconnection order of expression present embodiment (do not have response).
Shown in Figure 51,, when the ON-and OFF-command of transmitter is sent to low layer, produce the DISC order present embodiment (not having response).At transmitter, finish disconnection process constantly at this.On the other hand, receiver is receiving this DISC order and when high level transmits, in the moment end disconnection process of notifying till the high level.
The transmitter of this moment, the order in the receiver are as described below.
Each communication layers of relevant transmitter at first, is described.
Received at OBEX (P) under the situation of the disconnection request that comes self-application, promptly will disconnect request command to low layer (SMP (P)) and join in the data and generation disconnection request function (Primitive).And accepted from SMP (P) to disconnect under the situation of confirmation number at OBEX (P), establish to disconnect and finish.
SMP (P) accepts the disconnection request function from OBEX (P), and promptly additional communication with the SMP (P) of receiver gone up necessary parameter in the data of the disconnection request function of OBEX (P), asks function thereby low layer (LMP (P)) is produced disconnection.And accepted to disconnect moment of confirmation number from LMP (P) at SMP (P), and be made as with the parameter that sends and disconnect, thus the disconnection process of end SMP layer.In addition, SMP (P) sends to disconnect to OBEX (P) and confirms function.But, when disconnecting, do not have the parameter of newly appending usually by SMP (P).
LMP (P) accepts the disconnection request function from SMP (P), and promptly the additional parameters needed of communicate by letter with the LMP (S) of receiver in the data of the disconnection request function of SMP (P) is asked function thereby low layer (LMP (P)) is produced disconnection.And accepted to disconnect moment of confirmation number from LAP (P) at LMP (P), and be made as with the parameter that sends and disconnect, thus the disconnection process of end LMP layer.In addition, LMP (P) sends to disconnect to SMP (P) and confirms function.But, when disconnecting, do not have the parameter of newly appending usually by LMP (P).
LAP (P) accepts the disconnection request function from LMP (P), and promptly the additional parameters needed of communicate by letter with the LAP (S) of receiver in the data of the disconnection request function of LMP (P) is ordered thereby the physical layer of receiver is exported DISC.And exported the moment that DISC orders at LAP (P), the parameter that is made as with transmission disconnects, thereby finishes the disconnection process of LMP layer.In addition, LAP (P) sends to disconnect to LMP (P) and confirms function.But, when disconnecting, do not have the parameter of newly appending usually by LAP (P).
Each communication layers of relevant receiver then, is described.
Accept to resolve to open under the situation of knowing function (Indication) from low layer (SMP (S)) at OBEX (S), from these data, confirm the OBEX ON-and OFF-command,, then establish to disconnect and finish if no problem.
Accept to resolve from low layer (SMP (S)) at SMP (S) and open under the situation of knowing function, from the data of function, extract the parameter that the SMP (P) of transmitter generates, use this parameter and make to disconnect and finish.In addition, SMP (S) sends the disconnection request function of the data that added the parameter of having removed SMP (P) from the data of above-mentioned function to OBEX (S).But, when disconnecting, do not have the parameter of newly appending usually by SMP (S).
Accept to resolve from low layer (LAP (S)) at LMP (S) and open under the situation of knowing function, from the data of function, extract the parameter that the LMP (P) of transmitter generates, use this parameter and make to disconnect and finish.In addition, LMP (S) sends the disconnection request function of the data that added the parameter of having removed LMP (P) from the data of above-mentioned function to SMP (S).But, when disconnecting, do not have the parameter of newly appending usually by LMP (S).
Accepted from physical layer at LAP (S) under the situation of DISC order, from the data of DISC order, extracted the parameter that the LAP (P) of transmitter generates, used this parameter and make to disconnect and finish.In addition, LAP (S) sends the disconnection request function of the data of the parameter of having removed LAP (P) in the data that added the DISC order to LMP (S).But, when disconnecting, do not have the parameter of newly appending usually by LAP (S).
(4) have or not the switching of response
Below with reference to Figure 52~Figure 59, flowing of data between the communication layers of transmitter and receiver and parameter is described.
In present embodiment, each communication layers LAP, LMP of transmitter and receiver, SMP, OBEX have the connection request function, are connected notification function, the connection response function, connect and confirm function.These functions are to be used for from high-rise (that is LMP the layer) function to the visit of LAP layer.
And above-mentioned function can specify Data (below, be designated as data) and Requested-Qos or Returned-QoS as independent variable.As described above, above-mentioned data are set in each communication layers.
On the other hand, Qos with the result notification of the appointment of the consultation parameter of the baud rate of LAP decision etc. and negotiation to the high level that has comprised OBEX.Qos IrDA in the past has, even also can be used again.
For example, the application of transmitter or OBEX (P) have added needs/when not needing to respond the QoS of such parameter in transmission, with it till low layer is sent to LAP (P) successively.Then, the value that LAP (P) makes this QoS is reflected as the value of consultation parameter (Ack Less Connect), is sent to receiver.
Its result, each communication layers of transmitter and receiver is moved according to the appointment of the application of transmitter or the needs of OBEX (P)/do not need to respond, so can carry out two-way/unidirectional connection.
The data between the communication layers when Figure 52~Figure 56 is the order of connection (Figure 43) of expression present embodiment (response is arranged) and the key diagram that flows of parameter.Have, the parameter of the QoS between OBEX-SMP, between SMP-LMP, between LMP-LAP can be identical again, also can be different.Therefore, in the drawings, additional-a ,-b ,-c distinguishes.
At transmitter, shown in Figure 52, by con.req (data) (Figure 43), Data that will send to receiver and the data of QoS-1 (QoS of transmitter request) are transferred to low layer from high level.
On the other hand, at receiver, shown in Figure 53, by con.req, only the data with QoS-2 (QoS of receiver request) are transferred to low layer respectively from high level.
Then, at receiver, accepted the moment that SNRM orders at LAP (S), relatively the QoS-2 of the QoS-1 of transmitter and this machine generates QoS-3 as shared negotiation parameter down.Then, shown in Figure 54, LAP (S) notifies high level with QoS-3 with the data from transmitter according to con.ind (data).Each high-rise this QoS-3 of storage, the connection parameter when connecting and keeping.
Then, at receiver, when notice con.resp (data), do not need QoS.Therefore, shown in Figure 55, only data are transferred to low layer from high level in con.resp (data).Then, when LAP (S) accepts con.resp (data), in the UA response, add QoS-3, and send the UA response.
Then, at transmitter, LAP (P) accepts the UA response and QoS-3 is stored as negotiation parameter.Then, shown in Figure 56, LAP (P) notifies high level with QoS with the data of receiver by con.conf (data).Each communication layers with this QoS-3 as the connection parameter of the connection of having established and keep.
In present embodiment, for example,, use Requested-Qos:Baud-Rate+Max-Turn-Around-Time+Disconnect-Threshold+DataSize+Ack lessconnection+Min-Packet-Interval as the QoS of con.req.And as Con.ind, the QoS of con.conf uses Resultant-QoS:Baud-Rate+Disconnect-Threshold+DataSize+Ac k less connection (indication primitive only).
In addition, when the order of connection (Figure 45) of present embodiment (do not have response), the flowing as described below of data between communication layers and parameter.
At transmitter, shown in Figure 52, by con.req (data) (Figure 45), Data that will send to receiver and the data of QoS-1 (QoS of transmitter request) are transferred to low layer from high level.
Then, the LAP of transmitter (P) stores the QoS-1 former state as QoS-3.Then, shown in Figure 56, LAP (P) is high-rise by the con.conf notice with QoS-3.Each communication layers with this QoS-3 as the connection parameter of the connection of having established and keep.
On the other hand, at receiver, shown in Figure 53, by con.req, only the data with QoS-2 (QoS of receiver request) are transferred to low layer respectively from high level.
Then, at receiver, accepted the moment that SNRM orders at LAP (S), the QoS-1 of transmitter is made as QoS-3.Have again, under the unsatisfied situation of combination of the parameter of QoS-2 and QoS-1, can not receive.
Then, shown in Figure 54, LAP (S) notifies high level with QoS-3 with the data from transmitter by con.ind (data).Each high-rise this QoS-3 of storage, the connection parameter when connecting and keeping.
Thus, by using above-mentioned QoS-1 and QoS-2 are carried out high level (application) operation, can switch has/does not have response.
Here, as the benchmark of switching that has/do not have response, can consider document form, the application of the file that will send, user's selection etc.
Specifically, be under the situation of benchmark with the document form, for example, under the situation of multimedia associated with, should selecting/not have the response both sides, as files such as phone directory, mail, scheduling and will confirm under the received situation of data, also can automatically select response.And to use under the situation as benchmark, for example, under the situation of slideshow (slide show), automatically select not have response and just can.In addition, under the situation based on user's selection, for example, it is just passable that the user is selected from the menu that has/do not have response shows.
The key diagram of the data between the communication layers when Figure 57~Figure 59 is the order of connection of expression present embodiment and the variation that flows of parameter.
In transmitter, comprise in the initial SNRM order under the situation of information of whole communication layers (Figure 43), also can constitute and not be data or parameter are transmitted (Figure 52) on one side by each communication layers one side relaying, but shown in Figure 57, directly be transferred to the LAP layer from each communication layers.
On the contrary, shown in Figure 58, in receiver, also can constitute data or parameter that whole taking-ups are comprised in the SNRM order, directly be transferred to as each communication layers that mails to the destination from the LAP layer.
In addition, shown in Figure 59, in transmitter, also can constitute data or parameter by LMP (P) OBEX under unified central planning (P), SMP (P), LMP (P), and then, in above-mentioned data under unified central planning or parameter, append the parameter of LAP (P) and generate the SNRM order by LAP (P).
The invention is not restricted to the respective embodiments described above, can carry out various changes in the scope shown in the claim, the execution mode that disclosed respectively technological means appropriate combination in the different execution modes is obtained is also contained in the technical scope of the present invention.
Have again,, for example, can enumerate portable phone, PDA (Personal Digital Assistants), digital camera, personal computer etc. as the client devices and the server apparatus of the respective embodiments described above.
In addition, each piece of the client devices of the respective embodiments described above and server apparatus can be made of hardware (telecommunication circuit), uses the arithmetic processing apparatus of CPU etc. and realizes by software also can be following like that.That is, above-mentioned client devices and server apparatus comprise: carry out put down in writing can by computer carry out each function the signal procedure that is used to control order CPU (central processing unit), stored the ROM (read only memory) of said procedure, the storage device (recording medium) of RAM (random accessmemory), storage said procedure and various memory of data etc. that said procedure is launched etc.
Thereby, supply with above-mentioned client devices and server apparatus by but computer having been write down with reading as the recording medium of the procedure code (execute form program, intermediate code program, source program) of the signal procedure of the software of realizing above-mentioned functions, this computer (or CPU or MPU) read and the executive logging medium in the procedure code that write down, also can realize purpose of the present invention.
As above-mentioned recording medium, for example can use the semiconductor memory class of card class such as the tape class of tape or cartridge tape etc., the dish class that comprises the CD of disk such as soft (registered trade mark) dish/hard disk or CD-ROM/MO/MD/DVD/CD-R etc., IC-card (comprising memory card)/light-card or mask rom/EPROM/EEPROM/ flash rom etc. etc.
In addition, also client devices and server apparatus can be constituted to be connected with communication network, and pass through communication network and supply with the said procedure sign indicating number.As this communication network, be not particularly limited, for example, can utilize internet, in-house network, extranets, LAN, ISDN, VAN, CATV communication network, Virtual Private Network (virtual private network), telephone wire road network, mobile radio communication, satellite communication network etc.And, even the present invention's said procedure sign indicating number also can be realized with the carrier wave of electric transmission mode imbody or the form of data-signal string.
As described above, communicator of the present invention, as main website with object exchange layer, by sending request command, and accept responding the acknowledgement command that this request command responds, thereby the object exchange layer at pair station is sent object, it is characterized in that, described communicator comprises: object exchange layer processing section, handle the communication protocol of described object exchange layer; And low layer processing section, the communication protocol of the low layer that processing is lower than described object exchange layer position, described low layer processing section comprises simultaneously: the response generating portion, the virtual acknowledgement command of generation to simulating from the acknowledgement command at described secondary station, and notify described object exchange layer processing section; And low layer control section, control described response generating portion, with when the generation of the order that accepts request from described object exchange layer processing section is notified, generation is used to respond the described virtual acknowledgement command of this request command, thereby notifies described object exchange layer processing section.
In addition, communication means of the present invention, be used to have the main website of object exchange layer, described object exchange layer is by sending request command, and accept acknowledgement command that this request command is responded, and the object exchange layer at pair station is sent object, it is characterized in that, than the lower low layer in described object exchange layer position when described object exchange layer has been accepted the generation notice of request command, the virtual acknowledgement command from described secondary acknowledgement command of standing that responds this request command has been simulated in generation, thereby notifies described object exchange layer.
According to said structure and method, main website (for example, client devices), generate virtual acknowledgement command than being positioned at the lower low layer of object exchange layer, thus notify object exchange layer.
Therefore, do not change the communication protocol of carrying out object exchange based on request command/acknowledgement command, just can carry out and the object exchange of the pair station of required MIN receiving function (for example, server apparatus) that do not had possessing of sending function.In addition, in order to send reception, do not need to change the communication protocol (object exchange agreement) of object exchange layer, so can call existing resources with secondary station as described above.
And, communicator of the present invention is characterised in that, described low layer processing section also comprises: timer, the generation notice of order of accepting request from described object exchange layer processing section the time is moved, thereby measure the elapsed time, described low layer control section is controlled described response generating portion simultaneously, even arrive predefined set point with elapsed time at described timer, and when not receiving acknowledgement command from described secondary station yet, generate described virtual acknowledgement command, thereby notify described object exchange layer processing section.
According to said structure, only the acknowledgement command from the pair station is waited for the stipulated time, if do not receive acknowledgement command, then be judged as secondary station and do not possess the function that sends acknowledgement command, thereby generate virtual acknowledgement command from the pair station, and notify object exchange layer.
Therefore, with the communicating by letter of the pair station with sending function in, can carry out object exchange based in the past request command/acknowledgement command, with the communicating by letter of the pair station that does not have sending function in, by generating virtual acknowledgement command by low layer, thereby can carry out object exchange.
And, communicator of the present invention is characterised in that, the described low layer control section of described low layer processing section is according to the kind of the request command that is sent by described object exchange layer processing section, carry out and to notify described object exchange layer processing section from the acknowledgement command that described secondary station receives, perhaps make described response generating portion generate virtual acknowledgement command and notify the switching of described object exchange layer processing section.
According to said structure, can also be according to the kind of request command, and wait for acknowledgement command from the pair station, or generate the switching of virtual acknowledgement command.Therefore, required MIN acknowledgement command in the time of can receiving connection request for example, when disconnecting request, when final data transmits request etc., and the acknowledgement command of the data transmission requests beyond when transmitting request corresponding to final data etc. omit to receive and handle.
Therefore,, can guarantee the reliability of communicating by letter, simplify communication process simultaneously by only receive required MIN acknowledgement command from the pair station.Therefore, can reduce the scale of program and circuit.
And, communicator of the present invention is characterised in that, described low layer processing section also comprises: header information is resolved part, the header information of the request command that parsing is sent by described object exchange layer processing section, described low layer control section divides the classification of the header information of resolving according to described header information analysis unit simultaneously, carry out and to notify described object exchange layer processing section from the acknowledgement command that described secondary station receives, or make described response generating portion generate virtual acknowledgement command and notify the switching of described object exchange layer processing section.
According to said structure, can also wait for the switching that still generates virtual acknowledgement command from the acknowledgement command at pair station according to the classification of the header information of request command.Therefore, required MIN acknowledgement command in the time of can receiving connection request for example, when disconnecting request, when final data transmits request etc., and the acknowledgement command of the data transmission requests beyond when transmitting request corresponding to final data etc. omit to receive and handle.
Therefore,, can guarantee the reliability of communicating by letter, simplify communication process simultaneously by only receive required MIN acknowledgement command from the pair station.Therefore, can reduce the scale of program and circuit.
In addition, communication system of the present invention is characterised in that, comprising: as the above-mentioned communicator of main website; And the communicator that receives the secondary station of conduct of object from this communicator.And communication system of the present invention is characterised in that, does not send acknowledgement command as above-mentioned secondary communicator of standing.
According to above-mentioned communication system,, generate virtual acknowledgement command and notify object exchange layer by main website even secondary station can not send acknowledgement command.Therefore, do not change communication protocol in the past, just can carry out and the object exchange at pair station of required MIN receiving function that do not had possessing of sending function based on the object exchange of request command/acknowledgement command.
In addition, communicator of the present invention, has pair station as the object exchange layer, this object exchange layer is by accepting the request command from main website, send the acknowledgement command that this request command is responded, thereby receive object, it is characterized in that from the object exchange layer of main website, described communicator comprises: object exchange layer processing section, handle the communication protocol of described object exchange layer; And low layer processing section, processing is positioned at the more communication protocol of the low layer of low layer than described object exchange layer, described low layer processing section does not send to main website with this acknowledgement command when having accepted the described acknowledgement command that is sent by described object exchange layer processing section simultaneously.
In addition, communication means of the present invention, be used to have the pair station of object exchange layer, described object exchange layer is by accepting the request command from main website, send the acknowledgement command that this request command is responded, thereby receive object, it is characterized in that from the object exchange layer of main website, when having accepted the acknowledgement command that sends by described object exchange layer, this acknowledgement command is not sent to main website than the lower low layer in described object exchange layer position.
According to said structure and method,, can not send from the pair station even the object exchange layer at secondary station sends unwanted acknowledgement command yet.For example, at the pair station (for example, server apparatus) object exchange layer is often beamed back request command under the situation of installation of acknowledgement command, (for example from main website, client devices) request command is when not needing the order of acknowledgement command, and low layer does not send the acknowledgement command that secondary object exchange layer of standing sends.
Therefore, can cut down the electric power that consumes in the transmission at secondary station.In addition, sent at the pair station under the situation of acknowledgement command, because main website not necessarily needs acknowledgement command, so can prevent from the acknowledgement command at pair station and produce the possibility of conflict from the next request command of main website.
And communicator of the present invention is characterised in that described low layer processing section comprises: part is resolved in response, resolves the acknowledgement command that is sent by described object exchange layer processing section; And the low layer control section, according to the kind that described response analysis unit is divided the acknowledgement command of resolving, carry out sending or not sending the switching of described acknowledgement command to main website.
According to said structure, the acknowledgement command that can also send for the object exchange layer, according to the kind of acknowledgement command, low layer is judged and will be sent or not send.
Therefore, for example, communication protocol at the object exchange layer is under the situation of OBEX (OBject EXchangeprotocol), and the communication protocol ground that can not change the object exchange layer does not send corresponding to the processing that is not the CONTINUE acknowledgement command etc. of last PUT order.
And communicator of the present invention is characterised in that described low layer processing section comprises: header information is resolved part, resolves the header information of the acknowledgement command that is sent by described object exchange layer processing section; And the low layer control section, divide the classification of the header information of resolving according to described header information analysis unit, carry out sending or not sending the switching of described acknowledgement command to main website.
According to said structure, the acknowledgement command that can also send for the object exchange layer, according to the classification of the header information of acknowledgement command, low layer is judged and will be sent or not send.
Therefore, for example, communication protocol at the object exchange layer is under the situation of OBEX (OBject EXchangeprotocol), and the communication protocol ground that can not change the object exchange layer does not send corresponding to the processing that is not the CONTINUE acknowledgement command etc. of last PUT order.
In addition, communication system of the present invention is characterised in that, comprising: as the above-mentioned communicator at pair station; And the communicator that sends object to this communicator as main website.
According to above-mentioned communication system, when the request command from main website did not need acknowledgement command, low layer did not send the acknowledgement command that secondary object exchange layer of standing sends.
Therefore,, do not change it yet, just can carry out and the object exchange of only accepting the main website that beams back of required MIN acknowledgement command even the object exchange layer at secondary station carries out the communication protocol in the past based on the object exchange of request command/acknowledgement command.
And communicator of the present invention is characterised in that the communication protocol of described object exchange layer is OBEX (Object EXchange protocol).
According to said structure, as the object exchange agreement, can also not change the OBEX standard that in IrDA and Bluetooth (registered trade mark) etc., has been widely adopted, just carry out and do not have an object exchange of the equipment of sending function.
Have again, above-mentioned communicator can pass through computer realization, in this case, by computer is had as the function of the each several part of above-mentioned communicator and by the signal procedure of the communicator of the above-mentioned communicator of computer realization and the recording medium of embodied on computer readable that write down this program also in category of the present invention.
In addition, above-mentioned communicator also can be realized by the telecommunication circuit with each part mentioned above function.
In addition, above-mentioned communicator is fit to and the portable phone that communicates by this communicator.According to above-mentioned portable phone, can use Object Exchange (comprising OBEX), carry out the high communication of transmission efficiency.
In addition, above-mentioned communicator is suitable for the display unit that shows based on the data that received by this communicator.According to such display unit, can use Object Exchange (comprising OBEX), carry out the high communication of transmission efficiency.
In addition, above-mentioned communicator is suitable for the printing equipment that prints based on the data that received by this communicator.According to such printing equipment, can use Object Exchange (comprising OBEX), carry out the high communication of transmission efficiency.
In addition, above-mentioned communicator is suitable for the tape deck that writes down based on the data that received by this communicator.According to such tape deck, can use Object Exchange (comprising OBEX), carry out the high communication of transmission efficiency.
At last, communicator of the present invention also can constitute as described below.
(1. under OBEX, carrying out the communication means of analog response)
Communication means of the present invention, the request command that sends for the equipment of request command one side, the acknowledgement command of beaming back by the equipment that receives a side that responds according to this request, use the object exchange have the exchange that to carry out object at least to communicate with each communication protocol of the hierarchy of agreement, it is characterized in that, be positioned at corresponding to the communication protocol of described object exchange with the layer of the low layer of the layer of agreement, when having accepted from request command that this object exchange is sent with agreement, generate and acknowledgement command corresponding to this request command suitable virtual acknowledgement command of the described object exchange of foundation, and notice is corresponding to the layer of using agreement as high-rise object exchange with agreement.
(2. under OBEX, carrying out the communicator of analog response)
Communicator of the present invention is characterised in that, comprise: object exchange layer processing section, the request command that sends for the client devices of request command one side, receive the acknowledgement command that the server apparatus of a side that responds according to above-mentioned request command is beamed back by above-mentioned client devices, thus exchangeable object; And low layer processing section, be used to carry out the communication of the low layer lower than described object exchange layer processing layer, described low layer processing section has: the response generating portion, and generation is equivalent to the virtual acknowledgement command of described acknowledgement command, and notifies described object exchange layer processing section; And the low layer control section, described response generating portion is controlled, with when having accepted the generation notice of request command from described object exchange layer processing section, generate virtual acknowledgement command, thereby notify described object exchange layer processing section.
According to said method and structure, in client devices one side, generating virtual acknowledgement command and notify object exchanges with agreement or object exchange layer processing section, so can not change the agreement of carrying out object exchange based on request command/acknowledgement command, and carry out object exchange with the server apparatus that possesses required MIN receiving function that does not have sending function.In addition, in said structure and method, owing to do not need to change the object exchange agreement, so can call existing resource.
(3. under OBEX, carrying out the communication means (timer management) of analog response)
In addition, other communication meanss of the present invention, the request command that sends for the equipment of request command one side, the acknowledgement command of beaming back by the equipment that receives a side that responds according to this request, use the object exchange have the exchange that to carry out object at least to communicate with each communication protocol of the hierarchy of agreement, it is characterized in that, be positioned at corresponding to the communication protocol of described object exchange with the low layer of the layer of agreement, from to be positioned at low layer the layer communication protocol send the request command that described object exchange is sent with agreement, until receive to method, apparatus corresponding to till the replying of request command, under the situation of having passed through official hour, generate and acknowledgement command corresponding to this request command suitable virtual acknowledgement command of the described object exchange of foundation, and notice is corresponding to the layer of using agreement as high-rise object exchange with agreement.
(4. under OBEX, carrying out the communicator (timer management) of analog response)
Other communicators of the present invention are characterised in that, comprise: object exchange layer processing section, the request command that sends for the client devices of request command one side, receive the acknowledgement command that the server apparatus of a side that responds according to above-mentioned request command is beamed back by above-mentioned client devices, thus exchangeable object; And low layer processing section, be used to be positioned at the communication of the low layer lower than above-mentioned object exchange layer processing section, described low layer processing section has: the response generating portion, and generation is equivalent to the virtual acknowledgement command of described acknowledgement command, and notifies described object exchange layer processing section; Timer moves when having accepted to generate the notice of request command from described object exchange layer processing section, and measures the elapsed time; And low layer control section, described response generating portion is controlled, even reach predefined set point with elapsed time at described timer, and when not receiving acknowledgement command from described server apparatus, generate virtual acknowledgement command, thereby notify described object exchange layer processing section.
According to said method and structure, with the communicating by letter of the equipment with sending function in, can carry out object exchange based in the past request command/acknowledgement command, with the communicating by letter of the equipment that does not have sending function in, generate virtual acknowledgement command and the object exchange as high level is notified with agreement or to object exchange layer processing section by low layer, thereby can carry out object exchange.
(5. under OBEX, carrying out the communication means (kind of order) of analog response)
In addition, other communication meanss of the present invention, the request command that sends for the equipment of request command one side, the acknowledgement command of beaming back by the equipment that receives a side that responds according to this request, use the object exchange have the exchange that to carry out object at least to communicate with each communication protocol of the hierarchy of agreement, it is characterized in that, be positioned at corresponding to the communication protocol of described object exchange with the low layer of the layer of agreement, when described object exchange is sent request command with agreement, kind according to this request command, carry out following switching: receive corresponding to from response, or generate and the suitable virtual acknowledgement command of the acknowledgement command corresponding to this request command according to described object exchange usefulness agreement to the request command of method, apparatus, and notice is corresponding to the layer of using agreement as high-rise object exchange.
(6. under OBEX, carrying out the communicator (kind of order) of analog response)
Other communicators of the present invention are characterised in that, comprise: object exchange layer processing section, the request command that sends for the client devices of request command one side, receive the acknowledgement command that the server apparatus of a side that responds according to above-mentioned request command is beamed back by above-mentioned client devices, thus exchangeable object; And low layer processing section, be used to be positioned at the communication of the low layer lower than above-mentioned object exchange layer processing section, described low layer processing section has: the response generating portion, and generation is equivalent to the virtual acknowledgement command of described acknowledgement command, and notifies described object exchange layer processing section; And low layer control section, when described object exchange is sent request command with agreement, kind according to this request command is carried out following switching: receive corresponding to from the response to the request command of method, apparatus, or generate virtual acknowledgement command and notify described object exchange layer processing section for described response generating portion.
According to said method and structure, for example, by required MIN acknowledgement command such as when server apparatus only is received in connection request or when disconnecting request, when final data transmits request, just can guarantee the reliability of communicating by letter, for acknowledgement command corresponding to the data transmission requests except final data transmits request, do not need to receive processing, so can reduce circuit scale.
(7. under OBEX, carrying out the communication means (with reference to the OBEX head) of analog response)
In addition, other communication meanss of the present invention, the request command that sends for the equipment of request command one side, the acknowledgement command of beaming back by the equipment that receives a side that responds according to this request, use the object exchange have the exchange that to carry out object at least to communicate with each communication protocol of the hierarchy of agreement, it is characterized in that, be positioned at corresponding to the communication protocol of described object exchange with the low layer of the layer of agreement, by header information with reference to the request command that sends with agreement from described object exchange, kind according to this request command, and carry out following switching: receive corresponding to from response command, or generate and the suitable virtual acknowledgement command of the acknowledgement command corresponding to this request command according to described object exchange usefulness agreement to the request command of method, apparatus, and notice is corresponding to the layer of using agreement as high-rise object exchange.
(8. under OBEX, carrying out the communicator (with reference to the OBEX head) of analog response)
Other communicators of the present invention are characterised in that, comprise: object exchange layer processing section, the request command that sends for the client devices of request command one side, receive the acknowledgement command that the server apparatus of a side that responds according to above-mentioned request command is beamed back by above-mentioned client devices, thus exchangeable object; And low layer processing section, be used to be positioned at the communication of the low layer lower than above-mentioned object exchange layer processing section, described low layer processing section has: the response generating portion, and generation is equivalent to the virtual acknowledgement command of described acknowledgement command, and notifies described object exchange layer processing section; Header information is resolved part, and the header information of the request command that sends with agreement from described object exchange is resolved; And low layer control section, the classification of dividing the header information of resolving according to described header information analysis unit, and carry out following switching: receive corresponding to from response command, or generate virtual acknowledgement command and notify described object exchange layer processing section for described response generating portion to the request command of method, apparatus.
According to said method and structure, for example, by required MIN acknowledgement command such as when server apparatus only is received in connection request or when disconnecting request, when final data transmits request, just can guarantee the reliability of communicating by letter, for acknowledgement command corresponding to the data transmission requests except final data transmits request, do not need to receive processing, so can reduce circuit scale.
(9. under OBEX, will not propagate into the communication means of low layer) from the response of OBEX
In addition, other communication meanss of the present invention, the request command that sends for the equipment of request command one side, the acknowledgement command of beaming back by the equipment that receives a side that responds according to this request, use the object exchange have the exchange that to carry out object at least to communicate with each communication protocol of the hierarchy of agreement, it is characterized in that, be positioned at corresponding to the communication protocol of described object exchange with the low layer of the layer of agreement, when having accepted, do not send described acknowledgement command from acknowledgement command that this object exchange is sent with agreement.
(10. under OBEX, will not propagate into the communicator of low layer) from the response of OBEX
In addition, other communicators of the present invention are characterised in that, comprise: object exchange layer processing section, the request command that sends for the client devices of request command one side, receive the acknowledgement command that the server apparatus of a side that responds according to above-mentioned request command is beamed back by above-mentioned client devices, thus exchangeable object; And low layer processing section, be used to be positioned at the communication of the low layer lower than above-mentioned object exchange layer processing section, described low layer processing section does not send described acknowledgement command to remote station when having accepted the described acknowledgement command that is sent by described object exchange layer processing section.
According to said method and structure, for example, for request command from client devices one side, the object exchange that does not need the echo reply order is with in the agreement, carried out under the situation of object exchange in client devices one side, even at the Object Exchange of server apparatus one side for request command, it is the situation that does not have the installation of echo reply order, to transmission request from the Object Exchange control section of server apparatus one side, do not send yet, send the reduction of going up the electric power that consumes so be associated with.And sent under the situation of acknowledgement command in server apparatus one side, because client devices one side do not need acknowledgement command, so can prevent from the acknowledgement command of server apparatus one side and the possibility that clashes from the next request command of client devices one side.
(11. will not propagate into the communication means (kind of order) of low layer from the response of OBEX under OBEX)
In addition, other communication meanss of the present invention, the request command that sends for the equipment of request command one side, the acknowledgement command of beaming back by the equipment that receives a side that responds according to this request, use the object exchange have the exchange that to carry out object at least to communicate with each communication protocol of the hierarchy of agreement, it is characterized in that, be positioned at corresponding to the communication protocol of described object exchange with the low layer of the layer of agreement, when described object exchange has been sent acknowledgement command with agreement, kind according to this acknowledgement command, and carry out following switching: described acknowledgement command is sent to method, apparatus, or do not send.
(12. will not propagate into the communicator (kind of order) of low layer from the response of OBEX under OBEX)
In addition, other communicators of the present invention are characterised in that, comprise: object exchange layer processing section, the request command that sends for the client devices of request command one side, receive the acknowledgement command that the server apparatus of a side that responds according to above-mentioned request command is beamed back by above-mentioned client devices, thus exchangeable object; And low layer processing section, be used to be positioned at the communication of the low layer lower than above-mentioned object exchange layer processing section, described low layer processing section has the response that is used for the acknowledgement command that is sent by described object exchange layer processing section is resolved and resolves part, and have the kind of dividing the acknowledgement command of resolving according to described response analysis unit, and carry out following switching: to the low layer control section that method, apparatus is sent described acknowledgement command or do not send.
According to said method and structure, for the acknowledgement command that sends by Object Exchange, can be according to the kind of acknowledgement command, low layer judges it is to send or do not send, and does not send so for example can not change high-rise OBEX layer corresponding to not being the processing such as CONTINUE acknowledgement command that described last PUT orders.
(13. will not propagate into the communication means (with reference to the OBEX head) of low layer from the response of OBEX under OBEX)
In addition, other communication meanss of the present invention, the request command that sends for the equipment of request command one side, the acknowledgement command of beaming back by the equipment that receives a side that responds according to this request, use the object exchange have the exchange that to carry out object at least to communicate with each communication protocol of the hierarchy of agreement, it is characterized in that, be positioned at corresponding to the communication protocol of described object exchange with the low layer of the layer of agreement, by header information with reference to the acknowledgement command that sends with agreement from described object exchange, classification according to this header information, and carry out following switching: described acknowledgement command is sent to method, apparatus, or do not send.
(14. will not propagate into the communicator (with reference to the OBEX head) of low layer from the response of OBEX under OBEX)
In addition, other communicators of the present invention are characterised in that, comprise: object exchange layer processing section, the request command that sends for the client devices of request command one side, receive the acknowledgement command that the server apparatus of a side that responds according to above-mentioned request command is beamed back by above-mentioned client devices, thus exchangeable object; And low layer processing section, be used to be positioned at the communication of the low layer lower than above-mentioned object exchange layer processing section, described low layer processing section has when having accepted the described acknowledgement command that is sent by described object exchange processing section, the header information that the header information of described acknowledgement command is resolved is resolved part, and have the classification of dividing the header information of resolving according to described header information analysis unit, and carry out following switching: to the low layer control section that method, apparatus is sent described acknowledgement command or do not send.
According to said method and structure, for the acknowledgement command that sends by Object Exchange, can be according to the kind of acknowledgement command, low layer judges it is to send or do not send, and does not send so for example can not change high-rise OBEX layer corresponding to not being the processing such as CONTINUE acknowledgement command that described last PUT orders.
(do not need under the 15.OBEX layer respond communication means)
In addition, other communication meanss of the present invention use object exchange agreement OBEX (OBjectEXchange protocol), send object to remote station, it is characterized in that, after sending the OBEX order, do not receive OBEX response, just send next OBEX order from remote station.
(do not need during 16. only unidirectional send respond communication means)
Other communication meanss of the present invention, also in above-mentioned communication means, has the step that after the OBEX order sends, switches to two-way communication that need respond and the one-way communication that need not respond from the OBEX of remote station from the OBEX of remote station, only under the situation of having selected described one-way communication, after described OBEX order sends, do not receive OBEX response, just can send next OBEX order from remote station.
(do not need under the 17.OBEX layer respond communicator)
In addition, other communicators of the present invention, also has the object exchange of use agreement OBEX (OBject EXchange protocol), can send the OBEX layer processing section of object to remote station, it is characterized in that, in described OBEX layer processing section, after generating and sending the OBEX order, do not receive OBEX response, just generate and send next OBEX order from remote station.
(do not need during 18. only unidirectional send respond communicator)
Other communicators of the present invention, in above-mentioned communicator, also has the communication means switching part that after the OBEX order sends, switches to two-way communication that need respond and the one-way communication that need not respond from the OBEX of remote station from the OBEX of remote station, only selected under the situation of one-way communication at described communication means switching part, after generating and sending described OBEX order, do not receive OBEX response, just generate and send next OBEX order from remote station.
According to said method and structure, for example in the one-way communication that has used OBEX, even under client devices one side can not receive corresponding to the situation from the acknowledgement command of the server of the request command of client devices one side, the object that also can carry out under the OBEX sent.And when two-way communication, be used to confirm communication from the response of server, during one-way communication, can be not from responsively the communicating of server, an available OBEX agreement realizes two-way communication and one-way communication.
(19. only the Put order of non-Final do not need the communication means that responds)
In addition, other communication meanss of the present invention, use object exchange agreement OBEX (OBjectEXchange protocol), send object to remote station, it is characterized in that, only after the non-final Put order that has sent OBEX, do not receive OBEX response, just send the non-final Put order of next OBEX or final Put order from remote station.
(20. only the Put order of non-Final do not need the communicator that responds)
In addition, other communicators of the present invention, have and to use object exchange agreement OBEX (OBject EXchange protocol), send the OBEX layer processing section of object to remote station, it is characterized in that, in described OBEX layer processing section, only after the non-final Put order that has generated and sent OBEX, do not receive OBEX response, just generate and send the non-final Put order of next OBEX or final Put order from remote station.
According to said method and structure, only can realize not need be corresponding to the object exchange of the CONTINUE acknowledgement command of described PUT order.
(not sending the communication means of response under the 21.OBEX layer)
Other communication meanss of the present invention use object exchange with agreement OBEX (OBject EXchangeprotocol), receive object from remote station, it is characterized in that, and after the OBEX order that has received from remote station, not always to send the OBEX response.
(during 22. only unidirectional receptions, under the OBEX layer, not sending the communication means of response)
In addition, other communication meanss of the present invention, also in above-mentioned communication means, has the step that switches to two-way communication that after the OBEX order sends, need respond especially and the one-way communication that need not respond from the OBEX of remote station from the OBEX of remote station, only under the situation of having selected described one-way communication, can after described OBEX order receives, or not always to send the OBEX response to remote station yet.
(not sending the communicator of response under the 23.OBEX layer)
In addition, other communicators of the present invention, have and to use object exchange agreement OBEX (OBject EXchange protocol), receive the OBEX layer processing section of object from remote station, it is characterized in that, in described OBEX layer processing section, after the OBEX order that has received from remote station, always do not send the OBEX response.
(during 24. only unidirectional receptions, under the OBEX layer, not sending the communicator of response)
In addition, other communicators of the present invention are also in above-mentioned communicator, has the communication means switching part that is used to switch two-way communication that need not respond after the OBEX order sends and the one-way communication that need not respond from the OBEX of remote station from the OBEX of remote station, only selected under the situation of one-way communication at described communication means switching part, can after receiving, described OBEX order always not send the OBEX response to remote station yet.
According to said method and structure, for example in the one-way communication that has used OBEX, under client devices one side does not need to send corresponding to the situation from the acknowledgement command of server apparatus one side of the request command of client devices one side, can not carry out the generation of unwanted acknowledgement command and the control of transmission.And when two-way communication, by sending acknowledgement command, can carry out the communication acknowledgement of client devices one side, during one-way communication to client devices one side, can not generate and send the unwanted acknowledgement command to client devices, an available OBEX agreement realizes two-way communication and one-way communication.
(25. only the Put order of non-Final not have the communication means that responds)
In addition, other communication meanss of the present invention, use object exchange agreement OBEX (OBjectEXchange protocol), receive object from remote station, it is characterized in that, when the non-final Put that has received OBEX orders, do not send the OBEX response, when final Put order receives, send the response of OBEX.
(26. only the Put order of non-Final not have the communicator that responds)
In addition, other communicators of the present invention, have and to use object exchange agreement OBEX (OBject EXchange protocol), OBEX layer processing section from remote station reception object is characterized in that, in described OBEX layer processing section, when the non-final Put that has received OBEX orders, do not send the OBEX response, when having received final Put order, generate and send the response of OBEX.
According to said method and structure, can only generate corresponding to CONTINUE response command, and the control that does not send from the non-final PUT order of client devices one side, can realize the high efficiency of communication band.
(27. object exchange agreements are the communication means of OBEX)
In addition, in above-mentioned communication means, described object exchange also can be OBEX with agreement.According to said method, as the object exchange agreement, do not change the OBEX standard that IrDA or Bluetooth (registered trade mark) etc. have been widely adopted, just can carry out object exchange with the equipment that does not have sending function.
(28. signal procedure)
In addition, signal procedure of the present invention is characterised in that, is the program by each step of each communication protocol of the above-mentioned communication means of putting down in writing in any one of computer realization.By above-mentioned signal procedure,, thereby can realize above-mentioned communication means by each step of each communication protocol of the above-mentioned communication means of computer realization.
(29. recording medium)
In addition, recording medium of the present invention is characterised in that, write down above-mentioned signal procedure, but computer reads.According to said structure,, can realize above-mentioned communication means on computers by the signal procedure of reading from above-mentioned recording medium.
(30. communication system)
Communication system of the present invention is used for it is characterized in that at client devices and server exchanged between equipment object described server apparatus can not send response that described client devices is the communicator of above-mentioned any one record.
According to above-mentioned communication system, even server apparatus can not send response, in client devices one side, also generate virtual acknowledgement command and notify object exchange layer processing section, so do not change the communication protocol in the past of carrying out object exchange based on request command/acknowledgement command, just can carry out object exchange with the server apparatus that possesses required MIN receiving function that does not have sending function.
(31. portable phone)
Portable phone as communication equipment of the present invention is characterized in that, is the portable phone of realizing above-mentioned any one communication.According to above-mentioned portable phone, can use Object Exchange (comprising OBEX), carry out the high communication of one-way communication or transmission efficiency.
(32. display unit)
Display unit as communication equipment of the present invention is characterized in that, is the display unit that realizes above-mentioned any one communication.According to above-mentioned display unit, can use Object Exchange (comprising OBEX), carry out the high communication of one-way communication or transmission efficiency.
(33. printing equipment)
Printing equipment as communication equipment of the present invention is characterized in that, is the printing equipment of realizing above-mentioned any one communication.According to above-mentioned printing equipment, can use Object Exchange (comprising OBEX), carry out the high communication of one-way communication or transmission efficiency.
(34. tape deck)
Tape deck as communication equipment of the present invention is characterized in that, is the tape deck of realizing above-mentioned any one communication.According to above-mentioned tape deck, can use Object Exchange (comprising OBEX), carry out the high communication of one-way communication or transmission efficiency.
The concrete execution mode or the embodiment that in the item of detailed description of the invention, form, be to make technology contents of the present invention clear eventually, should not only limit to such concrete example and explained, in the scope of spirit of the present invention and claim, can carry out various change and implement by narrow sense ground.
The industrial possibility of utilizing
In communicator of the present invention, communication system, communication means, signal procedure, telecommunication circuit, do not change the object exchange agreement, the present invention just can carry out object exchange with the equipment that does not have sending function (secondary station), so can be widely used for the communication such as portable telephone, PDA, personal computer etc. Be specially adapted to adopt object exchange with the communication of agreement, this agreement is at the infrared communication of foundation IrDA or according to the client devices of the transmission request commands such as radio communication of Blue tooth with beam back between the server apparatus of acknowledgement command and carry out object exchange.

Claims (19)

1. communicator, as the main website with object exchange layer, this object exchange layer is by sending request command, and accepts acknowledgement command that this request command is responded, thereby the object exchange layer at pair station is sent object, it is characterized in that,
Described communicator comprises:
The communication protocol of described object exchange layer is handled in object exchange layer processing section; And
The communication protocol of the low layer lower than described object exchange layer position is handled in the low layer processing section,
Described low layer processing section comprises simultaneously:
The response generating portion generates the acknowledgement command from described secondary station is carried out virtual virtual acknowledgement command, and notifies described object exchange layer processing section; And
The low layer control section, control described response generating portion, with when the generation of the order that accepts request from described object exchange layer processing section is notified, generation is used to respond the described virtual acknowledgement command of this request command, thereby notifies described object exchange layer processing section.
2. communicator as claimed in claim 1 is characterized in that,
Described low layer processing section also comprises:
Timer moves when the generation of the order that accepts request from described object exchange layer processing section is notified, thereby measures the elapsed time,
Described low layer control section is controlled described response generating portion simultaneously, even arrive predefined set point with elapsed time at described timer, and when not receiving acknowledgement command from described secondary station yet, generate described virtual acknowledgement command, thereby notify described object exchange layer processing section.
3. communicator as claimed in claim 1 is characterized in that,
The described low layer control section of described low layer processing section is according to the kind of the request command that is sent by described object exchange layer processing section, carry out and to notify described object exchange layer processing section from the acknowledgement command that described secondary station receives, or make described response generating portion generate virtual acknowledgement command and notify the switching of described object exchange layer processing section.
4. communicator as claimed in claim 1 is characterized in that,
Described low layer processing section also comprises:
Header information is resolved part, resolves the header information of the request command that is sent by described object exchange layer processing section,
Described low layer control section divides the classification of the header information of resolving according to described header information analysis unit simultaneously, carry out and to notify described object exchange layer processing section from the acknowledgement command that described secondary station receives, or make described response generating portion generate virtual acknowledgement command and notify the switching of described object exchange layer processing section.
5. communicator, as the pair station with object exchange layer, this object exchange layer sends the acknowledgement command that this request command is responded by accepting the request command from main website, thereby receives object from the object exchange layer of main website, it is characterized in that,
Described communicator comprises:
The communication protocol of described object exchange layer is handled in object exchange layer processing section; And
The low layer processing section, processing is positioned at the more communication protocol of the low layer of low layer than described object exchange layer,
Described low layer processing section does not send to main website with this acknowledgement command when having accepted the described acknowledgement command that is sent by described object exchange layer processing section simultaneously.
6. communicator as claimed in claim 5 is characterized in that,
Described low layer processing section comprises:
Part is resolved in response, resolves the acknowledgement command that is sent by described object exchange layer processing section; And
The low layer control section according to the kind that described response analysis unit is divided the acknowledgement command of resolving, carries out sending or not sending to main website the switching of described acknowledgement command.
7. communicator as claimed in claim 5 is characterized in that,
Described low layer processing section comprises:
Header information is resolved part, resolves the header information of the acknowledgement command that is sent by described object exchange layer processing section; And
The low layer control section divides the classification of the header information of resolving according to described header information analysis unit, carries out sending or not sending to main website the switching of described acknowledgement command.
8. communication means is used to have the main website of object exchange layer, and this object exchange layer is by sending request command, and accepts acknowledgement command that this request command is responded, and the object exchange layer at pair station is sent object, it is characterized in that,
Than the lower low layer in described object exchange layer position when described object exchange layer has been accepted the generation notice of request command, generate simulated respond this request command from the virtual acknowledgement command of the acknowledgement command at described secondary station and notify described object exchange layer.
9. communication means is used to have the pair station of object exchange layer, and this object exchange layer sends the acknowledgement command that this request command is responded by accepting the request command from main website, thereby receives object from the object exchange layer of main website, it is characterized in that,
When having accepted the acknowledgement command that sends by described object exchange layer, this acknowledgement command is not sent to main website than the lower low layer in described object exchange layer position.
10. as any one described communicator of claim 1 to 7, it is characterized in that,
The communication protocol of described object exchange layer is OBEX (Object EXchange protocol).
11. a communication system is characterized in that comprising:
As any one described communicator of claim 1 to 4 as main website, and
As the communicator that receives the pair station of object from this communicator.
12. communication system as claimed in claim 11 is characterized in that,
Communicator as described secondary station does not send acknowledgement command.
13. a communication system is characterized in that comprising:
Any one described communicator of claim 5 to 7 as secondary station; And
As the communicator that sends the main website of object to this communicator.
14. a signal procedure makes any one described communicator action of claim 1 to 7, described program makes computer have the function of each part mentioned above.
15. a telecommunication circuit makes any one described communicator action of claim 1 to 7, described telecommunication circuit has the function of each part mentioned above.
16. a portable phone has loaded any one described communicator of claim 1 to 7, and communicates by this communicator.
17. a display unit has been loaded any one described communicator of claim 5 to 7, and shows based on the data that received by this communicator.
18. a printing equipment has loaded any one described communicator of claim 5 to 7, and prints based on the data that received by this communicator.
19. a tape deck has loaded any one described communicator of claim 5 to 7, and record is by the data of this communicator reception.
CN2006800006069A 2005-01-28 2006-01-25 Communication device, communication system, communication method Expired - Fee Related CN101006706B (en)

Applications Claiming Priority (17)

Application Number Priority Date Filing Date Title
JP2005022209 2005-01-28
JP022209/2005 2005-01-28
JP023929/2005 2005-01-31
JP023901/2005 2005-01-31
JP2005023901 2005-01-31
JP2005023929 2005-01-31
JP2005116096 2005-04-13
JP116096/2005 2005-04-13
JP2005152910 2005-05-25
JP152910/2005 2005-05-25
JP2005192903 2005-06-30
JP192903/2005 2005-06-30
JPPCT/JP2005/014446 2005-08-05
PCT/JP2005/014446 WO2006013979A1 (en) 2004-08-06 2005-08-05 Transmitter, receiver, communication system, communication method, and communication program
JP2005271234 2005-09-16
JP271234/2005 2005-09-16
PCT/JP2006/301106 WO2006080330A1 (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method, communication program, and communication circuit

Publications (2)

Publication Number Publication Date
CN101006706A true CN101006706A (en) 2007-07-25
CN101006706B CN101006706B (en) 2011-03-02

Family

ID=38704652

Family Applications (5)

Application Number Title Priority Date Filing Date
CN2006800031465A Active CN101107834B (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method, communication program, and communication circuit
CN2008100954777A Active CN101262480B (en) 2005-01-28 2006-01-25 Communication device, communication method and mobile telephone
CN2006800006069A Expired - Fee Related CN101006706B (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method
CN2006800033174A Active CN101112068B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, mobile telephone, display device and printing device
CN2006800033193A Active CN101112069B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, and communication circuit

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN2006800031465A Active CN101107834B (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method, communication program, and communication circuit
CN2008100954777A Active CN101262480B (en) 2005-01-28 2006-01-25 Communication device, communication method and mobile telephone

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN2006800033174A Active CN101112068B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, mobile telephone, display device and printing device
CN2006800033193A Active CN101112069B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, and communication circuit

Country Status (1)

Country Link
CN (5) CN101107834B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483645B (en) * 2008-01-11 2012-12-12 夏普株式会社 Communications device, communications method, and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814230A (en) * 2010-04-01 2010-08-25 青岛海信电器股份有限公司 Serial data communication transmitting method and device
WO2016136256A1 (en) * 2015-02-27 2016-09-01 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Signal generation method, signal generation device and program
CN110636016B (en) * 2019-08-08 2023-09-29 西安万像电子科技有限公司 Data transmission method and system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3161910B2 (en) * 1994-07-26 2001-04-25 シャープ株式会社 Communication device
JPH1115761A (en) * 1997-06-02 1999-01-22 Internatl Business Mach Corp <Ibm> Information processor having infrared communication function and its control method
US6011796A (en) * 1997-06-17 2000-01-04 Qualcomm Incorporated Extended range sequence numbering for selective repeat data transmission protocol
JP3482103B2 (en) * 1997-07-29 2003-12-22 シャープ株式会社 Infrared communication control device and method
US6519644B1 (en) * 1998-12-01 2003-02-11 Telefonaktiebolaget Lm Ericsson (Publ) System and method for dial-up networking over infrared data link
JP3180790B2 (en) * 1998-12-28 2001-06-25 日本電気株式会社 Infrared non-connection type object exchange communication method and apparatus
GB9900389D0 (en) * 1999-01-09 1999-02-24 Philips Electronics Nv Radio communication system
US7339939B2 (en) * 2001-06-29 2008-03-04 Nokia Corporation Apparatus, method and system for an object exchange bridge
CN1264306C (en) * 2001-12-25 2006-07-12 中兴通讯股份有限公司 Method for raising access speed of wide-band access server
JP2003258880A (en) * 2002-03-01 2003-09-12 Nippon Telegr & Teleph Corp <Ntt> Network, node, and method for data transfer
JP2003263403A (en) * 2002-03-07 2003-09-19 Canon Inc Object exchanging device and object receiving method
JP3996870B2 (en) * 2003-05-13 2007-10-24 日本電信電話株式会社 Wireless data communication start method and wireless data communication apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483645B (en) * 2008-01-11 2012-12-12 夏普株式会社 Communications device, communications method, and storage medium

Also Published As

Publication number Publication date
CN101112069A (en) 2008-01-23
CN101112068A (en) 2008-01-23
CN101107834A (en) 2008-01-16
CN101112068B (en) 2011-05-11
CN101107834B (en) 2013-02-27
CN101112069B (en) 2011-03-30
CN101006706B (en) 2011-03-02
CN101262480B (en) 2012-06-13
CN101262480A (en) 2008-09-10

Similar Documents

Publication Publication Date Title
CN101964705B (en) Communication device, communication system, communication method, communication program and communication circuit
US7787391B2 (en) Communication device, communication system, communication method, communication program, and communication circuit
CN1751492B (en) System and method of compact messaging in network communications
CN1742473B (en) Common protocol layer architecture and methods for transmitting data between different network protocols and a common protocol packet
CN1812405B (en) Reliable one-way messaging over request-response transport protocols
CN105519071A (en) Electronic device using logical channels for communication
US20060234730A1 (en) System and method for accessing multiple data sources by mobile applications
CN110808948B (en) Remote procedure calling method, device and system
CN100363870C (en) Method and apparatus for providing multi-client support in a SIP-enabled terminal
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
CN101006706B (en) Communication device, communication system, communication method
EP0586129B1 (en) Session oriented connectionless data transfer for a computer network
CN101656730A (en) Communication device, communication system, communication method and program
CN107181794A (en) DICOM network transmission systems with receiving are sent based on DIMSE message
CN108668262B (en) Communication device, communication method, and recording medium
JP2001256308A (en) Method and system for exchanging care information
EP1309152B1 (en) System and method for facilitating the selection of electronic services using infrared and a network address identification
CN1864378B (en) In-band negotiation in single transcompression scenarios related applications
CN101465783A (en) Connection method, device and connection network bridge for isomery household network appliances
CN101896893A (en) Communication device, communication system, communication method, and program
JP2005277593A (en) Radio terminal unit, and service search method
CN109600837B (en) System information generation method and device
US7774773B2 (en) Active node, and contents transfer system and method using the active node
EP2223558B1 (en) Communication system for mobile terminals with multichannel wireless access
JP4394141B2 (en) Communication device, communication system, communication method, communication program, communication circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110302

Termination date: 20150125

EXPY Termination of patent right or utility model