CN101112069A - 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
CN101112069A
CN101112069A CNA2006800033193A CN200680003319A CN101112069A CN 101112069 A CN101112069 A CN 101112069A CN A2006800033193 A CNA2006800033193 A CN A2006800033193A CN 200680003319 A CN200680003319 A CN 200680003319A CN 101112069 A CN101112069 A CN 101112069A
Authority
CN
China
Prior art keywords
frame
data
obex
transmission
send
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
CNA2006800033193A
Other languages
Chinese (zh)
Other versions
CN101112069B (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/301238 external-priority patent/WO2006080403A1/en
Publication of CN101112069A publication Critical patent/CN101112069A/en
Application granted granted Critical
Publication of CN101112069B publication Critical patent/CN101112069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A communication device includes a controller (13) for transmitting parameters such as a maximum transfer rate and a maximum reception data length to a communication partner station by using an SNRM command without transmitting a station finding command (XID) for searching the communication partner station to a transmitter (1) for transmitting transmission data having a predetermined capacity by using infrared ray, and a transmission unit (14). This reduces the time required for establishing a connection between the transmitter and the receiver and reduces the time from a communication start to a communication end when information data is transmitted.

Description

Communication equipment, communication system, communication means, signal procedure, telecommunication circuit
Technical field
The present invention relates to carry out communication equipment, communication system, communication means, signal procedure, telecommunication circuit that the transmission of data receives.
Background technology
In recent years, the infrared communication system is the center with portable personal terminal such as mobile phone, notebook personal computer or electronic notebooks, these electronic equipments that are suitable for carrying mutually between or popularize in the exchanges data of they and desktop PC or the corresponding printer of infrared ray etc.
As the communication mode in the infrared communication system, can enumerate IrDA (Infrared DataAssociation, the infrared data connection) mode or ASK mode etc., the IrDA mode is to be the HDLC communication mode with the communication mode that is used for based on the high speed between the computer, high efficiency transmission, for the communication protocol that infrared communication is stipulated, popularize as general mode.
In addition, during transfer of data in computer etc., generally based on sending the packet switch that receives bag (packet), this bag by the data of a certain size and the information that is illustrated in the sequence number given before and after it, address etc. constitute, but employed bag is known as frame in HDLC communication mode or IrDA communication mode, by the IrLAP layer-management.
Frame is made of each field of address (A), control (C), information (I) and FSC and the mark of giving in front and back, there is information (data) to transmit employed I (Information, information) S (Supervisory of frame, the supervision control that is used to communicate by letter, the supervision) frame and not have communication in connection or cut-out, again the transmission employed U such as data communication (Unnumbered, non-numbering) frame.
Usually, the data that will be transmitted under a lot of situations can not be sent by a frame, therefore are split into a plurality of frames (I frame or UI frame) and send.The I frame has the data that will transmit in I (Information) field, by having the sequence number that is used to check that data are omitted, thereby realize the high communication of reliability.The UI frame has the data that will transmit in the I field, but does not have the sequence number that is used to check the data omission.
The structure of S frame is not for having the I field that keeps data, and it is used to transmission and receives and be ready to complete, busy condition, send request etc. again.The U frame does not have the sequence number as the I frame, so be known as unnumbered frame (U-frame), it is used to the report of setting, response or the abnormality of communication pattern, the establishment or the cut-out of data link.
As previously mentioned, the IrDA communication mode is based on the HDLC communication mode, but generally as communication mode, full-duplex communication mode that can send simultaneously and receive and the half-duplex operation mode of not carrying out are simultaneously arranged, under the situation of half-duplex operation mode, need predesignate the signal that is used to switch transmission and reception.
In the HDLC mode, also can adopt full duplex mode, but under the situation of IrDA communication mode, the transmission of data is used the infrared ray of the baseband modulation of on free space, propagating, if plural station sends simultaneously in the communication circle, then produce ultrared interference, thereby can not communicate by letter normally.
Therefore, in the IrDA communication mode, use half-duplex mode, only in the communication circle, do not exist under the ultrared situation before the establishment communication link to send, between two stations that communicate, carry out the exchange of transmission route after communication link is established termly.
Figure 19 represents to establish the situation of the communication link among the IrDA.In IrDA, main website sends the SNRM order, and secondary sends it back the UA response for this order, thereby establishes the connection of link layer (LAP layer).In described SNRM order and UA response, the various parameters when configuration data is transmitted (data forwarding speed, maximum data grow etc.) can be learnt mutually and the messaging parameter of remote station in most effective messaging parameter, carry out data forwarding.
Fig. 9 is the block diagram that is used to illustrate the application of such communication mode.In HDLC communication mode or IrDA communication mode, the main body that will send or communicate by letter is called " station ", generally control communication data link control main website and according to the secondary of the control of main website by with above-mentioned frame as order (main website → secondary) and respond (secondary → main website) thus sending reception communicates.Such mode is known as uneven communication mode.As shown in the figure, computer, mobile phone, electronic notebook etc., television set etc. have the function at station in communication, as transmission medium, carry out exchanges data with infrared ray.
Figure 10 is the signal timing diagram of general step that is used for illustrating the use I frame of these communication modes.Here, the A station that illustrates as main website sends the data conditions that is split into a plurality of I frames to the B station as secondary.In addition, Ci Shi window (window) size (can not interrupt and once send I frame number) is 3.
At first, each frame that A station will be corresponding with the data that will send is given sequence number " 0 " " 1 " " 2 " as the I frame and is sent respectively.When the frame that transmits Sequence Number to " 0 " " 1 ",, P/F (Pole/Final) bit is made as 0 sends in order not transfer transmission route to secondary.In addition, when the frame that transmits Sequence Number to " 2 ",, P/F (Pole/Final) bit is made as 1 sends in order to transfer transmission route to secondary.
Receive the B station of sequence number respectively for the frame of " 0 " " 1 " " 2 ", under the situation that normally receives each frame, after receiving the frame that the P/F bit is 1 sequence number " 2 ", to give " 2 " " 3 " followed number frame in response frame send it back, and pass on the meaning of " sending the 3rd data ".This response frame is the S frame that is called the RR frame.When secondary sends the RR frame,, the P/F bit is made as 1 still in order to transfer transmission route to main website.
A station is confirmed after the response at B station to send after the 3rd data are given the sequence number of " 3 " " 4 " " 5 " once more.By repeating to need time this step, thereby can improve the precision of a plurality of frame traffics.In the B station, under the situation that detects the omission of mistake or data, send the RR frame behind the data sequence number that adding is wished to send again, A stands and sends by the data sequence number that sends again from described hope again, thereby can send.
In the data forwarding of having used the I frame, the frame number that main website can once send is subjected to the restriction of window size, in the IrLAP of IrDA (Infrared Link Access Protocol, infrared ray connected reference agreement) (version 1.1), is 7 to the maximum.Therefore, carrying out under the situation that lot of data transmits, be sent out by each window size, therefore under the communication conditions that is free from mistakes, becoming the reason of the deterioration of communication efficiency from the response frame of secondary.
Figure 11 is the signal timing diagram of general step that is used for illustrating the use UI frame of these communication modes.Here, the data conditions that the transmission of B station is split into a plurality of UI frames from the A station is shown.Under the situation of the data forwarding of using the UI frame owing to be not subjected to the restriction of window size, so the A station can go back in maximum (turn around) time during transmit frame continuously.Behind the maximum turnaround time through the A station, send the RR frame that is used for secondary is transferred transmission route.
Maximum turnaround time is meant that a certain station can keep the time of transmission route, after transferring transmission route to remote station, even at the maximum turnaround time that has passed through remote station also not under the situation from the response of remote station, sent transmission route and transferred the station of frame and can learn the frame no show remote station that is used to transfer transmission route.The maximum turnaround time of remote station can be learnt by exchange parameter when connecting establishment.In IrLAP, stipulate the turnaround time of maximum 500ms.
The B that is transferred transmission route by the RR frame stands under the situation that does not send the data forwarding request in the our station, the P/F bit is made as 1 back sends the RR frame, thereby transfer transmission route to main website.
In the data forwarding of having used the UI frame, do not use the transmission again under the situation of I frame, but good and do not take place under the situation of mistake, as previously mentioned in the quality of communication path, the successive frame that A can carry out at the station time of maximum 500ms sends, and makes communication efficiency improve.
Figure 18 represents the protocol stack of the IrDA of standard.The protocol stack of IrDA is made of following: the definition modulation system, signal strength signal intensity, (IrDA Physical Layer such as the IrPHY of directionality etc., the IrDA physical layer), according to general HDLC (High Level Data Link Control, High-Level Data Link Control) error control function, before communication, consult the function that (negotiation) sees through transmission and current control and communication speed or maximum data size mutually, and to search and find that the formality etc. of the not particular outer equipment that will connect carried out IrLAP (the IrDA Link Access Protocol of definition, the IrDA link access protocol), provide and TCP/IP (Transmission Control Protocol/Internet Protocol, transmission control protocol/Internet Protocol) the suitable demultiplexing of the employed port numbers of the TCP of agreement or UDP, IrLMP (the IrDA Link Management Protocol of the function that multichannel is separated, the IrDA LMP Link Manager Protocol), in individual other logical links, carry out the Tiny TP (Transport Potocol, host-host protocol) of current control, transmission reception as data is the communication protocol that the object exchange in the data communication is used---OBEX (Object Exchange protocol).
In OBEX, the equipment of request command end is called client device, sends it back responder corresponding to this request and is called server apparatus.Usually, follow client device and server apparatus is sent request commands such as Put/Get, server sends it back the customer end/server mode of response command.
Comprise with the lower part on the request command summary by the OBEX regulation.The CONNECT/DISCONNECT that is connected with communication counterpart/cuts off, the PUT/GET that carries out the transmission/reception of objects such as file, change are as SETPATH and the transmission of forced interruption object or the ABORT of reception in the path, reception destination (current path) of the server apparatus of receiving equipment end.
Among Figure 20, the exchange of the basic request command/response command between client device and the server apparatus is described.If receive the object exchange request from the user, then client device is in order to establish the CONNECT order that server apparatus is sent the expression connection request with being connected of server apparatus.
Under attachable situation, the server apparatus that receives the CONNECT order sends it back the SUCCESS response command to client device, and client device receives the response command of SUCCESS, connects thereby establish between client device-server apparatus.
In client device, after establishing connection, begin the exchange of object, and server apparatus is sent the PUT order of the transmission of carrying out object.If normally receiving from the PUT of client device order, server apparatus sends it back the CONTINUE response command, client device receives from the CONTINUE response command of server apparatus and confirms that server apparatus normally receives after the PUT order, sends PUT order then.In client device, carry out the transmission of PUT order, till sending all objects.In the server apparatus,, then client device is sent it back the response command of SUCCESS if before final PUT (Final) order, normally receive.
In client device, after the SUCCESS response command that receives from server apparatus,, server apparatus is sent the DISCONNECT order that request is cut off in expression in order to carry out handling with the cut-out of server apparatus.
The server apparatus that receives the DISCONNECT order sends it back the response command of the SUCCESS of expression permission cut-out to client device, client device receives the response command of SUCCESS, thereby the connection between client device-server apparatus is cut off, and the object exchange between a series of client device-server apparatus is finished.
Like this, in OBEX, the request command from client device is sent it back response command, thereby carry out the exchange of object by server apparatus.
In addition, in the communication protocol of the layer structure as having OSI in the above-mentioned IrDA protocol stack, define header information at every layer independently with other layer, in the data that will between computing equipment, transmit originally, from top to lowermost layer, additional header information successively in each layer.
In addition,, from lowermost layer to top each layer, remove header information successively, transmit data to high level for receiving data.
[patent documentation 1] Japanese publication communique " spy opens flat 10-308791 communique (open day on November 17th, 1998) "
But, in above-mentioned structure in the past, in using UI frame forwarding data, good and do not take place under the such situation of mistake in the quality of communication path, as previously mentioned, the successive frame that can carry out the maximum 500ms time sends, improve communication efficiency, but under the not so good situation of the quality of communication path, owing to can not carry out transmission again as the situation of using the I frame, so produce the problem that communication efficiency worsens on the contrary.
In addition, in IrDA in the past, the data forwarding of folk prescription in communication that does not need to respond is not supported.
Summary of the invention
The object of the present invention is to provide a kind of communication equipment, communication system, communication means, signal procedure, the telecommunication circuit that send again that in data forwarding, can carry out frame.
In order to achieve the above object, a kind of communication equipment is provided, according to the hard-core communication mode of the frame number that once can send, do not transfer transmission route and the blanket data that send, it is characterized in that, comprise: transmit frame generation unit (transmit frame generative circuit, transmit frame generate parts), the blanket transmission data that will sum up transmission are cut apart and are generated transmit frame; Sequence number generation unit (sequence number generative circuit, sequence number generate parts) is given sequence number to above-mentioned transmit frame; Sum up the final mark generation unit of transmission (blanket final mark generative circuit, the final mark generation of the blanket transmission parts of sending), setting expression in the final transmission center of above-mentioned blanket transmission data is the final mark of blanket transmission of summing up the final transmit frame of transmission data; And transmitting element (transtation mission circuit, transmit block), send above-mentioned transmit frame.
In addition, communication means of the present invention, according to the hard-core communication mode of the frame number that once can send, do not transfer transmission route and the blanket data that send, it is characterized in that the blanket transmission data that will sum up transmission are cut apart and generated transmit frame, give sequence number to above-mentioned transmit frame, in the final transmit frame of above-mentioned blanket transmission data, set to be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data, send above-mentioned transmit frame then.
In addition, communication equipment of the present invention, according to the hard-core communication mode of the frame number that once can send, do not transfer transmission route and the blanket data that receive, it is characterized in that, comprise: sequence number resolution unit (sequence number parser circuitry, sequence number resolution component), resolve the sequence number that comprises in the above-mentioned received frame, thereby judge the mistake that has or not sequence number; Transmit frame generation unit (transmit frame generative circuit, transmit frame generate parts), the final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, in the received frame that receives so far, detect under the amiss situation by above-mentioned sequence number resolution component, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And transmitting element (transtation mission circuit, sending method), send above-mentioned transmit frame.
In addition, communication means of the present invention, according to the hard-core communication mode of the frame number that once can send, do not transfer transmission route and the blanket data that receive, it is characterized in that, resolve the sequence number that comprises in the above-mentioned received frame, thereby judge the mistake that has or not sequence number, the final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, in the received frame that receives so far, detect under the amiss situation, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place, and concurrent serving stated transmit frame.
In addition, communication system of the present invention is characterised in that and comprises as the communication equipment of above-mentioned transmitter with as the communication equipment of above-mentioned receiver.
According to said structure and method, according to the hard-core communication mode of the frame number that once can send, when not transferring transmission route and summing up the transmission data, in transmitter, the blanket data that send are cut apart and generated transmit frame, give sequence number to transmit frame, and then in the final transmit frame of blanket transmission data, set to be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data, and send transmit frame.On the other hand, in receiver, resolve the sequence number that comprises in the received frame, and differentiate the mistake that has or not sequence number, detect in received frame under the amiss situation, generation comprises the transmit frame that is set to the sequence number when representing that the zero defect mark of mistake is arranged and mistake taking place and sends to transmitter.Then, if transmitter is received the frame that comprises the sequence number when mistake takes place from receiver, then send the transmit frame corresponding again with this sequence number.
Here, the final mark of blanket transmission that receiver comprises in by received frame distinguishes that receiving transmitter will sum up before the situation of the final transmit frame in the transmit frame after sending data and cutting apart, does not send the transmit frame of the sequence number when comprising above-mentioned mistake and taking place.In other words, be the notice that unit carries out mistake with blanket transmission data.
Thereby, even use do not have the frame number (window size) that can once send or receive thus the communication mode of restriction also can detect and omit frame etc. and send again, therefore play the effect that can carry out the high communication of reliability.In addition, owing to being the notice that unit carries out mistake, therefore play the high effect of data forwarding efficient with blanket transmission data.
In addition, above-mentioned communication equipment can be by computer realization, in this case, thereby by making computer as the each several part work of the above-mentioned communication equipment signal procedure by the above-mentioned communication equipment of computer realization, and the recording medium that has write down the embodied on computer readable of this program also belongs to category of the present invention.
In addition, the telecommunication circuit of the function that above-mentioned communication equipment also can be by having said units realizes.
In addition, above-mentioned communication equipment is suitable for the mobile phone that communicates by this communication equipment.By above-mentioned mobile phone, can carry out quality and/or the high communication of forward efficiency.
In addition, above-mentioned communication equipment is suitable for the display unit that shows based on the data that this communication equipment receives.By such display unit, can carry out quality and/or the high communication of forward efficiency.
In addition, above-mentioned communication equipment is suitable for the printing equipment that prints based on the data that this communication equipment receives.By such printing equipment, can carry out quality and/or the high communication of forward efficiency.
In addition, above-mentioned communication equipment is suitable for writing down the tape deck of the data that this communication equipment receives.By such tape deck, can carry out quality and/or the high communication of forward efficiency.
Other purpose of the present invention, feature and advantage should sufficiently clears by following record.In addition, advantage of the present invention becomes clear by the following description of reference accompanying drawing.
Description of drawings
Fig. 1 is the block diagram of structure of the main website of expression communication system of the present invention employed first execution mode.
Fig. 2 is the block diagram of structure of the secondary of above-mentioned first execution mode of expression.
Fig. 3 is the block diagram of the frame structure of above-mentioned first execution mode of expression.
Fig. 4 is the signal timing diagram of the step handled of the data forwarding of above-mentioned first execution mode of expression.
Fig. 5 is the signal timing diagram of the step handled of the data forwarding of the mistake of above-mentioned first execution mode of expression when taking place.
Fig. 6 is the block diagram of structure of main website, the secondary of second execution mode of expression in the communication system of the present invention.
Fig. 7 is the block diagram of the frame structure of above-mentioned second execution mode of expression.
Fig. 8 is the signal timing diagram of the step handled of the data forwarding of above-mentioned second execution mode of expression.
Fig. 9 is the block diagram that is used to illustrate the application of the HDLC communication mode that in the past began or IrDA communication mode.
Figure 10 is the signal timing diagram of general step that is used for illustrating the data forwarding of the I frame that has used IrDA communication specification.
Figure 11 is the signal timing diagram of general step that is used for illustrating the data forwarding of the UI frame that has used IrDA communication specification.
Figure 12 is the block diagram of structure of main website, the secondary of three execution mode of expression in the communication system of the present invention.
Figure 13 is the figure of the protocol stack of the data forwarding system in above-mentioned the 3rd execution mode of expression.
Figure 14 is the block diagram of the frame structure of above-mentioned the 3rd execution mode of expression.
Figure 15 is the signal timing diagram of the step handled of the data forwarding of above-mentioned the 3rd execution mode of expression.
Figure 16 is the signal timing diagram of the step of the data forwarding under the situation of sending authentication request when authentication etc. from high level of expression in above-mentioned the 3rd execution mode.
Figure 17 is the signal timing diagram of other step of the data forwarding under the situation of sending authentication request when authentication etc. from high level of expression in above-mentioned the 3rd execution mode.
Figure 18 is the figure that represents the protocol stack of IrDA in the past.
Sequential chart when Figure 19 is connection among the IrDA that represents in the past.
Figure 20 is connection, the data forwarding of OBEX, the sequential chart of cut-out.
Figure 21 is the sequential chart of the flow process of the data forwarding among the expression IrDA.
Figure 22 (a) is the key diagram of the frame format of the I frame among the expression IrLAP, and Figure 22 (b) is the key diagram of the frame format of the UI frame among the expression IrLAP.
Figure 23 is the key diagram of the frame format of expression IrLMP.
Figure 24 is the key diagram of the frame format of expression TinyTP layer.
Figure 25 (a) is the key diagram of frame format of the Put order of expression OBEX, and Figure 25 (b) is the key diagram of the frame format of expression CONTINUE response, and Figure 25 (c) is the key diagram of the frame format of expression SUCCESS response.
Figure 26 is the sequential chart of flow process of the data forwarding in the two-way communication of expression IrSimple.
Figure 27 (a) is the key diagram of the frame format of the SMP frame under the situation of two-way communication of expression IrSimple, and Figure 27 (b) is the key diagram of the frame format of the SMP frame under the situation of one-way communication of expression IrSimple.
Figure 28 is the sequential chart of flow process of the data forwarding in the one-way communication of expression IrSimple.
Figure 29 is that expression exists OBEX as high level, and orders the sequential chart of the data forwarding of carrying out by the Put of OBEX.
Figure 30 is that will to comprise the frame of zero defect mark and the frame that comprises SUCCESS concentrated be the sequential chart of the example of communicating by letter of a transmission to the expression receiver.
Figure 31 is the block diagram of structure of the transmitter of expression communication system of the present invention employed the 4th execution mode.
Figure 32 is the block diagram of structure of the receiver of expression employed the 4th execution mode of communication system of the present invention and the 5th execution mode.
Figure 33 is the sequential chart of employed the 4th execution mode of communication system of the present invention.
Figure 34 is the block diagram of structure of the transmitter of expression communication system of the present invention employed the 5th execution mode.
Figure 35 is first sequential chart of employed the 5th execution mode of communication system of the present invention.
Figure 36 is second sequential chart of employed the 5th execution mode of communication system of the present invention.
Figure 37 is the block diagram of structure of the transmitter of expression communication system of the present invention employed the 6th execution mode.
Figure 38 is the block diagram of structure of the receiver of expression communication system of the present invention employed the 6th execution mode.
Figure 39 is the sequential chart of employed the 6th execution mode of communication system of the present invention.
Figure 40 is the block diagram of structure of the transmitter of expression communication system of the present invention employed the 7th execution mode.
Figure 41 is the block diagram of structure of the receiver of expression communication system of the present invention employed the 7th execution mode.
Figure 42 is the sequential chart of employed the 7th execution mode of communication system of the present invention.
Figure 43 is the sequential chart of employed the 8th execution mode of communication system of the present invention.
Figure 44 is the block diagram of structure of the transmitter of expression communication system of the present invention employed the 9th execution mode.
Figure 45 is the block diagram of structure of the receiver of expression communication system of the present invention employed the 9th execution mode.
Figure 46 is the sequential chart of employed the 9th execution mode of communication system of the present invention.
Figure 47 is the block diagram of the structure of expression JPEG coding and JPEG decoding.
Figure 48 is piece (block) key diagram (mcu) of JPEG, the piece of Figure 48 (a) expression 8 * 8, the piece of Figure 48 (b) expression 8 * 16, the piece of Figure 48 (c) expression 16 * 8, the piece of Figure 48 (d) expression 16 * 16.
Figure 49 is the key diagram of cutting apart, send processing of the mcu unit in the communication system of the present invention.
Figure 50 is the key diagram of cutting apart, send processing of the capable unit in the communication system of the present invention.
Figure 51 is the key diagram of cutting apart, send processing of the file unit in the communication system of the present invention.
Figure 52 is the block diagram of the structure of the client device in the communication system of representing in the past.
Figure 53 represents the flow chart of the action of the OBEX client in the past the communication system.
Figure 54 is the block diagram of the structure of the client device in the communication system of expression the 11 execution mode of the present invention and the 12 execution mode.
Figure 55 represents the flow chart of the action of the OBEX layer in the client device in the communication system of above-mentioned the 11 execution mode.
Figure 56 represents the flow chart of other action of the OBEX layer in the client device in the communication system of the 11 execution mode of the present invention.
Figure 57 represents the flow chart of the action of the OBEX layer in the client device in the communication system of the 12 execution mode of the present invention.
Figure 58 is the block diagram of the structure of the server apparatus in the communication system of representing in the past.
Figure 59 is the flow chart of the action of the OBEX server in the communication system of representing in the past.
Figure 60 is the block diagram of other structure of the server apparatus in the communication system of expression the 13 execution mode of the present invention and the 14 execution mode
Figure 61 represents the flow chart of the action of the OBEX layer in the server apparatus in the communication system of above-mentioned the 13 execution mode.
Figure 62 represents the flow chart of other action of the OBEX layer in the server apparatus in the communication system of above-mentioned the 13 execution mode.
Figure 63 represents the flow chart of the action of the OBEX layer in the server apparatus in the communication system of the 14 execution mode of the present invention.
Figure 64 is the key diagram of communication system of using the 15 execution mode of communication system of the present invention.
Figure 65 is the key diagram of communication system of using the 16 execution mode of communication system of the present invention.
Figure 66 is the key diagram of communication system of using the 17 execution mode of communication system of the present invention.
Figure 67 is the key diagram of communication system of using the 18 execution mode of communication system of the present invention.
Figure 68 is the schematic diagram of the corresponding relation of the layer of expression OSI7 layer model, IrDA and layer of the present invention.
Figure 69 (a) is the sequential chart that the connection of embodiments of the present invention is established, and Figure 69 (b) is the sequential chart that the connection of embodiments of the present invention is established, and Figure 69 (c) is the packet format that is used for the connection establishment of embodiments of the present invention.
Figure 70 (a) is the figure of the data interchange time sequence of expression embodiments of the present invention, and Figure 70 (b) is the figure of the data interchange time sequence of expression embodiments of the present invention.
Figure 71 (a) is the figure of the employed packet format of exchanges data of expression IrDA, and Figure 71 (b) is the figure of the employed packet format of expression exchanges data of the present invention.
Figure 72 (a) is the figure of the data interchange time sequence of expression embodiments of the present invention, and Figure 72 (b) is the figure of the data interchange time sequence of expression embodiments of the present invention.
Figure 73 (a) is the figure of the cut-out sequential of expression embodiments of the present invention, and Figure 73 (b) is the figure of the cut-out sequential of expression embodiments of the present invention, and Figure 73 (c) is the packet format of the cut-out sequential of expression embodiments of the present invention.
The function (order, message) between each layer when Figure 74 is the connection sequential of expression embodiments of the present invention and the mobile sequential chart of bag.
Figure 74 when Figure 75 (a) is the connection sequential of expression embodiments of the present invention and the key diagram of the data variation in the function between each layer of the arrow to the right among Figure 76, Figure 75 (b) are the figure of the data variation in the function between each layer of expression embodiments of the present invention.
The function (order, message) between each layer when Figure 76 is the connection sequential of expression embodiments of the present invention and the mobile sequential chart of bag.
The function (order, message) between each layer when Figure 77 is the exchanges data of expression embodiments of the present invention and the mobile sequential chart of bag.
Figure 77 when Figure 78 is the exchanges data of expression embodiments of the present invention and the figure of the variation of the data in the function between each layer among Figure 79.
The function (order, message) between each layer when Figure 79 is the exchanges data of expression embodiments of the present invention and the mobile sequential chart of bag.
The function (order, message) between each layer when Figure 80 is the cut-out sequential of expression embodiments of the present invention and the mobile sequential chart of bag.
Figure 80 when Figure 81 (a) is the cut-out sequential of expression embodiments of the present invention and the key diagram of the data variation in the function between each layer of the arrow to the right among Figure 82, Figure 81 (b) are the key diagrams of the data variation in the function between each layer of expression embodiments of the present invention.
The function (order, message) between each layer when Figure 82 is the cut-out sequential of expression embodiments of the present invention and the mobile sequential chart of bag.
Figure 83 is the data of connection request function in the main website of expression embodiments of the present invention and the schematic diagram of the handing-over that is connected parameter.
Figure 84 is the schematic diagram of handing-over of the connection parameter of the connection request function in the secondary of expression embodiments of the present invention.
Figure 85 is that the data that are connected notification function in function and the secondary and the schematic diagram of the handing-over that is connected parameter are confirmed in the connection in the main website of expression embodiments of the present invention.
Figure 86 is the schematic diagram of handing-over of the data of the connection response function in the secondary of expression embodiments of the present invention.
Figure 87 is the schematic diagram of the handing-over of the connection parameter of confirming function of the connection in the main website of expression embodiments of the present invention.
Figure 88 is the data of the connection request function in the main website under the total situation that connects parameter between layer in the modified embodiment of the present embodiment and the schematic diagram of the handing-over that is connected parameter.
Figure 89 is the data of the connection notification function in the secondary under the total situation that connects parameter between layer in the modified embodiment of the present embodiment and the schematic diagram of the handing-over that is connected parameter.
Figure 90 is that each layer in the modified embodiment of the present embodiment will connect the data of the connection request function in the main website under the situation that parameter is sent to low layer and the schematic diagram of the handing-over that is connected parameter respectively.
[label declaration]
1 main website
11CPU
12 memories
13 controllers
14 transmitters
15 receivers
131 control units
132 transmit frame generation units
133 received frame resolution unit
1321 data sensing elements
1322 number of frames extra cells
The mark extra cell is transferred in 1323 transmission routes
1324 frame construction units
1325 error detections or error correcting code extra cell
1331 send the request identifying unit again
1332 number of frames extraction units
2 secondarys
21CPU
22 memories
23 controllers
24 receivers
25 transmitters
231 control units
232 frame processing units
233 error detections or error correction circuit
234 error frame sequence number holding units
235 response frame generation units
236 error detections or error correcting code extra cell
6 main websites or secondary
61CPU
62 controllers
63 transmitters
64 receivers
621 control units
622 transmit frame generation units
623 received frame resolution unit
6221 connect establishment frame generation unit
6222 can send the frame number extra cell again
6231 frame resolution unit
6232 can send the frame number detecting unit again
12 stations (main website or secondary)
121 application layer process unit
122OBEX layer processing unit
123SMP layer processing unit
124IrLMP layer processing unit
125IrLAP layer processing unit
126 transmitters
127 receivers
1231 control units
1232 transmit frame generation units
1233 received frame generation units
12321 response frame request marks extra cells
12322 number of frames extra cells
The mark extra cell is transferred in 12323 transmission routes
12324 send the request marks extra cell again
12325 frame construction units
12331 response frame request marks identifying units
12332 number of frames resolution unit
The mark identifying unit is transferred in 12333 transmission routes
12334 send the request identifying unit again
12335 high level data extraction units
2001 transmitters (main website, client device)
2002 control units (control assembly)
2003 memories (memory unit)
The 2004 blanket final mark generative circuits (the final mark of blanket transmission generates parts) that send
2005 sequence number generative circuits (sequence number generation parts)
2006 transmit frame generative circuits (transmit frame generation parts)
2007 transmitting elements (transmit block)
2008 receiving elements (receiving-member)
2009 received frame parser circuitry (received frame resolution component)
2010 zero defect mark parser circuitry (zero defect mark resolution component)
2011 error detecting circuits (error detection occurs parts)
2012 sequence number parser circuitry (sequence number resolution component)
2101 receivers (secondary, server apparatus)
2102 control units (control assembly)
2103 memories (memory unit)
2104 zero defect mark generative circuits (the zero defect mark generates parts)
2105 sequence number generative circuits (sequence number generation parts)
2106 transmit frame generative circuits (transmit frame generation parts)
2107 transmitting elements (transmit block)
2108 receiving elements (receiving-member)
2109 received frame parser circuitry (received frame resolution component)
The 2110 blanket final mark parser circuitry (the final mark resolution component of blanket transmission) that send
2111 error detecting circuits (error detection occurs parts)
2112 sequence number parser circuitry (sequence number resolution component)
2201 transmitters (main website, client device)
2213 timers (timing piece)
2301 transmitters (main website, client device)
2313 remote station buffer sizes parser circuitry (remote station buffer sizes resolution component)
2401 receivers (secondary, server apparatus)
2413 buffer sizes generative circuits (buffer sizes generation parts)
2501 transmitters (main website, client device)
The final mark generative circuit of 2513 data (the final mark of data generates parts)
2601 receivers (secondary, server apparatus)
The final mark parser circuitry of 2613 data (the final mark resolution component of data)
2701 transmitters (main website, client device)
2702 control units (control assembly)
2703 memories (memory unit)
2705 sequence number generative circuits (sequence number generation parts)
2706 transmit frame generative circuits (frame takes place generate parts)
2707 transmitting elements (transmit block)
The final mark generative circuit of 2713 data (the final mark of data generates parts)
2801 receivers (secondary, server apparatus)
2802 control units (parts)
2803 memories (parts)
2808 receiving elements (receiving-member)
2809 received frame parser circuitry (received frame resolution component)
2811 error detecting circuits (error detection occurs parts)
2812 sequence number parser circuitry (sequence number resolution component)
The final mark parser circuitry of 2813 data (the final mark resolution component of data)
3300 client devices (communicator, main website)
3310 application layer process unit
3320OBEX layer processing unit (object exchange layer processing unit)
3321 control units
3322 request notification units
3323 response receiving elements
3324 communication direction selected cells
3330 low layer processing units
3340 transmitting elements
3350 receiving elements
3500 server apparatus (communicator, secondary)
3510 application layer process unit
3520OBEX layer processing unit (object exchange layer processing unit)
3521 control units
3522 response notification units
3523 request analysis unit
3530 low layer processing units
3540 transmitting elements
3550 receiving elements
Embodiment
At first, illustrate that with reference to Figure 21 to Figure 30 the summary of communication system of the present invention is as follows.
[summary]
(communication layers)
In each execution mode described later, describe the structure and the action of the transmitter and the receiver of communication system of the present invention in detail based on the OSI7 layer model.Here, the OSI7 layer model is the model that is known as what is called " OSI basic reference model " " osi layer model ".
In the OSI7 layer model, in order to realize the data communication between the different machines, the communication function that computer should have is split into 7 layers, has defined the functional module of standard in each layer.
Specifically, the 1st layer (physical layer) served as and is used for data are sent to electrical conversion and machine work on the communication line.The 2nd layer (data link layer) guaranteed the communication path of physics and communicated error detection of the data that flow through in the path etc.The 3rd layer (network layer) communicates the selection in path and the management of the address in the communication path.The 4th layer (transport layer) carried out data compression and error correction, sent control etc. again.The 5th layer (session layer) communicates the establishment and the opening in the virtual path (connection) that the transmission that is used to carry out data between the program receives.The 6th layer (presentation layer) will be the easy form of understanding of user from the 5th layer of data conversion that obtains, and will be the form that is suitable for communicating by letter from the 7th layer of data conversion that sends.The 7th layer (application layer) will utilize the various services of data communication to offer people and other program.
Each communication layers of the communication system of each execution mode also has the corresponding equal function of layer with above-mentioned OSI7 layer model.But in each execution mode, above-mentioned communication system adopts 6 layers structure with session layer and presentation layer unification.In addition, omit explanation for application layer.
The present invention can be widely used in transmitter and establish in the communication system that is connected and communicates of a plurality of communication layers with receiver.That is, cutting apart of communication function also can be not according to the OSI7 layer model.In addition, if the communication layers that connects is a plurality of, then the number of communication layers can be selected arbitrarily.
In addition, the present invention gives sequence number to frame, and can carry out with the frame each blanket transmission data is the transmission again of unit, therefore in the few communication of mistake, the communication efficiency height, otherwise and under the situation that mistake has taken place, also can guarantee the reliability of communicating by letter by sending again.Thereby the present invention is particularly suitable for sending at short notice the communication of lot of data, for example based in the ultrared radio communication.But, the present invention other radio communication and wire communication in also effective.
In each execution mode,, describe based on the IrSimple of an application examples of the present invention for the convenience that illustrates.But the present invention is not limited to IrSimple.In addition, IrSimple is the product that the part of functions of in the past IrDA has been carried out improvement.
In each execution mode, according to IrSimple data link layer, network layer, transport layer, session layer+presentation layer are expressed as LAP, LMP, SMP, OBEX respectively sometimes.In addition, under with the situation of communication layers difference, to transmitter additional " P ", to receiver additional " S " for transmitter, receiver.For example, the data link layer of " LAP (P) " expression transmitter.
(comparison of IrDA and Simple)
Below, the IrSimple of the IrDA of conventional art more of the present invention and an example application of the present invention.
1.IrDA in the flow process of data forwarding
Figure 21 represents the flow process of the data forwarding among the IrDA in the past.In addition, in the following description,, there are IrLAP, IrLMP, TinyTP (TTP among the figure), OBEX as the IrDA protocol stack.
(1) the IrLAP layer is in data forwarding, thus exist by send again when the mistake for high level guarantee data reliability pattern and do not send again during in mistake and high level do not guaranteed the pattern of the reliability of data.In this explanation, suppose to guarantee the data forwarding under the pattern of described reliability.In addition, in order to guarantee reliability, in IrLAP, use I (Information, information) frame to carry out data forwarding.
The frame format of the I frame among Figure 22 (a) among the expression IrLAP.
For the omission that in the equipment of received frame, can detect frame to I frame distributing serial numbers.This sequence number is assigned to the Ns field zone of Figure 22 (a).
In IrLAP, using the I frame to carry out under the situation of data forwarding, the frame number (window size) that can once send is provided with restriction, the window size is 7 to the maximum.This window size is notified the frame number (window size) that main website and secondary divide another edition of a book equipment once to receive to remote station when connecting.And, can not send frame continuously above the window size of remote station.In this manual, the window size of main website is 1, and the window size of secondary is 2.
In addition, whether the equipment that receives frame to receive success and has the Nr field in order to notify.Under all normal situation of the frame that receives continuously, in the Nr field, set the sequence number that then will send, and send.For example, receive Ns continuously and be 1,2 frame, under situation about all normally receiving, in the Nr field, set 3 and send.
On the other hand, exist in received frame under the situation of mistake, the sequence number of the frame that will send again is set in back transmission in the Nr field.For example, receive Ns continuously and be 1,2 frame, in differentiating 2 frame, exist under the situation of mistake, in the Nr field, set 2 and send.
The equipment that receives frame is after continuous transmit frame, monitor the Nr field of received frame, under the situation of the value of the value big 1 of the Ns of the frame of last transmission, identification frame last time sends continuously and all normally finishes in the Nr field is the frame that only sent than this equipment, and begins frame transmission then.In addition, under the situation of the value of the several sequence numbers in the frame that the Nr of received frame field sends for this equipment, send again from this sequence number.At this moment, the Ns field is also distributed again from the value of Nr field.
By above-mentioned steps, can use the I frame in the IrLAP layer to send again.Using under the situation about sending again of IrLAP, the window size is 7 to the maximum on the specification of IrLAP, therefore can not send the frame more than 8 continuously.
(2) the IrLMP layer is the layer that high level is provided the logic channel (LSAP:Link ServiceAccess Point, chaining service access point) of each application.
Figure 23 represents the frame format of IrLMP.
In the IrLMP layer of the end of transmit frame, will be from when the data configuration of high-rise (TinyTP layer) be in the IrLMP frame, logic channel (the DLSAP:Destination LinkService Access Point of destination will be sent, destination chaining service access point) and the logic channel (SLSAP:Source Service Access Point, linking sources Service Access Point) that sends the source dispose as the IrLMP head.
On the other hand, in the IrLMP layer of the end of received frame,, be the data of which higher layer applications thereby differentiate by monitoring DLSAP field from the received frame of low layer, the higher layer applications of correspondence is transmitted receive intraframe data.
(3) the TinyTP layer be carry out the cutting apart of high level (OBEX layer) data/in conjunction with and the layer of current control.
The frame format of expression TinyTP layer among Figure 24.
If the TinyTP layer has been transmitted the transmission data from high level, then in the scope of the maximum frame size that is no more than low layer (LAP layer), will send that data are cut apart and low layer (LMP layer) is transmitted data.In addition, in receiving terminal, will and send high level (OBEX layer) to from the combination of the data in the received frame of low layer (IrLMP layer).In addition, overflow, with the form notice remote station of the receivable frame number of our station with so-called credit (credit) in order to prevent reception buffer.Then, can not send frame continuously above the credit of remote station.
(4) the OBEX layer is the agreement that object exchange is used.
Figure 25 represents the frame format of OBEX layer.
Figure 25 (a) is the form of the Put order of OBEX layer.The OBEX layer uses the Put order to send under the situation of the transmission of carrying out file.In addition, information such as the filename of the file that send, file size are also in the lump by additional.
In addition, Figure 25 (b) and Figure 25 (c) are the frame formats of CONTINUE response and SUCCESS response.At the end of the reception of carrying out file, need receive each Put order and send it back response.Under the situation that receives non-final Put order, send it back the CONTINUE response, and under the situation of receiving final Put order, send it back the SUCCESS response.
The step of data forwarding of the Put order of the use OBEX among in the past the IrDA then, is described.
Send request if file has taken place in the OBEX of main website, then the OBEX layer of main website (following be OBEX (P)) is to transmitting the Put order as the transmission data as the TinyTP layer of the main website of low layer (following be TTP (P)).In this explanation, suppose that the Put order is made of dataP0, dataP1, dataP2, dataP3.
The TTP that receives orders (P) will be divided into the transmission data as the maximum data length of the LAP layer of low layer.In this manual, in TTP (P), suppose to be divided into dataP0, dataP1, dataP2, dataP3.In addition, because the received credit number of TTP (P) is 1, therefore credit is made as 1.Use described credit and partition data to generate, and send IrLMP layer (following LMP (P)) to as the main website of low layer as the TTP frame.
The LMP (P) that receives frame appends logical channel information (LSAP head) thereby generation LMP frame, and sends the IrLAP layer (following LAP (P)) as the main website of low layer to.
The LAP (P) that receives frame uses the I frame to carry out data forwarding.In this explanation, because the window size of secondary is 2, therefore continuous transmission Ns is 0,1 I frame.
On the other hand, in the IrLAP of secondary layer (following is LAP (S)), if receive described I frame continuously, detect the omission of frame while then monitor the Ns field, simultaneously the high level data in the I frame is sent to IrLMP layer (the following LMP (S) of being) as high-rise secondary.In addition, successfully notify, in this explanation, in this stage, do not send and the Nr field is made as 2 the successful notification frame of continuous reception though need carry out the continuous reception of I frame.
Receive the notification received LMP of described frame (S) after removing the LSAP head, high level data is sent to TinyTP layer as high-rise secondary (following be TTP (S)).
The TTP (S) that receives data is with the high level data combination in the received frame.In this explanation, the unit that will send the data of OBEX layer to is made as the size of data that is equivalent to dataP0, dataP1, dataP2, dataP3 combination, therefore with dataP0, dataP1 the moment, the OBEX layer is not carried out the notice of Data Receiving in conjunction with end.In addition, owing to finished the data processing (dataP0, dataP1 in conjunction with handle) of the received credit number 2 that is equivalent to TTP (S), therefore remote station is made as 2 with credit, this equipment can to receive two frames and low layer is transmitted the TinyTP frame in order to notify.
The LMP (S) that receives frame adds and sends to LAP (S) with LSAP information as the LMP head.
The LAP (S) that receives frame uses the I frame to carry out data forwarding.At this moment, the I frame that is used for that has kept the LAP that sends in above-mentioned receives the successfully Nr field of notice continuously, and value 2 backs of setting the Ns field that then will send send.In addition, set the sequence number of the transmit frame of secondary in the Ns field in the lump.
Receive data LAP (P) thus by monitoring that the Nr field discerns the whether normal termination of continuous transmission of previous I frame.Under the situation of this explanation,, therefore be identified as the Ns field that once sends before secondary can normally receive and be the situation of 0 and 1 I frame because the Nr field is 2.In addition, owing to receive the high level data of packing in the I frame, therefore LMP (P) is transmitted high level data.
The LMP (P) that receives data sends high level data to TTP (P) after removing the LSAP head.
Because the credit of the remote station in the received frame is 2, therefore the TTP (S) that the TTP (P) that receives data is identified as remote station can receive two frames, to remaining partition data dataP2, dataP3 in the transmission data from high level respectively additional main website credit information and send LMP (P) to.
Receive the additional LSAP head of LMP (P) of data and send LAP (P) to.
The LAP (P) that receives data uses two I frames to send respectively from two high-rise transmission data.At this moment, in order to notify the reception of normally having carried out from the I frame of described secondary, in the Nr field, set the value of the Ns field of secondary then, in the Ns field, set simultaneously the value of the Ns field of the last I frame that sends of main website is last time added value after 1.
The LAP (S) that receives data is by monitoring the Nr field, normally receives the I frame that secondary has last time sent thereby be identified as main website, will receive the interior high level data of I frame simultaneously and send LMP (S) to.
The LMP (S) that receives data removes the LSAP head and sends TTP (S) to.
The TTP (S) that receives data is with the high level data combination in the received frame.In the high level data (dataP0, dataP1) of described combination in conjunction with this dataP2 that receives, dataP3.At this constantly, owing to reach the size of data that will transmit, therefore the OBEX layer (following is OBEX (S)) as high-rise secondary is transmitted high level data to the OBEX layer of high level.In addition, at this constantly, receive the processing of data owing to finished, so send low layer to after also credit can being made as 2, in the present invention, keep this transmission and handle.
Receive the data of OBEX (S) parsing of data,, then generate response frame, and send TTP (S) to for the OBEX to main website sends it back response if be confirmed to be the Put order from low layer.Under the situation of this explanation, because therefore the final Put order of the order right and wrong that receive generates the CONTINUE order.
The TTP (S) that receives frame with described credit and from the data of high level in conjunction with and generate the TinyTP frame, and be sent to LMP (S).
Receive the additional LSAP head of LMP (S) of frame and be sent to LAP (S).
The LAP (S) that receives frame uses the I frame to carry out data forwarding.In addition, at this moment, the I frame of setting in the Nr field last time receives successful information, and sets sequence number in the Ns field.
The LAP (P) that receives data is by monitoring the Nr field, thereby the identification secondary normally receives two I frames that last time sent, and will receive the interior high level data of I frame simultaneously and send LMP (P) to.
The LMP (P) that receives data removes the LSAP head and sends high level data to TTP (P).
The TTP (P) that receives data sends the data in the received frame to OBEX (P).
The OBEX (P) that receives data resolves received frame.In this explanation, owing to receive the CONTINUE response, therefore identification normally is forwarded to the situation of secondary based on the data forwarding (dataP0 is to dataP3) of last time Put order.
By more than, finish the communication under the situation of non-final Put order.
Under the situation of the communication that final Put orders, only be that the response that will send it back from described OBEX (S) becomes the SUCCESS response, other communication process is substantially the same.
As mentioned above, in the condition of this explanation, the frame number that flows through communication path is 12.
2.IrSimple two-way communication in the flow process of data forwarding
Figure 26 represents the flow process as the data forwarding in the two-way communication of the IrSimple of example application of the present invention.In addition, in the following description, suppose that main website and secondary support IrLAP layer, IrLMP layer, IrSMP layer (Infrared Sequence Management Protocol, infrared ray timing management agreement), OBEX layer respectively.
(1) in the IrLAP layer, use the UI frame to carry out data forwarding.As previously mentioned, if use the UI frame,, therefore under the situation of using the I frame, but can send the frame of the frame number more than 7 that sends than one-time continuous continuously then owing to there is not the restriction of window size.Thus, can expect that accumulation in the time (Min Turn Around Time) of having to wait for behind the received frame, till beginning to send causes the reduction of data forwarding efficient.
The frame format of the UI frame of Figure 22 (b) expression LAP layer.
Shown in Figure 22 (b), there are not the Nr, the Ns field that exist in the I frame (Figure 22 (a)) in the UI frame.This expression is to the frame distributing serial numbers, and expression fails to carry out the detection that other frame of LAP level is omitted, and fails to carry out to ask the setting of the sequence number of the frame that sends again.That is, under the situation of the forwarding of use UI frame, do not guarantee the reliability of other high level data of LAP level.
(2) the IrLMP layer is the layer that the logic channel (LSAP:Link Service AccessPoint) of each application is offered high level.
As shown in figure 23, in the IrLMP layer of the end of transmit frame, to dispose as the IrLMP head sending the logic channel (DLSAP:Destination Link Service Access Point) of destination and the logic channel (SLSAP:SourceService Access Point) in transmission source from when the data configuration of high-rise (TinyTP layer) is in the IrLMP frame.
On the other hand, in the IrLMP layer of the end of received frame,, be the data of which higher layer applications thereby differentiate by monitoring DLSAP field from the received frame of low layer, the higher layer applications of correspondence is transmitted receive intraframe data.
(3) the IrSMP layer is cut apart the data of high level/combination.In addition, as previously mentioned, in the IrLAP layer, use the UI frame to carry out data forwarding, and do not carry out the control of transmission again in the IrLAP layer, therefore send control again by this IrSMP layer.
Specifically, in the IrSMP of main website layer (following is SMP (P)), below the maximum data of the UI frame that high level data is divided into low layer is long after, send LMP (P) to after being configured in partition data in a plurality of frames.At this moment, appended sequence number, blanket end mark, the end-of-data marker of sending are as the SMP head.
The frame format of the SMP frame under the situation of the two-way communication of Figure 27 (a) expression IrSimple.
The every frame of sequence number (Sequence Number) increases by one.In communication, taken place under the situation of mistake, the transmission request serial number again of sending from secondary has been redistributed sequence number, and sent the SMP frame once more.
The blanket reception buffer size of end mark (the BL:Block Last among the figure) that send when connecting, to notify from secondary, in the scope of the size of the reception buffer that is no more than secondary, when sending the SMP frame continuously, when final frame sends, be set at the blanket value (BL=1 among the figure) that finishes that sends of expression.The sequence number of secondary station monitors received frame also detects the omission of frame.After secondary receives the frame of BL=1, omit frame or mistake if detect in the frame that receives so far, the mark (RS:Receive Status) that then will represent zero defect sends low layer to after being made as the meaning (RS=1 among the figure) of zero defect.In addition, under the situation that mistake has taken place, sequence number set want the sequence number that sends again.
End-of-data marker (DL:Data Last) is whether the final data of the high-rise data of expression is included in the mark in the frame.Under situation about having comprised, be set at the value (DL=1 among the figure) of this situation of expression.In addition, the IrSMP layer of secondary (following is SMP (S)) is with the high level data combination that receives, data are combined to be reached and size as the data of being scheduled between the OBEX layer of the high level of secondary (following be OBEX (S)) if receive, and then binding data is sent to high level.
(4) the OBEX layer is the agreement that object exchange is used.Under the situation of the transmission of carrying out file, use the Put order to send.With above-mentioned same, transmit by Put order carrying out file.
In addition, at an end of the reception of carrying out file, in mode of the present invention, OBEX (S) only sends it back the SUCCESS response to final Put order when receiving the Put order, when the non-final Put of reception orders, do not send it back the CONTINUE response.In addition, in the OBEX of main website layer (following is OBEX (P)), when the non-final Put of transmission orders, do not wait for the transmission of carrying out Put order then from the CONTINUE of secondary response, and only wait for when sending final Put order that the SUCCESS from secondary responds, and the data whether the differentiation secondary normally receives based on the Put order send.As mentioned above, by omitting the exchange of CONTINUE response, thereby can expect to cut down the frame number in the LAP layer.
The data forwarding flow process of the two-way communication of mode of the present invention then, is described.
Send request if file takes place the OBEX of main website, then OBEX (P) transmits the Put order as sending data to TTP (P).In this explanation, suppose that non-final Put order is made of dataP0, dataP1, dataP2, dataP3, final in addition Put order is made of dataP4, dataP5, dataP6, dataP7.OBEX (P) sends the Put order to SMP (P) continuously owing to do not wait for that reception for the CONTINUE response that non-final Put orders, therefore has under the idle situation in the transmission buffer of SMP (P).
The SMP that receives orders (P) is cut apart the transmission data below long as the maximum data of the LAP layer of low layer.In this explanation, in SMP (P), be divided into dataP0, dataP1, dataP2, dataP3.In addition, in SMP (P),, set Seq, BL in order to send control again.In this explanation, suppose size that SMP (P) identifies when connecting the reception buffer that obtains from the SMP (S) of secondary be dataP0 to dataP5's and, send frame continuously up to dataP5, when the frame of dataP5 sends, BL is made as 1.In this explanation, the size of reception buffer is with respect to 6 frames, but also can be than this big value, for example is equivalent to 128 frames (is 256KB thereby the maximum data length of LAP layer is made as 2KB).In addition, only when sending, the frame of dataP7 is made as BL=1 (DL=1).By SMP (P), the SMP frame that has added SMP head (DL, BL, SEQ) is sent to LMP (P).
In receiving the LMP of frame (P), send LAP (P) to after the additional LSAP head
In receiving the LAP of frame (P), carry out data forwarding by the UI frame.
In receiving the LAP of frame (S), the high level data in the UI frame is sent to LMP (S).
In receiving the LMP of data (S), send high level data to SMP (S) after removing the LSAP head.
In receiving the SMP of data (S), by the supervision sequence number, thereby the omission of detection SMP frame is carried out combination about the high level data that does not have frame to omit simultaneously.In this explanation and since with OBEX (S) between the unit of size of data of predetermined high level be the size of the data after will from dataP0 to dataP3, combine, therefore at dataP3 in conjunction with the moment that finishes, to high level transmission binding data.In the moment of the frame that receives DL=0, BL=1, in received frame so far, do not detect thus and omit frame or mistake, send low layer to after therefore zero defect mark RS being made as 1.
In the OBEX (S) that receives from the reception data of described SMP (S), receive the parsing of data.In this explanation, because therefore the final Put order of right and wrong does not send it back main website with the CONTINUE response.
In addition, send LAP (S) to after receiving the additional LSAP head of LMP (S) of SMP frame of described RS=1.
The LAP (S) that receives data carries out data forwarding by the UI frame.
The LAP (P) that receives data is sent to LMP (P) with the high level data in the UI frame.
The LMP (P) that receives data removes the LSAP head and sends high level data to SMP (P).
Because the RS field in the received frame is 1, therefore receives SMP (P) identification normally the having carried out blanket transmission last time of data, and send remaining partition data dataP6, dataP7 in the high-rise partition data.In addition, when sending dataP7, be made as BL=1, be made as DL=1 simultaneously, thereby notify the final frame of this frame for high-rise data.
Send LAP (P) to after receiving the additional LSAP head of LMP (P) of frame.
The LAP (P) that receives frame carries out data forwarding by the UI frame.
The LAP (S) that receives data is sent to LMP (S) with the high level data in the UI frame.
The LMP (S) that receives data removes the LSAP head and sends high level data to SMP (S).
The SMP (S) that receives data is by monitoring the sequence number in the received frame, thereby detects the omission of frame, simultaneously for the frame that is free from mistakes, with the high level data combination in the frame, and sends binding data to high level.In addition, in this explanation since the BL that comprises the frame of dataP7 when being 1 DL be 1, therefore do not send the frame (frame that comprises RS) of the reception result that is used for notifying the SMP layer in this moment.
The OBEX (S) that receives frame receives in the data resolving, and is identified as simultaneously to receive under the situation that data are final Put order, orders under the normal situation in reception so far, generates the SUCCESS response and also sends SMP (S) to.
The SMP (S) that receives response is made as 1 with the reception result (RS) in the described SMP layer, and sends LMP (S) in the lump to high level data.
Receive the additional LSAP head of LMP (S) of data and send LAP (S) to.
The LAP (S) that receives data carries out data forwarding by the UI frame.
The LAP (P) that receives data sends the high level data in the UI frame to LMP (P).
The LMP (P) that receives data removes the LSAP head and sends high level data to SMP (P).
Because the RS field in the received frame is 1, receives that therefore blanket transmission has last time normally been carried out in SMP (P) identification of data, and send high level data to OBEX (P).
OBEX (P) parsing of receiving data receives data, is the SUCCESS response if identify the reception data, then is identified as the whole normal terminations of data forwarding that non-final Put orders and final Put orders of passing through so far.
By above-mentioned,, by in the SMP layer, sending control again, thereby can guarantee the communication of reliability even in the IrLAP layer, use under the situation of UI frame.In addition,, use the restriction of the window size in the absence of I frame, can be suitable for the communication of the reception buffer size of secondary most by using the UI frame.
As mentioned above, in the condition of this explanation, the frame number that flows through communication path is 10, about IrDA in the past, compares with the communication of using described I frame, can communicate with few frame number.
In addition, in this explanation, the frame number of the summed up transmission in the SMP layer is illustrated as 6, as long as but the size of the reception buffer of the transmission buffer of the main website that this value is used for sending again and secondary allows, set several can, can realize the communication of the maximum capacity that communication system has.And in the communication of using the I frame, even main website, secondary possess a large amount of buffers respectively, because the restriction (7 among the LAP) of window size also is difficult to reach the raising of communication efficiency.
3.IrSimple one-way communication in the flow process of data forwarding
Figure 28 represents the flow process as the data forwarding in the one-way communication of the IrSimple of example application of the present invention.In addition, in the following description, suppose that main website and secondary support IrLAP layer, IrLMP layer, IrSMP layer (Infrared Sequence Management Protocol), OBEX layer respectively.
(1) in the IrLAP layer, use UI frame (Figure 22 (b)) to carry out data forwarding.As previously mentioned, if use the UI frame,, therefore under the situation of using the I frame, but can send the frame of the frame number more than 7 that sends than one-time continuous continuously then owing to there is not the restriction of window size.Thus, can expect that accumulation in the time (Min Turn Around Time) of having to wait for behind the received frame, till beginning to send causes the reduction of data forwarding efficient.
Shown in Figure 22 (b), there are not the Nr, the Ns field that exist in the I frame in the UI frame.This expression is to the frame distributing serial numbers, and expression fails to carry out the detection that other frame of LAP level is omitted, and fails to carry out to ask the setting of the sequence number of the frame that sends again.That is, under the situation of the forwarding of use UI frame, do not guarantee the reliability of other high level data of LAP level.
(2) the IrLMP layer is the layer that the logic channel (LSAP:Link Service AccessPoint) of each application is offered high level.
In the IrLMP layer of the end of transmit frame, to dispose as the IrLMP head sending the logic channel (DLSAP:Destination LinkService Access Point) of destination and the logic channel (SLSAP:Source Service AccessPoint) in transmission source from when the data configuration of high-rise (TinyTP layer) is in the IrLMP frame.
On the other hand, in the IrLMP layer of the end of received frame,, be the data of which higher layer applications thereby differentiate by monitoring DLSAP field from the received frame of low layer, the higher layer applications of correspondence is transmitted receive intraframe data.
(3) the IrSMP layer is cut apart the data of high level/combination.In addition, as previously mentioned, in the IrLAP layer, use the UI frame to carry out data forwarding, and in the IrLAP layer not to the frame distributing serial numbers, therefore at this IrSMP layer to the frame distributing serial numbers.
Specifically, in the IrSMP of main website layer (following is SMP (p)), below the maximum data of the UI frame that high level data is divided into low layer is long after, send LMP (P) to after being configured in partition data in a plurality of frames.At this moment, appended sequence number, end-of-data marker are as the SMP head.
The frame format of the SMP frame under the situation of the one-way communication of Figure 27 (b) expression IrSimple.
The every frame of sequence number (Sequence Number) increases by one.The sequence number of secondary station monitors received frame also detects the omission of frame.Omit or mistake if detect frame,, notify this situation OBEX (S) then in the detected moment.
End-of-data marker (DL:Data Last) is whether the final data of the high-rise data of expression is included in the mark in the frame.Under situation about having comprised, be set at the value (DL=1 among the figure) of this situation of expression.In addition, the IrSMP layer of secondary (following is SMP (S)) is with the high level data combination that receives, data are combined to be reached and size as the data of being scheduled between the OBEX layer of the high level of secondary (following be OBEX (S)) if receive, and then binding data is sent to high level.
(4) the OBEX layer is the agreement that object exchange is used.Under the situation of the transmission of carrying out file, use the Put order to send.With above-mentioned same, transmit by Put order carrying out file.
In addition, at an end of the reception of carrying out file, in mode of the present invention, OBEX (S) does not send it back the response (CONTINUE response and SUCCESS response) for the Put order when receiving the Put order.
In addition, in the OBEX of main website layer (following is OBEX (P)), need be when sending the Put order from the response of secondary.
What then, mode of the present invention is described carries out the flow process of data forwarding with one-way communication.
Send request if file takes place in the OBEX of main website, then OBEX (P) sends the Put order to TTP (P) as sending data.In this explanation, suppose that non-final Put order is made of dataP0, dataP1, dataP2, dataP3, final in addition Put order is made of dataP4, dataP5, dataP6, dataP7.OBEX (P) therefore has in the transmission buffer of SMP (P) under the idle situation owing to do not wait for the response reception of ordering for Put, sends the Put order to SMP (P) continuously.OBEX (P) finishes the data forwarding by the Put order in the moment that final Put order is sent to SMP (P).
The SMP that receives orders (P) is cut apart the transmission data below long as the maximum data of the LAP layer of low layer.In this explanation, in SMP (P), be divided into dataP0, dataP1, dataP2, dataP3.In addition, in SMP (P), omit detection, and set sequence number (Seq) for the frame that carries out in the secondary.In addition, when the final data of high level sends, DL is made as 1 back sends.The SMP frame that has been added SMP head (DL, SEQ) is transmitted to LMP (P) by SMP (P).
In receiving the LMP of frame (P), send LAP (P) to after the additional LSAP head.
In receiving the LAP of frame (P), carry out data forwarding by the UI frame.
In receiving the LAP of frame (S), the high level data in the UI frame is sent to LMP (S).
In receiving the LMP of data (S), send high level data to SMP (S) after removing the LSAP head.
In receiving the SMP of data (S), by the supervision sequence number, thereby the omission of detection SMP frame is carried out combination about the high level data that does not have frame to omit simultaneously.In this explanation and since with OBEX (S) between the unit of size of data of predetermined high level be the size of the data after will from dataP0 to dataP3, combine, therefore at dataP3 in conjunction with the moment that finishes, to high level transmission binding data.In addition,, be identified as the transmission data of the OBEX that all receives main website, and will from dataP4 to dataP7, give high-rise as receiving data notification in the moment of the frame that receives DL=1.
In receiving the OBEX of data (S), receive the parsing of data.In this explanation, because therefore main website need not send it back main website with CONTINUE response and SUCCESS response for the response of Put order.In the moment that receives final Put order, the data forwarding based on the Put order among the OBEX is finished.
As mentioned above, in the one-way communication in communication mode of the present invention, can not send control again, but in the OBEX layer, if in advance between main website and secondary decision do not need response to the Put order, then can communicate no problemly.In addition, in the IrSMP layer,, thereby using under the situation that does not have the UI of sequence number frame, also can detect the omission of frame, and can suitably receive notice of mistake etc. the user by appended sequence number.
(processing of the receiver when end-of-data marker receives)
The processing of the receiver when end-of-data marker receives is described.
Figure 29 is that expression exists OBEX as high level, and carries out the sequential chart of data forwarding by the Put order of OBEX.
In Figure 29, transmitter is summed up transmission from data0 to data3 by the final Put Final order that expression has comprised the OBEX data.Then, when the final data that comprises Put Final order in transmission is the frame of data3, will sums up and send end mark and be made as 1, also end-of-data marker will be made as 1 simultaneously.
On the other hand, receiver is receiving blanketly when to send end mark and end-of-data marker be 1 frame, will receive data and send high level to, is free from mistakes owing in the reception data so far simultaneously, therefore the zero defect mark is made as the meaning of zero defect, sends it back then.After this, in receiver, low layer receives expression and receives successful SUCCESS response notice from the OBEX of high level, but is notifying the time of reception, because receiver does not have transmission route, has therefore kept transmission.
Then, transmitter receives the zero defect mark and represents the frame of zero defect, and is identified as receiver and can have finished communication zero defect, owing to must receive the SUCCESS response from remote station, therefore for once more to receiver transmission transmission route and transmit frame.In Figure 29, at this constantly, to therefore will not sum up the transmission end mark and be made as 1 from the data of transmitter transmission owing to do not exist, in user data area, do not dispose any data (data=NULL), and transmit frame.
Then, if receiver receives frame, then send the SUCCESS response that is keeping transmission.
Then, transmitter receives response, thereby the OBEX of high level is transmitted the data (SUCCESS response) that receive, thereby finishes high-rise other communication of OBEX level.
Here, under condition same as described above, it is an example of communicating by letter that sends that the frame that explanation will contain the zero defect mark is concentrated with the frame that contains SUCCESS.
Figure 30 is that will to comprise the frame of zero defect mark and the frame that comprises SUCCESS concentrated be the sequential chart of the example of communicating by letter of a transmission to the expression receiver.
As shown in figure 30, in receiver, receive blanket when to send end mark and end-of-data marker be 1 frame, low layer is after having transmitted the reception data to high level, delta frame does not send after immediately the zero defect mark being made as zero defect, low layer is waited for the SUCCESS response from high level, and described zero defect mark and SUCCESS response centralized configuration are also sent in a frame.
By like this, as shown in figure 29, receiver sent only contain the frame of zero defect mark after, transmitter needn't send the frame that is used for mobile transmission route.In addition, in receiver, after SUCCESS response transmission request had taken place high level, low layer can send the SUCCESS frame immediately, therefore can realize the efficient activity of communicating by letter.In addition, the frame that is used for mobile transmission route disappears, and needn't consider the processing of the mistake that taken place by the frame that is used for mobile transmission route etc., therefore handles and can oversimplify.
Then, illustrate that based on Fig. 1 to Fig. 8, Figure 31 to Figure 67 (wherein, Figure 52, Figure 53, Figure 58, Figure 59 are the key diagrams of conventional art) each execution mode in the communication system of the present invention is as follows.That is, the present invention represents certain information with such specified volumes such as view data or text datas as one, and can be applied to have as in the communication system that sends the main website that receives the forwarding data that will transmit and secondary.Here, the predetermined data capacity can change according to transmitting data.
In each following execution mode, be example explanation the present invention with the pass-through mode of the forwarding data being transmitted by infrared ray that meets IrDA (transmission means).
[first execution mode]
Illustrate that based on Fig. 1 and Fig. 2 the forwarding forwarding of data system (communication system) of first execution mode of the present invention is as follows.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
Fig. 1 is the block diagram of structure of the main website of expression present embodiment.As shown in Figure 1, main website (dispensing device) 1 comprises CPU11, memory 12, controller 13, transmitter 14, receiver 15.
CPU11 is according to the indication that is transfused to the user of not shown operating unit, the calculation process of stipulating.As the calculation process of regulation, there is the forwarding of data of forwarding to handle.Transmit the forwarding of data indication if CPU11 receives from operating unit, the forwarding storage that then will transmit is transmitted request to controller 13 simultaneously in memory 12.In addition, if CPU11 slave controller 13 is received the transmission end notification that the transmission of expression forwarding data finishes, then finish to transmit and handle.
Memory 12 is used for the forwarding data that interim storage will be transmitted, and writes the forwarding data by CPU11.Controller 13 is according to the forwarding request from CPU11, and forwarding of data is transmitted in control, in addition, the analysis result of received frame is notified to CPU11.Controller 13 comprises control unit 131, transmit frame generation unit 132 and received frame resolution unit 133.
In addition, transmit frame generation unit 132 comprises data sensing element 1321, number of frames extra cell (sequence number optional feature) 1322, transmission route transfer mark extra cell (the mark member of imparting is transferred in transmission route) 1323, frame construction unit 1324 and error detection or error correcting code extra cell 1325.
In addition, received frame resolution unit 133 comprises transmission request identifying unit 1331 and number of frames extraction unit 1332 again.
If control unit 131 is received the request of forwarding from CPU11, then data sensing element 1321 is carried out the request of reading of data, simultaneously number of frames extra cell 1322 is carried out the notice of sequence number, the notice that mark extra cell 1323 carries out whether remote station being transferred transmission route is transferred in transmission route.At this moment, the interval that the data that control unit 131 is read by control data sensing element 1321 are grown or read, thereby control frame length or frame period.In addition, control unit 131 control frame lengths are so that it becomes below the maximum frame length of being obtained by the data capacity that can detect in error detection described later or error correcting code extra cell 1325.
In addition, control unit 131 detects the situation that the whole frames corresponding with the forwarding data of reading from memory 12 are sent out from transmitter 14, and the transmission end notification of situation that will represent to transmit the transmission end of data is sent to CPU11.
Frame construction unit 1324 is based on the data that obtain from data sensing element 1321, from the number of frames of number of frames extra cell 1322 notice, transfer the information that transmission route is transferred of whether carrying out of mark extra cell 1323 notices from transmission route, thus delta frame.In addition, the forwarding speed of the frame of frame construction unit 1324 generations is by control unit 131 controls.
In addition, frame construction unit 1324 is sent to error detection or error correcting code extra cell 1325 successively with the frame that generates.At this moment, frame construction unit 1324 makes the time interval between each frame become the frame period of obtaining from control unit 131.
Error detection or error correcting code extra cell 1325 are sent to the transmitter 14 of back level then for the frame additional error detection codes (or error correcting code) that is generated by frame construction unit 1324.Error detection or error correcting code extra cell 1325 are included among the interior FCS of frame error detection code (or error correcting code).
In addition, error detection code for example is cyclic codes such as CRC (Cyclic Redundancy Check, CRC) sign indicating number, and error correcting code for example is BCH code such as odd-even check sign indicating number, Hamming code, reed-solomon code etc.In addition, the CRC sign indicating number is for example set by 4 bytes, and data capacity is restricted to and can detects by this 4 byte.
Transmitter 14 at interval sends to outside with a plurality of frames that slave controller 13 receives with official hour via the infrared communication circuit.In addition, receiver 15 will be sent to the received frame resolution unit 133 in the controller 13 successively from the response frame that secondary receives.
Received frame resolution unit 133 is for the frame that receives from receiver 15, by extracting frame number respectively in transmission request identifying unit 1331 and the number of frames extraction unit 1332 again, thereby respectively whether control unit 131 notice secondarys are sent in request, and have mistake in which frame again.
Here, whether the 131 couples of CPU11 of control unit notice exists mistake in the frame that has sent, and existing under the situation of mistake, has mistake in which frame.
In CPU11, do not taking place under the situation of mistake, secondary is indicated promptly transfer transmission route to main website, so that can send the frame number of regulation once more to secondary from secondary.Like this, repeat same step till all file data transmissions finish.
In addition, under the situation of receiving the notice that mistake has taken place, once more the frame number that sent is sent, till the transfer of carrying out transmission route with above-mentioned same step.In addition, here, CPU11 also can begin to send under the situation of the notice of receiving the frame number that mistake takes place from this sequence number frame again.
The secondary of present embodiment then, is described with reference to Fig. 2.Fig. 2 is the block diagram of the structure of expression secondary.As shown in Figure 2, the secondary of present embodiment (receiving system) comprises CPU21, memory 22, controller 23, receiver 24, transmitter (transmit block) 25.
Receiver 24 receives the frame that sends from main website via the infrared communication path, and sends the frame that receives to controller 23.Controller 23 is based on the frame of receiving from receiver 24, the control and treatment of stipulating.Controller 23 comprises control unit 231, frame processing unit 232, error detection or error correction circuit 233, error frame sequence number holding unit 234, response frame generation unit (response frame generation parts) 235 and error detection or error correcting code extra cell 236.
Frame processing unit 232 is accepted frame from receiver 24, and extracts data field, transmission route transfer mark, number of frames and FCS part.That is, frame processing unit 232 be extracted in that mark is transferred in the information, the transmission route that comprise in the data field of the frame that receiver 24 receives, the number of frames of the frame that receives, for the error detection code (or error correcting code) of this information.Frame processing unit 232 is sent to control unit 231, error detection or error correction circuit 233 and error frame sequence number holding unit 234 with information and the error detection code (or error correcting code) that extracts.
For example, if frame processing unit 232 is received frame, then extract the transmission data that comprise in this frame, transmission route and transfer the sequence number and the error detection code (or error correcting code) of mark, frame, and sequence number and error detection code (or error correcting code) that the transmission data that will extract, transmission route are transferred mark, frame are sent to control unit 231, error detection or error correction circuit 233 and error frame sequence number holding unit 234.233 pairs of information of receiving of error detection or error correction circuit are carried out error detection (or error correction), and send this result to control unit 231, error frame sequence number holding unit 234.
Control unit 231 carries out predetermined process according to the result from error detection or error correction circuit 233 transmission.That is, represent to receive in the data under the situation of (error) of being free from mistakes in the result from error detection or error correction circuit 233, control unit 231 should receive writing data into memory 22 and CPU21 was finished receiving notice.
On the other hand, represent to receive under the situation that has mistake in the data in result from error detection or error correction circuit 233, control unit 231 should receive data corruption, thereby read the frame number that mistake has taken place from error frame sequence number holding unit 234, and there is the sequence number that receives mistake and the frame of mistake has taken place in the CPU21 notice.In addition, control unit 231 is transferred mark based on the transmission route of being extracted by frame processing unit 232, also notifies the transfer of whether carrying out transmission route in the lump.
Memory 22 is used for receiver 24 storages and receives data, is write the reception data that are free from mistakes by control unit 231.
CPU21 carry out with from the corresponding processing of the notice of control unit 231.Promptly, control unit 231 receives that expression carried out under the situation of notice of transfer of transmission route, when all frames that receive at present all are free from mistakes, based on all reception data that are stored in the memory 22, the reception Data Post of stipulating, and control unit 231 sent notice, promptly send it back the response frame that expression normally receives whole frames to main website.In addition, carried out under the situation of notice of transfer of transmission route receiving expression from control unit 231, in receiving the frame that expression receives at present, taken place under the situation of notice of mistake control unit 231 to be sent notice, so promptly owing to the mistake request has taken place send again.In addition,, also notify the frame number of the frame that mistake has taken place in the lump here.
In the control unit 231,, then response frame generation unit 235 notices are generated response frame if receive the request of transmission from CPU21.Here, also notify the information that in the frame that receives, whether has mistake in the lump, and at the frame number that has this error frame under the situation of mistake.
Response frame generation unit 235 generates response frame based on the notice from control unit 231, and error detection or error correcting code extra cell 236 are transmitted frame.236 pairs of additional error detection of frame or error correcting codes that generated by response frame generation unit 235 of error detection or error correcting code extra cell send transmitter 25 then to.Transmitter 25 will send to the outside from the frame of error detection or 236 receptions of error correcting code extra cell via the infrared communication path.
Whether the sequence number, expression that expression has been given frame to the UI frame with for the response frame of UI frame among Fig. 3 transfer frame structure under the situation that whether has the mark that mistake or frame omit in the mark of transmission route and the frame that expression receives at present to remote station.Wherein, the frame structure shown in is an example here, should not be defined in this.
Here, give the parameter of 3 bytes, constitute expression by the sequence number of frame and whether remote station is transferred in the mark of transmission route, the received frame that secondary uses and whether had the mark of mistake and remain 22 bits to the UI frame with for the response frame of UI frame.
Below, whether expression is BL to the mark note of remote station transfer transmission route, whether exist the mark note of mistake to be RS in the received frame with the use of expression secondary, the sequence number of frame is remembered be S.Below, use this frame structure explanation between main website and secondary, how to carry out data forwarding.
With reference to the signal timing diagram explanation main website of Fig. 4, Fig. 5 and the step of the data forwarding processing in the secondary.In addition, Fig. 4 is illustrated in the two-way communication, and the situation of mistake does not take place for all reception data.
At first, in main website, receive forwarding storage that the CPU11 from the forwarding of operating unit indication will transmit in memory 12, and request is transmitted in 13 outputs to controller.Here, suppose that with the n frame be the transfer that unit carries out transmission route.In addition, whether Fig. 4, S, BL shown in Figure 5, sequence number that RS is frame respectively, mark, expression that whether expression carries out the transfer of transmission route need the mark that sends again.
Main website at first sends to secondary with n frame (sequence number is S=0 to S=n-1) via the infrared communication path.Here, owing to being the transfer that unit carries out transmission route with the n frame, therefore the frame for S=n-1 makes BL=1 carry out the transmission of frame.
Secondary receives the frame S=0 to S=n-1 that main website sends in order.Then, in the n that a receives frame, be free from mistakes and situation about finishing receiving under, make RS=1 and main website sent response frame, to be free from mistakes in the expression received frame and needn't to send again.
If main website receives the response frame that has normally received n frame from the expression of secondary transmission, then carry out the processing same with above-mentioned processing.In addition, also carry out the processing same in the secondary, receive the reception Data Post that the CPU that finishes receiving notice in all received frames stipulates based on these reception data with being free from mistakes with above-mentioned processing.
Then, the step of handling with reference to signal timing diagram explanation main website and the data forwarding in the secondary of Fig. 5.In addition, Fig. 5 is illustrated in the situation that mistake has taken place in the two-way communication in frame traffic.
Here, suppose that with the n frame be unit carries out transmission route to secondary transfer.In addition, same with Fig. 4, S, BL, RS are respectively whether the sequence number of frame, mark, the expression whether expression carries out the transfer of transmission route need the mark that sends again.
Main website at first sends to secondary with n frame (sequence number is S=0 to S=n-1) via the infrared communication path.Here, owing to being the transfer that unit carries out transmission route with the n frame, therefore the frame for S=n-1 makes BL=1 carry out the transmission of frame.
Here, supposing that secondary detects for frame 0 is free from mistakes and for frame 1 mistake is arranged.If secondary receives that from main website the mark meaning of the transfer of expression transmission route is the frame of transferring the possession of, then make to be illustrated in the mark that mistake has taken place in the frame that receives and effectively main website is carried out frame to send in the back.Main website receives the frame that mistake has taken place from the expression of secondary, detects the transmission again that the situation of mistake has taken place and the frame of mistake has taken place.
[second execution mode]
The variation of above-mentioned first execution mode is described in the present embodiment.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the above-described first embodiment, adopt main website to be undertaken by every n frame and secondary between the structure of transfer of transmission route, but describe with regard to following situation here: when the connection of carrying out with the IrDA communication mode is established, when connecting establishment, to carrying out the frame exchange from the association request frame that sends as the our station of described main website with from the remote station as described secondary gives the field of the frame number that once can send reception at each station of expression respectively to the connection response frame that our station sends after, in each station, once receivable frame number with reference to the remote station that receives, the frame number of calculating optimum, and carry out the transfer of transmission route according to this frame number.About above-mentioned frame, can be set at any number.
In the IrDA communication mode, main website at first sends the SNRM frame to the establishment that secondary requires data forward state.Inferior the standing in of receiving frame sends it back the DM frame under the situation about can not communicate by letter, under situation about can communicate by letter main website is sent it back the UA frame that expression is promised to undertake.SNRM frame, DM frame, UA frame all are the forms of U frame.If secondary sends it back the UA frame, then data forward state is established at two stations, can carry out data forwarding.
In the present embodiment, in above-mentioned SNRM frame or UA frame, give the expression our station the parameter that can send size of data again after connect establishment.
According to said structure owing to necessarily carry out the transfer of transmission route by each frame number of between two stations of main website and secondary, supporting, so can carry out with each station in the corresponding frame of mounted memory capacity exchange.
Fig. 6 is the block diagram of structure of the employed transmitter/receiver circuit of communication system of expression present embodiment.As shown in Figure 6, the transmitter/receiver circuit of present embodiment comprises CPU61, controller 62, transmitter 63, receiver 64.
If CPU61 receives the user and the indication that is connected remote station of the operating unit that input is not shown, then controller 62 is carried out connection request.Controller 62 is according to the connection request from CPU61, and control connection is handled.Controller 62 comprises control unit 621, transmit frame generation unit 622 and received frame resolution unit 623.
In addition, transmit frame generation unit 622 comprises connection establishment frame generation unit 6221 and can send frame number extra cell 6222 again.621 pairs of the control units of receiving connection request and can sending the notice of frame number again from CPU61 connect to be established 6221 requests of frame generation unit and generates association request frames, and to can send again frame number extra cell 6222 notices from CPU61 notified can send frame number again.
Connect to establish frame generation unit 6221 and generate association request frames, the association request frame additional representation that can send 6222 pairs of generations of frame number extra cell more again transmit frame field and send transmitter 63 to.Transmitter 63 will send by the infrared communication path from the frame that transmit frame generation unit 622 is received.
In this transmitter/receiver circuit, after sending association request frame, receiver 64 receives from connection response (response) frame as the secondary of remote station.The receiver 64 that receives the connection response frame is sent to received frame resolution unit 623 in the controller 62 with received frame.
Received frame resolution unit 623 comprises frame resolution unit 6231 and can send frame number detecting unit 6232 again.Frame resolution unit 6231 is carried out the parsing of received frame, and to the response results of control unit 621 notice remote stations for the connection request of our station.
In addition, can send frame number detecting unit 6232 again and from received frame, extract expression and can send the field of frame number again, and be notified to control unit 621.
Control unit 621 is by to from can the sending frame number again and compare of the advise fate of received frame resolution unit 623 and our station, thereby the maximum that can know two stations can send frame number again, and gives CPU61 with this result notification.
CPU61 accepts this result, when carrying out data forwarding, by the described method of first execution mode, can send frame number again by each maximum in two stations and carry out the transfer of the transmission route of remote station is got final product.
In addition, here, narrated main website and learnt that the maximum at two stations can send frame number step before again, but in the secondary too, by relatively from the association request frame that main website receives can send frame number and our station again can send frame number again, thereby the maximum that can learn two stations can send frame number again, so omit explanation here.
Fig. 7 is illustrated in the frame structure under the situation of having given the parameter that can send size of data again of representing our station in SNRM frame or the UA frame.Wherein, the frame structure shown in is an example here, but is not limited thereto.
Here, give the parameter of 1 byte, what each bit was represented our station respectively can send size of data again, and each station will represent that the bit of the size of data that our station is supported all is made as 1, thereby carry out the exchange of frame.In the example here, bit 0 expression 1 byte, bit 1 expression 2 bytes, bit 2 expressions 3 bytes, bit 3 expressions 4 bytes, bit 4 expressions 8 bytes, bit 5 expressions 16 bytes, bit 6 expressions 32 bytes, bit 7 expressions 64 bytes.
In two stations,, get final product with the interior transfer of carrying out the transmission route of frame in the received size of data of the remote station that the parameter from remote station obtains respectively based on the frame that receives.
Fig. 8 represents the exchange of the frame in the embodiments of the present invention with signal timing diagram.Here, supposing that it is 4 bytes that main website can send size of data again, is 3 bytes in the secondary.In main website,, therefore in frame structure shown in Figure 7, carry out the transmission of SNRM frame after giving the data of " 00001111 " in the SNRM frame because can to send size of data again be 4 bytes.
In addition, in secondary,, therefore in frame structure shown in Figure 7, carry out the transmission of UA frame after giving the data of " 00000111 " in the UA frame because can to send size of data again be 3 bytes.In main website, be 3 bytes because the maximum of learning secondary can receive size of data, therefore in the transmission of after this frame, by using the method described in first execution mode, in main website, every transmission 3 frames just carry out the transfer of transmission route to remote station.
[the 3rd execution mode]
The data forwarding system (communication system) of this 3rd execution mode relates to the system that each communication protocol of using hierarchy communicates.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
The data forwarding system that present embodiment is described based on Figure 12 to Figure 17 is as follows.
Figure 12 is the block diagram of the structure at the station (main website (dispensing device) or secondary (receiving system)) in the expression present embodiment.In addition, the protocol stack of expression data forwarding system of the present invention among Figure 13.Among Figure 13, realize the function of present embodiment in the communications protocol layers of the TinyTP of the protocol stack that is arranged in IrDA layer, below, this communications protocol layers is called SMP (Sequence Management Protocol, timing management agreement) layer.Certainly, be used to realize that the protocol stack of communication system of the present invention is not limited thereto.
As shown in figure 12, the station 12 as main website or secondary comprises application layer process unit 121, OBEX layer processing unit 122, SMP layer processing unit 123, IrLMP layer processing unit 124, IrLAP layer processing unit 125, transmitter 126, receiver 127.
Application layer process unit 121, OBEX layer processing unit 122, SMP layer processing unit 123, IrLMP layer processing unit 124, IrLAP layer processing unit 125 are the pieces of function that comprise multiple each communication protocol of realization of hierarchy according to this in proper order.
Below, the function of each piece when sending for the claim frame of secondary in the main website is described.
Application layer process unit 121 is according to the user's of the not shown operating unit of input indication, and OBEX layer processing unit 122 notices (control) are used for granting with the claim frame of communicating by letter of outside.In addition, if application layer process unit 121 receives that from OBEX layer processing unit 122 expression receives the notice of response frame, then carries out predetermined process according to the response frame that receives.
OBEX layer processing unit 122 is according to the request from application layer process unit 121, and notice (control) generates claim frame and SMP layer processing unit 123 sent claim frame.In addition, receive response frame, application layer processing unit 121 is carried out the notice of reception result from SMP layer processing unit 123.
SMP layer processing unit 123 comprises control unit 1231, transmit frame generation unit 1232, received frame resolution unit 1233.
In addition, transmit frame generation unit 1232 comprises that response frame request marks extra cell 12321, number of frames extra cell (sequence number optional feature) 12322, transmission route transfer mark extra cell (the mark member of imparting is transferred in transmission route) 12323, send request marks extra cell (response frame generation parts) 12324, frame construction unit 12325 again.
In addition, received frame resolution unit 1233 comprises that mark identifying unit 12333 is transferred in response frame request marks identifying unit 12331, number of frames resolution unit 12332, transmission route, identifying unit 12334, high level data extraction unit 12335 are asked in transmission again.
If control unit 1231 is received the forwarding request from OBEX layer processing unit 122, then number of frames extra cell 12332 is notified the sequence number of transmit frames, and mark extra cell 12323 notices are transferred in transmission route whether transmission route is transferred by remote station.In addition, according to whether asking response frame from the forwarding request of OBEX layer processing unit 122,1231 pairs of response frame request marks of control unit extra cell 12321 is controlled.In addition, in the present embodiment, owing to do not send request again in main website, therefore sending request marks extra cell 12324 again needn't control especially.In addition, in main website, send again under the situation of request, by sending the request marks extra cell 12324 additional request marks that send again again.
In frame construction unit 12325, based on from the expression high level of response frame request marks extra cell 12321 notice whether to the transmit frame request information of response frame, sequence number from the frame of number of frames extra cell 12322 notice, transfer the information whether expression of mark extra cell 12323 notices carries out the transfer of transmission route from transmission route, whether send information requested again (wherein from the expression that sends request marks extra cell 12324 again, owing in main website, do not send request again, so be generally fixed value), generate header information, thereby and add this header information for the claim frame of receiving from OBEX layer processing unit 122 and construct frame.Then, the frame that will construct of frame construction unit 12325 outputs to the IrLMP layer processing unit 124 as low layer.
Thereby the header information delta frame of IrLMP layer processing unit 124 additional regulation in the claim frame that receives, and to IrLAP layer processing unit 125 output frames as low layer.
Equally, thus the header information delta frame of the additional regulation of 125 pairs of claim frames that receive of IrLAP layer processing unit, and output to transmitter 126.
Transmitter 126 sends a plurality of frames that receive from IrLAP layer processing unit 125 to the outside via the infrared communication path at interval with official hour.
The action of each piece when then, below the reception of explanation in the main website is from response frame that secondary sends.
If receiver 127 receives the response frame that sends from secondary via the infrared communication path, then the response frame that receives is outputed to IrLAP layer processing unit 125.
IrLAP layer processing unit 125, IrLMP layer processing unit 124 carry out the parsing of header information respectively from the response frame that receives, carry out predetermined process based on header information, carry out removing and high level being transmitted response frame of header information.
SMP layer processing unit 123 receives response frame from the IrLMP layer processing unit 124 as low layer, and carries out the parsing of response frame in received frame resolution unit 1233.
BL (aftermentioned) bit of mark identifying unit 12333 with reference to received frame transferred in transmission route, and the result of determination with whether in the transfer of carrying out transmission route is notified to control unit 1231.
In addition, send RS (aftermentioned) bit of request identifying unit 12334 again, will whether be notified to control unit 1231 in the result of determination of asking that sends again of carrying out from remote station with reference to received frame.
In addition, in number of frames resolution unit 12332, from received frame, extract frame number and output to control unit 1231.
Control unit 1231 receives the notice from the result of determination that sends request identifying unit 12331 again, in the remote station request under the situation about sending again, control transmit frame generation unit 1232 begins to send from the frame by the sequence number of number of frames resolution unit 12332 notices again.In addition, representing from the result of determination that sends request identifying unit 12331 again under the situation that remote station does not ask to send again, successively the frame that is not sent completely.
In addition, high level data extraction unit 12335 is removed the SMP layer from the frame of being received by low layer (being IrLMP layer processing unit 124 here) header information, and to high-rise (being OBEX layer processing unit 122 here) dateout.
Like this, main website carries out data forwarding with said sequence to secondary till the forwarding data are sent completely.
Then, below, the action of each piece when reception in the secondary is from claim frame that main website sends is described.
Same with main website, in secondary, receiver 127 also receives the claim frame that sends from main website, carries out the removing of parsing, header information of header information respectively in IrLAP layer processing unit 125 and IrLMP layer processing unit 124, and high level is transmitted claim frame.
If SMP layer processing unit 123 transmitted claim frame from IrLMP layer processing unit 124, then in received frame resolution unit 1233, carry out the parsing of received frame.
Number of frames resolution unit 12332 is extracted number of frames from received frame, and the inspection of the sequence number of the frame that receives, to the result of determination of control unit 1231 notices normal still unusual (frame omission etc.).In addition, exist under the unusual situation, also in the lump control unit 1231 notices are existed the sequence number (wishing the frame number of transmission again) of the frame of mistake.
In addition, BL (aftermentioned) bit of mark identifying unit 12333 with reference to received frame transferred in transmission route, and notifies the result of determination of whether having carried out the transfer of transmission route to control unit 1231.
In addition, response frame request marks identifying unit 12331 is with reference to DL (aftermentioned) bit of received frame, and whether control unit 1231 notice DL bits asked the result of determination of high-rise response frame.
Control unit 1231 is based on the result of determination of transferring mark identifying unit 12333 notices from transmission route, represent to have carried out in result of determination under the situation of transfer of transmission route from remote station, transmit frame generation unit 1232 is controlled (notice), with generation and the transmission of carrying out response frame.
At this moment, analysis result based on number of frames resolution unit 12332, under the situation of the mistake that number of frames has taken place, 1231 pairs of control units send request marks extra cell 12324 notice again and set marks and send request again with expression, and to number of frames extra cell 12322 notices from the generation of number of frames resolution unit 12332 notices the number of frames of mistake.
In addition, represent not take place under the situation of mistake at the analysis result of number of frames resolution unit 12332,1231 pairs of control units send mark extra cell 12324 notices again and set mark, do not send request again and have normally finished reception with expression.
But, control unit 1231 has been represented to ask under the situation of high-rise response frame in the result of determination of response frame request marks identifying unit 12331, do not send it back response frame finish the preparation of response frame at OBEX layer processing unit 122 till, receiving that from OBEX layer processing unit 122 expression finished moment of notice of the preparation of response frame, 1232 indications generate response frames to the transmit frame generation unit.Thereby the header information of transmit frame generation unit 1232 additional regulation the response frame of receiving from OBEX layer processing unit 122 is constructed frame, and to IrLMP layer processing unit 124 outputs as low layer.
In addition, before OBEX layer processing unit 122 finished the preparation of response frame, in SMP layer processing unit 123, also can generate response frame and transmission.But in this case, 1231 pairs of transmission routes of control unit are transferred mark extra cell 12323 and are controlled, and main website is not carried out the transfer of transmission route, control then to generate transmit frame.Then, in the moment of receiving the notice of the preparation of having finished response frame from OBEX layer processing unit 122, indication transmit frame generation unit 1232 generates response frame.In addition, at this moment, the control transmission route is transferred mark extra cell 12323 and is set mark, so that main website is carried out the transfer of transmission route.Thereby the header information of transmit frame generation unit 1232 additional regulation the response frame that receives from OBEX layer processing unit 122 is constructed frame, and outputs to the IrLMP layer processing unit 124 as low layer.
Transmit frame generation unit 1232 generates response frame according to the control from control unit 1231, and the response frame that IrLMP layer processing unit 124 outputs as low layer have been generated.
Like this, in secondary,, send for response frame from the claim frame of main website at every turn when main website carries out the transfer of transmission route.
Whether whether the sequence number, expression that Figure 14 represents to have given frame to the UI frame with for the response frame of UI frame transfer the mark and the expression that whether exist mistake or frame to omit in the mark of transmission route and the frame that expression receives at present to remote station has asked the high level of main website for the frame structure under the situation of the mark of the response frame of claim frame.Wherein, the frame structure shown in is an example here, should not be defined in this.
Here, give the parameter of 3 bytes to the UI frame with for the response frame of UI frame, constitute mark, expression that whether expression transfer transmission route to remote station by the sequence number of transmit frame and whether asked the high level of main website for whether having the mark of mistake and remain 21 bits in the mark of the response frame of claim frame, the received frame that the expression secondary uses.
Below, whether expression has been asked the high level of main website be DL for the mark note of the response frame of claim frame, whether expression is BL to the mark note of remote station transfer transmission route, whether exists the mark note of mistake to be RS in the frame with the use of expression secondary, the sequence number of frame is remembered be S.
Below, use Figure 15 to illustrate and use this frame structure between main website that constitutes by present embodiment and secondary, how to carry out data forwarding.
In addition, Figure 15 is illustrated in the two-way communication, and the situation of mistake does not take place for all reception data.
At first, in main website, according to the user's who imports not shown operating unit indication, 121 notice request frames are transmitted request from the application layer process unit, 122 pairs of SMP layers output claim frames as low layer of OBEX layer processing unit.
Here, suppose that with the n frame be unit carries out transmission route to secondary transfer.In addition, whether S, DL shown in Figure 15, sequence number, expression that BL, RS are frame have respectively asked the high level of main website for the mark of the response frame of claim frame, the mark whether expression carries out the transfer of transmission route, the mark whether expression sends request again.
The SMP layer will be divided into the predetermined data size from the forwarding data as the handing-over of the OBEX layer of high level, and appended sequence number also outputs to IrLMP layer as low layer.Here, because hypothesis is the transfer that unit carries out transmission route with the n frame, so the frame of S=n-1 is made as behind the BL=1 the low layer dateout.
To the frame obtained from SMP layer additional header successively respectively, and secondary is carried out the transmission of frame via the infrared communication path as the IrLMP layer of the low layer of SMP layer and IrLAP layer.
On the other hand, in secondary, via the infrared communication path from the main website received frame.Inferior standing in as the parsing that begins to carry out successively header information in the IrLMP layer of the low layer of SMP layer and the IrLAP layer respectively from received frame, and after removing header information to high-rise dateout.
The SMP layer is from the IrLMP layer received frame as low layer, and carries out the parsing of the header information (being 3 bits) of received frame here.Then, based on the number of frames inspection in the header information whether mistakes such as frame omission having taken place, do not taken place under the situation of mistake, removed header information, successively data has been sent to OBEX layer (high level).Wherein, for the frame of S=n-1, because BL=1, DL=0, so carry out the transfer of transmission route from main website, and do not need the response as high-rise OBEX layer, send response frame so the SMP layer is made as RS=1, being free from mistakes in n the frame that receives with expression also needn't send again.
If main website receives expression and normally receives from the response frame of n frame of secondary transmission, then carry out the processing same, and send n frame then with above-mentioned processing.In addition, secondary receives n frame then too, if receive the frame (S=m-1 among the figure) of BL=1, then main website is sent it back the response frame that expression normally receives n frame.
Like this,, send Yi Bian carry out frame Yi Bian main website carries out the transfer of transmission route by an every n frame unit to secondary successively, but in the final frame of transmitting data BL=1, DL=1, thereby make the high level requests of main website send for the response frame ground of claim frame.Here, the DL bit has been asked the mark of the high level of main website for the response frame of claim frame as expression, but also can be also used as the mark of other meaning.For example, under the situation of example shown in Figure 15, the mark that also can be used as the final frame of expression forwarding data is handled.
Receive the SMP layer of secondary of the frame of BL=1, DL=1 because DL=1, therefore to as the OBEX layer notice request of high level for the response frame of the claim frame that receives.In the OBEX layer, receive notice from the SMP layer, owing to normally finished all Data Receiving, thus the SMP layer is carried out the transmission request of response frame, and transmit response frame.The SMP layer receives from the response frame of OBEX layer and sends request, additional header information from the response frame of OBEX layer handing-over (, be made as RS=1, BL=1 here, DL=1 does not need to send with expression again), then data sent to the IrLMP layer as low layer.IrLMP layer and IrLAP layer as low layer add the header information of stipulating to the data that join from high level respectively, then low layer are transmitted response frame, via the infrared communication path main website are carried out the transmission of response frame in the IrLAP layer.
The main website that receives the response frame that sends from secondary carries out the parsing of header information successively and removes from low layer, and to high level handing-over data.Then, receive the OBEX response frame that sends from secondary, can discern the high level of the SMP layer of main website and also normally finish data forwarding as the OBEX layer of the high level of SMP layer.
In addition, Figure 16, Figure 17 are illustrated in when authentication etc. to send the signal timing diagram of the data forwarding step under the situation of authentication request from high level.
As shown in figure 16, for authentication frame from the high level handing-over, in the SMP layer, the header information of additional DL=0, BL=1 has been carried out under the situation of data forwarding secondary then, secondary is because the frame BL=1 that receives, therefore transferred transmission route from main website, because DL=0, do not waited for response so send it back response from high level, so the response frame of the high level of secondary can not send it back, therefore do not finish authentication between two stations.
On the other hand, in the structure of present embodiment, authentication frame is sent under the situation of secondary being made as DL=1, in the SMP of secondary layer, because DL=1, therefore high-rise in the ready moment of response frame, after additional header information from the response frame of high level handing-over, send it back response frame, so the authentication between the high level between two stations is finished for authentication frame.
In addition, as shown in figure 17, under the situation of the bag that receives DL=1, BL=1, the SMP layer also can to as the OBEX layer notice request of high level for the response frame of the claim frame that receives, and send it back other response frame of SMP level earlier.Wherein, in this case, send it back, and transmission route is not transferred by remote station with BL=0.And, in the moment in that the OBEX layer has been finished the transmission preparation of response frame, in the response frame of OBEX, send it back response frame after the header information of additional SMP layer once more.
Like this, in the OBEX of secondary layer from prepare response frame play send it back response frame before, the SMP layer of main website can receive other response frame of SMP level (response frame that does not comprise the OBEX layer).Thus, the SMP layer of main website can learn whether remote station normally receives frame before the response frame from the OBEX layer sends it back, so can carry out the preparation etc. of data forwarding then in advance.
In addition, in the respective embodiments described above, supposing that transmitter (main website) and receiver (secondary) comprise CPU, but be not limited to CPU, also can be the device that microcomputer etc. has operation processing function.
In addition, in the respective embodiments described above, suppose to receive the indication from CPU, controller is transmitted forwarding of data.But, can not transmit forwarding of data by DMA (direct memory access (DMA)) by controller via CPU yet.In this case, can transmit forwarding of data from memory and need not to accept indication from CPU.Thus, can offloading the CPU.
[the 4th execution mode]
Illustrate that to Figure 33 the forwarding forwarding of data system (communication system) of this 4th execution mode is as follows based on Figure 31.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 31 to describe, use Figure 32 to describe, use Figure 33 to describe as signal timing diagram as the block diagram of receiver as the block diagram of transmitter.
Figure 31 is the block diagram of the transmitter 2001 of present embodiment.In addition, Figure 31 is an example of the structure of transmitter, is not limited thereto.In addition, each forming circuit can be that software also can be hardware.Below carry out the explanation of each inscape.
Transmitter 2001 is the equipment that sends data one end.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.
As shown in figure 31, transmitter (main website, client device) 2001 comprise: control unit (control assembly) 2002, memory (memory unit) 2003, the blanket final mark generative circuit (the final mark of blanket transmission generates parts) 2004 that sends, sequence number generative circuit (sequence number generation parts) 2005, transmit frame generative circuit (transmit frame generation parts) 2006, transmitting element (transmit block) 2007, receiving element (receiving-member) 2008, received frame parser circuitry (received frame resolution component) 2009, zero defect mark parser circuitry (zero defect mark resolution component) 2010, error detecting circuit (error detection occurs parts) 2011, sequence number parser circuitry (sequence number resolution component) 2012.
Control unit 2002 carries out the control of each inscape of transmitter 2001.
Storage sends data in the memory 2003.The memory that this memory 2003 can be a volatibility (for example SDRAM etc.) also can be non-volatile memory (for example flash memory, HDD, DVD etc.).In addition, in Figure 31, memory 2003 is configured in the transmitter 2001, but needn't necessarily be present in the transmitter 2001, also can be used as the external memory storage of transmitter 2001 and is connected to transmitter 2001.
Blanket to send final mark generative circuit 2004 are following circuit, when transmitter 2001 carries out data forwarding with a certain concentrated unit, when transmission comprises the frame of final data of described concentrated unit, are set at the value of this frame of expression.In the present embodiment, the abbreviation of definition BL (Block Last, piece is last), be under 1 the situation at BL, being the frame that comprises the final data of described a certain concentrated unit, is that the final data of described a certain concentrated unit is not included in the frame under 0 the situation at BL.
In the sequential chart of Figure 33 described later, also use the abbreviation of BL with the same meaning.In addition, in the present embodiment, though show as the blanket final mark that sends, even but communication acknowledgement request marks etc. for example, also have in essence with present embodiment in the same meaning of the final mark of blanket transmission, even therefore be not to have and the blanket mark that sends the certain equivalent of final mark,, also be not limited thereto so long as carry out the mark of same action.
Sequence number generative circuit 2005 is according to predetermined rule increase and decrease sequence number and the circuit that each transmit frame is given.In the present embodiment, the abbreviation of definition SEQ (Sequence number, sequence number) is that the expression sequence number is 1 under 1 the situation at SEQ.In the sequential chart of Figure 33, also use the abbreviation of SEQ with the same meaning.
Transmit frame generative circuit 2006 is the circuit that generate transmit frame by predetermined form.According to the predetermined final mark BL of the described blanket transmission of format configuration, sequence number SEQ, transmission data, and generate transmit frame.In addition, in the present invention, owing to use the communication mode of the restriction do not have the window size, therefore the frame format with the restriction that do not have the window size generates transmit frame.As an example, can enumerate UI (Unnumbered Information) frame among the IrLAP (Infrared LinkAccess Protocol), but be not limited thereto.In addition, the also additional in the lump error detection code that is used to carry out error detection of remote station.As error detection code, CRC (CyclicRedundancy Check) etc. is for example arranged, but be not limited thereto.In addition, also can add error correcting code.
Transmitting element 2007 is the circuit that send the transmit frame that is generated by transmit frame generative circuit 2006.For example, if use infrared ray, then be LED (light-emitting diode) or LD (laser diode), but be not limited thereto as communication medium.In addition, under the situation of the communication medium that uses other, be transmitting element corresponding to this communication medium.
Receiving element 2008 is the circuit that receive the frame of remote station transmission.For example, if use infrared ray, then be PD (photodiode), but be not limited thereto as communication medium.In addition, under the situation of the communication medium that uses other, be receiving element corresponding to this communication medium.
Received frame parser circuitry 2009 is carried out the parsing of the received frame that received by receiving element 2008.Specifically, extract the zero defect mark in the received frame, send zero defect mark parser circuitry 2010 to.In addition, extract the sequence number in the received frame, send sequence number parser circuitry 2012 to.In addition, in received frame, exist under the data conditions, extract data, and be kept in the memory 2003 via control unit 2002.In addition, in memory 2003, preserve under the data conditions, also can be via control unit 2003.
Zero defect mark parser circuitry 2010 is resolved the zero defect mark of remote station being set by predetermined form, and analysis result is notified to control unit.In the present embodiment, though show as the zero defect mark, for example also can be error flag is arranged or to send request marks again, do not have and to send request marks again.
2011 pairs of error detecting circuits are given the sign indicating number that the error detection of received frame uses and are resolved, and differentiate whether mistake is arranged in received frame, and analysis result is notified to control unit.As the sign indicating number that error detection is used, for example, can enumerate cyclic codes such as CRC (Cyclic Redundancy Check) sign indicating number, but be not limited thereto.In addition, under the situation of having given error correcting code, carry out error correction.
Sequence number parser circuitry 2012 is resolved the sequence number that receives, and analysis result is notified to control unit 2002.
Figure 32 is the block diagram of the receiver 2101 of present embodiment.In addition, Figure 32 is an example of the structure of expression receiver, is not limited thereto.In addition, each forming circuit can be software or hardware.Below carry out the explanation of each inscape.
Receiver 2101 is the equipment that receives to transmission data one end of method, apparatus.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.
Shown in figure 32, receiver (secondary, server apparatus) 2101 comprise: control unit (control assembly) 2102, memory (memory unit) 2103, zero defect mark generative circuit (the zero defect mark generates parts) 2104, sequence number generative circuit (sequence number generation parts) 2105, transmit frame generative circuit (transmit frame generation parts) 2106, transmitting element (transmit block) 2107, receiving element (receiving-member) 2108, received frame parser circuitry (received frame resolution component) 2109, the blanket final mark parser circuitry (the final mark resolution component of blanket transmission) 2110 that sends, error detecting circuit (error detection occurs parts) 2111, sequence number parser circuitry (sequence number resolution component) 2112.
Control unit 2102 carries out the control of each inscape of receiver 2101.
Storage receives data in the memory 2103.The memory that this memory 2103 can be a volatibility (for example SDRAM etc.) also can be non-volatile memory (for example flash memory, HDD, DVD etc.).In addition, in Figure 32, memory 2103 is configured in the receiver 2101, but needn't necessarily be present in the receiver 2101, also can be used as the external memory storage of receiver 2101 and is connected to receiver 2101.
Zero defect mark generative circuit 2104 is to generate the circuit that whether has the zero defect mark of mistake in the frame that is used for the remote station notice is received from remote station by predetermined form.In the present embodiment, show as the zero defect mark, but for example also can be error flag is arranged or to send request marks again, do not have and to send request marks again, in essence owing to have the meaning same with the zero defect mark, even therefore do not have mark with zero defect mark equivalent, so long as carry out the mark of same action, then be not limited thereto.
Sequence number generative circuit 2105 is to detect in the frame of receiving at present under the amiss situation, when remote station being sent request again, sets and wishes the circuit of the sequence number of transmission again.
Transmit frame generative circuit 2106 is according to the predetermined described zero defect mark of format configuration, sequence number and generates the circuit of transmit frame.As an example, can enumerate UI (Unnumbered Information) frame among the IrLAP (Infrared Link Access Protocol), but be not limited thereto.
Transmitting element 2107 is the circuit that send the transmit frame that is generated by transmit frame generative circuit 2106.For example, if use infrared ray, then be LED (light-emitting diode) or LD (laser diode), but be not limited thereto as communication medium.In addition, under the situation of the communication medium that uses other, be transmitting element corresponding to this communication medium.
Receiving element 2108 is the circuit that receive the frame of remote station transmission.For example, if use infrared ray, then be PD (photodiode), but be not limited thereto as communication medium.In addition, under the situation of the communication medium that uses other, be receiving element corresponding to this communication medium.
Received frame parser circuitry 2109 is carried out the parsing of the received frame that received by receiving element 2108.Specifically, extract the final mark of blanket transmission in the received frame, send the blanket final mark parser circuitry that sends to.In addition, extract the sequence number in the received frame, send the sequence number parser circuitry to.In addition, in received frame, exist under the data conditions, extract data, and be kept in the memory via control unit.In memory, preserve under the data conditions, also can be not necessarily via control unit.
The final mark parser circuitry 2110 of blanket transmission is resolved the final mark of blanket transmission that is transmitted by received frame parser circuitry 2109, and analysis result is notified to control unit 2102.
The sign indicating number that the error detection of giving in 2111 pairs of received frames of error detecting circuit is used is resolved, and differentiates in the received frame whether mistake is arranged, and analysis result is notified to control unit 2102.As the sign indicating number that error detection is used, for example, can enumerate cyclic codes such as CRC (Cyclic Redundancy Check) sign indicating number, but be not limited thereto.In addition, under the situation of having given error correcting code, carry out error correction.
Whether sequence number parser circuitry 2112 is resolved the sequence number of giving in received frame and is increased and decreased by predetermined rule, and analysis result is notified to control unit 2102.For example, in communication path, omitting under the situations such as frame, sequence number parser circuitry 2112 is judged as mistake.
Specifically, transmit frame generative circuit 2106 detects at error detecting circuit 2111 under the situation of mistake of data, and the zero defect flag settings for mistake is arranged, and is generated the transmit frame of the sequence number of the received frame that comprises this moment.In addition, do not detect the mistake of data at error detecting circuit 2111 but detect in sequence number parser circuitry 2112 under the situation of mistake of sequence number, transmit frame generative circuit 2106 generates the transmit frame of the sequence number of the received frame that comprises this moment.
Then, flowing with reference to each signal in the sequential chart explanation present embodiment of Figure 31, Figure 32 and Figure 33.
If transmitter 2001 produces when sending the forwarding of data request in this equipment or from the outside, control unit 2002 decisions will be summed up the size of data of transmission, and are notified to the blanket final mark generative circuit 2004 that sends.
The final mark generative circuit 2004 of blanket transmission remains on described blanket transmission size of data in the inside, calculating is from the accumulative total of the size of data of control unit 2002 or memory 2003 transmission, if the cumulative data size reaches described blanket transmission size of data, then will sum up the final flag settings of transmission by predetermined form is the last meaning (BL=1), in addition, if the cumulative data size does not reach described blanket transmission size of data, then be set at the non-final meaning (BL=0), and send transmit frame generative circuit 2006 to.In addition, control unit 2002 when each delta frame, notification sequence generative circuit 2005 formation sequences number.
The sequence number generative circuit 2005 of receiving this notice increases and decreases sequence number and sends transmit frame generative circuit 2006 to by predetermined rule.
Format configuration described blanket transmission final mark, sequence number, the data of transmit frame generative circuit 2006 by being scheduled to, and via transmitting element 2007 transmissions.
In Figure 33, t101, t102, t103, t104, t110 are that blanket transmission finally is labeled as non-final frame, and t105, t111 are that blanket transmission finally is labeled as final frame.In addition, the sequence number of having recorded and narrated in each frame of t101, t102, t103, t104, t105 (SEQ) respectively increases by one in the present embodiment.
If receiver 2101 receives frame from remote station via receiving element 2108, then by each parameter in the received frame parser circuitry 2109 extraction received frames.Described parameter for example is blanket final mark, sequence number, the data etc. of sending, the final mark of blanket transmission is transmitted to the blanket final mark parser circuitry 2110 that sends, sequence number is transmitted to sequence number parser circuitry 2112, and data then are kept in the memory 2103 via control unit 2102 if desired.
In addition, by error detecting circuit 2111 whether for example error detection of CRC mistake is arranged in received frame simultaneously.In error detection or error correcting code is under the CRC sign indicating number situation in addition, carries out error detection or error correction according to this sign indicating number.
In addition, sum up the parsing that sends final mark in the final mark parser circuitry 2110 blanket the transmission, and the notice analysis result.
In the sequential chart of Figure 33, when the frame of t113, t114, t115, t121 received, blanket to send final mark be not final, when the frame of t116, t122 receives, will sum up and send final mark and be made as and finally and respectively notify control unit 2102.
In addition, in sequence number parser circuitry 2112, whether parsing has increased and decreased the sequence number in the received frame according to predetermined rule, and analysis result is notified to control unit 2102.In the present embodiment, as described predetermined rule, sequence number increases by 1 at every frame.
In the sequential chart of Figure 33, the frame that shows the sequence number 3 of transmitter 2001 transmissions is not identified in receiver 2102 owing to the unusual of communication path, and has received the situation of the frame of the sequence number of following 4.In this case, the frame of sequence number 3 is as causing that the frame of mistake is notified to control unit 2102.
In control unit 2102, the notified final mark of blanket transmission that receives is represented final frame, and as cause the frame of mistake notified sequence number 3, therefore zero defect mark generative circuit 2104 notices there is mistake, and to sequence number generative circuit 2105 notification sequence numbers 3, and transmit frame generative circuit 2106 notices are generated transmit frames.
Notified zero defect mark generative circuit 2104 generates the mark that expression has the meaning of mistake by predetermined form, and sends transmit frame generative circuit 2106 to.
In addition, sequence number generative circuit 2105 will send transmit frame generative circuit 2106 to by the sequence number 3 that control unit 2102 transmits.
Be transmitted transmit frame generative circuit 2106 these parameters of format configuration of these zero defect marks and sequence number, and sent via transmitting element 2107 by being scheduled to.In the sequential chart of Figure 33, the frame of indication t117.
The transmitter 2001 that receives the frame of t117 via receiving element 2008 at t106 carries out each Parameter Extraction in the received frame in received frame parser circuitry 2009, the zero defect mark that extracts is sent to zero defect mark parser circuitry 2010, in addition, sequence number is sent to sequence number parser circuitry 2012.
The parsing of the zero defect mark that transmits in the zero defect mark parser circuitry 2010.In this case, because the frame of the t117 that receiver 2101 sends represents that mistake is arranged, therefore resolved to mistake and given control unit 2002 this intention notice.
In addition, in sequence number parser circuitry 2012, carry out the parsing of sequence number, and analysis result is notified to control unit 2002.In this case, sequence number 3 is notified to control unit 2002.
In addition, by error detecting circuit 2011 whether for example error detection of CRC mistake is arranged in received frame simultaneously.In error detection or error correcting code is under the CRC sign indicating number situation in addition, carries out error detection or error correction according to this sign indicating number.
Control unit 2002 is according to analysis result, sequence number, the error detection result of described zero defect mark, judge whether normally receiver 2101 have been carried out blanket transmission, if there is the part that does not send in the transmission data, then judge the transmission again of the data that the blanket transmission of these data had still been sent.In this case, have mistake because be judged as, and receiver 2101 to have asked from sequence number be the transmission of 3 frame, number be that 3 part begins to send sending data again therefore from transmission timing row last time.Specifically, to the meaning that final marking circuit 2004 notices of blanket transmission send again, sequence number notifies 3 to sequence number generative circuit 2005 to start with simultaneously.
Send in the final mark generative circuit 2004 blanket, then sum up the calculating again that sends size of data if desired.Can use and last time the identical value of blanket transmission size of data, also can will sum up in addition and send final mark as final in the sequence number that sends last time blanket frame when sending final mark and representing final frame.Specifically, by for the first time blanket when to have sent sequence number be 1 to 5 frame, under the situation of receiving the request that begins again transmit frame from sequence number 3 from receiver, in secondary blanket transmission, can carry out the blanket transmission of sequence number 3 to 7, also can carry out the blanket transmission of sequence number 3 to 5.
In the sequence number generative circuit 2005, if send from sequence number 3 beginnings from control unit 2002 notices, then the beginning sequence number with sequence number is set at 3 again, and sends transmit frame generative circuit 2006 to again.
Transmit frame generative circuit 2006 generates transmit frame, and sends via transmitting element 2007.
These situations about sending again are t117, t110, the t111 of Figure 33.
Receive these again the receiver 2101 of transmit frame be judged as by error detecting circuit 2111 and sequence number parser circuitry 2112 when all being free from mistakes in all received frames, blanket send after final mark represents final frame t122 2102 pairs of zero defect marks of control unit generative circuit, 2104 notice zero defects receiving.
Zero defect mark generative circuit 2104 is notified, is the meaning of zero defect with the zero defect flag settings, and sends transmit frame generative circuit 2106 to.
Transmit frame generative circuit 2106 is received mark, configuration zero defect mark in frame, and via transmitting element 2107 transmissions.About the sequence number of this moment, omit explanation.
Receive that at t112 this zero defect mark represents in the transmitter 2001 of frame of zero defect, be judged as zero defect by zero defect mark parser circuitry 2010, and when being notified to control unit 2002, control unit 2002 is identified as blanket the transmission successfully, in sending data, exist under the data conditions that does not send, can then sum up transmission.
As above, according to transmitter 2001 and receiver 2101, do not have when mistake takes place, can send processing more yet, and can carry out the high communication of reliability in the communication mode of frame of restriction of window size in use.
In addition, in transmitter 2001, when receiving that from receiver 2101 the zero defect label table is shown with the request of transmission again of mistake, also can not be from the sequence number that receives simultaneously send again but from send data begin send again.
In addition, from send data from the beginning of situation about sending again under, the sequence number that is endowed preferably sends from initial value (for example in the present embodiment from 0) by predetermined rule.
In addition,, restriction is set, even carrying out also can interrupting or finish transmission than sending under the situation that normally to sum up transmission again that predetermined value is Duoed to receiver 2101 to sending number of times again sending under the situation about sending again of data.Like this, under the exceedingly odious situation of the quality of communication path, can interrupt or finish communication and the user notified, and can carry out communication in the communication path that quality improves.
In addition, the restriction that for example will send number of times again is made as under 1 time the situation, also can handle and by counter by mark, thereby make circuit reduction.
In addition, from the transmission of carrying out from the sequence number the request of transmission again of receiver 2101 again, also restriction is set to sending number of times again, thereby under the quality condition of severe of communication path, by interrupting or finish to send and, thereby can improve the quality of communication path to user notification.
In addition,, for example will send again under the situation that number of times is made as 1 time, and also can handle and by counter, thereby make circuit reduction by mark with described same.
In addition, transmitter 2001 will be summed up the transmission size of data and be made as 1 frame length, in whole frames, the final mark of blanket transmission be become finally.In this case, in whole frames, need be from the response of receiver 2101, communication efficiency reduces, but the 2001 pairs of storage areas that can reduce the data that should keep from the request of transmission again of receiver 2101 of transmitter are effective in the transmitter 2001 that memory can not fully be guaranteed.
In addition, in receiver 2101, by detecting under the situation that in received frame, has mistake at error detecting circuit 2111 and sequence number detection circuit 2112, control unit 2102 receives blanket transmission by the final mark parser circuitry 2110 of blanket transmission and finally is labeled as final frame, because the data before transmitter 2001 request sent again are the predetermined data that sent again by transmitter 2001, so also can not carry out the data during this are kept at processing in the memory 2103.Thus, can cut down by the electric power that preservation consumed that sends the predetermined data that receive again that cause again.
In addition, in receiver 2101, the number of times of the request of carrying out when detecting mistake in the received frame from transmitter 2001 that sends again is provided with restriction, even in the request of carrying out Duoing of transmission again than predetermined value, in receiver 2101, can not normally sum up under the situation about receiving, also can interrupt or finish receiving.Like this, under the exceedingly odious situation of the quality of communication path, can interrupt or finish communication and notify the user, and can carry out the communication in the communication path that quality has improved.
In addition, the restriction that for example will send request number of times again is made as under 1 time the situation, also can handle and by counter by mark, thereby make circuit reduction.
In addition, in receiver 2101, in the request of carrying out when in received frame, detecting mistake of transmission again, in sequence number generative circuit 2105, set predetermined initial value (for example being 0 in the present embodiment) usually, and 2001 transmissions send claim frame again to transmitter from transmitter 2001.Like this, needn't be kept for detecting the sequence number that sends request again under the amiss situation, make circuit reduction.
[the 5th execution mode]
Illustrate that to Figure 36 the forwarding forwarding of data system (communication system) of this 5th execution mode is as follows based on Figure 32, Figure 34.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 34 to describe, use Figure 32 to describe, use Figure 35 and Figure 36 to describe as signal timing diagram as the block diagram of receiver as the block diagram of transmitter.
Figure 34 is the block diagram of the transmitter 2201 of present embodiment.In addition, Figure 34 is an example of the structure of transmitter, is not limited thereto.In addition, each forming circuit can be that software also can be hardware.Below carry out the explanation of each inscape.
Transmitter (main website, client device) the 2201st, the equipment of transmission data one end.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.In addition, each inscape beyond the timer (timing piece) 2213 has each the inscape identical functions with the transmitter 2001 (Figure 31) of above-mentioned the 4th execution mode, therefore omits explanation.
Timer 2 213 is by control unit 2002 controls.Specifically, sending final mark as after finally having carried out sending with blanket, by control unit 2002 beginnings, if at preset time with interior receiver 2101 undesired reception response frames, then notify then (time out) to control unit 2002.
The control unit 2002 of receiving this notice then judges because communication path unusual, receiver 2101 is failed normally to receive the final mark of blanket transmission of previous transmission and is represented final frame (frame of the t205 of Figure 35), though perhaps the receiver final mark of blanket transmission that normally receives previous transmission is represented final frame but because communication path unusual and fail normally to receive the frame that comprise zero defect mark (frame of the t312 of Figure 36) of receiver to this transmission in transmitter, and is notified to the blanket final mark generative circuit 2004 that sends respectively, sequence number generative circuit 2005, transmit frame generative circuit 2006.
The final mark generative circuit 2004 of blanket transmission of receiving described notice will be summed up and send final mark and be made as finally, and send transmit frame generative circuit 2006 to.
In addition, the sequence number generative circuit 2005 of receiving described notice sends transmit frame generative circuit 2006 to after setting the sequence number of previous frame once more.
Receive that the transmit frame generative circuit 2006 of sequence number sets the data identical with the frame of previous transmission once more, and set final mark of described blanket transmission and sequence number, and send via transmitting element 2007.
As above,, can sum up and send the transmission again that final mark is represented final frame, even under the abominable state of the quality of communication path, also can send processing again, and can carry out the high communication of reliability by constituting transmitter 2201.
In addition, summing up under the situation about sending again that transmission finally is labeled as final frame, to sending number of times again restriction is set, even carrying out also can interrupting or finish transmission than sending under the situation that normally to sum up transmission again that predetermined value is Duoed to receiver 2101.Like this, under the exceedingly odious situation of the quality of communication path, can interrupt or finish communication and the user notified, and can carry out communication in the communication path that quality improves.
In addition, shown in the sequential chart of Figure 36, become the frame of the t311 of the final value of expression for the final mark of blanket transmission, send it back frame t312 although sent, but because communication path exists unusually, in transmitter, fail normally to receive under the situation that sends it back frame t312, receive the blanket frame t313 that final mark becomes the final value of expression that sends sometimes once more.
Under these circumstances, in the receiver 2101, in control unit 2102, keeping previous sequence number, the blanket transmission when receiving in the final mark parser circuitry 2110 that receiving blanket transmission finally is labeled as the notice of final frame, under the situation identical with previous sequence number from the sequence number of sequence number parser circuitry 2112, even the analysis result mistake of sequence number parser circuitry 2112, do not handle as mistake yet, 2102 pairs of zero defect marks of control unit generative circuit 2104 is set the value identical with the frame of previous transmission, perhaps sequence number generative circuit 2105 is set equally the sequence numbers of the frame of previous transmission, and sent.If, then also can not set sequence number by the value representation zero defect that zero defect mark generative circuit 2104 is set.
Like this, even abominable and transmitter fails normally to receive under the situation of the frame that receiver sends in the quality of communication path, also can carry out, and can carry out the high communication of reliability from the transmission again of the frame of receiver.
In addition, in receiver 2101, as mentioned above, represent final and have under the situation of frame of identical sequence number receiving the final mark of a plurality of blanket transmissions, for second later frame, because intraframe data has been kept in the memory, therefore also can in control unit 2102, control so that no longer preserve.By like this, can cut down and preserve the electric power that data consumed.
[the 6th execution mode]
Illustrate that to Figure 39 the forwarding forwarding of data system (communication system) of this 6th execution mode is as follows based on Figure 37.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 37 to describe, use Figure 38 to describe, use Figure 39 to describe as signal timing diagram as the block diagram of receiver as the block diagram of transmitter.
Figure 37 is the block diagram of the transmitter 2301 of present embodiment.In addition, Figure 37 is an example of the structure of transmitter, is not limited thereto.In addition, each forming circuit can be that software also can be hardware.Below carry out the explanation of each inscape.
Transmitter (main website, client device) the 2301st, the equipment of transmission data one end.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.In addition, each inscape beyond the remote station buffer sizes parser circuitry (remote station buffer sizes resolution component) 2313 has each the inscape identical functions with the transmitter 2001 (Figure 31) of above-mentioned the 4th execution mode, therefore omits explanation.
The buffer sizes parameter that comprises in the frame that 2313 pairs of remote station buffer sizes parser circuitry receive from receiver 2401 (Figure 38) is resolved, and analysis result is notified to control unit 2002.
Control unit 2002 is received analysis result, sends final mark generative circuit 2004 and will sum up and send size of data and be set at less than the value of the buffer sizes of receiver 2401 and sum up transmission for blanket.The buffer sizes of this receiver is preferably in to sum up to send and receives before.
Figure 38 is the block diagram of the receiver 2401 of present embodiment.In addition, Figure 38 is an example of the structure of receiver, should not be defined in this.In addition, each forming circuit can be that software also can be hardware.Below carry out the explanation of each inscape.
Receiver (secondary, server apparatus) the 2401st receives from the equipment to transmission data one end of method, apparatus.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.In addition, each inscape beyond the buffer sizes generative circuit (buffer sizes generation parts) 2413 has each the inscape identical functions with the receiver 2101 (Figure 32) of above-mentioned the 4th execution mode, therefore omits explanation.
The size that control unit 2102 can be summed up the buffer of reception with receiver 2401 sends buffer sizes generative circuit 2413 to.
Buffer sizes generative circuit 2413 generates the buffer sizes that transmits from control unit 2102 with predetermined form, and sends transmit frame generative circuit 2106 to.
Transmit frame generative circuit 2106 disposes described buffer sizes in transmit frame, and sends.In addition, the frame that comprises described buffer sizes is preferably in transmitter and sums up and transmitter is sent before sending, and for example is preferably in the frame that sends when connecting to send after the described buffer sizes of configuration, but is not limited thereto.
Then, flowing with reference to each signal of the sequential chart of Figure 39 explanation present embodiment.
The control unit 2102 of receiver 2401 for example can be summed up the buffer sizes of reception to buffer sizes generative circuit 2413 notice receivers 2101 when connecting.
Notified buffer sizes generative circuit 2413 generates the buffer sizes parameter by predetermined form, and sends transmit frame generative circuit 2106 to.
The transmit frame generative circuit 2106 of receiving parameter is by the described buffer sizes parameter of configuration in predetermined form is in transmit frame, and transmission.This is the frame of the t408 of Figure 39.
If transmitter 2301 then extracts the buffer sizes parameter, and sends remote station buffer sizes parser circuitry 2313 at the frame that t401 receives the buffer sizes parameter that comprises receiver 2401 in received frame parser circuitry 2009.
Remote station buffer sizes parser circuitry 2313 is resolved the buffer sizes parameter, and analysis result is notified to control unit 2002.
Control unit 2002 is set at blanket transmission size of data with the size below the buffer sizes that parses, and sends the blanket final mark generative circuit 2004 that sends to.
The final mark generative circuit 2004 of blanket transmission is based on the blanket transmission size of data that is transmitted by control unit 2002, and setting is blanket to be sent final mark and sum up transmission.
By so above-mentioned, can can sum up the buffer sizes of reception to transmitter 2301 notice receivers 2401, in addition, transmitter 2301 is based on calculate the blanket size of data that sends again from the reception buffer the summed up size of receiver 2401, and be reflected in the control of the final mark of blanket transmission, thereby can prevent that transmitter 2301 from surpassing the blanket transmission of the reception buffer the summed up size of receiver 2401.
In addition, between transmitter 2301 and receiver 2401, arrange to sum up the default value of reception buffer size in advance, and do not receive at transmitter 2301 and can sum up under the situation of reception buffer size, be the employing default value by decision, thereby in receiver 2401, if can sum up below the reception buffer the summed up size that the default value of reception buffer size is a receiver 2401, even then can not sum up the reception buffer size to transmitter 2301 notices, if transmitter 2301 uses the reception buffer the summed up size of acquiescence to sum up transmission, can also prevent also that then transmitter from surpassing the blanket transmission of the reception buffer the summed up size of receiver.In addition, in this case, receiver 2401 needn't send transmitter 2301 and be used to notify the frame that can sum up the transmission buffer size, brings the efficient activity of frequency band.
[the 7th execution mode]
Illustrate that to Figure 42 the forwarding forwarding of data system (communication system) of this 7th execution mode is as follows based on Figure 40.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 40 to describe, use Figure 41 to describe, use Figure 42 to describe as signal timing diagram as the block diagram of receiver as the block diagram of transmitter.
Figure 40 is the block diagram of the transmitter 2501 of present embodiment.In addition, Figure 40 is an example of the structure of transmitter, is not limited thereto.In addition, each forming circuit can be that software also can be hardware.Below carry out the explanation of each inscape.
Transmitter (main website, client device) the 2501st, the equipment of transmission data one end.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.In addition, each inscape beyond the final mark generative circuit of data (data final mark generate parts) 2513 has each the inscape identical functions with the transmitter 2001 (Figure 31) of above-mentioned the 4th execution mode, therefore omits explanation.
The final mark generative circuit 2513 of data differentiates whether contain the final of transmission data in the transmit frame, containing under the situation of final data, generate the final mark of data by the predetermined form of representing this meaning, in addition, under the situation that does not contain final data, generate the final mark of data by the predetermined form of representing this meaning, and send transmit frame generative circuit 2006 to.
The control unit 2002 of transmitter 2501 is when generating transmit frame, and in transmit frame generative circuit 2006, whether the data that dispose in transmit frame are the final data that sends data to final mark generative circuit 2513 notices of data.
The final mark generative circuit of data 2513 is notified, generates the final mark of data by predetermined form, and sends transmit frame generative circuit 2006 to.In the present embodiment, the abbreviation of definition DL (Data Last) is that the final data that expression sends data is not included in the frame under 0 the situation at DL, and is that expression has comprised the final data that sends data under 1 the situation at DL.In the present embodiment, though, also can be other performance with the such abbreviation performance of DL.In addition, comprise in transmission under the situation of frame of the final data that sends data DL is made as 1, but for example, needing under the situation of certain response data as response from remote station, this mark has the meaning of request marks in response, in this meaning, if this mark in response request marks carry out with present embodiment in expression send the same action of mark DL of the final data of data, then this mark also can be the response request mark.
Transmit frame generative circuit 2006 sends final mark of data and blanket final mark, sequence number, the data configuration of sending in transmit frame and via transmitting element 2007.
In the sequential chart of Figure 42, the final mark DL of the data of the frame of t501, t502, t503, t504 is 0, be illustrated in and do not contain the final data that sends data in the frame, the final mark DL of the data of the frame of t505 is 1, is illustrated in frame and contains the final data that sends data.
Then, Figure 41 is the block diagram of the receiver 2601 of present embodiment.In addition, Figure 41 is an example of the structure of receiver, is not limited to this.In addition, each forming circuit can be that software also can be hardware.Below carry out the explanation of each inscape.
Receiver (secondary, server apparatus) the 2601st receives from the equipment to transmission data one end of method, apparatus.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.In addition, each inscape beyond the final mark parser circuitry of data (the final mark resolution component of data) 2613 has each the inscape identical functions with the receiver 2101 (Figure 32) of above-mentioned the 4th execution mode, therefore omits explanation.
The final mark generative circuit 2613 of data is resolved the final mark of data that is configured in the received frame, and to whether containing the final data of the transmission data of transmitter transmission in the control unit 2102 notice received frames.
In the receiver 2601, the received frame that receives via receiving element 2108 is extracted the final mark of data in received frame parser circuitry 2109, and sends the final mark parser circuitry 2613 of data to.At this moment, the final mark of blanket transmission, sequence number also are extracted simultaneously, and are resolved by each parser circuitry.
In the final mark parser circuitry 2613 of data, resolve the final data of the transmission data that in received frame, whether contain transmitter 2501, this result is notified to control unit 2102.
In the control unit 2102, under the situation of the final data of the transmission data that contain transmitter 2501, the processing that can begin to be scheduled to (for example, receiving data is under JPEG (the JointPhotographic Experts Group) data conditions that has been compressed, the decoding of beginning JPEG etc.) etc. processing.
In addition, in the frame that comprises the final data that sends data, represent under the final situation, be suitable value with the zero defect flag settings, and can send at the final mark of blanket transmission.
In addition, at this moment,, send it back at needs under the situation of response data, in transmit frame during configuration data, send after disposing the zero defect mark in the lump, thereby can realize the efficient activity of frequency band transmission data from transmitter 2501.This is the frame of the t512 of Figure 42.
The transmitter 2501 that receives this frame t512 at t506 is by resolving the data in the received frame, thereby can receive the response data from receiver 2601.
[the 8th execution mode]
The forwarding forwarding of data system (communication system) that this 8th execution mode is described based on Figure 43 is as follows.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.In addition, the sequential of present embodiment (sequence) is the additional function that can be installed in above-mentioned transmitter 2001 (Figure 31), receiver 2101 (Figure 32), transmitter 2201 (Figure 34), receiver 2301 (Figure 37), receiver 2401 (Figure 38), transmitter 2501 (Figure 40), the receiver 2601 (Figure 41).
Figure 43 is the sequential chart of present embodiment.
In the present embodiment, between transmitter and receiver, as the communication mode of the restriction that does not have the window size, use UI (Unnumbered Information) frame of the IrLAP (Infrared Link Accessprotocol) of IrDA (Infrared Data Association) to communicate.In addition, transmitter and receiver are all supported OBEX (Object Exchange Protocol), send data by the Put operation.
In Figure 43, configuration sends data in the Put of OBEX Final order, uses the UI frame of IrLAP to carry out the frame transmission.
Put Final order is made of data0 to data7, becomes Put Final order if it is split into the whole connections of data0 to data7.
In addition, the blanket transmission size of data of transmitter is the size that data0 to data3 is connected, and is moment of 3 at sequence number, sends the blanket final mark BL of transmission and be 1 frame t604.At this moment, the final data of the transmission data that are made of the Put Final of OBEX order is that data7 is not included in the transmit frame, so the final mark DL of data is 0.
Receiving the final mark BL of described blanket transmission at t614 is the receiver of 1 frame owing to do not detect mistake in received frame so far, therefore the zero defect mark is made as zero defect and sends at t615.In addition, because the data of the frame that receives finally are labeled as 0, therefore at this constantly, expression is not included in the transmit frame for the SUCCESS response of the normal reception of the Put Final order of OBEX.
At t605, receive described zero defect mark and represent that the transmitter of the frame of zero defect is judged as the blanket transmission that receiver normally receives sequence number 0 to 3, and the then blanket data4 to data7 that sends.When t609 carries out the frame transmission of sequence number 7, will sum up the final mark of transmission and be made as 1.In addition, in t609, containing the final data that sends data in the frame of sequence number 7 is data7, therefore the final mark DL of data is made as 1.
At t619, receive receiver that data finally are labeled as 1 frame and normally received the frame of sequence number 4 to 7, and can all normally receive order from the Put Final of transmitter, therefore generate the SUCCESS response of expression for the normal reception of Put Final order.In addition, because blanket transmission finally is labeled as 1, therefore cooperates SUCCESS to respond the meaning that the zero defect mark is made as zero defect, and send in the lump at t620.
At t610, receive that described zero defect mark represents that the transmitter of the frame of zero defect is identified as the blanket transmission of normally having finished sequence number 4 to 7, owing in described received frame, contain the SUCCESS response of the Put Final order that sends for transmitter, therefore can be identified as the Put operation and also normally be through with simultaneously.
As above, according to the communication means of present embodiment, even used under the situation of UI frame of IrLAP of the restriction that does not have the window size the also exchange of the affirmation of executive communication and data reliably between transmitter and receiver.
[the 9th execution mode]
Illustrate that to Figure 46 the forwarding forwarding of data system (communication system) of this 9th execution mode is as follows based on Figure 44.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 44 to describe, use Figure 45 to describe, use Figure 46 to describe as signal timing diagram as the block diagram of receiver as the block diagram of transmitter.
Figure 44 is the block diagram of the transmitter 2701 of present embodiment.Figure 44 is an example of the structure of transmitter, is not limited thereto.In addition, each forming circuit can be that software also can be hardware.Below carry out the explanation of each inscape.
Transmitter 2701 is the equipment that sends data one end.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.
As shown in figure 44, transmitter (main website, client device) 2701 comprises control unit (control assembly) 2702, memory (memory unit) 2703, sequence number generative circuit (sequence number generation parts) 2705, transmit frame generative circuit (transmit frame generation parts) 2706, transmitting element (transmit block) 2707, the final mark generative circuit of data (the final mark of data generates parts) 2713.
Control unit 2702 carries out the control of each inscape of transmitter 2701.
Storage sends data in the memory 2703.The memory that this memory 2703 can be a volatibility (for example SDRAM etc.) also can be non-volatile memory (for example flash memory, HDD, DVD etc.).In addition, in Figure 44, memory 2703 is configured in the transmitter 2701, but needn't necessarily be present in the transmitter 2701, also can be used as the external memory storage of transmitter 2701 and is connected to transmitter 2701.
Sequence number generative circuit 2705 is according to predetermined rule increase and decrease sequence number, and gives the circuit of each transmit frame.In the present embodiment, the abbreviation of definition SEQ (Sequence number, sequence number) is that the expression sequence number is 1 under 1 the situation at SEQ.In the sequential chart of Figure 46, also use the abbreviation of SEQ with the same meaning.
The final mark generative circuit 2713 of data differentiates whether contain the final of transmission data in the transmit frame, containing under the situation of final data, generate the final mark of data by the predetermined form of representing this meaning, in addition, under the situation that does not contain final data, generate the final mark of data by the predetermined form of representing this meaning, and send transmit frame generative circuit 2706 to.In the present embodiment, the abbreviation of definition DL (DataLast) is that the final data that expression sends data is not included in the frame under 0 the situation at DL, and is that expression has comprised the final data that sends data under 1 the situation at DL.In the present embodiment, though, also can be other performance with the such abbreviation performance of DL.In addition, if between transmitter 2701 and receiver 2801, determine in advance, then the final mark of notebook data only needn't be got the final value of expression in the transmit frame that necessarily comprises the final data that sends data, also can be according to predetermined rule, not when sending the specific data of final data of data, the final flag settings of notebook data to be the final value of expression for example sending.At this moment, also may be to become the different title of the final mark of data.In the present embodiment, use the abbreviation of DL as the final mark of data.
Transmit frame generative circuit 2706 is the circuit that generate transmit frame by predetermined form.According to the predetermined final mark DL of the described data of format configuration, sequence number SEQ, transmission data, and generate transmit frame.In addition, in the present invention, owing to use the communication mode of the restriction do not have the window size, therefore the frame format with the restriction that do not have the window size generates transmit frame.In the present embodiment, UI (Unnumbered Information) frame among the use IrLAP (Infrared LinkAccess Protocol).In addition, the also additional in the lump error detection code that is used to carry out error detection of remote station.As error detection code, CRC (Cyclic RedundancyCheck) etc. is for example arranged, but be not limited thereto.In addition, also can add error correcting code.
Transmitting element 2707 is the circuit that send the transmit frame that is generated by transmit frame generative circuit 2706.For example, if use infrared ray, then be LED (light-emitting diode) or LD (laser diode), but be not limited thereto as communication medium.In addition, under the situation of the communication medium that uses other, be transmitting element corresponding to this communication medium.
Figure 45 is the block diagram of the receiver 2801 of present embodiment.Figure 45 is an example of the structure of receiver, should not be defined in this.In addition, each forming circuit can be that software also can be hardware.Below carry out the explanation of each inscape.
Receiver 2801 is from method, apparatus being received the equipment that sends data one end.Here said transmission data for example can be enumerated text data, view data etc., but are not limited thereto.
As shown in figure 45, receiver (secondary, server apparatus) 2801 comprises control unit (control assembly) 2802, memory (memory unit) 2803, receiving element (receiving-member) 2808, received frame parser circuitry (received frame resolution component) 2809, error detecting circuit (error detection occurs parts) 2811, sequence number parser circuitry (sequence number resolution component) 2812, the final mark parser circuitry of data (the final mark resolution component of data) 2813.
Control unit 2802 carries out the control of each inscape of receiver 2801.
Storage receives data in the memory 2803.The memory that this memory 2803 can be a volatibility (for example SDRAM etc.) also can be non-volatile memory (for example flash memory, HDD, DVD etc.).In addition, in Figure 45, memory 2803 is configured in the receiver 2801, but needn't necessarily be present in the receiver 2801, also can be used as the external memory storage of receiver 2801 and is connected to receiver 2801.
Receiving element 2808 is the circuit that receive the frame of remote station transmission.For example, if use infrared ray, then be PD (photodiode), but be not limited thereto as communication medium.In addition, under the situation of the communication medium that uses other, be receiving element corresponding to this communication medium.
Received frame parser circuitry 2809 is carried out the parsing of the received frame that received by receiving element 2808.Specifically, extract the final mark of data in the received frame, send the final mark parser circuitry 2813 of data to.In addition, extract the sequence number in the received frame, send sequence number parser circuitry 2812 to.In addition, in received frame, exist under the data conditions, extract data, and be kept in the memory 2803 via control unit 2802.In memory 2803, preserve under the data conditions, also can be not necessarily via control unit 2802.
2811 pairs of error detecting circuits are given the sign indicating number that the error detection of received frame uses and are resolved, and differentiate whether mistake is arranged in received frame, and analysis result is notified to control unit 2802.As the sign indicating number that error detection is used, for example, can enumerate cyclic codes such as CRC (Cyclic Redundancy Check) sign indicating number, but be not limited thereto.In addition, under the situation of having given error correcting code, carry out error correction.
Whether sequence number parser circuitry 2812 is resolved the sequence number that is attached in the received frame and is increased and decreased by predetermined rule, and analysis result is notified to control unit 2802.For example, in communication path, omitting under the situations such as frame, this sequence number parser circuitry 2812 is judged as mistake.
The final mark parser circuitry 2813 of data is resolved by the final mark of data of received frame parser circuitry 2809 transmission and with analysis result and is notified to control unit 2802.
Then, with reference to the sequential chart of Figure 44, Figure 45 and Figure 46, flowing of each signal in the present embodiment is described.In addition, transmitter 2701 and receiver 2801 are all supported OBEX (Object ExchangeProtocol), send data by the Put operation.
In Figure 46, configuration sends data in the Put of OBEX Final order, uses the UI frame of IrLAP to carry out the frame transmission.
Put Final order is made of data0 to data7, becomes Put Final order if it is split into the whole connections of data0 to data7.In addition, data7 is the final data of Put Final order.
If when transmitter 2701 produce to send the forwarding of data request in this equipment or from the outside, 2702 pairs of sequence number generative circuits of control unit, 2705 notice formation sequences number.In addition, final mark generative circuit 2713 notices of data are generated the final mark of data.
Sequence number generative circuit 2705 is by predetermined rule increase and decrease sequence number and send transmit frame generative circuit 2006 to.
In addition, the final mark generative circuit 2713 of data differentiates in the transmit frame whether contain the final data that sends data, under situation about comprising, by representing that final predetermined form generates the final mark of data, under situation about not comprising, by representing that non-final predetermined form generates the final mark of data, and be sent to transmit frame generative circuit 2706.
Format configuration described data final mark, sequence number, the data of transmit frame generative circuit 2706 by being scheduled to, and via transmitting element 2706 transmissions.
In Figure 46, t701, t702, t703, t704, t705, t706, t707 are that data finally are labeled as non-final frame, and t708 is that data finally are labeled as final frame.In addition, the sequence number of having recorded and narrated in each frame of t701 to t708 (SEQ) respectively increases by one in the present embodiment.
Then, if receiver 2801 receives frame from remote station via receiving element 2808, then by each parameter in the received frame parser circuitry 2809 extraction received frames.Described parameter for example is the final mark of data, sequence number, data etc., the final mark of data is transmitted to the final mark parser circuitry 2813 of data, sequence number is transmitted to sequence number parser circuitry 2812, and data then are kept in the memory 2803 via control unit 2802 if desired.In addition, by error detecting circuit 2811 whether for example error detection of CRC mistake is arranged in received frame simultaneously.In error detection or error correcting code is under the CRC sign indicating number situation in addition, carries out error detection or error correction according to this sign indicating number.
In addition, carry out the parsing and the notice analysis result of the final mark of data in the final mark parser circuitry 2813 of data.In the sequential chart of Figure 46, when the frame of t701, t702, t703, t704, t705, t706, t707 received, the final mark of data was not final, when the frame of t708 receives, the final mark of data is made as finally and respectively notifies control unit 2802.
In addition, in sequence number parser circuitry 2812, whether parsing has increased and decreased the sequence number in the received frame according to predetermined rule, and analysis result is notified to control unit 2802.In the present embodiment, as described predetermined rule, sequence number increases by 1 at every frame.In the sequential chart of Figure 46,8 frames that transmitter 2701 sends are all normal to be received, and transmitter 2701 between predesignate and respectively increase for sequence number under 1 the state, because all the sequence number of frame has all increased by 1 than the sequence number of previous frame, therefore in whole received frames, be notified to the control unit 2802 of receiver 2801 as normal reception.
In control unit 2802, in whole received frames, do not detect mistake or receive under the situation of the frame that comprises the final mark of data, the processing that can begin to be scheduled to processing such as (for example, receiving under the situation that data are jpeg datas of being compressed the decoding of beginning JPEG etc.).
In addition, in receiver 2801, detect under the situation that in received frame, has mistake, also can not carry out later data are kept at processing in the memory 2103 by mistake error detecting circuit 2811 and sequence number detection circuit 2812.Thus, can cut down the electric power that preservation consumed that detects the later data of amiss situation.
As above, according to transmitter 2701 and receiver 2801, do not have in one-way communication, can detect the omission of frame yet, and can carry out the high communication of reliability in the communication mode of UI frame of IrLAP of restriction of window size in use.In addition, when one-way communication, in transmitter 2701, though can not carry out reception to the SUCCESS response of the Put Final of OBEX order, but in the control unit 2702 of transmitter 2701, when one-way communication, in the moment that is sent completely Put Final, if decision then also can normally be carried out the data forwarding by the Put operation for carrying out the end of Put operation in one-way communication.
[the tenth execution mode]
Illustrate that to Figure 51 the forwarding forwarding of data system (communication system) of this tenth execution mode is as follows based on Figure 47.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, explanation will be summed up the determining method of the size of data of transmission.In communication system of the present invention, can determine transmitter will sum up the blanket transmission size of data of transmission so that the transmission again of data and the data processing in the receiver.In addition, the blanket size that sends data can be according to the kind of the data that will send or the state of communication path etc. and by the decisions such as application of transmitter, also can send the size of blanket transmission data or be used to determine this big or small information (for example, the buffer sizes of receiver) transmitter from receiver.
In addition, cutting apart usually of data undertaken by the SMP layer, but also can carry out at other layer.
In the present embodiment, as an example, the situation of jpeg image is transmitted in narration.
Figure 47 is the jpeg coder of expression in the transmitter and the block diagram of the structure of the jpeg decoder in the receiver.
As shown in figure 47, when transmitting jpeg image, in the jpeg coder 91 of transmitter, at first for unit original image is carried out dct transform with piece (mcu:minimum coded unit, minimum code unit).Mcu is the least unit of carrying out the JPEG conversion, according to compress mode, 8 * 8,8 * 16,16 * 8,16 * 16 four kinds (Figure 48 (a)~(d)) is arranged.
In 8 * 8 (Figure 48 (a)), in all pixels, luminance component (Y), chromatic component (Cb, Cr) are 1 pair 1 relation.In 8 * 16 (Figure 48 (b)), (1) has respectively one of 2 Y (being equivalent to 1 in 8 * 8 and 9) and Cb (1 in 8 * 8 and 9 average) and Cr (1 in 8 * 8 and 9 average) in the unit of a lengthwise.In 16 * 8 (Figure 48 (c)), respectively one of 2 Y (being equivalent to 1 in 8 * 8 and 2) and Cb (1 in 8 * 8 and 2 average) and Cr (1 in 8 * 8 and 2 average) is arranged in a unit that grows crosswise.In 16 * 16 (Figure 48 (d)), (1) has respectively one of 4 Y (being equivalent to 1 in 8 * 8,2,9,10) and Cb (1 in 8 * 8,2,9,16 average) and Cr (1 in 8 * 8,2,9,16 average) in a unit.
As above-mentioned, 8 * 8 compression ratio is minimum, and decoded image and original image are approaching but data volume is many.This generally is called 4:4; 4.16 * 16 compression ratio is the highest, though the few average part of data volume increases, the possibility that therefore obtains the decoded picture different with original image improves.
And, in dct transform, be that dct transform (discrete cosine transform) is carried out in the input of unit with described.This conversion is calculated as multiplying each other of two-dimensional matrix, obtain with piece in 64 conversion coefficient of the identical number of pixel count.The conversion coefficient that obtains is approaching more upper left, and then frequency component is low more, and more near the bottom right, then frequency component is high more.Generally and since image and pixel adjacent relevant greatly, so the conversion coefficient that frequency component is high then probability of occurrence is few more.
Then, in quantification, with described conversion coefficient divided by predetermined quantization table.As previously mentioned, general because the probability of occurrence of the conversion coefficient that frequency is high is low, if therefore improve the high part of frequency of map table, then the conversion coefficient that frequency component is high almost becomes 0 by quantizing.
At last, in entropy coding, carry out entropy coding based on predetermined entropy coding table.As previously mentioned, be transformed to 0 conversion coefficient by quantification and show as 0 consecutive numbers, can compress in this moment by entropy coding.In other words, in original image, (change in color of adjacency is not fierce) image that frequency component is low tends to the compression efficiency height of JPEG compression.
And the view data behind the entropy coding is sent on the communication path.
On the other hand, the receiver of the view data after receiving described entropy coding from communication path is decoded thereby carry out JPEG by the antipodal work of carrying out carrying out with transmitter of work jpeg decoder 92.
At first, in the entropy decoding, carry out the entropy decoding based on predetermined entropy coding table.Then, use predetermined re-quantization table will carry out the data that the entropy decoding obtains and carry out re-quantization by re-quantization.Data behind the re-quantization are transformed to luminance component Y, chromatic component Cb, Cr by inverse dct transform.In addition, at this moment,, use chromatic component Cb, Cr after luminance component Y, the equalization with image restoration according to 8 * 8,8 * 16,16 * 8,16 * 16 separately compress modes.
As mentioned above, in the forwarding of jpeg image, in compressed image generation, decoding, be the processing that unit carries out data with block unit (mcu).In addition, in decoded demonstration, by carrying out with the processing of the behavior unit of having arranged the described mcu of row or with 1 frame be the processing of unit (is unit with 1 image), thereby situation is better sometimes.This is because in picture signal, in each row, there is horizontal-drive signal, and in each frame, have vertical synchronizing signal, by upgrading line buffer or frame buffer by each of these synchronizing signals, thereby the renewal that can handle video memory is regularly.In addition, this with the piece be in the animation process such as MPEG handled of unit too.
Then, be that situation about sending is again cut apart in unit as sending the object lesson of handling again cutting apart of data, illustrating respectively with mcu, cut apart situation about sending again with behavior unit, be that situation about sending is again cut apart in unit with the file.
Figure 49 be in the communication system of the present invention be the cutting apart of unit with mcu, send the key diagram of handling again.
In transmitter, the mcu that carries out described DCT, quantification, entropy coding is that unit transmits.Specifically, transmit data to sending with temporary buffer, after sending data forwarding with temporary buffer and finishing, will sum up and send end mark and be made as 1 with the unit of the data that are equivalent to a mcu.
In receiver, when the blanket transmission of each reception end mark is 1 frame, the data that receive with temporary buffer for example are forwarded to application, in application, carry out the JPEG decoding.
Be that unit is cut apart under the situation about sending again like this with mcu, the transmission of transmitter is guaranteed to be equivalent to a mcu (common tens of bytes arrive about hundreds of bytes) with the reception of temporary buffer and receiver with temporary buffer and is got final product.Therefore, guarantee in the communication equipment of interim memory being difficult to, for effectively cutting apart send mode again.
Figure 50 is the key diagram of cutting apart, send processing with behavior unit in the communication system of the present invention.
In transmitter,,, will sum up the transmission end mark and be made as 1 in the moment that a transmission that is listed as finishes to sending with the temporary buffer forwarding one row data of (being equivalent to 8 row under 8 * 8 the situation).
In receiver, receiving the blanket moment that end mark is 1 frame that sends, for example, receive data to using to transmit, in application, carry out the JPEG decoding.
Cutting apart with behavior unit like this under the situation about sending again, in the moment of application having been transmitted data, the data of row (being 8 row under 8 * 8 the situation) are complete, can simplify to classify the processing under the processed in units reception data conditions as.In addition, when mistake takes place, only show in the display system of the part that mistake does not take place, because decoded data are the position of itemizing, therefore can be at the video data of cut-out midway of row.In addition, under the situation of this mode, the transmission of transmitter needs number KB to arrive about hundreds of KB with the reception of temporary buffer and receiver with the temporary buffer hypothesis.
Figure 51 be explanation in the communication system of the present invention with the file be unit cut apart, send again the figure that handles.
In transmitter, transmit a transmission image to sending with temporary buffer, will send the moment that all sends with the data in the temporary buffer, will sum up the transmission end mark and be made as 1.
At receiving terminal, receiving the blanket moment that end mark is 1 frame that sends, for example, receive data to using to transmit, in application, carry out the JPEG decoding processing.
Like this, be that unit is cut apart under the situation about sending again with the file, can be that transmission processing is again cut apart in unit with the data of an image, therefore in the JPEG decoding of using, by being that unit carries out JPEG decoding with an image, thereby can carry out simply in the moment of the decoding of having finished an image, the processing such as frame memory that update displayed is used.In addition, under the situation of this mode, the transmission of transmitter is assumed to be hundreds of KB to number MB with the reception of temporary buffer and receiver with temporary buffer.In addition, as MPEG etc.,, because communication is taking place under the situation of mistake, can carry out simply showing processing such as previous image, so be effective with complete state continuance sending continuously in the treatment system of rest image.
In addition, about waiting for time, be to have taken place under the situation of mistake in 1 the frame at the blanket end mark that sends from the response of receiver, wish to send again immediately.But as mistake does not take place, the time consuming situation of processing of the reception data in the receiver etc. can not be returned response so sometimes.In this case, not greatly the excessive time though transmitter is set than receiving data processing time, even when waiting for that the described time can not returned response yet, also can send the blanket end mark that sends again is 1 frame.Thus, guaranteed the data processing time in the receiver, and can carry out best transmission again and handle.
[the 11 execution mode]
The client device (communicator) of the forwarding forwarding of data system (communication system) of this 11 execution mode below is described.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
At first, Figure 52 is to use the block diagram of the client device that OBEX agreement in the past communicates.
Shown in Figure 52, client device in the past (communicator) 3200 comprises application layer process unit 3210, OBEX layer processing unit (object exchange layer processing unit) 3220, low layer processing unit 3230, transmitting element 3240, receiving element 3250 at least.
Application layer process unit 3210 is according to the indication that is input to the user of not shown operating unit, to the processing of sending of OBEX layer processing unit 3220 request request commands.
OBEX layer processing unit 3220 comprises control unit 3221, request notification unit 3222, response receiving element 3223.
Control unit 3221 is according to the request from application layer process unit 3210, and request notification unit 3222 notices are carried out the generation of request command and sending the request command of low layer.In addition, receive response command reception result notice, to the reception result of application layer processing unit 3210 push-notification-answer orders from response receiving element 3223.
Request notification unit 3222 receives gives notice from the request command of control unit 3221, generates request command, and outputs to low layer processing unit 3230.Response receiving element 3223 receives from the response command of low layer processing unit 3230 outputs, and the parsing of the response command that receives, to control unit 3221 notification command analysis results with receive response command.
Send transmitting element 3240 to after 3230 pairs of low layer processing units the heads, send OBEX layer processing unit 3220 to after from reception response command, removing the head of suitable low layer simultaneously from receiving element 3250 from the additional suitable low layer of the request commands of OBEX layer processing unit 3220.
Transmitting element 3240 will send to the outside from the request command that low layer processing unit 3230 receives via the infrared communication unit.
Receiving element 3250 receives the response command that sends to method, apparatus (server apparatus) via the infrared communication path, and the response command that receives is outputed to low layer processing unit 3230.
Then, use the flow chart shown in Figure 53, the action of control unit 3221 of the OBEX layer processing unit 3220 of Figure 52 is described.
Step S51 differentiates in the control unit 3221 of the application layer process unit 3210 of client device 3200 and OBEX layer processing unit 3220, and whether the step to the request command of server apparatus has taken place.Under situation about having taken place, transfer to step S52, under nonevent situation also, transfer to step S51 once more.
Step S52 is the step that the request command to server apparatus is sent to low layer processing unit 3230.After sending end, transfer to step S53.
Whether step S53 differentiates in the step that receives from low layer processing unit 3230 from the response command of server apparatus.Under situation about receiving, transfer to step S54, under situation about also not receiving, transfer to step S53 once more.
Step S54 is the step of resolving the response command that receives.After resolving end, transfer to step S55.
Step S55 differentiates the step whether communication finishes.Under the unclosed situation of communication, transfer to step S51 once more.
By above action, the OBEX layer processing unit 3220 of client device 3200 in the past sends request command, resolves the response command to this, and sends request command then once more, thereby can communicate.
But, in the action of the OBEX layer processing unit 3220 of aforesaid client device 3200 in the past, only exist otherwise receive response command from server apparatus, then can not send the problem of request command then.
In order to address this problem, shown in the flow chart of Figure 55, in the client device 3300 (Figure 54) of present embodiment, after server apparatus has been sent request command, even the response command that does not receive from server apparatus also can send request command then.Specific as follows.
Step S61 differentiates the step that whether has taken place the request command of server in the control unit 3321 of the application layer process unit 3310 of client device 3300 and OBEX layer processing unit 3320.Under situation about having taken place, transfer to step S62, under nonevent situation also, transfer to step S61 once more.
Step S62 is the step that the request command to server apparatus is sent to low layer processing unit 3330.After sending end, transfer to step S65.
Step S65 differentiates the step whether communication finishes.Under the unclosed situation of communication, transfer to step S61 once more.
Carry out above action by control unit 3321 by the OBEX layer processing unit 3320 of client device 3300, after client device 3300 has sent request command, even the response command that does not receive from server apparatus also can send request command then.
Here, Figure 54 is the block diagram of the client device 3300 of present embodiment.
Each piece beyond the communication direction selected cell 3324 of OBEX layer processing unit (object exchange layer processing unit) 3320 has each piece identical functions of the OBEX layer processing unit 3220 of in the past the client device 3200 above-mentioned with using Figure 52, therefore omits explanation.
It is the one-way communication or the function of two-way communication that communication direction selected cell 3324 has the communication of selection.Here said one-way communication is for need be from the communication of the response command of server apparatus from the request command of client device.In server apparatus, do not exist under the situation of transmitting element, perhaps do not exist under the situation of receiving element in the client device, must be one-way communication, but client device and server apparatus have transmitting element and receiving element respectively, signal mobile be from client device under the unidirectional situation of server apparatus, remain one-way communication.In addition, two-way communication is the request command that sends for from client device, sends response command by server apparatus, after resolving described response command, is sent the communication mode of request command then once more by client device.In this case, be not that all request commands are all needed response command, if the OBEX layer of the OBEX layer of client device and server apparatus determine in advance, then not necessarily need be for the response command of specific request command.
Then, the action of the control unit 3321 of the OBEX layer processing unit 3320 of the client device 3300 of the flowchart text present embodiment of use Figure 56.
Step S70 is that to be selected by communication direction selected cell 3324 be the one-way communication or the step of two-way communication.Under the situation of two-way communication, transfer to step S71, and under the situation of one-way communication, transfer to S81.
Step S71 differentiates in two-way communication, and whether the step to the request command of server apparatus has taken place in the control unit 3221 of application layer process unit 3310 or OBEX layer processing unit 3320.Under situation about having taken place, transfer to step S72, and under nonevent situation, transfer to S71.
Step S72 is in two-way communication, to the step of low layer processing unit 3330 transmissions to the request command of server apparatus.After sending end, transfer to step S73.
Step S73 differentiates the step that whether receives from the response command of server apparatus in two-way communication.Under situation about receiving, transfer to step S74, and under situation about not receiving, transfer to S73 once more.
Step S74 is the step of resolving in two-way communication from the response command of server apparatus.After resolving end, transfer to step S75.
Step S75 differentiates the step whether communication finishes in two-way communication.Under unclosed situation, transfer to step S71 once more.
On the other hand, step S81 is in one-way communication, judges in the control unit 3321 of application layer process unit 3310 or OBEX layer processing unit 3320, and whether the step to the request command of server apparatus has taken place.Under situation about having taken place, transfer to step S82, under nonevent situation, transfer to step S81 once more.
Step S82 will send to the step of low layer processing unit 3330 to the request command of server apparatus in one-way communication.After sending end, transfer to step S85.
Step S85 differentiates the step that whether finishes to communicate by letter in one-way communication.Not being under the situation about finishing, transfer to step S81 once more.
Carry out above action by control unit 3321 by the OBEX layer processing unit 3320 of client device 3300, thereby in two-way communication, after waiting for, send request command then from the response command of server apparatus, in one-way communication, even do not receive response command, also can send request command then from server apparatus.
[the 12 execution mode]
The client device (communicator) of the forwarding forwarding of data system (communication system) of this 12 execution mode below is described.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
Figure 54 is the block diagram of the client device 3300 of present embodiment.That is, identical with above-mentioned the 11 execution mode, and also the action of each piece beyond the control unit of OBEX layer processing unit 3,320 3321 is also identical with the action of each piece of the 11 execution mode basically, therefore omits explanation.
The action of the control unit 3321 of the OBEX layer processing unit 3320 of the flowchart text present embodiment shown in use Figure 57.
Step S91 differentiates the step that whether has taken place the Put request command of server in the control unit 3321 of application layer process unit 3310 or OBEX layer processing unit 3320.Under situation about having taken place, transfer to step S92, under nonevent situation, transfer to step S91 once more.
Step S92 is the step that server apparatus is sent the Put request command.After sending end, transfer to step S93.
Step S93 is whether the Put request command that differentiate to send is the step of final Put request command.Being under the final situation, transfer to step S94, under non-final situation, transfer to step S91.
Step S94 differentiates the step that whether receives from the response command of server apparatus.Under situation about receiving, transfer to step S95, under situation about not receiving, transfer to step S94 once more.
Step S95 is the step of resolving from the response command of server apparatus.After resolving end, transfer to step S96.At this moment, differentiate the SUCCESS response command that whether receives for final Put request command.
Step S96 differentiates the step whether communication finishes.Under unclosed situation, transfer to step S91 once more.
Carry out above action by control unit 3321 by the OBEX layer processing unit 3320 of client device 3300, for non-final Put request command, can send Put request command then and needn't wait for and CONTINUE response command from server apparatus can improve communication efficiency.In addition, for from the SUCCESS response command of server apparatus, in client device 3300,, therefore in client device 3300, can differentiate and whether normally server apparatus carried out data forwarding owing to confirm with respect to final Put order.
In addition, shown in Figure 56, can carry out following action by the two-way communication of combined communication direction selected cell 3324, the switching of one-way communication: when two-way communication, only final Put order needs the SUCCESS response command, when one-way communication, do not need response command for whole request commands.
[the 13 execution mode]
The server apparatus (communicator) of the forwarding forwarding of data system (communication system) of this 13 execution mode below is described.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
At first, Figure 58 represents to use the block diagram of the server apparatus that OBEX agreement in the past communicates.
Shown in Figure 58, server apparatus (communicator) 3400 comprises application layer process unit 3410, OBEX layer processing unit (object exchange layer processing unit) 3420, low layer processing unit 3430, transmitting element 3440, receiving element 3450 at least.
Application layer process unit 3410 sends 3420 request reception request commands processing of OBEX layer processing unit and response command according to user's indication of the not shown operating unit of input.
OBEX layer processing unit 3420 comprises control unit 3421, response notification unit 3422, request analysis unit 3423.
Control unit 3421 is according to the request from application layer process unit 3410, and response notification unit 3422 notices are carried out the generation of response command and sending the response command of low layer.In addition, receive request command reception result notice, to the reception result of application layer processing unit 3410 notice request orders from request analysis unit 3423.
Response notification unit 3422 is received from the response command of control unit 3421 and is given notice, and the generation response command, outputs to low layer processing unit 3430.Request analysis unit 3423 receives from the request command of low layer processing unit 3430 outputs, and the parsing of the request command that receives receives the notice of command analysis result and request command to control unit 3421.
Send transmitting element 3440 to after 3430 pairs of low layer processing units the heads, send OBEX layer processing unit 3420 to after from reception request command, removing the head of suitable low layer simultaneously from receiving element 3450 from the additional suitable low layer of the response commands of OBEX layer processing unit 3420.
Transmitting element 3440 will send to the outside from the request command that low layer processing unit 3430 receives via infrared communication path etc.
Receiving element 3450 receives the request command that sends to method, apparatus (client device), and the request command that receives is outputed to low layer processing unit 3430 via the infrared communication path etc.
Then, use the flow chart shown in Figure 59, the action of the control unit 3421 of the OBEX layer processing unit 3420 in the OBEX server apparatus 3400 in the past shown in Figure 58 is described.
Step S101 differentiates the step that whether receives request command from client device.Under situation about receiving, transfer to step S102, under situation about also not receiving, transfer to step S 101 once more.
Step S102 is the step of resolving from the request command of client device.After resolving end, transfer to step S103.
Step S103 is the step that generates the response command of client device.After response command generates end, transfer to step S104.
Step S104 is the step that described response command is sent to client device.After sending end, transfer 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, 3420 pairs of request commands of OBEX layer processing unit of server apparatus 3400 in the past receive parsing, generate and send the response command for request command, thereby can communicate.
But, in the action of the OBEX layer processing unit 3420 of described server apparatus 3400 in the past, generate response command for request command from client device, and send, therefore for example one-way communication is like this, do not needing from the communication of the transmission of server apparatus 3400, generating the electric power that response command consumed becomes waste.
In order to address this problem, shown in the flow chart of Figure 61, in the server apparatus 3500 (Figure 60) of present embodiment, after the request command that receives and resolved from client device, can receive request command then and needn't generate, send response command client device.Specific as follows.
Step S111 differentiates the step that whether receives from the request command of client device.Under situation about receiving, transfer to step S112, under situation about also not receiving, transfer to step S111 once more.
Step S112 is the step of resolving the request command that receives.After resolving end, transfer to step S115.
Step S115 differentiates the step whether communication is through with.Under unclosed situation, transfer to step S111 once more.
Carry out above action by control unit 3521, can receive request command then and needn't generate, send response command for the request command that receives by the OBEX layer processing unit 3520 of server apparatus 3500.
Here, Figure 60 is the block diagram of server apparatus 3500 of the alternate manner of this enforcement.
Each piece beyond the communication direction selected cell 3524 of OBEX layer processing unit (object exchange layer processing unit) 3520 has each piece identical functions of the OBEX layer processing unit 3420 of in the past the server apparatus 3400 above-mentioned with using Figure 58, therefore omits explanation.
It is the one-way communication or the function of two-way communication that communication direction selected cell 3524 has the communication of selection.Here said one-way communication is for need be from the communication of the response command of server apparatus from the request command of client device.In server apparatus, do not exist under the situation of transmitting element, perhaps do not exist under the situation of receiving element in the client device, must be one-way communication, but client device and server apparatus have transmitting element and receiving element respectively, signal mobile be from client device under the unidirectional situation of server apparatus, remain one-way communication.In addition, two-way communication is the request command that sends for from client device, sends response command by server apparatus, after resolving described response command, is sent the communication mode of request command then once more by client device.In this case, be not that all request commands are all needed response command, if the OBEX layer of the OBEX layer of client device and server apparatus determine in advance, then not necessarily need be for the response command of specific request command.
Then, the action of the control unit 3521 of the OBEX layer processing unit 3520 of the server apparatus 3500 of the flowchart text present embodiment of use Figure 62.
Step S120 is that to be selected by communication direction selected cell 3524 be the one-way communication or the step of two-way communication.Under the situation of two-way communication, transfer to step S121, and under the situation of one-way communication, transfer to step S131 once more.
Step S121 is in two-way communication, differentiates the step that whether receives from the request command of client device.Under situation about receiving, transfer to step S122, and under situation about not receiving, transfer to S121.
Step S122 is in two-way communication, resolves the step from the request command of client device.After resolving end, transfer to step S123.
Step S123 is the step that generates in two-way communication the response command of client device.After response command generates end, transfer to step S124.
Step S124 is a step of notifying low layer processing unit 3530 in two-way communication for the response command with described generation sends to client device.After notice finishes, transfer to step S125.
Step S125 differentiates the step that whether finishes to communicate by letter.Under unclosed situation, transfer to step S121 once more.
On the other hand, step S131 is in one-way communication, differentiates the step that whether receives from the request command of client device.Under situation about receiving, transfer to step S132, under situation about not receiving, transfer to step S131 once more.
Step S132 is the step of resolving in one-way communication from the request command of client device.After resolving end, transfer to step S135.
Step S135 differentiates the step whether communication is through with in one-way communication.Not being under the situation about finishing, transfer to step S131 once more.
Carry out above action by control unit 3521 by the OBEX layer processing unit 3520 of client device 3500, thereby in two-way communication, when the request command that receives from client device, generate and send response command, in this external one-way communication, after receiving, can receive request command then and needn't generate, send response command from the request command of client device.
[the 14 execution mode]
The server apparatus (communicator) of the forwarding forwarding of data system (communication system) of this 14 execution mode below is described.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
Figure 60 is the block diagram of the server apparatus 3500 of present embodiment.That is, identical with above-mentioned the 13 execution mode, and also the action of each piece beyond the control unit 3521 of OBEX layer processing unit 3520 is also identical with the action of each piece of the 13 execution mode basically, therefore omits explanation.
The action of the control unit 3521 of the OBEX layer processing unit 3520 of the flowchart text present embodiment shown in use Figure 63.
Step S141 differentiates the step that whether receives from the Put order of client device.Under situation about receiving, transfer to step S142, under situation about not receiving, transfer to step S141 once more.
Step S142 is the step that the Put request command that receives is resolved.After resolving end, transfer to step S143.
Step S143 is that the Put request command after differentiate resolving is the also step of the final Put order of right and wrong of final Put request command.Under the situation that is final Put order, transfer to step S144, and under the situation of non-final Put order, transfer to step S141 once more.
Step S144 is the step that generates the response command of client device.After response command generates end, transfer to step S145.In addition, in this step S144, under situation about all normally being through with from the Put order of client device, the response command of generation for example is the SUCCESS response command.And, under situation in addition, do not relate in the present embodiment.
Step S145 is a step of notifying low layer processing unit 3530 for described response command is sent to client device.After notice finishes, transfer to step S146.
Step S146 differentiates the step whether communication finishes.Under unclosed situation, transfer to step S141.
Carry out above action by control unit 3521 by the OBEX layer processing unit 3520 of server apparatus 3500, can be for non-final Put request command, do not generate, send the CONTINUE response command that generates by in the past OBEX layer processing unit, and can generate, send the SUCCESS response command to final Put request command, can improve communication efficiency.In addition, owing to will send to client device, therefore in client device, can differentiate in server apparatus 3500, whether normally to have carried out data forwarding for the SUCCESS response command of final Pm order.
In addition, shown in Figure 62, can carry out following action by the two-way communication of combined communication direction selected cell 3524, the switching of one-way communication: when two-way communication, only final Put order generates, sends the SUCCESS response command, when one-way communication, do not carry out generation, the transmission of response command for whole request commands.
[the 15 execution mode]
The forwarding forwarding of data system (communication system) that this 15 execution mode is described based on Figure 64 is as follows.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 64 illustrates the communication example between the mobile phone.In addition, though transmitter and receiver have been used mobile phone, one of them is that mobile phone gets final product for transmitter or receiver, according to any one mode of the present invention, if can carry out the transmission or the reception of data, can not mobile phone also then to method, apparatus by infrared ray etc.
In Figure 64, use infrared ray that the data in the mobile phone A are sent to mobile phone B.In mobile phone B,, then in the external memory storage of mobile phone B built-in storage or connection, preserve and receive data if receive the data that send from mobile phone A.Described data are text data, view data, voice data, telephone book data, system information etc., are not limited to specific form.In addition, the data in the mobile phone A can be the internal storage of mobile phone A data, be connected to any one of data in external memory storage nonvolatile memories such as () SD cards of mobile phone A.
For example when two-way communication, in transmitting terminal (mobile phone A), any one method by described each execution mode is given sequence number to the UI frame of the IrLAP of the restriction that do not have the window size and is sent, and according to the content that sends it back frame of receiving terminal (mobile phone B), then send again if desired, in receiving terminal (mobile phone B), carry out the parsing of error detection and sequence number, then send request if desired again, thereby can carry out high-quality communication.
In addition, for example, when one-way communication, in transmitting terminal (mobile phone A), any one method by described each execution mode is given sequence number to the UI frame of the IrLAP of the restriction that do not have the window size and is sent, in receiving terminal (mobile phone B), carry out the parsing of error detection and sequence number, thereby can carry out high-quality communication.
Thus, by using the UI frame, compare with affirmation remote station with interior, can reduce, and can carry out forward efficiency height and the high communication of quality with the restriction of window size in the past the I frame.
Under the special situation of in mobile phone, using SMP,, thereby can be provided at the high communication path of communication efficiency when mistake takes place by time then to the suitable transmitter of the file decision of each transmission.Specifically, in receiver, about being considered to the time consuming file of data processing (for example jpeg image or MPEG animation etc. must carry out the file of decoding processing), prolong the stand-by period of the frame of the RS after the frame that contains BL=1 sends, be considered to data processing not during time consuming file sending text file etc., shorten the stand-by period to get final product.
[the 16 execution mode]
The forwarding forwarding of data system (communication system) that this 16 execution mode is described based on Figure 65 is as follows.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 65 illustrates the communication example between mobile phone and the display unit.In addition, though use mobile phone as transmitter, if can carry out the transmission of data by infrared ray etc. by any one mode of the present invention, then transmitting apparatus can not be a mobile phone also.In addition, display unit is that transmitting terminal is also passable.
In Figure 65, use infrared ray that the data in the mobile phone A are sent to display unit B (television set or monitor etc.).In display unit B, the data that send from mobile phone A are carried out suitable processing, for example, under the situation that is view data, if desired then with compressed data decompression etc., thereby show, but be not limited to this.In addition, described data are text data, view data, voice data, telephone book data, system information etc., are not limited to specific form.In addition, the data in the mobile phone A can be the internal storage of mobile phone A data, be connected to any one of data in external memory storage nonvolatile memories such as () SD cards of mobile phone A.
For example when two-way communication, in transmitting terminal (mobile phone A), any one method by described each execution mode is given sequence number to the UI frame of the IrLAP of the restriction that do not have the window size and is sent, and according to the content that sends it back frame of receiving terminal (display unit B), then send again if desired, in receiving terminal (display unit B), carry out the parsing of error detection and sequence number, then send request if desired again, thereby can carry out high-quality communication.
In addition, for example, when one-way communication, in transmitting terminal (mobile phone A), any one method by described each execution mode is given sequence number to the UI frame of the IrLAP of the restriction that do not have the window size and is sent, in receiving terminal (display unit B), carry out the parsing of error detection and sequence number, thereby can carry out high-quality communication.
Thus, by using the UI frame, compare with affirmation remote station with interior, can reduce, and can carry out forward efficiency height and the high communication of quality with the restriction of window size in the past the I frame.
In display unit, use under the situation of SMP especially, the reception buffer size of display unit notice transmitter is set not the image size of jpeg image (hundreds of KB to about number MB) by will connect the time, thereby the blanket transmission size of data of transmitter can be set at the size that once can send the degree of a jpeg image.
Thus, can carry out following simple process: for example, display unit has two reception buffers, in the moment that a reception buffer finishes to the jpeg image Data Receiving, carry out the switching of reception buffer, during the jpeg image that reception is followed in second reception buffer, carry out the decoding of the jpeg data in first reception buffer etc.
[the 17 execution mode]
The forwarding forwarding of data system (communication system) that this 17 execution mode is described based on Figure 66 is as follows.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 66 illustrates the communication example between mobile phone and the printing equipment.In addition, though use mobile phone as transmitter, if can carry out the transmission of data by infrared ray etc. by any one mode of the present invention, then transmitting apparatus can not be a mobile phone also.In addition, printing equipment is that transmitting terminal is also passable.
In Figure 66, use infrared ray that the data in the mobile phone A are sent to printing equipment B.In printing equipment B, the data that send from mobile phone A are carried out suitable processing, for example, under the situation that is view data, if desired then with compressed data decompression etc., thereby print, but be not limited to this.In addition, described data are text data, view data, telephone book data, system information etc., are not limited to specific form.In addition, the data in the mobile phone A can be the internal storage of mobile phone A data, be connected to any one of data in external memory storage nonvolatile memories such as () SD cards of mobile phone A.
For example when two-way communication, in transmitting terminal (mobile phone A), any one method by described each execution mode is given sequence number to the UI frame of the IrLAP of the restriction that do not have the window size and is sent, and according to the content that sends it back frame of receiving terminal (printing equipment B), then send again if desired, in receiving terminal (printing equipment B), carry out the parsing of error detection and sequence number, then send request if desired again, thereby can carry out high-quality communication.
In addition, for example, when one-way communication, in transmitting terminal (mobile phone A), any one method by described each execution mode is given sequence number to the UI frame of the IrLAP of the restriction that do not have the window size and is sent, in receiving terminal (printing equipment B), carry out the parsing of error detection and sequence number, thereby can carry out high-quality communication.
Thus, by using the UI frame, compare with affirmation remote station with interior, can reduce, and it is too small to carry out the high emergency door of forward efficiency height and quality with the restriction of window size in the past the I frame.
In display unit, use under the situation of SMP especially, the reception buffer size of printing equipment notice transmitter is set at the image size (hundreds of KB to about number MB) of jpeg image by will connect the time, thereby the blanket transmission size of data of main website can be set at the size that once can send the degree of a jpeg image.
Thus, can carry out following simple process: for example, printing equipment has two reception buffers, in the moment that a reception buffer finishes to the jpeg image Data Receiving, carry out the switching of reception buffer, during the jpeg image that reception is followed in second reception buffer, carry out the decoding of the jpeg data in first reception buffer etc.In addition, printing equipment can not receive in printing under the situation of state of data then, even the situation of mistake does not take place, simulation ground to the transmitter notice mistake has taken place, and carries out from the transmission again of transmitter etc., thereby can carry out the time running.
[the 18 execution mode]
The forwarding forwarding of data system (communication system) that this 18 execution mode is described based on Figure 67 is as follows.In addition, about the term (comprising parts and function) of definition in other embodiments, only otherwise prenotice especially, also continue to use this definition in the present embodiment.
In the present embodiment, use Figure 67 illustrates the communication example between mobile phone and the tape deck.In addition, though use mobile phone as transmitter, if can carry out the transmission of data by infrared ray etc. by any one mode of the present invention, then transmitting apparatus can not be a mobile phone also.In addition, tape deck is that transmitting terminal is also passable.
In Figure 67, use infrared ray that the data in the mobile phone A are sent to tape deck B.In tape deck B, the data that send from mobile phone A are carried out suitable processing, for example, under the situation that is view data, then memory in the tape deck B or the external memory storage that is connected with tape deck B are carried out record.Memory in the tape deck B can be that volatile memory such as SDRAM also can be nonvolatile memory, recordable DVD, HDD drivers etc. such as flash memory, if the medium that can write down then can be any medium temporary transient or semipermanently.In addition, described data are text data, view data, voice data, telephone book data, system information etc., are not limited to specific form.In addition, the data in the mobile phone A can be the internal storage of mobile phone A data, be connected to any one of data in external memory storage nonvolatile memories such as () SD cards of mobile phone A.
For example when two-way communication, in transmitting terminal (mobile phone A), any one method by described each execution mode is given sequence number to the UI frame of the IrLAP of the restriction that do not have the window size and is sent, and according to the content that sends it back frame of receiving terminal (tape deck B), then send again if desired, in receiving terminal (tape deck B), carry out the parsing of error detection and sequence number, then send request if desired again, thereby can carry out high-quality communication.
In addition, for example, when one-way communication, in transmitting terminal (mobile phone A), any one method by described each execution mode is given sequence number to the UI frame of the IrLAP of the restriction that do not have the window size and is sent, in receiving terminal (tape deck B), carry out the parsing of error detection and sequence number, thereby can carry out high-quality communication.
Thus, by using the UI frame, compare with affirmation remote station with interior, can reduce, and can carry out forward efficiency height and the high communication of quality with the restriction of window size in the past the I frame.
In tape deck, use under the situation of SMP especially, the reception buffer size of tape deck notice transmitter is set at the frame sign (hundreds of KB to about number MB) of JPEG animation by will connect the time, thereby the blanket transmission size of data of transmitter can be set at the size that once can send the degree of a frame.
Thus, can carry out following simple process: for example, tape deck has two reception buffers, in the moment that a reception buffer receives frame data, carry out the switching of reception buffer, during the frame data that reception is followed in second reception buffer, carry out the decoding of the frame data in first reception buffer etc.
[the 19 execution mode]
Below, based on Figure 68 to Figure 90 other execution mode of the present invention is described.In addition, the communication protocol that illustrates in the present embodiment is suitable for the first to the 18 execution mode.Thereby, about the term that in the first to the 18 execution mode, defines, as long as without previous notice in the present embodiment, is also continued to use this definition.
(1) communication layers
Figure 68 is the schematic diagram of corresponding relation of the layer of the layer of expression OSI7 layer model, IrDA and communication system of the present invention.
Each communication layers of the communication system of present embodiment also has the corresponding equal function of layer with above-mentioned OSI7 layer model.But shown in Figure 68, above-mentioned communication system adopts 6 layers structure with session layer and presentation layer unification.
In the present embodiment, for the convenience that illustrates, describe based on the IrSimple of an application examples of the present invention.But the present invention is not limited to IrSimple.In addition, IrSimple is the product that the part of functions of in the past IrDA has been carried out improvement.
In the present embodiment, according to IrSimple data link layer, network layer, transport layer, session layer+presentation layer are expressed as LAP, LAMP, SMP, OBEX respectively sometimes.In addition, under with the situation of communication layers difference, to transmitter (main website) additional " P ", to receiver (secondary) additional " S " for transmitter, receiver.For example, the data link layer of " LAP (P) " expression transmitter.
(2) sequential between the transmitter-receiver
(2-1) connect sequential
[A] has response
Figure 69 (a) is the sequential chart of the connection sequential of present embodiment (response is arranged).The key diagram of data structure of the communication data when in addition, Figure 69 (c) is the connection sequential of expression present embodiment (response is arranged).
In present embodiment (response is arranged), use global address by Destination Device Address (destination apparatus address), thereby can make the SNRM order have the function (the SNRM command of Figure 69 (c)) same with search to SNRM.
In addition, in present embodiment (response is arranged), be in SNRM order and the UA response at the connection bag of data link layer, the required parameter and the order of connection of insertion network layer, transport layer, session layer, presentation layer contour level.Thus, can be with necessary being used among the IrDA in the past with each high-rise bag of connection bag simmer down to that connects.
Therefore, can by a bag to the search that in the past needed a plurality of bags be connected sequential.
[B] do not have response
Figure 69 (b) is the sequential chart of the connection sequential of present embodiment (not having response).The key diagram of the data structure of the communication data when in addition, Figure 69 (c) is the connection sequential of expression present embodiment (do not have response).In addition, in present embodiment (not having response), do not need UA response (the UA response for SNRM of Figure 69 (c)).
According to the kind of user or application and data, can select the communication mode that will omit from the response of receiver.In this case, shown in Figure 38 (b), can only finish search and be connected by the SNRM order.
Like this, the connection sequential of present embodiment connects the required time by the connection request of a plurality of communication layers is concentrated thereby shorten, even therefore also connect easily under the situation that communication path cuts off again.Thereby, be particularly suitable for that communication path cuts off easily for example based in the ultrared radio communication.But, comprise that IEEE802.11 is wireless, Bluetooth other radio communication and wire communication in also effective.
In addition, in the present embodiment, illustrate by once communicating to connect the example of all communication layers, but the present invention is not limited to this.For example, it is also passable to connect remaining a plurality of communication layers after having connected a communication layers.In addition, also can carry out the connection of a communication layers by repeatedly communicating by letter.For example, connection in network layer needs under the situation of twice communication, the connection of data link layer and network layer primary can be connected also that to concentrate be a connection request, and being connected of second connection of network layer and transport layer concentrated is a connection request.
(2-2) data interchange time sequence
[A] has response
Figure 70 (a) is the sequential chart of the data interchange time sequence of present embodiment (response is arranged) (b).The key diagram of data structure of the communication data when in addition, Figure 70 (a) is the data interchange time sequence of expression present embodiment (response is arranged).
In present embodiment (response is arranged), reduce low layer and high-rise response between each data as far as possible, and after having sent a plurality of data, sent it back zero defect.
Transmitter uses by being used for inquiring continuous Bale No. and receiving that data have the mark of no problem and above-mentioned data are cooperated the size of bag and bag that partition data after cutting apart is constructed when data communication.
Shown in Figure 70 (a), transmitter sends the bag that above-mentioned mark has been opened after having sent the bag number of stated number.And after the former data of receiver begin, perhaps receive above-mentioned be labeled as the bag of unlatching and send it back after, do not detecting under the amiss situation situation that the transmitter notice is normally received.In addition, after the former data of receiver begin, perhaps receive above-mentioned be labeled as the bag of unlatching and send it back after, detecting under the amiss situation, ignore the later above-mentioned partition data part of bag that can not receive, and only confirm above-mentioned mark, under the above-mentioned situation that is labeled as unlatching, will be notified to transmitter owing to the Bale No. that mistake fails to receive.
And then transmitter sends from the beginning of following of unwrapping under the situation that receives the message that has normally received from receiver.In addition, transmitter begins to send to the bag that above-mentioned mark is opened from the Bale No. of failing to receive under the situation of the notice that receives mistake again.
Thus, can will clog between the bag, and can carry out the high communication of efficient.
Shown in Figure 70 (a), in present embodiment (response is arranged), use UI frame (Figure 71 (b)).Therefore, in data link layer (LAP layer), can not identify packet loss, in transport layer, detect.
The data division of the transport layer of UI frame be provided with serial number, data validation with mark, represent whether be the data normal mark whether of last bag, reception of data, carry out the transmission of data by these marks.
[B] do not have response
Figure 72 (a) is the sequential chart of the data interchange time sequence of present embodiment (not having response) (b).The key diagram of the data structure of the communication data when in addition, Figure 72 (b) is the data interchange time sequence of expression present embodiment (do not have response).
In present embodiment (do not have response), under the situation of the response that does not need receiver, the integrality of recognition data only.Therefore, transmitter sends all data continuously to the serial number that is responsible for assigning.
Then, receiver only confirms whether mistake is arranged, and under situation about normally having received, after receiving total data, is identified as in receiver and normally receives, and carry out action then.The action of following in this case for example is to show data, printing, the preservation that receives.On the other hand, detecting under the amiss situation, be identified as and in receiver, fail normally to receive, and carry out action then.The action of following in this case for example is to be used for the demonstration of the situation of user notification failure or to become reception wait state then.
In addition, in present embodiment (not having response), also use the UI frame shown in Figure 72 (b) (Figure 71 (b)).
(2-3) cut off sequential
[A] has response
Figure 73 (a) is the sequential chart of the cut-out sequential of present embodiment (response is arranged).The key diagram of data structure of the communication data when in addition, Figure 73 (c) is the cut-out sequential of expression present embodiment (response is arranged).
Shown in Figure 73 (c), in present embodiment (response is arranged), parameter that the cut-out of network layer, transport layer, session layer, presentation layer contour level is required and order are inserted in DISC order and the UA response.
Thus, can be by a bag to need the cut-out sequential of a plurality of bags in the past.
[B] do not have response
Figure 73 (b) is the sequential chart of the cut-out sequential of present embodiment (not having response).The key diagram of data structure of the communication data when in addition, Figure 73 (c) is the cut-out sequential of expression present embodiment (response is arranged).In addition, in present embodiment (not having response), do not need UA response (the UA response of Figure 73 (c)).
Shown in Figure 73 (b), in present embodiment (do not have and respond), under as the situation that does not need the response of receiver and carried out connecting, can only finish to search for and cut off by the DISC order.
(3) sequential in transmitter, the receiver
Among Figure 74~Figure 90, the convenience in order to illustrate is expressed as LAP with data link layer, and network layer is expressed as LAMP, and transport layer is expressed as TTP or SMP, and session layer and presentation layer are expressed as OBEX.In addition, under with the situation of communication layers difference, to transmitter additional " P ", to receiver additional " S " for transmitter, receiver.For example, the data link layer of " LAP (P) " expression transmitter.
(3-1) connect sequential
[A] has response
Figure 74 is the sequential chart of the connection sequential of present embodiment (response is arranged).The key diagram of data structure of the communication data when in addition, Figure 75 (a), Figure 75 (b) are the connection sequential of expression present embodiment (response is arranged).
Shown in Figure 74, in present embodiment (response is arranged), transmitter, receiver all connect preparation.Then, transmitter is sent to low layer with the request former state of high level, sends as a bag (SNRM).On the other hand, receiver receives the SNRM bag and has also notified former state to be connected to after the high-rise meaning, and the response former state of OBEX (S) is sent to low layer, sends as a bag (UA).Transmitter is received that thereby UA thinks to connect and is finished, will notify (Connect.confirm) to submit to high level.
Transmitter, the sequential in the receiver of this moment are as follows.
Each communication layers of transmitter at first, is described.
OBEX (P) adds the connection request order data and connection request function (Primitive) takes place low layer (SMP (P)) rapidly under the situation of the connection request that has self-application.In addition, OBEX (P) is receiving from SMP (P) under the situation that connects the affirmation function, confirms the response that OBEX connects from these data, if the response of no problem (Success) is then thought to connect and finished.
SMP (P) receives the connection request function from OBEX (P), the parameter that the signal post of the SMP (S) of additional to the data of the connection request function of OBEX (P) rapidly and receiver needs, thus the connection request function is taken place in low layer (LMP (P)).In addition, SMP (P) removes the parameter by SMP (S) generation of receiver from the data of function under the situation of receiving connection affirmation function from LMP (P), and the affirmation value, thus the negotiation (negotiation) of end and SMP (S).In addition, the data that will remove from data that connect to confirm function after the parameter of SMP (S) of SMP (P) confirm that as connecting data send OBEX (P).
LMP (P) receives the connection request function from SMP (P), the parameter that data LMP (S) signal post additional and receiver of the connection request function of SMP (P) is needed rapidly, thus the connection request function is taken place in low layer (LAP (P)).In addition, LMP (P) removes the parameter by LMP (S) generation of receiver from the data of function under the situation of receiving connection affirmation function from LAP (P), and the affirmation value, thus the negotiation of end and LMP (S).In addition, the data that will remove from data that connect to confirm function after the parameter of LMP (S) of LMP (P) confirm that as connecting function sends SMP (P).
In addition, usually, define LSAP (Link Service Access Point) for the management logic port.And under 1 pair 1 situation of carrying out a connection, do not need to use LMP.In this case, LSAP is used the value of not having connection (connectionless) as fixed value.Therefore, do not need to exchange the connection parameter of LMP.
LAP (P) receives the connection request function from LMP (P), the parameter that data LAP (S) signal post additional and receiver of the connection request function of LMP (P) is needed rapidly, thereby to the physical layer output SNRM order of receiver.In addition, LAP (P) is receiving from the physical layer of receiver under the situation that UA responds, and removes the parameter by LAP (S) generation of receiver from the data of UA response, and the affirmation value, thus the negotiation of end and LAP (S).In addition, the data that will remove from the data of UA response after the parameter of LAP (S) of LAP (P) confirm that as connecting function sends LMP (P).
Each communication layers of receiver then, is described.
OBEX (S) receives the connection request function from using, thereby becomes the reception wait state.In addition, OBEX (S) is receiving from low layer (SMP (S)) under the situation that connects notification function (Indication), from these data, confirm the OBEX bind command, if be no problem then, and think to connect and finish as the response of connection response function (Response) to SMP (S) output " Success ".
SMP (S) receives the connection request function from OBEX (S), thereby becomes the reception wait state.In addition, SMP (S) is receiving from low layer (SMP (S)) under the situation that connects notification function, from the data of function, remove parameter by SMP (P) generation of transmitter, and generation is for the parameter of its response, and OBEX (S) sent after the connection request function, wait is from the connection response function of OBEX (S), and described connection request function has added the data after the parameter of having removed SMP (P) from the data of above-mentioned function.In addition, the connection response function takes place to LMP (S) after the parameter to additional above-mentioned response in the data of the connection response function of OBEX (S), and finishes the negotiation of SMP layer under situation about receiving from the connection response function of OBEX (S) in SMP (S).
LMP (S) receives the connection request function from SMP (S), thereby becomes the reception wait state.In addition, LMP (S) is receiving from low layer (LAP (S)) under the situation that connects notification function, from the data of function, remove parameter by LMP (P) generation of transmitter, and generation is for the parameter of its response, and SMP (S) sent after the connection request function, wait is from the connection response function of SMP (S), and described connection request function has added the data after the parameter of having removed LMP (P) from the data of above-mentioned function.In addition, the connection response function takes place to LAP (S) after the parameter to additional above-mentioned response in the data of the connection response function of SMP (S), and finishes the negotiation of LMP layer under situation about receiving from the connection response function of SMP (S) in LMP (S).
In addition, usually, define LSAP (Link Service Access Point) for the management logic port.And under 1 pair 1 situation of carrying out a connection, do not need to use LMP.In this case, as fixed value LSAP is used connectionless value.Therefore, do not need to exchange the connection parameter of LMP.
LAP (S) receives the connection request function from LMP (S), thereby becomes the reception wait state.In addition, LAP (S) is under the situation of receiving the SNRM order from physical layer, from the data of SNRM order, remove parameter by LAP (P) generation of transmitter, and LMP (S) sent the parameter that generates after the connection request function for its response, and wait for connection response function from LMP (S), described connection request function has added the data after the parameter of removing LAP (P) from the data of SNRM order.In addition, LAP (S) under situation about receiving from the connection request function of LMP (S), to after 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 finish the negotiation of LAP layer.
[B] do not have response
Figure 76 is the sequential chart of the connection sequential of present embodiment (not having response).The key diagram of the data structure of the communication data when in addition, Figure 75 (a) is the connection sequential of expression present embodiment (do not have response).
Shown in Figure 76, in present embodiment (not having response), transmitter, receiver all connect preparation.Then, transmitter is sent to low layer with the request former state of high level, sends as a bag (SNRM).Then, transmitter is thought to connect in the moment that has sent the SNRM bag and is finished, and will notify (Connect.confirm) submit to high level from LAP (P).On the other hand, receiver receives the SNRM bag and the notice former state has been connected to high level, thinks to connect in the moment of having notified OBEX (S) and finishes.
Transmitter, the sequential in the receiver of this moment are as follows.
Each communication layers of transmitter at first, is described.
OBEX (P) adds the connection request order data and connection request function (Primitive) takes place low layer (SMP (P)) rapidly under the situation of the connection request that has self-application.In addition, OBEX (P) is receiving from SMP (P) under the situation that connects the affirmation function, thinks to connect and finishes.
SMP (P) receives the connection request function from OBEX (P), the parameter that the signal post of the SMP (S) of additional to the data of the connection request function of OBEX (P) rapidly and receiver needs, thus the connection request function is taken place in low layer (LMP (P)).In addition, SMP (P) is receiving from LMP (P) moment that connects the affirmation function, think and finished negotiation by the parameter that sends, 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) receives the connection request function from SMP (P), the parameter that data LMP (S) signal post additional and receiver of the connection request function of SMP (P) is needed rapidly, thus the connection request function is taken place in low layer (LAP (P)).In addition, LMP (P) is receiving from LAP (P) moment that connects the affirmation function, think and finished negotiation by the parameter that sends, thus the negotiation of end LMP layer.In addition, at this moment, LMP (P) sends to connect to SMP (P) and confirms function.
In addition, usually, define LSAP (Link Service Access Point) for the management logic port.And under 1 pair 1 situation of carrying out a connection, do not need to use LMP.In this case, as fixed value LSAP is used connectionless value.Therefore, do not need to exchange the connection parameter of LMP.
LAP (P) receives the connection request function from LMP (P), the parameter that data LAP (S) signal post additional and receiver of the connection request function of LMP (P) is needed rapidly, thereby to the physical layer output SNRM order of receiver.In addition, LAP (P) thought and has finished negotiation by the parameter that sends in the moment of having exported the SNRM order, 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 receiver then, is described.
OBEX (S) receives the connection request function from using, thereby becomes the reception wait state.In addition, OBEX (S) is receiving from low layer (SMP (S)) under the situation that connects notification function (Indication), confirms the OBEX bind command from these data, if no problem then think to connect and finish.
SMP (S) receives the connection request function from OBEX (S), thereby becomes the reception wait state.In addition, SMP (S) is receiving from low layer (SMP (S)) under the situation that connects notification function, removes the parameter by SMP (P) generation of transmitter from the data of function, and uses this parameter to finish negotiation.Then, SMP (S) sends the connection request function to OBEX (S), and described connection request function has added the data after the parameter of removing SMP (P) from the data of above-mentioned function.
LMP (S) receives the connection request function from SMP (S), thereby becomes the reception wait state.In addition, LMP (S) is receiving from low layer (LAP (S)) under the situation that connects notification function, removes the parameter by LMP (P) generation of transmitter from the data of function, and uses this parameter to finish negotiation.Then, LMP (S) sends the connection request function to SMP (S), and described connection request function has added the data after the parameter of removing LMP (P) from the data of above-mentioned function.
In addition, usually, define LSAP (Link Service Access Point) for the management logic port.And under 1 pair 1 situation of carrying out a connection, do not need to use LMP.In this case, as fixed value LSAP is used connectionless value.Therefore, do not need to exchange the connection parameter of LMP.
LAP (S) receives the connection request function from LMP (S), thereby becomes the reception wait state.In addition, LAP (S) removes the parameter by LAP (P) generation of transmitter, and uses this parameter to finish negotiation under the situation of receiving the SNRM order from physical layer from the data of SNRM order.Then, LAP (S) sends the connection request function to LMP (S), and described connection request function has added the data after the parameter of removing LAP (P) from the data of above-mentioned function.
(3-2) data exchange system
[A] has response
Figure 77 is the sequential chart of the data interchange time sequence of present embodiment (response is arranged).The key diagram of data structure of the communication data when in addition, Figure 78 is the data interchange time sequence of expression present embodiment (response is arranged).
Shown in Figure 77, in present embodiment (response is arranged), the PUT order takes place in transmitter, and it is communicated to low layer and exports as UI frame (Figure 71 (b)).
On the other hand, receiver is obtained data and high level is submitted to notice.At this moment, in SMP (S), to OBEX (S) the notice continuation data (status=truncated) of high level.
Transmitter will be used to confirm that the mark unlatching back whether data normally arrive sends after the bag that has sent a certain fixed number.After receiving information, in receiver, SMP (S) has zero defect to transmitter notice, and the situation that mistake is arranged send a notice take place mistake number.
If zero defect then transmitter output package then is if having mistake then transmitter sends the later bag of bag that has mistake again.
When arriving data last, transmitter is that the last mark of data is opened the back and sent with expression.For this, if this mark is opened, then the SMP of receiver (S) is to OBEX (S) notification data complete (status=OK), and waits for the response of OBEX (S).Then, when the response of OBEX (S) has taken place, these data are communicated to low layer, and export as the UI frame.
If the response that receives is " Success " then transmitter normal termination.
Transmitter, the sequential in the receiver of this moment are as follows.
In transmitter, OBEX (P) sends function with the PUT order as data low layer is exported.Wherein, under the situation that OBEX (P) can be sent by SMP (P) in the response that does not need PUT Final (last PUT) order PUT order in addition (returning " Continue " under the normal situation), the order that output is followed.Under the situation of the order beyond PUT Final order or the PUT order, wait for data notification function from low layer, see response in these data and the finish command.
Here, data transmission function is the function (Data Request) that the low layer request msg is sent.In addition, the data notification function is to be used to notify the function (Data Indicate) that receives data from low layer.
In receiver, OBEX (S) receives the data notification function from low layer, and receives data.Wherein, 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, the data transmission function of high level identical in transmitter, the receiver and low layer and the head in the data notification function etc. are described.
If SMP receives that from OBEX data send function, then for LMP, (a) when size that LMP can send sends data in the function big or small less than data, these data are divided into the size that LMP can send, (b) when size that LMP can send sends data in the function big or small greater than data, with several data combinations, thereby generate the following bigger data of size that can send.In addition, SMP generates the SMP head, this SMP head added order number, the last independent variable, expression that are used for independent variable, expression data to the other side's equipment query data receiving state need whether normal independent variable etc. of the independent variable of the response of OBEX, data that expression receives to the SMP of method, apparatus.Then, LMP is sent data sends function, these data send function added with the SMP head append to above-mentioned cut apart or the data of combination in after data.
Whether normal and SMP removes the SMP head the data in this function after receiving the data notification function from LMP, confirm serial number (that is, whether coming according to order exhaustively).And, under normal situation, OBEX is sent the data notification function.At this moment, the data notification function can be by each the data notification function output from low layer, also can be several merges the back from the data of the data notification function of low layer and export.
It is that data to LMP (P) send function that the SMP of transmitter (P) will send functional transformation from the data of OBEX (P), and send the data transmission function of data volume of a certain fixed number of regulation.Then, SMP (P) will be used for independent variable to receiver data query accepting state and be made as and send data behind the True and send function, wait for the data notification function of LMP (P) then.
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 represented normally to receive that expression receives, think and finished the preparation that sends data then, become the state that can send OBEX (P).That is, under this state, can accept data from OBEX (P).
On the contrary, SMP (P) resolves the SMP head of the data notification function obtained from LMP (S), under the data situation whether normal independent variable is represented normally not receive that expression receives, take place once more to fail the normal data transmission function that receives to the data transmission function that will be used for the independent variable of the other side's equipment query data receiving state is made as True from notified.SMP (P) repeated to take place before the data that receiver notice total data sent function again, perhaps repeated the generation again of stipulated number.
And then, SMP (P) is that the data of True send under the situation of function from OBEX (P) receiving the last independent variable that is considered to data, the data to LMP (P) for the last data that added this data transmission function send function, will this data of expression sending function is the last independent variable of data, and perhaps expression is sent after needing the independent variable of response of the OBEX (S) of receiver to be made as True.
On the contrary, the SMP of receiver (S) is when LMP (S) receives the data notification function, independent variable in the response of the OBEX (S) that needs receiver for the last of data or expression is under the situation of True, OBEX (S) is sent the data notification function, and this data notification function has added the data after the head of SMP (S) removed.
In addition, SMP (S) is obtaining under the situation of data notification function from LMP (S), by the data parsing SMP head in this data notification function, and affirmation order number.SMP (S) is if receiving that the independent variable that is used for receiver data query accepting state can normally receive before being the head of True, then whether normal independent variable is made as the independent variable that normally receives and generates the SMP head data that expression is received, and it is sent data transmission function as data to LMP (S).
On the other hand, SMP (S) is detecting not under the situation about normally receiving, storage be predicted to be the SMP head of failing normally to receive number.For example, receiving 0,1,2,3,5 o'clock, should but not receive under 4 the situation for 4 for the 5th, be predicted to be and fail that normal what receive number is 4.And after this, SMP (S) only investigates whether the independent variable that is used for the receiver data query accepting state of SMP head is True, and stops OBEX (S) dateout notification function.
SMP (S) is receiving under the situation of data notification function that the independent variable that is used for receiver data query accepting state is True, the data that expression is received whether normal independent variable are made as and fail the normal independent variable that receives, generation will be failed the SMP head after the field that has added serial number of number being inserted into of the normal SMP head that receives, and it is sent data as data to LMP (S) send function.
In addition, SMP (S) is that the independent variable of response of the last independent variable of data or the OBEX (S) that expression needs receiver is under the situation of data notification function of True receiving expression, after OBEX (S) has been exported the data notification function, wait for data sending request from OBEX (S).
SMP (S) is under situation about receiving from the data sending request of OBEX (S), whether normal independent variable is made as the SMP head that normally receives to the data that generation receives expression, and after appending to them in the data of data sending request of OBEX (S), LMP (S) is sent data send function.In addition, having under the situation of mistake, because the notice of OBEX (S) is stopped, waiting therefore that to bide one's time only be just often.
Then,, the data in this function are added the LMP head and generated data, and LAP is sent the data sending request function that has added these data when high level is received the data sending request function at LMP.In addition, LMP receiving from LAP under the situation of data notification function, generates the data of having removed the data in this function after the LMP head, and SMP is sent the data notification function that has added these data.
In addition, under 1 pair 1 situation of carrying out a connection, needn't use LMP.In this case, the LSAP that has added connectionless value enters the LMP head.
LAP adds the LAP head and generates data the data in this function, and physical layer is sent the UI frame that has added these data when receiving the data sending request function from LMP.In addition, LAP is under the situation of receiving the Data Receiving notice from physical layer, and the data after the LAP head are removed in generation from the data of this UI frame, and LMP is sent the data notification function that has added these data.In addition, in the present embodiment, contain link address and UI sign (indicator) in the LAP head.
[B] do not have response
Figure 79 is the sequential chart of the data interchange time sequence of present embodiment (not having response).The key diagram of the data structure of the communication data when in addition, Figure 78 is the data interchange time sequence of expression present embodiment (do not have response).
Shown in Figure 79, in present embodiment (not having response), the PUT order takes place in transmitter, and it is communicated to low layer and exports as the UI frame.
On the other hand, receiver is obtained data and high level is submitted to notice.At this moment, in SMP (S), to OBEX (S) the notice continuation data (status=truncated) of high level.
Then, when transmitter becomes data last, will be used to represent to be that the last mark of data is opened the back and sent.And in receiver, if this is labeled as unlatching, then SMP (S) is to OBEX (S) notification data complete (status=OK), and end data exchange sequential.
Transmitter, the sequential in the receiver of this moment are as follows.
In transmitter, OBEX (P) sends function with the PUT order as data low layer is exported.Wherein, OBEX (P) need be for the response of all orders and can the finish command.Then, under the situation that SMP (P) can send, OBEX (P) output order then.
In receiver, OBEX (S) receives the data notification function from low layer, and all orders are not returned response and only obtained data.
Here, the data transmission function of high level identical in transmitter, the receiver and low layer and the head in the data notification function etc. are described.
If SMP receives that from OBEX data send function, then for LMP, (a) when size that LMP can send sends data in the function big or small less than data, these data are divided into the size that LMP can send, (b) when size that LMP can send sends data in the function big or small greater than data, with several data combinations, thereby generate the following bigger data of size that can send.In addition, SMP generates the SMP head, this SMP head added order number, the last independent variable, expression that are used for independent variable, expression data to the other side's equipment query data receiving state need whether normal independent variable etc. of the independent variable of the response of OBEX, data that expression receives to the SMP of method, apparatus.Then, LMP is sent data sends function, these data send function added with the SMP head append to above-mentioned cut apart or the data of combination in after data.
Whether normal and SMP removes the SMP head the data in this function after receiving the data notification function from LMP, confirm serial number (that is, whether coming according to order exhaustively).And, under normal situation, OBEX is sent the data notification function.At this moment, the data notification function can be by each the data notification function output from low layer, also can be several merges the back from the data of the data notification function of low layer and export.
The SMP of transmitter (P) will be the data transmission function to LMP (P) from the data transmission functional transformation of OBEX (P).Then, receiving that from OBEX (P) the last independent variable that is considered to data is that the data of False send under the situation of function, sends the data of these data having been added the SMP head to LMP (P).And SMP (P) is receiving that from OBEX (P) the last independent variable that is considered to data is that the data of True send under the situation of function, the data to LMP (P) for the last data that added this data transmission function send function, will this data of expression sending function is the last independent variable of data, and perhaps expression is sent after needing the independent variable of response of the OBEX (S) of receiver to be made as True.
On the other hand, the SMP of receiver (S) is obtaining from low layer under the situation of data notification function, by the data parsing SMP head in this data notification function, and affirmation order number.Then, SMP (S) resolves the SMP head, under the situation of having confirmed normal reception, LMP (S) is sent data send function.
On the contrary, SMP (S) notifies OBEX (S) as mistake detecting under the situation about normally not receiving.For example, receiving 0,1,2,3,5 o'clock, should but not receive 4 situation for 4 for the 5th.
Then, SMP (S) waits for that the independent variable of the response of the last independent variable of the data of representing the SMP head or the OBEX (S) that expression needs receiver is True, up to the data notification function of receiving True (in addition, even receive also not to OBEX (S) notice) or receive and cut off notification function or through till certain certain hour, OBEX (S) is not carried out data notification.
Then,, the data in this function are added the LMP head and generated data, and LAP (P) is sent the data sending request function that has added these data when SMP (S) receives the data sending request function at the LMP of transmitter (P).
On the other hand, the LMP of receiver (S) receiving under the situation of data notification function from LAP (S), generates the data of having removed the data in this function after the LMP head, and SMP (S) is sent the data notification function that has added these data.
In addition, under 1 pair 1 situation of carrying out a connection, needn't use LMP.In this case, the LSAP that has added connectionless value enters the LMP head.
The LAP of transmitter (P) adds the LAP head and generates data the data in this function, and physical layer is sent the UI frame that has added these data when LMP (P) receives the data sending request function.
On the other hand, the LAP of receiver (S) is under the situation of receiving the Data Receiving notice from physical layer, and the data after the LAP head are removed in generation from the data of this UI frame, and LMP (S) is sent the data notification function that has added these data.In addition, in the present embodiment, contain link address and UI sign in the LAP head.
(3-3) switching sequence
[A] has response
Figure 80 is the sequential chart of the cut-out sequential of present embodiment (response is arranged).The key diagram of data structure of the communication data when in addition, Figure 81 (a), Figure 81 (b) are the cut-out sequential of expression present embodiment (response is arranged).
Shown in Figure 80, in present embodiment (response is arranged), the cut-out order of transmitter is communicated to low layer, and the DISC order takes place.Receiver is received this DISC order and high level is notified that this response is returned, and the UA response takes place.Then, the high-rise and end of the advisory of UA response to transmitter will be received.
Transmitter, the sequential in the receiver of this moment are as follows.
Each communication layers of transmitter at first, is described.
OBEX (P) will cut off request command to low layer (SMP (P)) rapidly and add data and request function (Primitive) takes place to cut off under the situation of the cut-out request that has self-application.In addition, OBEX (P) is receiving from SMP (P) under the situation of cutting off the affirmation function, confirms the response that OBEX cuts off from these data, if the response of no problem (Success) is then thought to cut off and finished.
SMP (P) receives the cut-out request function from OBEX (P), the parameter that the signal post of the SMP (S) of additional to the data of the cut-out request function of OBEX (P) rapidly and receiver needs, thus the request function is taken place to cut off in low layer (LMP (P)).In addition, SMP (P) removes the parameter by SMP (S) generation of receiver from the data of function under the situation of receiving cut-out affirmation function from LMP (P), and the affirmation value, thus the cut-out of end and SMP (S) processing.In addition, the data that will remove from data that cut off to confirm function after the parameter of SMP (S) of SMP (P) confirm that as cutting off data send OBEX (P).Wherein, the parameter that when cutting off, does not have SMP (P) newly to append usually.
LMP (P) receives the cut-out request function from SMP (P), the parameter that data LMP (S) signal post additional and receiver of the cut-out request function of SMP (P) is needed rapidly, thus the request function is taken place to cut off in low layer (LAP (P)).In addition, LMP (P) removes the parameter by LMP (S) generation of receiver from the data of function under the situation of receiving cut-out affirmation function from LAP (P), and the affirmation value, thus the cut-out of end and LMP (S) processing.In addition, the data that will remove from data that cut off to confirm function after the parameter of LMP (S) of LMP (P) confirm that as cutting off function sends SMP (P).Wherein, the parameter that when cutting off, does not have LMP (P) newly to append usually.
LAP (P) receives the cut-out request function from LMP (P), the parameter that data LAP (S) signal post additional and receiver of the cut-out request function of LMP (P) is needed rapidly, thereby to the physical layer output DISC order of receiver.In addition, LAP (P) receiving from the physical layer of receiver under the situation of UA response, removes the parameter that the LAP (S) by receiver generates from the data of UA response, and the affirmation value, thereby finishes and being connected of LAP (S).In addition, the data that will remove from the data of UA response after the parameter of LAP (S) of LAP (P) confirm that as cutting off function sends LMP (P).Wherein, the parameter that when cutting off, does not have LAP (P) newly to append usually.
Each communication layers of receiver then, is described.
OBEX (S) receives under the situation of cutting off notification function (Indication) from low layer (SMP (S)), confirm that from these data OBEX cuts off order, if the response of response function (Response) to SMP (S) output " Success " cut off in no problem then conduct, and think to cut off and finish.
SMP (S) is receiving from low layer (SMP (S)) under the situation of cutting off notification function, from the data of function, remove parameter by SMP (P) generation of transmitter, and generation is for the parameter of its response, and OBEX (S) sent cut off after the request function, wait is from the cut-out response function of OBEX (S), and described cut-out request function has added the data after the parameter of having removed SMP (P) from the data of above-mentioned function.In addition, response function takes place to cut off to LMP (S) after the parameter to additional above-mentioned response in the data of the cut-out response function of OBEX (S) in SMP (S) under situation about receiving from the cut-out response function of OBEX (S), and the cut-out that finishes the SMP layer is handled.Wherein, the parameter that when cutting off, does not have SMP (S) newly to append usually.
LMP (S) is receiving from low layer (LAP (S)) under the situation of cutting off notification function, from the data of function, remove parameter by LMP (P) generation of transmitter, and generation is for the parameter of its response, and SMP (S) sent cut off after the request function, wait is from the cut-out response function of SMP (S), and described cut-out request function has added the data after the parameter of having removed LMP (P) from the data of above-mentioned function.In addition, response function takes place to cut off to LAP (S) after the parameter to additional above-mentioned response in the data of the cut-out response function of SMP (S) in LMP (S) under situation about receiving from the cut-out response function of SMP (S), and the cut-out that finishes the LMP layer is handled.Wherein, the parameter that when cutting off, does not have LMP (S) newly to append usually.
LAP (S) is under the situation of receiving the DISC order from physical layer, from the data of DISC order, remove parameter by LAP (P) generation of transmitter, and LMP (S) is sent cut-out ask function generation afterwards for the parameter of its response, and wait for cut-out response function from LMP (S), described cut-out request function has added the data after the parameter of having removed LAP (P) from the data of DISC order.In addition, LAP (S) under situation about receiving from the cut-out response function of LMP (S), to after the parameter of additional above-mentioned response in the data of the cut-out response function of LMP (S) to physical layer output UA response, and the cut-out that finishes the LAP layer is handled.Wherein, the parameter that when cutting off, does not have LAP (S) newly to append usually.
[B] do not have response
Figure 82 is the sequential chart of the cut-out sequential of present embodiment (not having response).The key diagram of the data structure of the communication data when in addition, Figure 81 (a) is the cut-out sequential of expression present embodiment (do not have response).
Shown in Figure 82, in present embodiment (not having response), the cut-out order of transmitter is communicated to low layer, and the DISC order takes place.In transmitter, finish to cut off processing constantly at this.On the other hand, receiver receives this DISC order and high level is passed on, and finishes to cut off in the moment of notifying high level and handles.
Transmitter, the sequential in the receiver of this moment are as follows.
Each communication layers of transmitter at first, is described.
OBEX (P) will cut off request command to low layer (SMP (P)) rapidly and add data and request function (Primitive) takes place to cut off under the situation of the cut-out request that has self-application.In addition, OBEX (P) is receiving from SMP (P) under the situation of cutting off the affirmation function, thinks to cut off and finishes.
SMP (P) receives the cut-out request function from OBEX (P), the parameter that the signal post of the SMP (S) of additional to the data of the cut-out request function of OBEX (P) rapidly and receiver needs, thus the request function is taken place to cut off in low layer (LMP (P)).In addition, SMP (P) is receiving from LMP (P) moment of cutting off the affirmation function, think and finished cut-out by the parameter that sends, thereby the cut-out that finishes the SMP layer is handled.In addition, SMP (P) sends to cut off to OBEX (P) and confirms function.Wherein, the parameter that when cutting off, does not have SMP (P) newly to append usually.
LMP (P) receives the cut-out request function from SMP (P), the parameter that data LMP (S) signal post additional and receiver of the cut-out request function of SMP (P) is needed rapidly, thus the request function is taken place to cut off in low layer (LAP (P)).In addition, LMP (P) is receiving from LAP (P) moment of cutting off the affirmation function, think and finished cut-out by the parameter that sends, thereby the cut-out that finishes the LMP layer is handled.In addition, LMP (P) sends to cut off to SMP (P) and confirms function.Wherein, the parameter that when cutting off, does not have LMP (P) newly to append usually.
LAP (P) receives the cut-out request function from LMP (P), the parameter that data LAP (S) signal post additional and receiver of the cut-out request function of LMP (P) is needed rapidly, thereby to the physical layer output DISC order of receiver.In addition, LAP (P) thought and has finished cut-out by the parameter that receives in the moment of having exported the DISC order, thereby the cut-out that finishes the LAP layer is handled.In addition, LAP (P) sends to cut off to LMP (P) and confirms function.Wherein, the parameter that when cutting off, does not have LAP (P) newly to append usually.
Each communication layers of receiver then, is described.
OBEX (S) is receiving from low layer (SMP (S)) under the situation of cutting off notification function (Indication), confirms that from these data OBEX cuts off order, if no problem then think to cut off and finish.
SMP (S) is receiving from low layer (SMP (S)) under the situation of cutting off notification function, removes the parameter by SMP (P) generation of transmitter from the data of function, and uses this parameter to finish cut-out.Then, SMP (S) sends OBEX (S) and cuts off the request function, and described cut-out request function has added the data after the parameter of removing SMP (P) from the data of above-mentioned function.Wherein, the parameter that when cutting off, does not have SMP (P) newly to append usually.
LMP (S) is receiving from low layer (LAP (S)) under the situation of cutting off notification function, removes the parameter by LMP (P) generation of transmitter from the data of function, and uses this parameter to finish cut-out.Then, LMP (S) sends SMP (S) and cuts off the request function, and described cut-out request function has added the data after the parameter of removing LMP (P) from the data of above-mentioned function.Wherein, the parameter that when cutting off, does not have LMP (P) newly to append usually.
LAP (S) removes the parameter by LAP (P) generation of transmitter, and uses this parameter to finish cut-out under the situation of receiving the DISC order from physical layer from the data of DISC order.In addition, LAP (S) sends LMP (S) and cuts off the request function, and described cut-out request function has added the data after the parameter of removing LAP (P) from the data of DISC order.Wherein, the parameter that when cutting off, does not have LAP (S) newly to append usually.
(4) have or not the switching of response
Flowing of data between the communication layers of transmitter and receiver and parameter is described with reference to Figure 83~Figure 90.
In the present embodiment, each communication layers LAP, LMP, SMP, the OBEX of transmitter and receiver have the connection request function, are connected notification function, the connection response function, connect and confirm function.These functions are the functions that are used for from high-rise (being the LMP layer) visit LAP layer.
And above-mentioned function can be specified Data (following note is done data) and Requested-QoS or Returned-QoS as independent variable.As mentioned above, above-mentioned data are set in each communication layers.
On the other hand, QoS will be notified to the high level that comprises OBEX by the appointment or the negotiation result of the consultation parameters such as baud rate of LAP decision.In addition, QoS also uses in IrDA in the past.
For example, after the application of transmitter or OBEX (P) sent the QoS that has added the parameter that needs/do not need respond, it was communicated to LAP (P) to low layer successively.Then, LAP (P) is reflected as the value of consultation parameter (Ack Less Connect) with the value of this QoS, sends to receiver.
Its result because each communication layers of transmitter and receiver needs the appointment of the response of the application of transmitter or OBEX (P) to move as required/not, therefore can carry out two-way/unidirectional connection.
The data between communication layers when Figure 83~Figure 87 is the connection sequential (Figure 74) of explanation present embodiment (response is arranged) and the key diagram that flows of parameter.In addition, the parameter of the QoS between the OBEX-SMP, between the SMP-LMP, between the LMP-LAP can be the same or different.Therefore, in the drawings, additional-a ,-b ,-c distinguished.
In transmitter, shown in Figure 83, Data that (Figure 74) will send receiver by con.req (data) and the data of QoS-1 (QoS of transmitter request) are sent to low layer from high level.
On the other hand, in receiver, shown in Figure 84, only the data of QoS-2 (QoS of receiver request) are sent to low layer respectively from high level by con.req.
Then, in receiver, receive moment of SNRM order, the QoS-1 and the QoS-2 of transmitter compared, generate QoS-3 as common negotiation parameter at LAP (S).Then, shown in Figure 85, LAP (S) by con.ind (data) with QoS-3 with together be notified to high level from the data of transmitter.Each high-rise this QoS-3 of storage, and the connection parameter when connecting keeps.
Then, in receiver, when notice con.resp (data), do not need QoS.Thereby shown in Figure 86, by con.resp (data), only data are sent to low layer from high level.Then, if LAP (S) receives con.resp (data), then in the UA response, send the UA response behind the adding QoS-3.
Then, in transmitter, LAP (P) receives the UA response and QoS-3 is stored as negotiation parameter.Then, shown in Figure 87, LAP (P) together is notified to high level by con.conf (data) with the data of QoS-3 and receiver.Each communication layers keeps this QoS-3 as the connection parameter in the connection of establishing.
In the present embodiment, for example,, use Requested-QoS:Baud-Rate+Max-Turn-Around-Time+Disconnect-Threshold+DataSize+Ack less connection+Min-Packet-Interval as the QoS of con.req.In addition, 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 connection sequential (Figure 76) of present embodiment (do not have response), data between the communication layers and parameter mobile as follows.
In transmitter, shown in Figure 83, Data that (Figure 76) will send receiver by con.req (data) and the data of QoS-1 (QoS of transmitter request) are sent 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 87, LAP (P) is notified to high level by con.conf with QoS-3.Each communication layers keeps this QoS-3 as the connection parameter in the connection of establishing.
On the other hand, in receiver, shown in Figure 84, only the data of QoS-2 (QoS that receiver requires) are sent to low layer respectively from high level by con.req.
Then, in receiver, receive moment of SNRM order at LAP (S), with the QoS-1 of transmitter as QoS-3.In addition, the parameter of QoS-2 by with the ungratified situation of the combination of QoS-1 under can not receive.
Then, shown in Figure 85, LAP (S) by con.ind (data) with QoS-3 with together be notified to high level from the data of transmitter.Each high-order communication layers is stored this QoS-3, and the connection parameter when connecting keeps.
Thus, above-mentioned QoS-1 and QoS-2 are carried out high level (application) operation, have/do not have response thereby can switch by using.
Here, there is/do not have the benchmark that responds, the document form of the file that consideration sends, application, user's selection etc. as switching.
Specifically, under with the situation of document form, for example as benchmark, also can be under the situation of multimedia associated with, selection has/does not have and responds both, being file such as telephone directory, mail, schedule and wishing to confirm under the received situation of data, automatically selects to have response.In addition, under with the situation that is applied as benchmark, for example, also can under the situation of magic lantern, automatically select not have response.In addition, under situation about selecting, for example, the user from showing, the menu that has/do not have response is selected based on the user.
The key diagram of the data between the communication layers when Figure 88~Figure 90 is the connection sequential of expression present embodiment and the variation that flows of parameter.
In transmitter, in initial SNRM order, contain under the situation of information of all communication layers (Figure 74), also can not to pass on (Figure 83), but shown in Figure 88, directly be sent to the LAP layer from each communication layers by each communication layers relay data or parameter.
Otherwise, shown in Figure 89, in receiver, also the data or the parameter that contain in the SNRM order all can be taken out, directly be sent to each communication layers as destination address from the LAP layer.
In addition, as Figure 90, in transmitter, also can data or the parameter of OBEX (P), SMP (P), LMP (P) is unified by LMP (P), and then, by LAP (P) above-mentioned after reunification data or parameter in append the parameter of LAP (P) and generate SNRM order.
In addition, as the transmitter in the respective embodiments described above (main website), for example, can enumerate mobile phone, PDA (Personal Digital Assistants), digital camera, personal computer etc.In addition, as receiver (secondary), for example, can enumerate electronic equipments such as tape deck, printer, personal computer such as mobile phone, television set, AV equipment, DVD recorder, HDD video tape recorder.
In addition, each piece of described each transmitter (main website) or receiver (secondary) can be made of hardware logic (telecommunication circuit), also can following use CPU etc. arithmetic processing apparatus realize by software.
That is, described transmitter or receiver comprise the order of carrying out the control program be used to realize each function CPU (central processing unit), stored the ROM (read only memory) of said procedure, storage devices (recording medium) such as RAM (random access memory), storage said procedure and various memory of data that said procedure is launched etc.
And, also can realize purpose of the present invention in the following manner, recording medium is offered above-mentioned transmitter or receiver, then by the program code of computer (or CPU, MPU) playback record in recording medium and execution, in the aforementioned recording medium, form with embodied on computer readable has write down the software that can realize above-mentioned functions, i.e. the program code of the signal procedure of transmitter or receiver (executable program, intermediate code program, source program).
As aforementioned recording medium, for example, can use card class such as band classes such as tape or cassette tape, the dish class that comprises CDs such as disk such as floppy disk (registered trade mark)/hard disk or CD-ROM/MO/MD/DVD/CD-R, IC-card (comprising storage card)/light-card or mask rom/semiconductor memory classes such as EPROM/EEPROM/ flash ROM etc.
In addition, also transmitter or receiver can be connected with communication network, provide the said procedure code via communication network.As this communication network, do not limit especially, for example, can utilize internet, in-house network, extranets, LAN, ISDN, VAN, cable television communication net, VPN (virtual privatenetwork), telephone wire road network, mobile radio communication, satellite communication network etc.In addition, the form that passes of the present invention also can be by having embodied the said procedure code with electric transmission carrier wave or data-signal realizes.
As above, communication equipment of the present invention is not transferred transmission route and the blanket data that send according to the hard-core communication mode of the frame number that once can send, and it is characterized in that, comprise: transmit frame generates parts, and the blanket transmission data that will sum up transmission are cut apart and generated transmit frame; Sequence number generates parts, gives sequence number to above-mentioned transmit frame; The final mark of blanket transmission generates parts, sets to be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data in the final transmit frame of above-mentioned blanket transmission data; And transmit block, send above-mentioned transmit frame.
In addition, communication means of the present invention is not transferred transmission route and the blanket data that send according to the hard-core communication mode of the frame number that once can send, and it is characterized in that, the blanket transmission data that will sum up transmission are cut apart and generated transmit frame; Give sequence number to above-mentioned transmit frame; In the final transmit frame of above-mentioned blanket transmission data, set and be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data; And send above-mentioned transmit frame.
And then communication equipment of the present invention comprises: the received frame resolution component, from the received frame that receives, extract zero defect mark and sequence number; Zero defect mark resolution component, resolving above-mentioned zero defect mark has zero defect with judgement; And control assembly, be shown with under the situation of mistake at above-mentioned zero defect label table, send the transmit frame corresponding again with above-mentioned sequence number.
In addition, communication equipment of the present invention is according to the hard-core communication mode of the frame number that once can send, do not transfer transmission route and the blanket data that receive, it is characterized in that, comprising: the sequence number resolution component, resolve the sequence number that comprises in the above-mentioned received frame, thereby judge the mistake that has or not sequence number; Transmit frame generates parts, the final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, in the received frame that receives so far, detect under the amiss situation by above-mentioned sequence number resolution component, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And transmit block, send above-mentioned transmit frame.
In addition, communication means of the present invention is not transferred transmission route and the blanket data that receive according to the hard-core communication mode of the frame number that once can send, and it is characterized in that, resolves the sequence number that comprises in the above-mentioned received frame, thereby judges the mistake that has or not sequence number; The final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of transmit frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, in the received frame that receives so far, detect under the amiss situation, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And send above-mentioned transmit frame.
In addition, communication system of the present invention is characterised in that and comprises as the communication equipment of above-mentioned transmitter with as the communication equipment of above-mentioned receiver.
According to said structure and method, according to the hard-core communication mode of the frame number that once can send, when not transferring transmission route and summing up the transmission data, in transmitter, will sum up and send data and cut apart and generate transmit frame, give sequence number to transmit frame, and then in the final transmit frame of blanket transmission data, set to be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data, thereby send transmit frame.On the other hand, in receiver, resolve the sequence number that comprises in the received frame, and differentiation has or not the mistake of sequence number, in received frame, detect under the amiss situation, generate transmit frame and send to transmitter, comprise the sequence number that is set at when representing that the zero defect mark of mistake is arranged and mistake taking place in the described transmit frame.Then, if receive the frame that comprises the sequence number when mistake takes place from receiver, then transmitter sends the transmit frame corresponding with this sequence number once more.
Here, the final mark of blanket transmission that receiver comprises in by received frame distinguishes that receiving transmitter will sum up before the situation of the final transmit frame in the transmit frame after sending data and cutting apart, does not send the transmit frame of the sequence number when comprising above-mentioned mistake and taking place.In other words, be the notice that unit carries out mistake with blanket transmission data.
Thereby, even use do not have the frame number (window size) that can once send or receive thus the communication mode of restriction also can detect and omit frame etc. and send again, therefore can carry out the high communication of reliability.In addition, because to send data be the notice that unit carries out mistake with blanket, so data forwarding efficient height.
And then, communication equipment of the present invention is characterised in that and comprises that the final mark of data generates parts, the final mark of these data generates parts and is divided into a plurality of above-mentioned blanket transmission data when sending sending data with one, sets to be used to represent to be the final mark of data of the final transmit frame of transmission data in the final transmit frame of these transmissions data.
According to said structure, can also send the end of data to the receiver notice.Therefore, in receiver, for example can begin the processing of the data in the reception buffer expeditiously.
And then communication equipment of the present invention is characterised in that above-mentioned communication mode is to use the communication of UI (Unnumbered Infromation) frame of IrLAP (InfraredLink Access Protocol).
According to said structure, can also use the communication mode of the UI frame of IrLAP as the restriction of the frame number (window size) that does not have once to send or to receive.That is, can use the UI frame of IrLAP to send again.
And then communication equipment of the present invention is characterised in that at least a portion that the final PUT that contains OBEX (ObjectExchange Protocol) in the above-mentioned transmit frame orders or non-final PUT orders.
According to said structure, can also use OBEXPUT order carrying out quality and the high transmission again of forward efficiency.
And then communication equipment of the present invention is characterised in that part or all of the SUCCESS response that contains OBEX (ObiectExchange Protocol) in the above-mentioned transmit frame.
According to said structure, under the situation of the data forwarding of having carried out the Put order by OBEX from transmitter, can send the SUCCESS response of OBEX, can use the communication of the Put operation of OBEX.
In addition, communication equipment of the present invention is not transferred transmission route and the blanket data that receive according to the hard-core communication mode of the frame number that once can send, and it is characterized in that comprise: the error detection occurs parts are used for differentiating at the received frame that receives whether mistake is arranged; Transmit frame generates parts, the final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of transmit frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, according to whether in the received frame that receives so far, detecting mistake by above-mentioned error detection occurs parts, generate transmit frame, described transmit frame comprises and is set to the zero defect mark that expression has zero defect; And transmit block, send above-mentioned transmit frame.
Can zero defect be arranged to the transmitter notice according to said structure.Therefore, notified transmitter can send again.
Thereby, even use do not have the frame number (window size) that can once send or receive thus the communication mode of restriction also can detect and omit frame etc. and send again, therefore play the effect that can carry out the high communication of reliability.In addition, owing to being the notice that unit carries out mistake, therefore play the high effect of data forwarding efficient with blanket transmission data.
In addition, communication equipment of the present invention uses object exchange to send object with agreement OBEX (Object Exchangeprotocol), it is characterized in that, comprise OBEX layer processing unit, described OBEX layer processing unit is after sending the OBEX order, and the OBEX that does not receive from receiver responds and transmission OBEX order then.
In addition, communication means use object exchange of the present invention uses agreement OBEX (Object Exchangeprotocol) to send object, it is characterized in that, after sending the OBEX order, the OBEX that does not receive from receiver responds and transmission OBEX order then.
According to said structure and method, transmitter can send OBEX order then and needn't receive OBEX response from receiver.Thereby under receiver did not send for the situation from the response command of the request command of transmitter, perhaps receiver did not have can transmit object by OBEX under the situation of sending function yet.That is, can realize using the one-way communication of OBEX.
In addition, communication equipment of the present invention uses object exchange to send object with agreement OBEX (Obiect Exchangeprotocol), it is characterized in that, comprise OBEX layer processing unit, only after the non-final Put order that sends OBEX, the OBEX that does not receive from receiver responds and the non-final Put order of transmission OBEX then or final Put order described OBEX layer processing unit.
In addition, communication means of the present invention uses object exchange to send object with agreement OBEX (Object Exchangeprotocol), it is characterized in that, only after the non-final Put order that sends OBEX, the OBEX that does not receive from receiver responds and the non-final Put order of transmission OBEX then or final Put order.
According to said structure and method, by omitting the response (CONTINUE response command) of non-final Put order, thus can the high data forwarding of implementation efficiency.
In addition, communication equipment of the present invention uses object exchange to receive object with agreement OBEX (Object Exchangeprotocol) from transmitter, it is characterized in that, comprises OBEX layer processing unit, described OBEX layer processing unit do not send the OBEX response all the time after receiving the OBEX order.
In addition, communication means of the present invention uses object exchange to receive object with agreement OBEX (Obiect Exchangeprotocol) from transmitter, it is characterized in that, after receiving the OBEX order, does not send the OBEX response all the time.
According to said structure and method, can send OBEX order then and needn't receive under the situation from the OBEX response of receiver at transmitter, in receiver, can not generate and send the control of unnecessary response command.Thereby, can realize using the one-way communication of OBEX.
In addition, communication equipment of the present invention uses object exchange to receive object with agreement OBEX (Obiect Exchangeprotocol) from transmitter, it is characterized in that, comprise OBEX layer processing unit, when described OBEX layer processing unit ordered at the non-final Put that receives OBEX, do not carry out the transmission of OBEX response, and when receiving final Put order, carry out the transmission of OBEX response.
In addition, communication means of the present invention uses object exchange to receive object with agreement OBEX (Object Exchangeprotocol) from transmitter, it is characterized in that, when the non-final Put that receives OBEX orders, do not carry out the transmission of OBEX response, and when receiving final Put order, carry out the transmission of OBEX response.
According to said structure and method, by omitting the response (CONTINUE response command) of non-final Put order, thus can the high data forwarding of implementation efficiency.
In addition, above-mentioned communication equipment can be by computer realization, in this case, thereby by making computer as the each several part work of the above-mentioned communication equipment signal procedure by the communication equipment of the above-mentioned communication equipment of computer realization, and the recording medium that has write down the embodied on computer readable of this program also belongs to category of the present invention.
In addition, the telecommunication circuit of the function that above-mentioned communication equipment also can be by having each part mentioned above realizes.
In addition, above-mentioned communication equipment is suitable for the mobile phone that communicates by this communication equipment.According to above-mentioned mobile phone, can carry out quality and/or the high communication of forward efficiency.
In addition, above-mentioned communication equipment is suitable for the display unit that shows based on the data that this communication equipment receives.According to such display unit, can carry out quality and/or the high communication of forward efficiency.
In addition, above-mentioned communication equipment is suitable for the printing equipment that prints based on the data that this communication equipment receives.According to such printing equipment, can carry out quality and/or the high communication of forward efficiency.
In addition, above-mentioned communication equipment is suitable for writing down the tape deck of the data that this communication equipment receives.According to such tape deck, can carry out quality and/or the high communication of forward efficiency.
At last, communication equipment of the present invention also can followingly constitute.
[main website]
(1. main website to the UI frame appended sequence number of LAP layer and BL mark then send)
Communication equipment of the present invention [1] uses the communication mode of the restriction that does not have window size (the once frame number that can send or receive), do not transfer transmission route and the blanket data that send certain concentrated size, it is characterized in that, comprise: additional transmit frame sequence number, expression be blanket send data end mark and send data and generate the circuit of transmit frame and send the circuit of described transmit frame, when transmitting data, in the value of the end of the label table registration certificate of the end of setting the described blanket transmission data of expression and till sending, with the predetermined value of described sequence number increase and decrease.
According to said structure, even use the communication mode of the restriction that does not have the window size, the communication equipment that receives above-mentioned frame also can detect the omission of frame and carry out the high communication of reliability.
If (2. arrive and send request again then all transmissions again) from secondary
Communication equipment of the present invention [2] is characterised in that in above-mentioned communication equipment [1] the zero defect label table in the frame that receives from remote station is shown with under the situation of mistake, from beginning to send data at first again.
According to said structure, carried out owing to mistake sending under the situation of request again in remote station, can send again.
(3. when all send again with sequence number from 0)
Communication equipment of the present invention [3] is characterised in that in above-mentioned communication equipment [2], carrying out describedly when sending again, when sending first frame, sequence number is made as initial value according to predetermined rule.
According to said structure, receive that the communication equipment of frame can be learnt from having carried out transmission more at first.
(4. all only send once again)
Communication equipment of the present invention [4] is characterised in that in above-mentioned communication equipment [2], described only the transmission again to once.
According to said structure, can cut down the power consumption that the transmission again under the quality condition of severe of communication path causes.
(5. pair all send the restriction that number of times is set again)
Communication equipment of the present invention [5] is characterised in that in above-mentioned communication equipment [2], described being sent as again below the predetermined value.
According to said structure, can change the restriction that sends number of times again according to the quality of communication path, can carry out the reduction of more high efficiency power consumption.
(6. the sequence number that sends again from the secondary request sends again)
Communication equipment of the present invention [6] is in above-mentioned communication equipment [1], be characterised in that, zero defect label table in the frame that receives from remote station is shown with under the situation of mistake, and the frame of the sequence number in the frame that is equivalent to receive from the frame that has sent so far sends again.
According to said structure, can send again from the sequence number of remote station request, the forward efficiency during mistake improves.
(7. the sequence number that sends again from the secondary request sends (also returning sequence number) again)
Communication equipment of the present invention [7] is characterised in that in above-mentioned communication equipment [6], carrying out describedly when sending again, when sending first frame, sequence number is made as sequence number in the previous frame that receives.
According to said structure, the transmission again that remote station can get primary data begins the place.
(8. from the transmission again of the sequence number of secondary appointment only for once)
Communication equipment of the present invention [8] is characterised in that in above-mentioned communication equipment [6], described only the transmission again to once.
According to said structure, can cut down the power consumption that the transmission again under the quality condition of severe of communication path causes.
(9. from the sequence number of secondary appointment send the restriction that number of times is set again)
Communication equipment of the present invention [9] is characterised in that in above-mentioned communication equipment [6], describedly is sent as below the predetermined value again.
According to said structure, can change the restriction that sends number of times again according to the quality of communication path, can carry out the reduction of more high efficiency power consumption.
If (10. do not send request again, then sequence number increased the back and send) from secondary
Communication equipment of the present invention [10] is in above-mentioned communication equipment [1], be characterised in that, zero defect mark in the frame that receives from remote station represents under the situation of zero defect, the sequence number of the frame that last time sent increased value after the predetermined value given as sequence number and send.
According to said structure,, can then carry out the transmission of data not sending again under the situation of request from remote station.
(unit of the size of data of 11.BL=1 is by the buffer sizes decision of receiving terminal)
Communication equipment of the present invention [11] is in above-mentioned communication equipment [1], be characterised in that, remain on when connecting the size of data of the summed up reception of the remote station that receives from remote station, the accumulative total of the transmission data in the transmit frame is below the size of data that receives from remote station when described the connection, with the flag settings of representing the end of described blanket transmission data is the value of expression ED, and sends.
According to said structure, overflow at the buffer that can prevent receiving terminal and cause overrun (overrun) mistake.
(12. not receiving under the situation of block size parameter, and default value is made as block size)
Communication equipment of the present invention [12] is in above-mentioned communication equipment [11], be characterised in that, when connecting, do not receive under the situation of summed up reception size of data of remote station from remote station, below predetermined value, with the blanket flag settings that sends the end of data of expression is the value of the end of expression data, and sends.
According to said structure, and if remote station between set default value, then remote station can carry out the communication by default value, and needn't notify reception buffer to remote station when connecting.
(13. after main website is made as BL=1 and sends, if then would send previous transmit frame again)
Communication equipment of the present invention [13] is in above-mentioned communication equipment [1], be characterised in that, has timer especially, after the blanket flag settings that sends the end of data is the end and transmit frame of expression data with described expression, do not receive at predetermined certain hour and only to send the frame of previous transmission again under the situation of frame from remote station.
According to said structure, mistake, remote station take place in the frame of the mark that comprises the blanket end that sends data of expression fail can send under the normal situation about receiving again.
(frame that 14. main websites send BL=1 more only is 1 time)
Communication equipment of the present invention [14] is characterised in that in above-mentioned communication equipment [13], described only the transmission again to once.
According to said structure, can cut down the power consumption that the transmission again under the quality condition of severe of communication path causes.
(frame that 15. main websites send BL=1 again is provided with restriction)
Communication equipment of the present invention [15] is characterised in that in above-mentioned communication equipment [13] the described number of times that sends again is below the predetermined value.
According to said structure, can change the restriction that sends number of times again according to the quality of communication path, can carry out the reduction of more high efficiency power consumption.
(16. main websites are made as BL=1 when sending whole frame)
Communication equipment of the present invention [16] is characterised in that in above-mentioned communication equipment [1], in whole transmit frames, sends after the mark of the end of the described blanket transmission data of expression being made as the value of end of expression data.
According to said structure, the size that sends required transmission buffer again can be suppressed little.
(17. main websites set the mark of expression from the end of the data of high level)
Communication equipment of the present invention [17] is in above-mentioned communication equipment [1], be characterised in that, the circuit that has the mark of the end of setting the transmission data of representing our station especially, under the situation of the end of the transmission data that send our station, with the flag settings of the end of the transmission data of the described our station of expression the value of end, and send for the expression data.
According to said structure, the end that sends data can be learnt by remote station.
(18. main websites carry out two-way communication by the UI frame of IrDA)
Communication equipment of the present invention [18] is characterised in that in any one of above-mentioned communication equipment [1]~[17], and the described communication mode that does not have a restriction of window size is to use the communication of the UI frame of IrLAP (Infrared Link AccessProtocol).
According to said structure, can use the UI frame of IrLAP to send again.
(19. main websites UI frame appended sequence number to the LAP layer in one-way communication also sends)
Communication equipment of the present invention [19] has: the UI frame that uses IrLAP (Infrared Link Access Protocol) carry out not need situation from the communication of the response of remote station under, give sequence number generates transmit frame with sending data circuit to the UI frame, and the circuit that sends described transmit frame, when data forwarding, with the predetermined value of described sequence number increase and decrease.
According to said structure,, in one-way communication, also can detect whether have omission, the raising that brings communication quality in the frame that receives even use the UI frame of IrDA.
(20. main websites send UI frame appended sequence number and DL mark in one-way communication)
Communication equipment of the present invention [20] has the circuit of mark that the expression of generating sends the end of data especially at above-mentioned communication equipment [19], sets and send the mark of the end of the described transmission data of expression.
According to said structure,, can carry out desirable processing in the moment of the mark of receiving the end of representing described transmission data from receiving terminal.
(data that 21. main websites send are the PUT order of OBEX)
Communication equipment of the present invention [21] contains part or all of Put (Final or not Final) order of OBEX (Object Exchange Protocol) in described transmission data in any one of above-mentioned communication equipment [1]~[20].
According to said structure, can use the Put order of OBEX to communicate.
[secondary]
(if 22. secondarys receive the frame of BL=1 then the main website notice are had zero defect)
Communication equipment of the present invention [22] uses the communication mode of the restriction that does not have window size (the once frame number that can send or receive), do not transfer transmission route and the blanket data that send certain concentrated size, it is characterized in that having: be used for differentiating the error detecting circuit whether received frame has mistake; Data in the received frame are kept at circuit in the reception buffer; Handle the circuit of the data in the reception buffer; Differentiate expression and sum up the circuit of the mark of the end that sends data; Additional zero defect mark and generate the circuit of transmit frame; And the circuit that sends described transmit frame, when data forwarding, under the situation of the end of the label table registration certificate of the end of the described blanket transmission data in the expression received frame, in the frame that receives so far, do not detect under the amiss situation, described zero defect mark is made as the meaning of zero defect, detecting under the amiss situation, described zero defect mark is being made as the meaning of mistake and delta frame, and sends.
According to said structure, can zero defect be arranged to the remote station notice.Notified remote station can send again.
(if 23. secondarys receive the frame of BL=1, the sequence number when then the main website notice being had zero defect and mistake)
Communication equipment of the present invention [23] uses the communication mode of the restriction that does not have window size (the once frame number that can send or receive), do not transfer transmission route and the blanket data that send certain concentrated size, it is characterized in that having: be used for differentiating the error detecting circuit whether received frame has mistake; The circuit of the sequence number that calculating will receive; The circuit that the sequence number of sequence number that will receive and the frame that receives compares; Data in the received frame are kept at circuit in the reception buffer; Handle the circuit of the data in the reception buffer; The circuit that keeps the sequence number of the amiss frame of detection; Differentiate expression and sum up the circuit of the mark of the end that sends data; Sequence number during with zero defect mark and the generation mistake under having the situation of mistake is given the circuit that generates transmit frame in the lump; And the circuit that sends described transmit frame, when data forwarding, under the situation of the end of the label table registration certificate of the end of the described blanket transmission data in the expression received frame, in the frame that receives so far, in described error detecting circuit and sequence number comparison circuit, do not detect under the amiss situation, described zero defect mark is made as the meaning of zero defect, detecting under the amiss situation, described zero defect mark is made as the meaning of mistake, sends the sequence number of the frame that detects first mistake simultaneously in the lump.
According to said structure, can zero defect be arranged to the remote station notice.In addition, the sequence number that can notify hope to send again can carry out high efficiency transmission again.
(stand in for 24. times when receiving the frame that detects after the mistake, do not receive the processing of intraframe data)
Communication equipment of the present invention [24] is in above-mentioned communication equipment [22] or [23], it is characterized in that, in described error detecting circuit and sequence number comparison circuit, detect under the amiss situation, at least the mark of end that receives the described blanket transmission data of expression becomes till the frame of value of end of expression data, the data in the received frame is not kept in the reception buffer.
According to said structure, when mistake takes place, can cut down the power consumption of the data processing till the remote station request sent again.
(it only is 1 time that 25. secondarys send request again)
Communication equipment of the present invention [25] is in above-mentioned communication equipment [22] or [23], it is characterized in that, in described error detecting circuit and sequence number comparison circuit, in received frame, detect under the amiss situation, described zero defect mark is made as only sends after the meaning of mistake to once.
According to said structure, can cut down the power consumption that the transmission again under the quality condition of severe of communication path causes.
(26. pairs of secondarys send request again restriction are set)
Communication equipment of the present invention [26] is in above-mentioned communication equipment [22] or [23], it is characterized in that, in described error detecting circuit and sequence number comparison circuit, in received frame, detect under the amiss situation, be sent as below the pre-determined number after described zero defect mark being made as the meaning of mistake.
According to said structure, can change the restriction that sends number of times again according to the quality of communication path, can efficient more cut down power consumption in the highland.
(27. secondarys request usually send from 0 again)
Communication equipment of the present invention [27] is characterized in that in above-mentioned communication equipment [23] when the meaning that described zero defect mark is made as mistake sent, the initial value that sequence number is made as usually according to predetermined rule sent.
According to said structure, detect under the amiss situation request usually from data from the beginning of transmission again, needn't manage the sequence number of the frame that mistake has taken place, make circuit reduction.
(28. when connecting, and secondary is to main website notification buffer size)
Communication equipment of the present invention [28] is characterized in that in above-mentioned communication equipment [22] or [23], sends after frame being given the buffer sizes of our station when connecting.
According to said structure, can notify the reception buffer size of our station to remote station, the blanket size of data that sends of remote station adjustment can prevent that the reception buffer of our station from overflowing and become the overrun mistake.
(29. secondarys receive under the situation of frame of BL=1 and same sequence number continuously, do not handle as mistake)
Communication equipment of the present invention [29] is in above-mentioned communication equipment [23], it is characterized in that, the end of the label table registration certificate of the end of the blanket transmission data of the frame that expression receives, and under the sequence number of this moment situation identical, in described sequence number comparison circuit, do not handle as mistake with the sequence number of the frame of the end of the label table registration certificate of the end of representing the previous blanket transmission data that receive.
According to said structure, mistake takes place in the frame that our station sends, under the situation that remote station can not normally receive, can the frame from remote station that sends again not handled as mistake.
(when 30. secondarys receive the bag of transmission again of BL=1, intraframe data not being kept in the reception buffer)
Communication equipment of the present invention [30] is in above-mentioned communication equipment [29], it is characterized in that, the end of the label table registration certificate of the end of the blanket transmission data of the frame that described expression receives, and under the sequence number of this moment situation identical, the data in the received frame are not kept in the reception buffer with the sequence number of the frame of the end of the label table registration certificate of the end of representing the previous blanket transmission data that receive.
According to said structure, mistake takes place in the frame that our station sends, under the situation that remote station can not normally receive, can prevent that the data secondary from the frame of remote station that sends again is kept in the reception buffer.
(when 31. secondarys receive the bag of transmission again of BL=1, sending the previous frame that receives again)
Communication equipment of the present invention [31] is in above-mentioned communication equipment [29], it is characterized in that, the end of the label table registration certificate of the end of the blanket transmission data of the frame that described expression receives, and under the sequence number of this moment situation identical, send the previous frame that receives again with the sequence number of the frame of the end of the label table registration certificate of the end of representing the previous blanket transmission data that receive.
According to said structure, mistake takes place in the frame that our station sends, under the situation that remote station can not normally receive, can send again.
(after 32. secondarys receive the frame of DL=1, the ED of the high level of notice remote station)
Communication equipment of the present invention [32] is in above-mentioned communication equipment [22] or [23], it is characterized in that, the circuit that has the mark of the end of differentiating the data of representing remote station especially, in received frame, under the situation of end of the label table registration certificate of the end of the data of the described remote station of expression, notify this situation to data processing unit in the reception buffer of our station.
According to said structure, can be to receiving the end that data processing unit is notified the transmission data of remote station in the our station.
(after 33. secondarys receive the frame of DL=1, sending the data of the high level of secondary)
Communication equipment of the present invention [33] is in above-mentioned communication equipment [32], it is characterized in that, in received frame, under the situation of end of the label table registration certificate of the end of the data of the described remote station of expression, data processing unit in the reception buffer of our station is notified the data that send our station after this situation.
According to said structure, can send for the response data that receives data.
(data that 34. secondarys send are the SUCCESS of OBEX)
Communication equipment of the present invention [34] is characterized in that in above-mentioned communication equipment [33], contains part or all of SUCCESS response of OBEX (Object Exchange Protocol) in the data of described our station.
According to said structure, under the situation of the data forwarding that the Put that has carried out OBEX from remote station orders, can send the SUCCESS response of OBEX, and can use the communication of the Put operation of OBEX.
(35. secondarys send the zero defect mark in the lump when sending high-rise data)
Communication equipment of the present invention [35] is characterized in that in above-mentioned communication equipment [33], sends described zero defect mark especially when sending the data of described our station in the lump.
According to said structure, the frame of remote station being notified the frame of zero defect and the response data that sends our station can be concentrated is one, and brings the high efficiency of frequency band.
(36. secondarys carry out two-way communication by the UI frame of IrDA)
Communication equipment of the present invention [36] is characterized in that in any one of above-mentioned communication equipment [22]~[35], and the described communication mode that does not have a restriction of window size is to use the communication of the UI frame of IrLAP (Infrared Link AccessProtocol).
According to said structure, can use the UI frame of IrLAP to send again.
(37. secondarys receive data (checking sequence number) with one-way communication)
Communication equipment of the present invention [37] is characterised in that, have: error detecting circuit, carry out remote station not being sent under the situation of the communication that responds at the UI frame that uses IrLAP (Infrared Link Access Protocol), differentiate in the received frame whether have mistake; The circuit of the sequence number that calculating will receive; The circuit of the sequence number of sequence number that will receive and the frame that receives relatively; Data in the received frame are kept at circuit in the reception buffer; Handle the circuit of the data in the reception buffer, when data forwarding, in described error detecting circuit and sequence number comparison circuit, in the frame that receives, do not detect under the amiss situation, carry out treatment desired as normal Data Receiving, detecting under the amiss situation, treatment desired is carried out in failure as Data Receiving.
According to said structure, even when the one-way communication of the UI frame that uses IrLAP, also can detect the omission of frame by the sequence number of checking frame.
(stand in for 38. times in the unidirectional reception and finish) by DL parser circuitry judgment data
Communication equipment of the present invention [38] is in above-mentioned communication equipment [37], it is characterized in that, has the circuit that the mark of end of the data of expression remote station is differentiated especially, in received frame, under the situation of end of the label table registration certificate of the end of the data of the described remote station of expression, notify this situation to data processing unit in the reception buffer of our station.
According to said structure,, can not differentiate the end that receives data under the state of the long information of the total data of transmitting terminal transmission even in received frame, have at receiving terminal yet.
(stand in for 39. times when receiving the frame that detects after the mistake in the unidirectional reception, do not receive the processing of intraframe data)
Communication equipment of the present invention [39] is in above-mentioned communication equipment [37], it is characterized in that, detect under the amiss situation at described error detecting circuit and sequence number comparison circuit, at least till the mark of end that receives the described blanket transmission data of expression becomes the frame of value of end of expression data, the data in the received frame are not kept in the reception buffer.
According to said structure, can not detect data after the mistake and preserve and handle, and can cut down power consumption.
(40. telecommunication circuit)
Telecommunication circuit of the present invention [40] is characterised in that, is any one the telecommunication circuit of communication that can realize above-mentioned communication equipment [1]~[39].
According to said structure, also can be assembled in other the communication equipment.
(41. program)
Signal procedure of the present invention [41] is characterised in that, is any one the signal procedure of communication that can realize above-mentioned communication equipment [1]~[39].
According to said structure, also can be assembled in other the communication equipment.
(42. recording medium)
Recording medium of the present invention [42] is characterised in that, has write down above-mentioned signal procedure [41], is the recording medium of embodied on computer readable.
According to said structure, on memory, launch to make its work by the program that will be recorded in this recording medium, thereby can carry out the present invention.
(43. mobile phone)
Mobile phone of the present invention [43] is characterised in that, is any one the mobile phone of communication that can realize above-mentioned communication equipment [1]~[39].
According to said structure, realize described one of them communication mode by using mobile phone, thereby can carry out high-quality communication.
(44. display unit)
Display unit of the present invention [44] is characterised in that, is any one the display unit of communication that can realize above-mentioned communication equipment [1]~[39].
According to said structure, realize described one of them communication mode by using display unit, thereby can carry out high-quality communication.
(45. printing equipment)
Printing equipment of the present invention [45] is characterised in that, is any one the printing equipment of communication that can realize above-mentioned communication equipment [1]~[39].
According to said structure, realize described one of them communication mode by using printing equipment, thereby can carry out high-quality communication.
(46. tape deck)
Tape deck of the present invention [46] is characterised in that, is any one the tape deck of communication that can realize above-mentioned communication equipment [1]~[39].
According to said structure, realize described one of them communication mode by the service recorder device, thereby can carry out high-quality communication.
(do not need in the 47.OBEX layer respond communication means)
In addition, other communication means of the present invention uses object exchange with agreement OBEX (ObjectExchange protocol) remote station to be sent object, it is characterized in that after sending the OBEX order, the OBEX that does not receive from remote station responds and transmission OBEX order then.
(48. only do not need during one-way communication respond communication means)
Other communication means of the present invention is in above-mentioned communication means, it is characterized in that, have the means that send two-way communication that need respond from the OBEX of remote station after the OBEX order and the one-way communication that need not respond that switch in especially from the OBEX of remote station, only under the situation of having selected described one-way communication, after sending described OBEX order, it is also passable not receive the OBEX order that sends then from the OBEX response of remote station.
(do not need in the 49.OBEX layer respond communicator)
In addition, other communicator of the present invention also has can use the object exchange OBEX layer processing unit of agreement OBEX (Object Exchange protocol) to remote station transmission object, it is characterized in that, in described OBEX layer processing unit, after having generated and sent OBEX order, it is also passable not receive the OBEX order that generates and sends then from the OBEX response of remote station.
(50. only do not need during one-way communication respond communicator)
Other communicator of the present invention is in above-mentioned communicator, it is characterized in that, have especially and switch in the communication means switch unit that sends two-way communication that need respond from the OBEX of remote station after the OBEX order and the one-way communication that need not respond from the OBEX of remote station, only selected under the situation of one-way communication at described communication means switch unit, after generating and sending described OBEX order, it is also passable not receive the OBEX order that generates and sends then from the OBEX response of remote station.
According to said method and structure, for example in using the one-way communication of OBEX, even client device side can not reception server to situation from the response command of the request command of client device side under, the object that also can carry out among the OBEX sends.In addition, when two-way communication, confirm communication, when one-way communication, can communicate and, can realize two-way communication and one-way communication by an OBEX agreement not from the response of server from the response of server.
(51. only the Put order of non-Final do not need the communication means that responds)
In addition, other communication means of the present invention uses object exchange with agreement OBEX (ObiectExchange protocol) remote station to be sent object, it is characterized in that, only after the non-final Put order that sends OBEX, the OBEX that does not receive from remote station responds and the non-final Put order of transmission OBEX then or final Put order.
(52. only the Put order of non-Final do not need the communicator that responds)
In addition, other communicator of the present invention has can use the object exchange OBEX layer processing unit of agreement OBEX (ObjectExchange protocol) to remote station transmission object, it is characterized in that, in described OBEX layer processing unit, only after the non-final Put order that generates and sends OBEX, do not receive from the OBEX response of remote station and generate and send the non-final Put order of OBEX then or final Put order.
According to said method and structure, only can realize not need be for the object exchange of the CONTINUE response command of described PUT order.
(not sending the communication means of response in the 53.OEBX layer)
In addition, other communication means of the present invention uses object exchange to receive object with agreement OBEX (ObjectExchange protocol) from remote station, it is characterized in that, after the OBEX order that receives from remote station, does not send the OBEX response all the time.
(during 54. only unidirectional receptions, in the OBEX layer, not sending the communication means of response)
In addition, other communication means of the present invention is in above-mentioned communication means, also have and switch in the switch means that sends two-way communication that need respond from the OBEX of remote station after the OBEX order and the one-way communication that need not respond from the OBEX of remote station, only under the situation of having selected described one-way communication, after receiving described OBEX order, remote station is not sent the OBEX response all the time.
(55. do not send the communicator of response in the OBEX layer)
In addition, other communicator of the present invention also has can use the object exchange OBEX layer processing unit of agreement OBEX (Object Exchange protocol) from remote station reception object, it is characterized in that, in described OBEX layer processing unit, after the OBEX order that receives from remote station, do not send the OBEX response all the time.
(during 56. only unidirectional receptions, in the OBEX layer, not sending the communicator of response)
In addition, other communicator of the present invention is in above-mentioned communicator, also have and switch in the communication means switch unit that sends two-way communication that need respond from the OBEX of remote station after the OBEX order and the one-way communication that need not respond from the OBEX of remote station, only selected under the situation of one-way communication at described communication means switch unit, after receiving described OBEX order, remote station is not sent the OBEX response all the time.
According to said method and structure, for example in the one-way communication that uses OBEX, even client device side needn't the send server equipment side to situation from the response command of the request command of client device side under, also following control be can carry out, the generation and the transmission of the response command that row is unnecessary promptly do not said.In addition, when two-way communication, by client device side is sent response command, thereby can confirm the communication of client device side, when one-way communication, generation and transmission be can not carry out, can two-way communication and one-way communication be realized by an OBEX agreement to the unnecessary response command of client device.
(57. only the communication means that do not respond of the Put order of non-Final)
In addition, other communication means of the present invention, use object exchange to receive object from remote station with agreement OBEX (ObiectExchange protocol), it is characterized in that, when the non-final Put that receives OBEX orders, do not carry out the transmission of OBEX response, when receiving final Put order, carry out the transmission of the response of OBEX.
(58. only the communicator that do not respond of the Put order of non-Final)
In addition, other communicator of the present invention, have and to use object exchange to receive the OBEX layer processing unit of object from remote station with agreement OBEX (ObjectExchange protocol), it is characterized in that, in described OBEX layer processing unit, when the non-final Put that receives OBEX orders, do not carry out the transmission of OBEX response, when receiving final Put order, generate and send the response of OBEX.
According to said method and structure, can only generate the control that the CONTINUE response command to non-final Put order from client device does not send, can realize the efficient activity of communication band.
In addition, the present invention also can followingly constitute.
Communication system of the present invention is divided into a plurality of unrestricted frames with communication data, between main website and secondary, be that unit communicates communication data with the frame, it is characterized in that, in this main website, described unrestricted frame is given the sequence number and the laggard line data transmission of mark of representing whether to transfer transmission route of frame, in this secondary, when the mark of whether transferring the transmission route of frame in the expression that receives from described main website is represented the transfer of transmission route, the result of communication that in the frame that receives at present, whether exists mistake or frame to omit to described main website notice.
As described unrestricted frame, can enumerate and use employed UI (Unnumbered Information) frame in the ultrared communication mode that for example meets the IrDA communication mode.The UI frame if the maximum turnaround time that can send continuously during, then can not limit sending frame number and send continuously.
According to said structure, in the communication of the unrestricted frame that uses the restriction that does not have the window size, also can send the frame that has produced mistake or frame omission again.Therefore, can improve communication efficiency.
In addition, described time stand in detects under the situation that mistake or frame omit, and to the main website notifying communication as a result the time, also there is the sequence number of the frame that mistake or frame omit in notice in the lump.
According to said structure, owing in main website, needn't send all frames again, therefore play the effect of reduction of power consumption of reduction, the main website of the load in the communication.
In addition, the present invention is characterised in that, if the notice that expression exists mistake or frame to omit is received from described secondary by described main website, then sends once more from the later frame of frame that exists mistake or frame to omit of described secondary notice.
According to said structure, owing in main website, needn't send all frames again, therefore play the effect of reduction of power consumption of reduction, the main website of the load in the communication.
In addition, the present invention is characterised in that, described main website sends the work of the later frame of the sequence number that has the frame that mistake or frame omit once more only to carry out once.
According to said structure,, therefore play the effect that can reduce the power consumption of following this transmission owing to only carry out the transmission again of a frame in the main website.
In addition, the present invention is characterised in that, in described secondary, detecting mistake or frame when omitting, and the reception that stops to detect the later frame of frame that mistake or frame omit is handled.
According to said structure, do not detect the later frame of frame that mistake or frame are omitted by in secondary, not receiving, thereby can not carry out the reception of useless frame, realize the reduction of power consumption.
In addition, the present invention is characterised in that, in described secondary, only receives the necessary frame that exists mistake or frame to omit from the frame that described main website sends once more.
According to said structure, in secondary, can not carry out the reception of useless frame, realize the reduction of power consumption.
In addition, the present invention is characterised in that, when establishing connection, carry out the frame exchange to the association request frame that sends from described main website with give the field of the frame number that each station of expression once can send reception respectively from the connection response frame that described secondary sends after, the frame number that can once receive with reference to the remote station that receives in each station comes the frame number of calculating optimum, and carries out the transfer of transmission route according to this frame number.
According to said structure, each frame number of supporting between two stations of main website and secondary necessarily carries out the transfer of transmission route, thus can carry out with each station in the frame exchange of the memory span response of carrying.
In addition, communication system of the present invention is divided into a plurality of unrestricted frames with communication data, and between main website and secondary, be that unit communicates communication data with the frame, it is characterized in that, described main website and secondary use the communication protocol of hierarchy to communicate, this main website is in a special communication protocol layer that constitutes described hierarchy, give the sequence number of frame and the mark whether expression transfers transmission route to described unrestricted frame, this time stands in the described special communication protocol layer, when the mark of whether transferring the transmission route of frame in the expression that receives from described main website is represented the transfer of transmission route, the result of communication that in the frame that receives at present, whether exists mistake or frame to omit to described main website notice.
According to said structure, even in the communication of the unrestricted frame that has used the restriction that does not have the window size, also can send again, simultaneously also needn't be from existing structure modify for the layer beyond the above-mentioned special communication protocol layer.
And then the present invention is characterised in that, stands in the described special communication protocol layer for described time, detecting under the situation that mistake or frame omit, and to the main website notifying communication as a result the time, also there is the sequence number of the frame that mistake or data omit in notice in the lump.
According to said structure, the reduction of the reduction of the load in realizing communicating by letter, the power consumption of main website simultaneously also needn't be from existing structure modify for the layer beyond the above-mentioned special communication protocol layer.
And then the present invention is characterised in that described main website when receiving the notice that has mistake or frame omission from described secondary, sends the later frame of frame that exists mistake or frame to omit from described secondary on-axis point once more in described special communication protocol layer.
According to said structure, the reduction of the reduction of the load in realizing communicating by letter, the power consumption of main website simultaneously also needn't be from existing structure modify for the layer beyond the above-mentioned special communication protocol layer.
And then the present invention is characterised in that described main website when receiving the notice that has mistake or frame omission from described secondary, only carries out the transmission again of a frame in described special communication protocol layer.
According to said structure, can reduce the power consumption of following transmission, simultaneously also needn't be from existing structure modify for the layer beyond the above-mentioned special communication protocol layer.
And then the present invention is characterised in that, in described secondary, in described special communication protocol layer, when detecting the notice that mistake or frame omit, the reception that stops to detect the later frame of frame that mistake or frame omit is handled.
According to said structure, secondary can not carry out the reception of useless frame, and realizes the reduction of power consumption, simultaneously also needn't be from existing structure modify for the layer beyond the above-mentioned special communication protocol layer.
And then the present invention is characterised in that, in described secondary, in described special communication protocol layer, only receives the necessary frame that exists mistake or frame to omit from the frame that described main website sends once more.
According to said structure, secondary can not carry out the reception of useless frame, realizes the reduction of power consumption, simultaneously also needn't be from existing structure modify for the layer beyond the above-mentioned special communication protocol layer.
In addition, the present invention is characterised in that, in described special communication protocol layer, when establish connecting, carry out the frame exchange to the association request frame that sends from described main website with give the field of the frame number that each station of expression once can send reception respectively from the connection response frame that described secondary sends after, the frame number that can once receive with reference to the remote station that receives in each station comes the frame number of calculating optimum, and carries out the transfer of transmission route according to this frame number.
According to said structure, can carry out with each station in the corresponding frame exchange of memory span of carrying, simultaneously also needn't be from existing structure modify for the layer beyond the above-mentioned special communication protocol layer.
And then, the invention is characterized in, in described main website, in described special communication protocol layer, described unrestricted frame is given the transmission of carrying out frame behind the high-rise mark of whether asking of expression to the response frame of transmit frame, in described secondary, in described special communication protocol layer, whether asked the high level of described main website to represent to require under the situation of response frame for the mark of the response frame of transmit frame in the expression of the frame that receives from described main website, notify this situation to high level, finish the moment of the preparation of response frame at high level, generate response frame after giving the result of communication that whether exists mistake or frame to omit the frame that expression receives at present to the response frame that transmits from high level, and send.
According to said structure, can be arranged in the claim frame of communications protocol layers of high level of the above-mentioned special communication protocol layer that sends management again and the exchange of response frame.
Especially, the invention is characterized in, in described main website, in described special communication protocol layer, described unrestricted frame is given the transmission of carrying out frame behind the high-rise mark of whether asking of expression to the response frame of transmit frame, in described secondary, in described special communication protocol layer, whether asked the high level of described main website to represent to require under the situation of response frame for the mark of the response frame of transmit frame in the expression of the frame that receives from described main website, notify this situation to high level, send the response frame of the result of communication that whether has mistake or frame omission in the frame of representing to receive at present earlier, in the moment that high level has been finished the preparation of response frame, send once more from high-rise response frame.
According to said structure, in the above-mentioned special communication protocol layer of main website, in the high level of the above-mentioned special communication protocol layer of secondary, prepared after the response frame before send it back response frame during, can receive above-mentioned other response frame of special communication protocol level (response frame that does not promptly comprise high level).Thus, the above-mentioned special communication protocol layer of main website can know whether secondary normally receives frame before the response frame that sends it back from high level, so can carry out the preparation of data forwarding then in advance.
In addition, dispensing device of the present invention is that unit sends communication data to receiving station with the frame on the basis that communication data is divided into a plurality of unrestricted frames, it is characterized in that, comprising: the sequence number optional feature, described unrestricted frame is given the sequence number of frame; And transmission route transfer mark member of imparting, give the mark whether expression transfers transmission route to described unrestricted frame.
In addition, communication means of the present invention is divided into a plurality of unrestricted frames with communication data, and is that unit sends communication data to receiving station with the frame, it is characterized in that, comprises: to the sequence number additional step of the sequence number of described unrestricted frame additional frame; And the transmission route transfer mark of whether described unrestricted frame additional representation being transferred the mark of transmission route is given step.
According to said structure,, also can receive the frame that whether exists mistake or frame to omit from receiving system even in the communication of the unrestricted frame that uses the restriction that does not have the window size.Thus, can there be the transmission again of the unrestricted frame of mistake or frame omission.
In addition, receiving system of the present invention is from above-mentioned dispensing device received communication data, it is characterized in that, comprise: response frame generates parts, when the mark of whether transferring the transmission route of frame in the expression that receives from described dispensing device is represented the transfer of transmission route, generate expression and receive the response frame that whether exists mistake or frame to omit in the frame at present; And transmit block, the response frame that response frame is generated the parts generation sends to described dispensing device.
In addition, communication means of the present invention is used for from the receiving system of above-mentioned dispensing device received communication data, it is characterized in that, comprise: response frame generates step, when the mark of whether transferring the transmission route of frame in the expression that receives from described dispensing device is represented the transfer of transmission route, generate expression and receive the response frame that whether exists mistake or frame to omit in the frame at present; And forwarding step, the response frame that response frame is generated the parts generation sends to described dispensing device.
According to said structure,, also can send the frame whether expression exists mistake or frame to omit even under the situation of the unrestricted frame that receives restriction with window size.Thus, can there be the transmission again of the unrestricted frame of mistake.
The signal procedure of the operation main website that in addition, communication system of the present invention had is to make computer carry out the computer program that data communication that above-mentioned main website carries out is handled.
According to said structure,, can operate the main website that above-mentioned communication system has by carry out the data communication processing that above-mentioned main website carries out by computer.
The signal procedure of the operation secondary that in addition, communication system of the present invention had is to make computer carry out the computer program that data communication that above-mentioned secondary carries out is handled.
According to said structure,, can operate the secondary that above-mentioned communication system has by carry out the data communication processing that above-mentioned secondary carries out by computer.
In addition, recording medium of the present invention is the recording medium of embodied on computer readable that has write down the signal procedure of the signal procedure of the operation main website that above-mentioned communication system had or the operation secondary that above-mentioned communication system had.
According to said structure,, can realize on computers that the data communication that data communication processing that above-mentioned main website carries out or secondary carry out handles by the signal procedure of reading from aforementioned recording medium.
The present invention is not limited to the respective embodiments described above, can carry out various changes in the scope shown in the claim, for will be in different execution modes disclosed respectively technological means appropriate combination and the execution mode that obtains also is contained in technical scope of the present invention.
Embodiment of enumerating in the detailed explanation item of invention or embodiment are only as making technology contents of the present invention clearer, should only not be defined in such object lesson comes narrow sense ground to explain, in the scope of spirit of the present invention and claim project, can carry out various changes and implement.
Utilizability on the industry
Communication system of the present invention, dispensing device, receiving system, communication means, signal procedure and record In the medium, the reliability height in the data retransmission can shorten the required time of data retransmission, so this The sending function of bright communication system be such as can being applied in mobile phone, PDA, the personal computer etc., And the receiving function of communication system of the present invention for example can be applicable to mobile phone, television set, AV equipment, In tape deck, the personal computers etc. such as printer, DVD recorder, HDD video recorder. In addition, Communication system of the present invention can be applied to meet in the infrared communication of IrDA standard.
Claims (according to the modification of the 19th of treaty)
Content statement according to the 19th modification of PCT treaty
1. accessory rights requires the 1st, 6, deletes a part of structure respectively in 7,10,11.
2. in claim 3, increase a part of structure simultaneously, increase and quote 1 of claim the.
3. in 13 structures that add 1 of claim the of claim the.
4. in 14 structures that add 10 of claims the of claim the.
5. in 17 structures that add 6 of claims the of claim the.
6. in 18 structures that add 11 of claims the of claim the.
1. a communication equipment according to the hard-core communication mode of the frame number that once can send, is summed up and is sent data, it is characterized in that, comprising:
Transmit frame generates parts, and the blanket transmission data that will sum up transmission are cut apart and generated transmit frame;
Sequence number generates parts, gives sequence number to above-mentioned transmit frame;
The final mark of blanket transmission generates parts, sets to be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data in the final transmit frame of above-mentioned blanket transmission data; And
Transmit block sends above-mentioned transmit frame.
2. communication equipment as claimed in claim 1 is characterized in that, comprising:
The received frame resolution component is extracted zero defect mark and sequence number from the received frame that receives;
Zero defect mark resolution component, resolving above-mentioned zero defect mark has zero defect with judgement; And
Control assembly is shown with under the situation of mistake at above-mentioned zero defect label table, sends the transmit frame corresponding with above-mentioned sequence number again.
3. communication equipment as claimed in claim 1 or 2, it is characterized in that, comprise that the final mark of data generates parts, the final mark of these data generates parts and is sending data as above-mentioned blanket transmission data or be divided into a plurality of above-mentioned blanket transmission data when sending with one, sets to be used to represent to be the final mark of data of the final transmit frame of transmission data in the final transmit frame of the final blanket transmission data of these transmissions data.
4. as any one described communication equipment of claim 1 to 3, it is characterized in that above-mentioned communication mode is to use the communication of UI (UnnumberedInformation) frame of IrLAP (Infrared Link Access Protocol).
5. as any one described communication equipment of claim 1 to 4, it is characterized in that, contain the final PUT order of OBEX (Object Exchange Protocol) or at least a portion that non-final PUT orders in the above-mentioned transmit frame.
6. a communication equipment according to the hard-core communication mode of the frame number that once can send, is summed up and is received data, it is characterized in that, comprising:
The sequence number resolution component is resolved the sequence number that comprises in the above-mentioned received frame, thereby judges the mistake that has or not sequence number;
Transmit frame generates parts, the final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of transmit frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, in the received frame that receives so far, detect under the amiss situation by above-mentioned sequence number resolution component, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And
Transmit block sends above-mentioned transmit frame.
7. a communication equipment according to the hard-core communication mode of the frame number that once can send, is summed up and is received data, it is characterized in that, comprising:
The error detection occurs parts are used for differentiating at the received frame that receives whether mistake is arranged;
Transmit frame generates parts, the final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of transmit frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, according to whether in the received frame that receives so far, detecting mistake by above-mentioned error detection occurs parts, generate transmit frame, described transmit frame comprises and is set to the zero defect mark that expression has zero defect; And
Transmit block sends above-mentioned transmit frame.
8. as claim 6 or 7 described communication equipments, it is characterized in that above-mentioned communication mode is to use the communication of UI (Unnumbered Information) frame of IrLAP (Infrared Link Access Protocol).
9. as any one described communication equipment of claim 6 to 8, it is characterized in that, contain part or all of SUCCESS response of OBEX (Object Exchange Protocol) in the above-mentioned transmit frame.
10. a communication means according to the hard-core communication mode of the frame number that once can send, is summed up and is received data, it is characterized in that,
The blanket transmission data that will sum up transmission are cut apart and are generated transmit frame;
Give sequence number to above-mentioned transmit frame;
In the final transmit frame of above-mentioned blanket transmission data, set and be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data; And
Send above-mentioned transmit frame.
11. a communication means according to the hard-core communication mode of the frame number that once can send, is summed up and is sent data, it is characterized in that,
Resolve the sequence number that comprises in the above-mentioned received frame, thereby judge the mistake that has or not sequence number;
The final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of transmit frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, in the received frame that receives so far, detect under the amiss situation, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And
Send above-mentioned transmit frame.
12. a communication system is characterized in that, comprising:
Communication equipment as claimed in claim 1; And
Communication equipment as claimed in claim 6.
13. a communication equipment according to the hard-core communication mode of the frame number that once can send, is summed up and is sent data, it is characterized in that, comprising:
Transmit frame generates parts, and the blanket transmission data that will sum up transmission are cut apart and generated transmit frame;
Sequence number generates parts, gives sequence number to above-mentioned transmit frame; And
Transmit block sends above-mentioned transmit frame,
Comprise OBEX layer processing unit simultaneously, described OBEX layer processing unit is after sending the OBEX order of object exchange with agreement OBEX (OBJect EXchange protocol), and the OBEX that does not receive from receiver responds and transmission OBEX order then.
14. a communication means according to the hard-core communication mode of the frame number that once can send, is summed up and is sent data, it is characterized in that,
The blanket transmission data that will sum up transmission are cut apart and are generated transmit frame;
Give sequence number to above-mentioned transmit frame; And
Send above-mentioned transmit frame,
While, the OBEX that does not receive from receiver responded and transmission OBEX order then after sending the OBEX order of object exchange with agreement OBEX (OBject EXchange protocol).
15. a communication equipment uses object exchange to send object with agreement OBEX (Object Exchange protocol), it is characterized in that,
Comprise OBEX layer processing unit, only after the non-final Put order that sends OBEX, the OBEX that does not receive from receiver responds and the final Put order of transmission non-OBEX then or final Put order described OBEX layer processing unit.
16. a communication means uses object exchange to send object with agreement OBEX (Object Exchange protocol), it is characterized in that,
Only after the final Put order that sends non-OBEX, the OBEX that does not receive from receiver responds and the final Put order of transmission non-OBEX then or final Put order.
17. a communication equipment according to the hard-core communication mode of the frame number that once can send, is summed up and is received data, it is characterized in that, comprising:
The sequence number resolution component is resolved the sequence number that comprises in the above-mentioned received frame, thereby judges the mistake that has or not sequence number;
Transmit frame generates parts, detects in the received frame that receives under the amiss situation by above-mentioned sequence number resolution component, generates transmit frame, and described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And
Transmit block sends above-mentioned transmit frame,
Comprise OBEX layer processing unit simultaneously, described OBEX layer processing unit do not send the OBEX response all the time after receiving the OBEX order of object exchange with agreement OBEX (OBject EXchange protocol).
18. a communication means according to the hard-core communication mode of the frame number that once can send, is summed up and is received data, it is characterized in that,
Resolve the sequence number that comprises in the above-mentioned received frame, thereby judge the mistake that has or not sequence number;
Detect in the received frame that receives under the amiss situation, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And
Send above-mentioned transmit frame,
After receiving the OBEX order of object exchange, do not send the OBEX response all the time simultaneously with agreement OBEX (OBject EXchange protocol).
19. a communication equipment uses object exchange to receive object with agreement OBEX (OBject EXchangeprotocol) from transmitter, it is characterized in that,
Comprise OBEX layer processing unit, when described OBEX layer processing unit ordered at the final Put that receives non-OBEX, do not carry out the transmission of OBEX response, and when receiving final Put order, carry out the transmission of OBEX response.
20. a communication means uses object exchange to receive object with agreement OBEX (OBject EXchangeprotocol) from transmitter, it is characterized in that,
When the final Put that receives non-OBEX orders, do not carry out the transmission of OBEX response, and when receiving final Put order, carry out the transmission of OBEX response.
21. a signal procedure is used to make claim 1 to 8,13,15,17, any one described communication device works of 19, makes computer have function as each part mentioned above.
22. a telecommunication circuit is used to make claim 1 to 8,13,15,17, any one described communication device works of 19, it is characterized in that,
Has function as each part mentioned above.
23. a mobile phone is characterized in that, claim 1 to 8,13,15,17, any one described communication equipment of 19 have been installed, and communicates by this communication equipment.
24. a display unit is characterized in that, claim 6 to 8,17, any one described communication equipment of 19 have been installed, the data that receive based on this communication equipment show.
25. a printing equipment is characterized in that, claim 6 to 8,17, any one described communication equipment of 19 have been installed, the data that receive based on this communication equipment print.
26. a tape deck is characterized in that, claim 6 to 8,17, any one described communication equipment of 19 have been installed, and writes down the data that this communication equipment receives.

Claims (26)

1. a communication equipment according to the hard-core communication mode of the frame number that once can send, is not transferred transmission route and the blanket data that send, and it is characterized in that, comprising:
Transmit frame generates parts, and the blanket transmission data that will sum up transmission are cut apart and generated transmit frame;
Sequence number generates parts, gives sequence number to above-mentioned transmit frame;
The final mark of blanket transmission generates parts, sets to be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data in the final transmit frame of above-mentioned blanket transmission data; And
Transmit block sends above-mentioned transmit frame.
2. communication equipment as claimed in claim 1 is characterized in that, comprising:
The received frame resolution component is extracted zero defect mark and sequence number from the received frame that receives;
Zero defect mark resolution component, resolving above-mentioned zero defect mark has zero defect with judgement; And
Control assembly is shown with under the situation of mistake at above-mentioned zero defect label table, sends the transmit frame corresponding with above-mentioned sequence number again.
3. communication equipment as claimed in claim 2, it is characterized in that, comprise that the final mark of data generates parts, the final mark of these data generates parts and is divided into a plurality of above-mentioned blanket transmission data when sending sending data with one, sets to be used to represent to be the final mark of data of the final transmit frame of transmission data in the final transmit frame of these transmissions data.
4. as any one described communication equipment of claim 1 to 3, it is characterized in that above-mentioned communication mode is to use the communication of UI (UnnumberedInformation) frame of IrLAP (Infrared Link Access Protocol).
5. as any one described communication equipment of claim 1 to 4, it is characterized in that, contain the final PUT order of OBEX (Object Exchange Protocol) or at least a portion that non-final PUT orders in the above-mentioned transmit frame.
6. a communication equipment according to the hard-core communication mode of the frame number that once can send, is not transferred transmission route and the blanket data that receive, and it is characterized in that, comprising:
The sequence number resolution component is resolved the sequence number that comprises in the above-mentioned received frame, thereby judges the mistake that has or not sequence number;
Transmit frame generates parts, the final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of transmit frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, in the received frame that receives so far, detect under the amiss situation by above-mentioned sequence number resolution component, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And
Transmit block sends above-mentioned transmit frame.
7. a communication equipment according to the hard-core communication mode of the frame number that once can send, is not transferred transmission route and the blanket data that receive, and it is characterized in that, comprising:
The error detection occurs parts are used for differentiating at the received frame that receives whether mistake is arranged;
Transmit frame generates parts, the final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of transmit frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, according to whether in the received frame that receives so far, detecting mistake by above-mentioned error detection occurs parts, generate transmit frame, described transmit frame comprises and is set to the zero defect mark that expression has zero defect; And
Transmit block sends above-mentioned transmit frame.
8. as claim 6 or 7 described communication equipments, it is characterized in that above-mentioned communication mode is to use the communication of UI (Unnumbered Information) frame of IrLAP (Infrared Link Access Protocol).
9. as any one described communication equipment of claim 6 to 8, it is characterized in that, contain part or all of SUCCESS response of OBEX (Object Exchange Protocol) in the above-mentioned transmit frame.
10. a communication means according to the hard-core communication mode of the frame number that once can send, is not transferred transmission route and the blanket data that receive, it is characterized in that,
The blanket transmission data that will sum up transmission are cut apart and are generated transmit frame;
Give sequence number to above-mentioned transmit frame;
In the final transmit frame of above-mentioned blanket transmission data, set and be used to represent to be the blanket final mark of blanket transmission that sends the final transmit frame of data; And
Send above-mentioned transmit frame.
11. a communication means according to the hard-core communication mode of the frame number that once can send, is not transferred transmission route and the blanket data that send, it is characterized in that,
Resolve the sequence number that comprises in the above-mentioned received frame, thereby judge the mistake that has or not sequence number;
The final mark of blanket transmission that comprises in above-mentioned received frame represents that this received frame is to be divided into a plurality of transmit frames and during the final transmit frame of the blanket blanket transmission data that send by transmitter, in the received frame that receives so far, detect under the amiss situation, generate transmit frame, described transmit frame comprises the sequence number that is set to when representing that the zero defect mark of mistake is arranged and mistake taking place; And
Send above-mentioned transmit frame.
12. a communication system is characterized in that, comprising:
Communication equipment as claimed in claim 1; And
Communication equipment as claimed in claim 6.
13. a communication equipment uses object exchange to send object with agreement OBEX (Object Exchange protocol), it is characterized in that,
Comprise OBEX layer processing unit, described OBEX layer processing unit is after sending the OBEX order, and the OBEX that does not receive from receiver responds and transmission OBEX order then.
14. a communication means uses object exchange to send object with agreement OBEX (Object Exchange protocol), it is characterized in that,
After sending the OBEX order, the OBEX that does not receive from receiver responds and transmission OBEX order then.
15. a communication equipment uses object exchange to send object with agreement OBEX (Object Exchange protocol), it is characterized in that,
Comprise OBEX layer processing unit, only after the non-final Put order that sends OBEX, the OBEX that does not receive from receiver responds and the final Put order of transmission non-OBEX then or final Put order described OBEX layer processing unit.
16. a communication means uses object exchange to send object with agreement OBEX (Object Exchange protocol), it is characterized in that,
Only after the final Put order that sends non-OBEX, the OBEX that does not receive from receiver responds and the final Put order of transmission non-OBEX then or final Put order.
17. a communication equipment uses object exchange to receive object with agreement OBEX (Object Exchange protocol) from transmitter, it is characterized in that,
Comprise OBEX layer processing unit, described OBEX layer processing unit do not send the OBEX response all the time after receiving the OBEX order.
18. a communication means uses object exchange to receive object with agreement OBEX (Object Exchange protocol) from transmitter, it is characterized in that,
After receiving the OBEX order, do not send the OBEX response all the time.
19. a communication equipment uses object exchange to receive object with agreement OBEX (OBject EXchangeprotocol) from transmitter, it is characterized in that,
Comprise OBEX layer processing unit, when described OBEX layer processing unit ordered at the final Put that receives non-OBEX, do not carry out the transmission of OBEX response, and when receiving final Put order, carry out the transmission of OBEX response.
20. a communication means uses object exchange to receive object with agreement OBEX (OBject EXchangeprotocol) from transmitter, it is characterized in that,
When the final Put that receives non-OBEX orders, do not carry out the transmission of OBEX response, and when receiving final Put order, carry out the transmission of OBEX response.
21. a signal procedure is used to make claim 1 to 8,13,15,17, any one described communication device works of 19, makes computer have function as each part mentioned above.
22. a telecommunication circuit is used to make claim 1 to 8,13,15,17, any one described communication device works of 19, it is characterized in that,
Has function as each part mentioned above.
23. a mobile phone is characterized in that, claim 1 to 8,13,15,17, any one described communication equipment of 19 have been installed, and communicates by this communication equipment.
24. a display unit is characterized in that, claim 6 to 8,17, any one described communication equipment of 19 have been installed, the data that receive based on this communication equipment show.
25. a printing equipment is characterized in that, claim 6 to 8,17, any one described communication equipment of 19 have been installed, the data that receive based on this communication equipment print.
26. a tape deck is characterized in that, claim 6 to 8,17, any one described communication equipment of 19 have been installed, and writes down the data that this communication equipment receives.
CN2006800033193A 2005-01-28 2006-01-26 Communication device, communication system, communication method, and communication circuit Active CN101112069B (en)

Applications Claiming Priority (17)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN2010102736011A Division CN101964705B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, communication program and communication circuit

Publications (2)

Publication Number Publication Date
CN101112069A true CN101112069A (en) 2008-01-23
CN101112069B CN101112069B (en) 2011-03-30

Family

ID=38704652

Family Applications (5)

Application Number Title Priority Date Filing Date
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
CN2006800031465A Active CN101107834B (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method, communication program, and communication circuit
CN2006800033193A Active CN101112069B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, and communication circuit
CN2006800033174A Active CN101112068B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, mobile telephone, display device and printing device

Family Applications Before (3)

Application Number Title Priority Date Filing Date
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
CN2006800031465A Active CN101107834B (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method, communication program, and communication circuit

Family Applications After (1)

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

Country Status (1)

Country Link
CN (5) CN101262480B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106605377A (en) * 2015-02-27 2017-04-26 松下电器(美国)知识产权公司 Signal generation method, signal generation device and program
CN110636016A (en) * 2019-08-08 2019-12-31 西安万像电子科技有限公司 Data transmission method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4810544B2 (en) * 2008-01-11 2011-11-09 シャープ株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, AND RECORDING MEDIUM
CN101814230A (en) * 2010-04-01 2010-08-25 青岛海信电器股份有限公司 Serial data communication transmitting method and device

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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106605377A (en) * 2015-02-27 2017-04-26 松下电器(美国)知识产权公司 Signal generation method, signal generation device and program
CN106605377B (en) * 2015-02-27 2020-09-15 松下电器(美国)知识产权公司 Signal generation method, signal generation device, and program
CN110636016A (en) * 2019-08-08 2019-12-31 西安万像电子科技有限公司 Data transmission method and system
CN110636016B (en) * 2019-08-08 2023-09-29 西安万像电子科技有限公司 Data transmission method and system

Also Published As

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

Similar Documents

Publication Publication Date Title
CN101964705B (en) Communication device, communication system, communication method, communication program and communication circuit
US8495244B2 (en) System and method for dynamic automatic communication path selection, distributed device synchronization and task delegation
US20090225773A1 (en) Methods and systems for controlling network communication parameters
US20050281211A1 (en) Data transfer method and radio terminal for executing transport layer protocol on radio network
US20110093616A1 (en) System and method for multi-link communication in home network
CA2738152A1 (en) System and method for dynamic automatic communication path selection, distributed device synchronization and task delegation
CN101945278A (en) Video self-adaptive transcoding method and system
CN103354993A (en) Facilitating device-to-device communication
CN102594697A (en) Load balancing method and device
EP2928108B1 (en) System, method and apparatus for multi-lane auto-negotiation over reduced lane media
CN104113491A (en) Data transmission method and device
WO2012152132A1 (en) Method and system for realizing application platform adaptation
US8576745B2 (en) System and method for enhanced physical layer device autonegotiation
CN103686364A (en) Smart television set and remote wakening method thereof
CN110831039A (en) Data transmission method and transmission server in multi-path concurrent system
CN101112069B (en) Communication device, communication system, communication method, and communication circuit
CN102986243A (en) Method and system for isochronous communication in audio/video networks
CN101340370B (en) Link selection method and apparatus
CN104009937B (en) A kind of enhanced transmission selection standard configuration information transmission method and device
TWI499260B (en) Method for converging a plurality of communication standards and method for transmitting the packet or the signal
CN1864378B (en) In-band negotiation in single transcompression scenarios related applications
CN106411534A (en) Embedded device and system with functions of interface recognition and wireless sharing
JP2008079330A (en) Communications device, communication system, communication method, communication program, communication circuit, mobile phone, display device, printer, and recording apparatus
CN101170419B (en) Realization method, system and interface device for Ethernet electric interface compatibility
CN1910888B (en) Transmitter, receiver, communication system and communication method

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