CN101107834B - 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
CN101107834B
CN101107834B CN2006800031465A CN200680003146A CN101107834B CN 101107834 B CN101107834 B CN 101107834B CN 2006800031465 A CN2006800031465 A CN 2006800031465A CN 200680003146 A CN200680003146 A CN 200680003146A CN 101107834 B CN101107834 B CN 101107834B
Authority
CN
China
Prior art keywords
data
communication
order
station
connection
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.)
Active
Application number
CN2006800031465A
Other languages
Chinese (zh)
Other versions
CN101107834A (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/301153 external-priority patent/WO2006080357A1/en
Publication of CN101107834A publication Critical patent/CN101107834A/en
Application granted granted Critical
Publication of CN101107834B publication Critical patent/CN101107834B/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 the communication equipment that sends and receives, communication system, communication means, signal procedure, telecommunication circuit be used to the transmission of carrying out data.
Background technology
In recent years, additional cameras function on mobile phone, thus the view data of shot by camera is sent to the equipment such as television set, printer, and the application that this equipment carries out the processing of the regulation such as image Graphics Processing is popularized.
As the interface that connects mobile phone and television set, printer, PC (Personal Computer), the infrared mode (with reference to non-patent literature 1,2) of IrDA (Infrared Data Association) etc. is arranged.
The infrared mode of IrDA etc. owing to have directivity, thereby when having shelter between communication equipment, can not carry out the transmission of data, and the path between communication equipment can carry out data at a high speed and transmit when good.In the IrDA standard, it is that Fast IR (FIR), the communication speed of Very Fast IR (VFIR), the 4Mbps of 16Mbps is the following SIR of 115.2kbps that maximum transfer rate is arranged, and is product till the 4Mbps but the product of selling in the existing market is maximum transfer rate.
Figure 14 is illustrated in the IrDA standard of one of standard as infrared communication, the step till the connection of IrLAP layer is set up.
Main website is the station of at first searching for a side of communication counterpart, that is, be the station that data transfer state is set up in request, is the station of a side of dispatching station search command (XID order).And secondary station is the station of accepting this request, is that transmission is to the station of a side of the station search response (XID response) of station search command.To be called order to the request (order) at pair station from main website, on the contrary, will be for this order from the pair station replying of main website is called response.
The XID order is whether to have the order that can become secondary station in the interior search of the distance that can communicate by letter from main website.The SlotNumber of number is illustrated in and sends which order in the expression bracket.
The XID response as the station search response is beamed back at the pair station of having accepted the XID order, makes main website know the processing that our station exists.Main website sends the XID order of the number of regulation, and the SlotNumber of last XID order is made as 255.SlotNumber255 represents that it is last order (XID-END).
Then, but but main website uses the SNRM order to make secondary station know the parameter of the upper necessity of communication such as the maximum transfer rate of our station, maximum receive data length.The pair station of having accepted this order compares the set point of they and our station, uses the UA response and makes main website know acceptable set point.
If discuss in more detail, then following such.That is, in the IrDA standard, can select from 1,6,8,16 from the transmission number of the grouping of the XID of main website order, this value is recorded and narrated in the Discovery flag that XID orders.Then, for example, as shown in Figure 14, with the grouping of XID order is each when sending 8, from the 1st to the 8th till, make SlotNumber respectively from 0 to 7, make at last SlotNumber 255 send XID-END order, and be that the advisory of last grouping is as the pair station of remote station with it.Then, after sending last grouping, the time through about 500 milliseconds, repeat again to send the grouping from the 1st to the 8th.Have, the transmission between the grouping is spaced apart 25 milliseconds to 85 milliseconds again.
Secondary station is not that reception XID order just determines to beam back the XID response immediately, but after the grouping that receives the SlotNumber with any (value at random), beams back the XID response.For example, when sending the XID command packet of 8 time slots, secondary station can at random determine it is to beam back the XID response after receiving the 1st grouping, or beams back the XID response after receiving the 8th grouping.As an example, in Figure 14, be illustrated in the situation of beaming back the XID response after the 3rd grouping that receives.
Have, this XID order and XID response are determined to carry out with the transfer rate of 9600bps according to SIR by the IrDA standard again.This transfer rate is compared very slow with the 4Mbps of the transfer rate of Frame described later.Therefore, this XID order and XID respond to send and receive the required time long.Through above step, the station search step between main website and the secondary station finishes.
After the station search step finishes, but but main website uses the SNRM order to make secondary station know required parameter in the communication of the maximum transfer rate of our station, maximum receive data length etc.But but the pair station of having accepted this order uses the UA response to make main website know required parameter in the communication of the maximum transfer rate of our station, maximum receive data length etc., determined that but maximum transfer rate, maximum can transmit data length etc. thereby set up, the connection status of the IrLAP between main website and the secondary station.
After the connection based on the IrLAP of the command packet of above-mentioned IrLAP, by the packet of IrLAP, carry out the connection of IrLMP, Tiny TP, OBEX.
The connection request of the IrLMP of main website is sent to secondary station by the packet of IrLAP, and the IrLMP at secondary station connects the packet of replying by IrLAP and is sent to main website, carries out the connection of IrLMP.
Then, the connection request of Tiny TP is sent to secondary station by the packet of IrLAP, and the Tiny TP at secondary station connects the packet of replying by IrLAP and is sent to main website, carries out the connection of Tiny TP.
And then, the connection request of the OBEX of main website is sent to secondary station by the packet of IrLAP, the OBEX at secondary station connects the packet of replying by IrLAP and is sent to main website, carries out the connection of OBEX, thereby sets up the connection status that can carry out the transmission of information data.
When disconnecting, the disconnection request of OBEX and reply, the disconnection request of Tiny TP and reply, the disconnection request of IrLMP and the packet of replying by IrLAP transmit, then, transmission is as the DISC order of the disconnection request command grouping of IrLAP and the UA response of dividing into groups as acknowledgement command, and the communications status between main website and the secondary station is disconnected.
In addition, in IrDA, determine to communicate take frame as unit.The frame of expression IrDA among Figure 16.The frame of IrDA comprises: preamble field, start mark, address field, control field, data field, FCS, end mark.In above-mentioned field, preamble field is used for generating receiving terminal employed receive clock in receiving circuit.In addition, in FCS, comprise the error detection code for error detection occurs.
In frame, S (Supervisory) frame and the connection that is used for communication and U (Unnumbered) frame of disconnection that I (Information) frame that the information that is useful on transmits, the supervision that is used for communication are controlled.The information that is used for identification these I, S, U frame is included in above-mentioned control field.
Usually, because the data that are transmitted can not be in the majority with the situation that 1 frame sends, so send after being split into a plurality of I frames or UI frame.The I frame has the data that will transmit in data field, by having the consecutive number for the Missing data check, realize the high communication of reliability.The UI frame has the data that will transmit in the I field, but does not have the consecutive number for the Missing data check.The S frame is the structure that is not used for the data field of save data, be used for transmission receive be ready to complete, busy condition, re-send request may etc.The U frame does not have the such consecutive number of I frame, thus be called as non-number frame, be used for communication pattern setting, reply or the report of abnormality, foundation or the disconnection of data link.
[non-patent literature 1] Infrared Data Association Serial Infrared Link AccessProtocol (IrLAP) Version1.1 (June 16,1996)
[non-patent literature 2] Infrared Data Association Serial Infrared Physical LayerSpecification Version 1.4 (May 30,2003)
But in above-mentioned structure in the past, it is long that the generation data transmit the required time, the problem that transmission efficiency descends.
That is, as mentioned above, before the foundation of in IrDA, communicating by letter, need 500 milliseconds read (sensing), based on the station search of XID order, based on the exchange of negotiation (negotiation) parameter of SNRM, UA.
When in communication zone, having a plurality of communication station, in order to prevent the luminous phenomenon that hinders communication because of unexpected station, need to control the station in the zone.But, ultrared good directionality, in addition, in fact carrying out in the situation of infrared communication is One-to-one communication mostly, so also need to carry out the station search based on the automatic communication zone of equipment.
And, being defined as 9600bps based on the search of the station of this XID according to the IrDA standard, speed is more much lower than the speed of the 4Mbps of swap data.In addition, before transfer information data, as shown in figure 15, after the connection of having finished IrLAP, IrLMP, Tiny TP, OBEX are carried out the packet exchange of IrLAP successively, each layer sequentially need to be connected.Order with OBEX, Tiny TP, IrLMP, IrLAP disconnects similarly when disconnecting.
Because of above reason, transmitting with infrared ray the using method of data from a certain station information terminal to another station information terminal because until carry out the time that these data transmit and disconnect till time, so transmission efficiency as a whole descends.
In addition, image display device is being transmitted the using method of image from portable terminal, when in transmission, having produced mistake, sometimes can easily differentiate by the user and send unsuccessfully.For example, sometimes the demonstration of receiving terminal image display device and user send different, sometimes show not to be updated.
The user carries out transmit operation, if until can judge that the time that this transmission is success or failure is short, even the reliable communication that then is free from mistakes, the user can not produce large burden by operation again and again send yet sometimes.In such device, the reception that can carry out data is just passable, can save transtation mission circuit and device.
But, also beam back the response to order owing in IrDA, stipulated receiver, so transtation mission circuit and device need to be arranged in all receivers.
Summary of the invention
The objective of the invention is, provide and to shorten communication equipment, communication system, communication means, signal procedure, the telecommunication circuit that communicates to connect the upward required time.
To achieve these goals, communication equipment of the present invention, it is the communication equipment of the main website that communicates with the pair station, it is characterized in that, comprise: the 1st agreement control unit, when the communication connection of carrying out with the pair station, do not send for the station search command of confirming that secondary station exists, connect processing and send the 1st connection request order.
Communication equipment of the present invention, it is the communication equipment at the pair station that communicates with main website, it is characterized in that, comprise: the 1st agreement control unit, do not receive the station search command that main website is used for confirming the existence of secondary station, and when receiving the 1st connection request order from main website, send the connection response corresponding with the 1st connection request order and connect processing.
Communication means of the present invention, be used for the communication equipment of the main website that communicates with the pair station, it is characterized in that, when the communication connection of carrying out with the pair station, do not send for the station search command of confirming that secondary station exists, connect processing and send the 1st connection request order.
Communication means of the present invention, the communication equipment that is used for the pair station that communicates with main website, it is characterized in that, do not receiving main website for the station search command of confirming that secondary station exists, and when receiving the 1st connection request order from main website, send the connection response corresponding with the 1st connection request order and connect processing.
Communication system of the present invention is characterised in that, comprising: as the communication equipment of above-mentioned main website, and as above-mentioned secondary communication equipment of standing.
According to said structure and method, when main website carries out communication connection with the pair station, do not send for the station search command (XID that for example is equivalent to IrDA) of confirming that secondary station exists, and send connection request order (SNRM that for example is equivalent to IrSimple).On the other hand, at the pair station, do not receive for main website and confirm the station search command (being equivalent to above-mentioned XID) that secondary station exists, and receiving the connection request order from main website when (being equivalent to above-mentioned SNRM), send the connection response (UA that for example be equivalent to IrSimple) corresponding with this connection request order.
Therefore, according to the above-mentioned order of connection, do not need to carry out the communication relevant with the station search.Therefore, because the order will connect the time is simplified, can shorten the effect that the required time is gone up in communication connection so have.For example, with required time shorten in the connection at the main website that uses IrDA transmission efficiency as a whole to descend and the station of being connected, the high communication protocol of transmission efficiency (communication efficiency) till can realizing transmitting from connection request to information, disconnecting.
Have again, above-mentioned communication equipment also can be realized by computer, in this case, by computer is moved as each unit of above-mentioned communication equipment, thereby by the signal procedure of the communication equipment of the above-mentioned communication equipment of computer realization and the recording medium that has recorded the embodied on computer readable of this program, also belong to category of the present invention.
In addition, above-mentioned communication equipment also can be realized by the telecommunication circuit with above-mentioned each Elementary Function.
In addition, above-mentioned communication equipment is suitable for the mobile phone that communicated by this communication equipment.
In addition, above-mentioned communication equipment is suitable for the display unit that shows based on the data that received by this communication equipment.
In addition, above-mentioned communication equipment is suitable for the printing equipment that prints based on the data that received by this communication equipment.
In addition, above-mentioned communication equipment is suitable for the tape deck that records based on the data that received by this communication equipment.
Other purposes of the present invention, feature and advantage, fully aware of by record shown below.In addition, will become clearly in the following explanation that is in well with reference to accompanying drawing of the present invention.
Description of drawings
Fig. 1 is the block diagram as the transmitter of embodiment of the present invention 1.
Fig. 2 is the block diagram as the receiver of embodiment of the present invention 2.
Fig. 3 is the block diagram as the transmitter of embodiment of the present invention 3.
Fig. 4 is the signal sequence diagram when sending the SNRM order as the first order by above-mentioned transmitter.
Fig. 5 is the block diagram that the Destination Device Address in the above-mentioned SNRM of expression is set to 0xFFFFFFFF.
Fig. 6 is the block diagram that expression has been added SNRM order and the DISC order of high-rise user data, the details of (a) expression SNRM order of Fig. 6, the details of (b) expression DISC order of Fig. 6, the details of the connection parameter format among (c) expression IrDA of Fig. 6, the details of the connection parameter format among (d) expression IrDA of Fig. 6.
Fig. 7 represents to have been added the UA response of high-rise user data, and (a) expression of Fig. 7 is for the response of SNRM, and (b) expression of Fig. 7 is for the response of DISC, and (c) expression DM of Fig. 7 responds.
Fig. 8 continues SNRM order and signal sequence diagram when sending the XID order in the above-mentioned transmitter.
Fig. 9 is the SNRM order of continuing of being connected with receiver of above-mentioned transmitter, XID order and the beginning IrDA signal sequence diagram when connecting.
Figure 10 is the SNRM order of continuing, XID order in the above-mentioned transmitter and signal sequence diagram when again sending the SNRM order.
Figure 11 is the continuous reception XID order in above-mentioned transmitter and the receiver, and carries out the signal sequence diagram of common IrDA when connecting.
Figure 12 is continuous reception XID order, the SNRM order in above-mentioned transmitter and the receiver, and the signal sequence diagram when sending the UA response.
Figure 13 is the block diagram that has added the order of communication direction in the SNRM of IrDA order in the above-mentioned transmitter of expression.
Figure 14 is the signal sequence diagram of step of the IrLAP of the above-mentioned transmitter of the expression connection IrDA of being connected with receiver.
Figure 15 be in expression above-mentioned transmitter and the receiver until carry out the signal sequence diagram of the Connection Step till the data of IrDA transmit.
Figure 16 is the block diagram of the frame structure of the above-mentioned IrDA of expression.
Figure 17 is the signal sequence diagram of the Connection Step that connects of the above-mentioned transmitter one direction of being connected with receiver.
Figure 18 is the signal sequence diagram that has also comprised in the order in above-mentioned transmitter and the receiver in the user data situation.
Figure 19 is the figure of the XID command format among the expression IrDA.
Figure 20 be the expression embodiment of the invention use the figure of infrared communication of mobile phone.
Figure 21 be the expression embodiment of the invention use the figure of infrared communication of display unit.
Figure 22 be the expression embodiment of the invention use the figure of infrared communication of printing equipment.
Figure 23 be the expression embodiment of the invention use the figure of infrared communication of tape deck.
Figure 24 is the functional-block diagram of LAP layer of communication equipment that has simultaneously the function of IrSimple (twocouese communication) and IrDA.
Figure 25 is the functional-block diagram of LAP layer of communication equipment that only has the function of IrSimple (also comprise one direction send, one direction receiving function).
Figure 26 is the functional-block diagram of LAP layer that only has the communication equipment of IrSimple one direction sending function.
Figure 27 is the functional-block diagram of LAP layer that only has the communication equipment of IrSimple one direction receiving function.
Figure 28 be the agreement that has of expression transmitter and receiver and connect after agreement between the table of relation.
Figure 29 is the key diagram of the demonstration example of expression Connection Step and each equipment, and Connection Step carries out all being under situation corresponding to IrSimple twocouese as the mobile phone of transmitter with as the display unit of the TV of receiver etc.
Figure 30 is the key diagram of the demonstration example on expression Connection Step and each equipment, and Connection Step carries out all being under situation corresponding to IrSimple one direction as the mobile phone of transmitter with as the display unit of the TV of receiver etc.
Figure 31 is the key diagram of the demonstration example of expression Connection Step and each equipment, Connection Step as the mobile phone of transmitter be connected the display unit of TV etc. of receiver when connecting, carry out carrying out in mobile phone and the situation that can carry out the display unit of communicating by letter under the IrSimple one direction of communication of IrSimple twocouese.
Figure 32 is the key diagram of the demonstration example of expression Connection Step and each equipment, Connection Step as the mobile phone of transmitter be connected the display unit of TV etc. of receiver when connecting, carry out the mobile phone of the communication under the IrDA in the past and the situation of the display unit that can communicate by the agreement of IrSimple twocouese and IrDA under carry out.
Figure 33 is the key diagram of the demonstration example of expression Connection Step and each equipment, Connection Step as the mobile phone of transmitter be connected the display unit of TV etc. of receiver when connecting, carry out in the mobile phone that carries out the communication under the IrDA in the past and the situation that can carry out the display unit of communicating by letter under the IrSimple one direction.
Figure 34 is expression OSI7 hierarchical mode, the layering of IrDA and the ideograph of the corresponding relation between the layering of the present invention.
(a) of Figure 35 is the precedence diagram that the connection of embodiment of the present invention is set up, and (b) of Figure 35 is the precedence diagram that the connection of embodiment of the present invention is set up, and (c) of Figure 35 is the packet format that is used for connecting foundation of embodiment of the present invention.
(a) of Figure 36 is the figure of the exchanges data order of expression embodiment of the present invention, and (b) of Figure 36 is the figure of the exchanges data order of expression embodiment of the present invention.
(a) of Figure 37 is the figure that is illustrated in employed packet format in the exchanges data of IrDA, and (b) of Figure 37 is the figure of employed packet format in the expression exchanges data of the present invention.
(a) of Figure 38 is the figure of the exchanges data order of expression embodiment of the present invention, and (b) of Figure 38 is the figure of the exchanges data order of expression embodiment of the present invention.
(a) of Figure 39 is the figure of the disconnection order of expression embodiment of the present invention, and (b) of Figure 39 is the figure of the disconnection order of expression embodiment of the present invention, and (c) of Figure 39 is the packet format of the disconnection order of embodiment of the present invention.
The precedence diagram of the function (order, message) of each interlayer when Figure 40 is the order of connection of expression embodiment of the present invention and the stream that divides into groups.
The key diagram of the data variation in the function of each interlayer of arrow to the right among Figure 40 when (a) of Figure 41 is the order of connection of expression embodiment of the present invention and Figure 42, (b) of Figure 41 are the figure of the data variation in the function of each interlayer of expression embodiment of the present invention.
The precedence diagram of the function (order, message) of each interlayer when Figure 42 is the order of connection of expression embodiment of the present invention and the stream that divides into groups.
The precedence diagram of the function (order, message) of each interlayer when Figure 43 is the exchanges data of expression embodiment of the present invention and the stream that divides into groups.
Figure 43 when Figure 44 is the exchanges data of expression embodiment of the present invention and the figure of the data variation in the function of each interlayer among Figure 45.
The precedence diagram of the function (order, message) of each interlayer when Figure 45 is the exchanges data of expression embodiment of the present invention and the stream that divides into groups.
Figure 46 is the function (order, message) of each interlayer in disconnection when order of expression embodiment of the present invention and the precedence diagram of the stream that divides into groups.
(a) of Figure 47 is the key diagram of the data variation in the function of each interlayer of the Figure 46 in disconnection when order of expression embodiment of the present invention and the arrow to the right among Figure 48, and (b) of Figure 47 is the key diagram of the data variation in the function of each interlayer of expression embodiment of the present invention.
Figure 48 is the function (order, message) of each interlayer in disconnection when order of expression embodiment of the present invention and the precedence diagram of the stream that divides into groups.
Figure 49 is the data and the ideograph that passes on that is connected parameter of connection request function in the main website of expression embodiment of the present invention.
Figure 50 is the ideograph that passes on of connection parameter of the connection request function in the pair station of expression embodiment of the present invention.
Figure 51 is that the connection in the main website of expression embodiment of the present invention is confirmed function and be connected the ideograph that passes on of data and connection parameter of the connection notification function in standing.
Figure 52 is that the ideograph that passes on of the data of function is replied in the connection in the pair station of expression embodiment of the present invention.
Figure 53 is the ideograph that passes on that the connection parameter of function is confirmed in the connection in the main website of expression embodiment of the present invention.
Figure 54 is the variation of execution mode, is the data and the ideograph that passes on that is connected parameter of the connection request function in the main website that is illustrated in the situation of interlayer Share interlinkage parameter.
Figure 55 is the variation of execution mode, is the data and the ideograph that passes on that is connected parameter of the connection notification function in the pair station that is illustrated in the situation of interlayer Share interlinkage parameter.
Figure 56 is the variation of execution mode, is data and the ideograph that passes on that is connected parameter that each layer of expression will connect respectively the connection request function in the main website in the situation that parameter is transferred to low layer.
Label declaration
1: transmitter (communication equipment)
11:CPU
12: memory
13: controller
131: control unit
132: the command packet generation unit
14: transmitting element
2: receiver (communication equipment)
21:CPU
22: memory
23: controller
231: control unit
232: the command packet generation unit
233: the packet identification unit
24: transmitting element
25: receiving element
26:CDR
3: transmitter (communication equipment)
31:CPU
32: memory
33: controller
331: control unit
332: the command packet generation unit
333: the packet identification unit
34: transmitting element
35: receiving element
36:CDR
37: timer
111:IrSimple-LAP control unit (the 1st agreement control unit)
112:IrDA-LAP control unit (the 2nd agreement control unit)
113: the protocol switching unit
Embodiment
Below communication means of the present invention is described, adopts the transmitter/receiver circuit of the method, each execution mode of transmitter-receiver based on Fig. 1 to Figure 33.Communication means of the present invention comprises the agreement for communication.
[summary]
(communication layers)
In execution mode described later, explain structure and the action of transmitter and the receiver of communication system of the present invention based on the OSI7 layer model.Here, the OSI7 layer model is also referred to as so-called ' OSI basic reference model ', ' OSI hierarchical mode '.
In the OSI7 layer model, in order to realize the data communication between different machines, the communication function that Computer application has is split into 7 layers, to the functional module of each layer definition standard.
Specifically, the 1st layer (physical layer) taken on for the electric conversion that data is sent to communication line or mechanical operation.The 2nd layer (data link layer) guarantees the communication path of physical property, and carries out the error detection occurs etc. of the data that flow at communication path.The 3rd layer (network layer) communicates the selection in path or the management of the address in the communication path.The 4th layer (transport layer) carries out data compression or error correction, repeating transmission control etc.The 5th layer (session layer) is for foundation or the release of the virtual route that sends and receives (connection) that communicates the data between the program.The 6th layer (display layer) will be the form that the user understands easily from the data transformation of the 5th layer of acceptance, will be the form that is suitable for communicating by letter from the 7th layer of data transformation that sends maybe.The 7th layer (application layer) will utilize the various services of data communication to offer people or other programs.
Each communication layers of the present invention also has the function identical with the corresponding layering of above-mentioned OSI7 layer model.But in execution mode, above-mentioned communication system is for forming session layer and display layer the structure of one 6 layerings.In addition, about application layer, description thereof is omitted.
The present invention can be widely used in that transmitter is connected the connection of a plurality of communication layers with receiver and the communication system that communicates.That is, cutting apart of communication function also can be according to the OSI7 layer model.In addition, if that the communication layers that connects has is a plurality of, then the number of communication layers can at random be selected.
In addition, the present invention can connect at short notice by the 1st agreement of having omitted the station search command, and by using the 1st agreement can suitably switch the 2nd agreement that can connect more reliably with being connected search command, disconnect easily so be particularly suitable for communication path, for example based on ultrared radio communication.But the present invention also is effective in other radio communications and wire communication.
(IrSimple and IrDA)
At each execution mode, for convenience of explanation, describe based on the IrSimple of an application examples of the present invention.But the present invention is not limited to IrSimple.Have, IrSimple has improved the part of functions of IrDA in the past again.
In each execution mode, when enumerating object lesson and describe, communication means of the present invention is illustrated as IrSimple (the 1st agreement), will be loaded in the communication means that identical device loads with this communication means and illustrate as IrDA (the 2nd agreement).Like this, in the situation that has made up IrSimple and IrDA, the advantage that can share physical layer is arranged.In addition, as IrDA, in the situation of the agreement of using station search command (XID) and connection request order (SNRM), can have the hand-off process of the agreement as feature of the present invention described later.Certainly, also can not the different communication means of IrDA but physical layer from the 2nd agreement of IrSimple combination.
Have again, at each execution mode, according to IrSimple, sometimes with data link layer, network layer, transport layer, session layer+display layer respectively souvenir be LAP, LMP, SMP, OBEX.
[execution mode 1]
Fig. 1 is the block diagram of structure of the transmitter (transmitter/receiver circuit, transmitter-receiver) 1 of expression present embodiment.As shown in Figure 1, transmitter 1 comprises: CPU11, memory 12, controller 13 and transmitting element (the 1st transmitting element) 14, for example, it is according to the IrDA standard, can be with data to use ultrared communication to send to outside transmitter.Have again, above-mentioned in, as the mode of radio communication, enumerated the IrDA standard, but be not limited to this.Have, each piece of the transmitter 1 of present embodiment can consist of by hardware logic (telecommunication circuit), also can realize by software with CPU again.
CPU11 is according to the user's who is imported into not shown operating unit indication, the calculation process of stipulating.Calculation process as regulation has connection request.When CPU11 accept to connect indication from operating unit, on connection is arranged, during necessary data, it is stored in the memory 12, simultaneously controller 13 is carried out connection request.In addition, when CPU11 accepts to be used for transmission end notification that the transmission of expression bind command finishes from controller 13, finish to connect and process.Memory 12 will connect required data to be stored temporarily, by the CPU11 data writing.
Controller 13 is controlled the transmission of connection request order according to the connection request from CPU11, and it comprises: control unit 131, command packet generation unit 132.When control unit 131 has been accepted connection request from CPU11, in memory 12, exist when connecting required data it is read, and it is sent to command packet generation unit 132, make simultaneously order packet generating part 132 generate command packet.When not having data required in the connection, make order generation unit 132 generate command packet.
In addition, control unit 13 detects the situation that the command packet that generated by command packet generation unit 132 sends from transmitting element 14, and the transmission end notification of the transmission that will represent to order situation about having finished is sent to CPU11.
Command packet generation unit 132 generates the connection request order according to the connection request of accepting from control unit 131.In addition, when the data that comprise exist, accept data by control unit 131 in the connection request order, generate the connection request order that data are preserved.Have, the transfer rate of the command packet that command packet generation unit 132 generates is by control unit 131 controls again.Transmitting element 14 will send to the outside from the grouping time interval in accordance with regulations that controller 13 receives by the infrared communication path.
As shown in Figure 4, in the transmitter 1 of present embodiment, when from CPU11 connection request being arranged, control unit 131 is generated by command packet generation unit 132 and is used for preserving the SNRM grouping of set point as the 1st grouping that generates, and it is sent to the outside by transmitting element 14, but but set point is that the communications such as parameter such as the maximum transfer rate, maximum receive data length of our station are upper essential.
[execution mode 2]
Below, the receiver of present embodiment is described with reference to Fig. 2.Fig. 2 is the block diagram of structure of the receiver (transmitter/receiver circuit, transmitter-receiver) 2 of expression present embodiment.As shown in Figure 2, receiver 2 comprises: CPU21, memory 22, controller 23, CDR (clock data recovery) 26, receiving element 25, transmitting element 24.Have, each piece of the transmitter 1 of present embodiment can consist of by hardware logic (telecommunication circuit), also can use CPU to pass through software and realize again.
Receiving element 25 receive the grouping that sends from transmitter 1, and the grouping that will receive is sent to CDR26 by the infrared communication path.CDR26 is used for extracting (recovery) clock signal and command signal based on the grouping that receives from receiving signal.CDR26 is sent to controller 23 with clock signal and the command signal of restoring.
Controller 23 is based on the grouping of accepting from CDR26, and the control of stipulating is processed.Controller 23 comprises: control unit 231, command packet generation unit 232 and packet identification unit 233.
233 acceptance of packet identification unit are extracted command information by grouping, and this information are sent to control unit 231 by the grouping that CDR26 restores.When control unit 231 includes data required in the connection in grouping, be written in the memory 22, CPU21 carried out the notice that finishes receiving of order.When in grouping, not comprising data required in the connection, CPU21 is carried out the notice that finishes receiving of order.Memory 22 has comprised in the order that receiving element 25 receives when connecting required data, and it is write.CPU21 carry out with from processing corresponding to the notice of control unit 231.
As shown in Figure 4, in the receiver 2 of present embodiment, grouping 25 that receive by receiving element by packet identification unit 233 identification, that sent by the transmitter 1 of present embodiment 1, when this grouping is the SNRM order, control unit 231 will have been transmitted by transmitter 1 the advisory CPU21 of connection request, as ordering corresponding replying with this SNRM, but but generate the isoparametric UA response of the maximum transfer rate, the maximum receive data length that have our station in it by command packet generation unit 232, and sent by transmitting element 24.
[execution mode 3]
In the transmitter 1 of present embodiment 1, when the command packet that is generated by command packet generation unit 132 is the SNRM order of IrDA shown in Figure 5, will be made as 0xFFFFFFFF as the Destination Device Address of the remote station address in this SNRM order.Destination DeviceAddress is 0xFFFFFFFF, is defined as broadcast address in IrDA, but it is the non-code that utilizes that is not used.Therefore, even use the SNRM order of IrDA, also can will be sent to specific transmitter-receiver in the situation of using the communication mode different from IrDA.
In addition, in the receiver 2 of present embodiment 2, when the Destination Device Address of the SNRM order of the IrDA that receives in packet identification unit 233 is 0xFFFFFFFF, be judged as and using the communication mode different from IrDA, and directly generate the UA response by command packet generation unit 232, sent by transmitting element 24.
[execution mode 4]
Required in the SNRM order of the expression IrDA connection on the middle and senior level among (a) of Fig. 6, added the grouping that adds the zone of user data from high level.Have, this additional areas also can not be in the position of Fig. 6 (a) again.
(c) of Fig. 6 but but in maximum transfer rate, the isoparametric form of maximum receive data length of our station in the SNRM order of expression IrDA.Parameter format is made of parameter identifier (PI), parameter length (PL), parameter value (PV).The parameter identifier is intrinsic to each parameter, receives the station of SNRM order by differentiating this parameter identifier, can know to be set which kind of parameter, and process.High level data for record in Fig. 6 (a), by resetting the parameter identifier, and shown in Fig. 6 (d), high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and process.
Fig. 3 represents the block diagram of the transmitter of present embodiment.As shown in Figure 3, this transmitter is on transmitter shown in Figure 11, has added the transmitter 3 of receiving element 35 and CDR36, packet identification unit 333, timer 37.
Accepted the control unit 331 of connection request by CPU31, by directly accepting the user data that is used for high-rise connection from high level by CPU31 or via memory 32, it is transferred to command packet generation unit 332, but but and be added in the SNRM order with parameters such as the maximum transfer rate of our station, maximum receive data length, send these orders by transmitting element 34.For example, as this high-rise user data, can enumerate the CONNECT order of IrDA-OBEX layer.
In addition, after sending the SNRM order, when receiving the UA response from remote station, the signal that is received by receiving element 35 is recovered to clock and data by CDR36, and is sent to packet identification unit 333.Then, be UA when response in the grouping that is received by packet identification unit 333, notify this situation to control unit 331, control unit 331 is when the data of UA response memory at high level, for example with in its write memory 32, and notice CPU31 simultaneously.CPU31 analyzes the high level data that writes in the memory 32, differentiates the SUCCESS response that whether includes OBEX.When the SUCCESS response that does not comprise OBEX, as connection failure, the processing of not transferring to data transfer state is just passable.
In addition, be illustrated in Fig. 6 (b) added in the DISC order high-rise disconnection required, add the grouping from the zone of the user data of high level.Zone that should be additional can be not yet in the position of (b) of Fig. 6.In the transmitter 3 of Fig. 3, control unit 331 is by directly accepting from user data high level, that be used for high-rise disconnection by CPU31 or via memory 32, it is transferred to command packet generation unit 332, and joins in the DISC order, send this order by transmitting element 34.For example, as this high-rise user data, can enumerate the DISCONNECT order of IrDA-OBEX layer.
In addition, after sending the DISC order, when receiving the UA response from remote station, the signal that is received by receiving element 35 is restored to clock and data by CDR36, and is sent to packet identification unit 333.Then, be UA when response received grouping by packet identification unit 333, notify this situation to control unit 331, control unit 331 is when the data of UA response memory at high level, for example with in its write memory 32, and notice CPU31 simultaneously.CPU31 analyzes the memory 32 interior high level datas that write, and differentiates the SUCCESS response that whether includes OBEX.In SUCCESS when response that does not comprise OBEX, as disconnect unsuccessfully process just passable.
High level data for record in Fig. 6 (b), reset the parameter identifier, shown in Fig. 6 (d), by high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and process.
[execution mode 5]
(a) of Fig. 7 be connected with Fig. 7 added in the UA response that is illustrated respectively in IrDA in (b) required in the high-rise connection, add the grouping from the zone of the user data of high level.Have again, this additional zone can be not yet by the position shown in Fig. 7 (a) and Fig. 7 (b).High level data for record in Fig. 7 (a), reset the parameter identifier, shown in Fig. 6 (d), by high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and process.
Present embodiment is that in the receiver 2 of Fig. 2, when being received the SNRM order by transmitter 1, control unit 231 will receive the advisory CPU21 of SNRM order, when having high level data simultaneously in the SNRM order, write high level data in memory 22.CPU21 analyzes high level data, differentiates the CONNECT order that whether includes OBEX in high level data.When the CONNECT order that does not comprise OBEX, it is illegal that connection request is used as, and it is just passable not beam back connection response.Differentiating when from remote station connection request being arranged, CPU21 notifies control unit 231 with connection response.Control unit 231 directly is received in the required user data from high level in the high-rise connection by CPU21 or by memory 22, it is transferred to command packet generation unit 232, but but join in the UA response with parameters such as the maximum transfer rate of our station, maximum receive data length, send these responses by transmitting element 24.For example, as this high-rise user data, the SUCCESS response of IrDA-OBEX layer is arranged, but be not limited to this.
In addition, because of the SNRM order that receives from remote station, mistake is arranged, or in the SNRM order, there is not high level data, or our station is in the reasons such as state that can not connect, and will be with the advisory remote station that can not connect the time, also can send the DM response shown in (c) of Fig. 7, replace above-mentioned UA response.Also can dispose high-rise data in this DM response, the data as in this case high level for example have the Internal Server Error response of OBEX, but are not limited to this.
(c) of Fig. 6 but but in maximum transfer rate, the isoparametric form of maximum receive data length of our station in the UA response of expression IrDA.Parameter format is made of parameter identifier (PI), parameter length (PL), parameter value (PV).The parameter identifier is intrinsic to each parameter, receives the station of UA response by differentiating this parameter identifier, can know to be set which kind of parameter, and process.For (a) of Fig. 7 and (c) middle high level data of putting down in writing of Fig. 7, by resetting the parameter identifier, and shown in Fig. 6 (d), high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and process.
In addition, when receiving the DISC order, control unit 231 will receive the advisory CPU21 of DISC order, directly be received in the required user data from high level in the high-rise disconnection by CPU21 or by memory 22, it is transferred to command packet generation unit 232, join in the UA response, send this response by transmitting element 24.For example, as the user data of this high level, the SUCCESS response of IrDA-OBEX layer is arranged.
[execution mode 6]
In the transmitter 3 and receiver 2 of in execution mode 4 and 5, putting down in writing, receive the receiver 2 of execution mode 5 of the SNRM order that comprises high-rise user data of execution mode 4 record, to receive the advisory CPU21 of SNRM order, the user data of the high level that comprises in also SNRM being ordered simultaneously directly or by memory 22 is sent to CPU21.
CPU21 is based on this high-rise user data, carries out high-rise connection, will directly or by memory 22 be transferred to control unit 231 as the user data of the connection response of high level simultaneously.
Control unit 231 is transferred to packet generating part 232 with this user data, but packet generating part but the parameters such as the maximum transfer rate of this user data and our station, maximum receive data length are joined in the UA response together, send it by transmitting element 24.
On the other hand, sent the transmitter 1 of the execution mode 4 of the SNRM order that comprises high-rise user data, when the UA that reception is beamed back by above-mentioned transmitter-receiver responds, to receive the advisory CPU31 of response, the user data of the high level that comprises in simultaneously UA being responded directly or by memory 32 is sent to CPU31.CPU31 carries out high-rise connection based on this high-rise user data.
On the other hand, in the transmitter 3 and receiver 2 of in execution mode 4 and 5, putting down in writing, receive the receiver 2 of execution mode 5 of the DISC order of comprising of execution mode 4 of high-rise data, to receive the advisory CPU21 of DISC order, the user data of the high level that comprises in simultaneously DISC being ordered directly or by memory 22 is sent to CPU21.
CPU21 is based on this high-rise user data, carries out high-rise disconnection, will as the user data of the response of the disconnection of high level directly or by memory 22, be transferred to control unit 231 simultaneously.Control unit 231 is transferred to packet generating part 232 with this user data, and packet generating part joins this user data in the UA response, sends it by transmitting element 24.At this moment, when in being judged as high-rise data, not comprising the DISCONNECT order of OBEX, as illegal disconnection request, can not beam back and reply, also the Internal Server Error response of OBEX can be configured in the DV response and send.
In addition, high level data for record in Fig. 7 (b), by resetting the parameter identifier, such shown in Fig. 6 (d), high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and process.
On the other hand, sent the transmitter 3 of the execution mode 4 of the DISC order that comprises high-rise user data, when the UA that reception is beamed back by above-mentioned receiver 2 responds, to receive the advisory CPU31 of response, the user data of the high level that comprises in simultaneously UA being responded directly or by memory 32 is sent to CPU31.CPU31 carries out high-rise disconnection based on this high-rise user data.At this moment, when in being judged as the UA response that receives, not comprising the SUCCESS response of OBEX, also can be used as illegal disconnection and reply and process.
By above step, in transmitter 3 and receiver 2 that execution mode 4 and execution mode 5 are put down in writing, by a packet switching, can carry out connection or disconnection from high level to low layer.Figure 18 represents the signal sequence of present embodiment.
[execution mode 7]
Fig. 3 represents the transmitter 3 of present embodiment.Within each structure of above-mentioned transmitter 3, the each several part of the receiver 2 of record is identical in receiving element 35, CDR36, packet identification unit 333 and the execution mode 2, and timer 37 is according to from the request of control unit 331 and Measuring Time.
As shown in Figure 8, when from CPU31 connection request being arranged, but but control unit 331 is used for preserving the isoparametric SNRM grouping of maximum transfer rate, maximum receive data length of our station as the 1st grouping of generation by 332 generations of command packet generation unit, and sends it by transmitting element 34.
In addition, when carrying out above-mentioned transmission, start timer 37.When not receiving within a certain period of time from the UA of receiver 2 response, continue to generate the XID order by command packet generation unit 332, and send it.
In addition, when sending the XID order, timer 37 is started, when not receiving the XID response from receiver 2 within a certain period of time, in command packet generation unit 332, generate and send the XID-End order, the situation that the station search is finished is sent to CPU31.Then, generate, send the SNRM order based on IrDA, transfer to the connection of IrDA and process.Fig. 9 represents be used to the signal sequence that represents this form.
In addition, when sending the XID order, timer 37 is started, when not receiving the XID response from receiver within a certain period of time, in command packet generation unit 332, after having generated and sent the XID-End order, but but again generate, send for the isoparametric SNRM order of maximum transfer rate, the maximum receive data length of preserving our station.Figure 10 represents the signal sequence of this form.
[execution mode 8]
Fig. 2 represents the receiver 2 of present embodiment.In receiver 2, the first order that is received by receiving unit 25 is identified as in packet identification unit 233 in the situation of XID order, in Discovery-flag in order shown in Figure 19 (discovery mark) zone, when meaning 1 value at the XID time slot, the received situation of control unit 231 storing X id commands, here, do not send the XID response and wait for the next order that will receive.This is that the XID of 1 time slot meets standard because in existing IrDA standard, and in this stage, can not differentiate method, apparatus is original IrDA equipment or equipment of the present invention.Not XID-End order at the station search command that the next one receives, but during the XID order, transfer to the connection of IrDA and process.Figure 11 represents the signal sequence of this form.
In addition, the first order that is received by receiving unit 25 in the situation for the XID order, when then receiving the SNRM order, is sent to CPU21 with the situation that receives the SNRM order in packet identification unit 233.In original IrDA standard because until receive till the XID response for the XID order, the search of stand is not all finished, so when after the XID order, receiving SNRM and ordering, can differentiate for remote station be not original IrDA equipment.Therefore, generate the UA response by command packet generation unit 232, and send it.During the user data that in UA response is arranged, comprises, by CPU21 these data are sent to control unit 231, also it can be included in the above-mentioned UA response.Figure 12 represents the signal sequence of this form.
In addition, the first order that is received by receiving unit 25 is identified as XID when order in packet identification unit 233, as shown in figure 19, in the Discovery-flag zone in order, the XID time slot is not 1, but means to be in the situation of one of them value of 6,8,16, according to by the predetermined rule of IrDA, command packet generation unit 232 generates the XID response, and sends it.
[execution mode 9]
Fig. 1, Fig. 3 represent the transmitter 1 of present embodiment and the receiver 2 that 3, Fig. 2 represents present embodiment.But receiver 2 also can not comprise command packet generation unit 232 and transmitting element 24.
In addition, Figure 13 represents that having added the expression communication direction in the SNRM order of IrDA is the grouping of one direction or the marked region of twocouese.Have, this additional zone also can be in the position of Figure 13 again, for example, and also can be among Negotiation Parameters.In present embodiment, but but the data of set point required in the maximum transfer rate of our station, the isoparametric communication of maximum receive data length with the expression communication direction are sent with the SNRM order.
As shown in figure 17, having sent the flag settings that will represent communication direction is that the transmitter 1,3 that unidirectional SNRM orders does not wait for that the UA from receiver 2 responds, and uses I frame or UI frame to begin data and transmits.Have again, in the time of in the mark that will represent described communication direction is configured in the SNRM order, shown in Fig. 6 (d), by the form of parameter identifier (PI), parameter length (PL), parameter value (PV), and the parameter identifier pre-determined be remote station, thereby, receive the station of SNRM order, this parameter identifier is differentiated which of one direction communication, twocouese communication of to have known the remote station request, processing that can carry out desired.
On the other hand, the receiver 2 that receives above-mentioned SNRM order is not beamed back the UA response, and etc. the I frame of transmitter to be used or the data of UI frame transmit.When in the SNRM order that receives, not comprising above-mentioned high level data, also can not transfer to data and transmit holding state, as illegal connection request.In addition, when in above-mentioned high level data, not comprising the CONNECT order of OBEX, also can not transfer to data and transmit holding state, as illegal connection request.
By the one direction communication that said method is realized, can shorten data and transmit the upper required time, the user can easily identify and mistake occur, can use in the situation of allowing the again implementation that user self transmits.For example, sometimes from information terminal image display device is transmitted view data and reading.At this moment, identify the failed example of transmission as the user, the view data of sometimes user's transmission is not presented on the receiving terminal image display, and shows different images.
Have, the transmitter 1 of Fig. 1 only can be tackled one direction communication again, and the transmitter of Fig. 3 can be tackled one direction communication, twocouese communication simultaneously.
[execution mode 10]
In the described receiver 2 of Fig. 2, by one of them method of the present invention, in the state that is connected of having established with remote station, produced when disconnecting request at the high level by the CPU21 management, by memory 22, disconnect request msg and be transferred to control unit 231.Control unit 231 should disconnect request msg and be transferred to packet generating part 232, and packet generating part 232 joins this user data in the DM response, sends it by transmitting element 24.Disconnection request in this case, the communication situation of disconnection midway that for example user selection arranged, but be not limited to this.As this disconnection request msg, for example also can use the Internal Server Error response of OBEX, but be not limited to this.
In addition, high level data for record in Fig. 7 (c), by resetting the parameter identifier, shown in Fig. 6 (d), high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and process.
[execution mode 11]
In present embodiment, with reference to Figure 20, illustrate that the communication means that the respective embodiments described above are illustrated is applied to the situation of mobile phone.Have again, in present embodiment, used mobile phone at transmitter and receiver, if but a wherein side of transmitter or receiver is that mobile phone is just passable, if can carry out sending or receiving based on the data of infrared ray etc. by any one mode of the present invention, even be not that mobile phone is also passable to method, apparatus then.
In Figure 20, use infrared ray, the data in the mobile phone A are sent to mobile phone B.At mobile phone B, when receiving the data that send from mobile phone A, receive data is kept at the memory in the mobile phone B or the external memory storage that connects in.Above-mentioned data are text data, view data, speech data, telephone book data, system information etc., are not limited to specific form.In addition, the data in the mobile phone A also can be a wherein side the data of the data in the external memory storage that connects on the data, mobile phone in the internal storage of mobile phone A nonvolatile memories such as () SD cards.
According to above-mentioned method of attachment, by with the data configuration of high level in SNRM order and UA respond, and send and receive, the data of high level can be sent to remote station with a grouping.Therefore, with the method for attachment of a plurality of groupings of in the past IrDA mode relatively, can within the shorter time, finish connection.Thus, compare with communicating by letter of IrDA mode in the past, can shorten equipment must in the face of the time of remote station, so can expect to improve user's convenience, be reduced the mistake odds.
[execution mode 12]
In present embodiment, with reference to Figure 21, illustrate that the communication means that the respective embodiments described above are illustrated is applied to the situation of mobile phone and display unit.Have again, in present embodiment, use mobile phone as transmitter, but if can carry out the transmission of the data of infrared ray etc. by one of them mode of the present invention, transmitting apparatus not that mobile phone is also passable.
In Figure 21, use infrared ray, the data in the mobile phone A are sent to display unit B (TV or monitor etc.).At display unit B, carry out suitable processing for the data that send from mobile phone A, for example, when being view data, as required compressed data being carried out decompress(ion) etc., thereby show, but be not limited to this.In addition, above-mentioned data are text data, view data, speech data, phone directory data, system information etc., are not limited to specific form.In addition, the data in the mobile phone A also can be a wherein side the data of the data in the external memory storage that connects on the data, mobile phone in the internal storage of mobile phone A nonvolatile memories such as () SD cards.
According to above-mentioned method of attachment, by with the data configuration of high level in SNRM order and UA respond, and send and receive, the data of high level can be sent to remote station with a grouping.Therefore, with the method for attachment of a plurality of groupings of in the past IrDA mode relatively, can within the shorter time, finish connection.Thus, compare with communicating by letter of IrDA mode in the past, can shorten equipment must in the face of the time of remote station, so can expect to improve user's convenience, be reduced the mistake odds.
[execution mode 13]
In present embodiment, with reference to Figure 22, explanation will be applicable to the illustrated communication means of the respective embodiments described above the situation of mobile phone and printing equipment.Have, in present embodiment, mobile phone is as transmitter again, but so long as according to any mode of the present invention, namely can carry out the transmission of data by infrared ray etc., and is also passable even transmitting apparatus is not mobile phone.
In Figure 22, use infrared ray, the data in the mobile phone A are sent to printing equipment B.At printing equipment B, carry out suitable processing for the data that send from mobile phone A, for example, in the situation that is view data, as required, the data of compressed mistake are carried out decompress(ion) etc., thereby print, but be not limited to this.In addition, above-mentioned data are text data, view data, phone directory data, system information etc., are not the data that are limited to specific form.In addition, the data in the mobile phone A also can be any data of the data in the data in the internal storage of mobile phone A, external memory storage that mobile phone A connects nonvolatile memories such as () SD cards.
According to above-mentioned method of attachment, by with the data configuration of high level in SNRM order and UA respond, and send and receive, the data of high level can be sent to remote station with a grouping.Therefore, compare with the method for attachment of passing through a plurality of groupings among in the past the IrDA, can within the shorter time, finish connection.Thus, compare with the communication under in the past the IrDA, can shorten must be with the time of device side to remote station, thus can expect to improve user's convenience, and reduce the mistake odds.
[execution mode 14]
In present embodiment, with reference to Figure 23, explanation will be applicable to the illustrated communication means of the respective embodiments described above the situation of mobile phone and tape deck.Have, in present embodiment, mobile phone is as transmitter again, but so long as according to any mode of the present invention, namely can carry out the transmission of data by infrared ray etc., and is also passable even transmitting apparatus is not mobile phone.
In Figure 23, use infrared ray, the data in the mobile phone A are sent to tape deck B.At tape deck B, carry out suitable processing for the data that send from mobile phone A, for example, in the situation that is view data, carry out it is recorded in the external memory storage that memory in the tape deck B or tape deck B connect.Memory in the tape deck B can be the volatile memory such as SDRAM, also can be the nonvolatile memory of flash memory etc., recordable DVD, HD driver etc., can be provisional or the media of semipermanent record.In addition, above-mentioned data are text data, view data, speech data, phone directory data, system information etc., are not the data that are limited to specific form.In addition, the data in the mobile phone A also can be any data of the data in the data in the internal storage of mobile phone A, external memory storage that mobile phone A connects nonvolatile memories such as () SD cards.
According to above-mentioned method of attachment, by with the data configuration of high level in SNRM order and UA respond, and send, the data of high level can be sent to remote station with a grouping.Therefore, compare with the method for attachment of passing through a plurality of groupings among in the past the IrDA, can within the shorter time, finish connection.Thus, compare with the communication under in the past the IrDA, can shorten must be with the time of device side to remote station, thus can expect to improve user's convenience, and reduce the mistake odds.
[execution mode 15]
In present embodiment, with reference to Figure 24 to Figure 27, explain the function that realizes with the LPA layer of the illustrated communication means of the respective embodiments described above.
(1) situation of IrSimple twocouese+IrDA
Figure 24 is the functional-block diagram of LPA layer 100A of communication equipment that has possessed simultaneously the function of IrSimple (twocouese communication) and IrDA.
LAP layer 100A comprise agreement control unit 110A, timer 120, send request command analytic unit 130, send with high level data memory cell 140, send frame generation unit 150, received frame analytic unit 160, receive with high level data memory cell 170, receive to order and notify generation unit 180 and consist of.
Agreement control unit 110A controls the agreement of LAP layer.Therefore, agreement control unit 110A has: IrSimple-LAP control unit (the 1st agreement control unit) 111, IrDA-LAP control unit (the 2nd agreement control unit) 112, protocol switching unit 113.
The communication that IrSimple-LAP control unit 111 carries out based on the IrSimple-LAP agreement.Therefore, IrSimple-LAP control unit 111 comprises; Connection control unit 111a, data transmit control unit 111b, disconnection control unit 111c.Connection control unit 111a carries out processing based on the connection of IrSimple-LPA agreement.Data transmit control unit 111b carries out transmitting based on the data of IrSimple-LAP agreement.Disconnection control unit 111c carries out the disconnection process based on the IrSimple-LAP agreement.Therefore, IrSimple-LAP control unit 111 is when connecting, and 111a connects processing by connection control unit, when data transmit, carry out data by data transmit control unit 111b and transmit, when disconnecting, carry out disconnection process by disconnecting control unit 111c.
The communication that IrDA-LAP control unit 112 carries out based on the IrDA-LAP agreement.Therefore, IrDA-LAP control unit 112 comprises: connection control unit 112a, data transmit control unit 112b, disconnection control unit 112c.Connection control unit 112a carries out processing based on the connection of IrDA-LAP agreement.Data transmit control unit 112b carries out transmitting based on the data of IrDA-LAP agreement.Disconnection control unit 112c carries out the disconnection process based on the IrDA-LAP agreement.Therefore, IrDA-LAP control unit 112 is when connecting, and 112a connects processing by connection control unit, when data transmit, carries out data by data transmit control unit 112b and transmits, and when disconnecting, carries out disconnection process by disconnecting control unit 112c.
Protocol switching unit 113 carries out the switching of IrSimple-LAP control unit 111 and IrDA-LAP control unit 112.Specifically, protocol switching unit 113 is in the situation of transmitter (main website), IrSimple-LAP control unit 111 is at first moved, after having sent the station search command that after the SNRM order as the connection request order sends, sends that continues, in the situation of having beamed back the XID response next, switch to IrDA-LAP control unit 112.In addition, protocol switching unit 113 is in the situation at receiver (secondary station), IrSimple-LAP control unit 111 is at first moved, in the XID order (1 time slot) that receives continuously as the station search command, and receive in the situation of XID order (beyond 1 time slot), after having sent the XID response, after receiving XID-end, switch to IrDA-LAP control unit 112.In addition, in main website, when secondary station all is disconnected communication, protocol switching unit 113 switches to IrSimple-LAP control unit 111 again, attempts the connection based on the IrSimple-LAP agreement.
Timer 120 is the timers that are subjected to agreement control unit 110A control.Timer 120 for example is used when agreement control unit 110A carries out overtime judgement.
Sending 130 pairs of transmission request commands from high-rise (LMP layer) of request command analytic unit analyzes.Here so-called transmission request command is connection request, data transmission requests, disconnection request.Analysis result is notified to agreement control unit 130.
Send with the transmission data of high level data memory cell 140 storages from high-rise (LMP layer).The data of storing are transferred to and send frame generation unit 150, and are configured in the transmission frame.
Send frame generation unit 150 based on from sending the data that obtain with high level data memory cell 140, generate the transmission frame that low layer (PHY layer) is passed on.Here so-called transmission frame, in the situation of main website, be SNRM order (connection request), UI order (data transmission requests), DISC order (disconnecting request), in the situation at pair station, be UA response (connection is replied, disconnected and replying), UI response (data transmit and reply).
160 pairs of received frames from low layer (PHY layer) of received frame analytic unit are analyzed, and analysis result is notified to agreement control unit 110A.The high level data that will extract when in addition, received frame analytic unit 160 will be analyzed is stored in and receives with in the high level data memory cell 170.
Receive with high level data memory cell 170 and store the high level data that has been carried out analysis, extraction by received frame analytic unit 160.The data of storing are transferred to high level (LMP layer).
Receive order notice generation unit 180 and generate request according to the reception order notice from agreement control unit 110A, generate and receive order, and to high-rise (LMP layer) notice.Here so-called reception order is that connection request receives order, data transmission requests receives order, disconnects the request receiving order.
(2) situation of IrSimple twocouese (also comprise one direction send, one direction receiving function) only
Figure 25 is the functional-block diagram of LAP layer 100B of communication equipment that has only possessed the function of IrSimple (also comprise one direction sends, one direction receiving function).
LAP layer 100B comprise agreement control unit 110B, timer 120, send request command analytic unit 130, send with high level data memory cell 140, send frame generation unit 150, received frame analytic unit 160, receive with high level data memory cell 170, receive to order and notify generation unit 180 and consist of.That is, LAP layer 100B compares with LAP layer 100A, and difference is to be provided with agreement control unit 110B, replaces agreement control unit 110A.
Agreement control unit 110B controls the agreement of LAP layer, and therefore, agreement control unit 110B has IrSimple-LAP control unit 111.That is, agreement control unit 110B has been omitted IrDA-LAP control unit 112 set in agreement control unit 110A, protocol switching unit 113.
In other respects, LAP layer 100B is identical with LAP layer 100A, so description thereof is omitted.
(3) IrSimple one direction situation about sending only
Figure 26 is the functional-block diagram of LAP layer 100C that has only possessed the communication equipment of the function that the IrSimple one direction sends.
LAP layer 100C comprise agreement control unit 110C, timer 120, send request command analytic unit 130, send with high level data memory cell 140, transmission frame generation unit 150 and consist of.Namely, LAP layer 100C compares with LAP layer 100A, different aspect is, be provided with agreement control unit 110C and replace agreement control unit 110A, the received frame analytic unit 160, the reception that have been omitted simultaneously as the receiving terminal function are notified generation unit 180 with high level data memory cell 170, reception order.
Agreement control unit 110C controls the agreement of the LAP layer in the transmitter.Therefore, agreement control unit 110C has IrSimple-LAP control unit 111C.That is, agreement control unit 110C has been omitted IrDA-LAP control unit 112 set in agreement control unit 110A, protocol switching unit 113.Have, IrSimple-LAP control unit 111C only possesses the sending function of IrSimple again.That is, the connection control unit 111Ca, the data transmit control unit 111Cb that possess of IrSimple-LAP control unit 111C, disconnect connection processing, data transfer process, disconnection process that control unit 111Cc carries out respectively transmitter.
In other respects, LAP layer 100C is identical with LAP layer 100A, so description thereof is omitted.
(4) IrSimple one direction situation about receiving only
Figure 27 is the functional-block diagram of LAP layer 100D that has only possessed the communication equipment of the function that the IrSimple one direction receives.
LAP layer 100D comprise agreement control unit 110D, timer 120, received frame analytic unit 160, receive with high level data memory cell 170, receive order notifies generation unit 180 and consists of.Namely, LAP layer 100D compares with LAP layer 100A, different aspect is, be provided with agreement control unit 110D and replace agreement control unit 110A, omitted simultaneously transmission request command analytic unit 130, transmission high level data memory cell 140, transmission frame generation unit 150 as the function of transmitting terminal.
Agreement control unit 110D controls the agreement of the LAP layer in the receiver.Therefore, agreement control unit 110D has IrSimple-LAP control unit 111D.That is, agreement control unit 110D has omitted IrDA-LAP control unit 112, protocol switching unit 113 set among the agreement control unit 110A.Have, IrSimple-LAP control unit 111D only possesses the receiving function of IrSimple again.That is, the connection control unit 111Da, the data transmit control unit 111Db that possess of IrSimple-LAP control unit 111D, disconnect connection processing, data transfer process, disconnection process that control unit 111Dc carries out respectively receiver.
In other respects, LAP layer 100D is identical with LAP layer 100A, so description thereof is omitted.
[execution mode 16]
In present embodiment, with reference to Figure 28 to Figure 33, the combination between the agreement of the agreement of transmitter and receiver is described.
Figure 28 be the agreement that possesses of expression transmitter and receiver be connected after agreement between the table of relation.As shown in figure 28, transmitter and receiver are according to corresponding with which of twocouese/one direction of IrSimple, IrDA respectively, and the agreement after the connection is different.
(using mobile phone, display unit, tape deck, the printing equipment of IrSimple-LAP)
From the transmitter of mobile phone etc. the receiver of display unit, tape deck, printing equipment etc. is being carried out in the situation that data send, on the display of mobile phone, only there is the selection picture that whether carries out infrared communication, might can not carries out the careful selection of agreement.In addition, in the receiver of display unit, tape deck, printing equipment etc., in general, only preparing has the interface (interface) of infrared communication being connected (ON), shutoff (OFF) degree.
In such state, when the agreement of supporting at transmitter and receiver is different, transmitter of the present invention and receiver are when the combination of the agreement that can select to communicate by letter, handoff protocol as described above, and when the combination of the agreement that can not select to communicate by letter, for example, the reason that can not communicate by letter to user notification.This reason that can not connect is, for example the twocouese corresponding with only the supporting unidirectional equipment connection request of communicating by letter, with IrDA corresponding to the equipment of non-corresponding IrDA under connection request.
Here, the notice of the reason that can not communicate by letter, for example, in the display unit with the mobile phone of display unit, TV etc., printing equipment, tape deck etc., when having finished connection, show the agreement that connects, when not finishing connection, show the situation of not finishing connection, the reason that can not connect simultaneously also can show by combination carries out.Thereby by the reason that can not communicate by letter of notice, the user can carry out suitable reply (for example, for the communication protocol of not supporting is supported, with the firmware renewal etc.).
Below represent several examples.Have again, in the following description, as receiver, the display unit of TV etc. is arranged for example, but but so long as have the equipment of the display unit of text display, just be not limited to display unit, for example, also can be printing equipment or tape deck.In addition, as transmitter, mobile phone is arranged for example, but but so long as have the equipment of the display unit of text display, just be not limited to mobile phone, for example, also can be display unit, printing equipment, the tape deck of TV etc.
(1) connection between the IrSimple twocouese corresponding device
Figure 29 is expression as the mobile phone of transmitter with as the display unit of the TV of receiver etc. all is the key diagram of the demonstration example of Connection Step in the corresponding situation of IrSimple twocouese and each equipment.
At the mobile phone as transmitter, after the SNRM of IrSimple agreement sends, owing to receive immediately UA, thus finish with the connection under the IrSimple agreement at display unit demonstration receiver, and notify the user.
On the other hand, in the display unit as the TV of receiver etc., by before the XID order, receiving SNRM, thereby identify transmitter is corresponding with IrSimple, and by beaming back UA, finish the connection under the IrSimple.At this constantly, the connection under picture demonstration IrSimple is finished, and notifies the user.
By above-mentioned action, the user can easily identify the agreement after the connection.
Have again, also can be substituted in connect finish after the demonstration connection protocol, for example behind sign off, notify communication protocol by the communication marks of before communication.In addition, replace automatically display communication agreement, for example as the demonstration result of user-selected menu, also can the display communication agreement.
(2) connection between the IrSimple one direction corresponding device
Figure 30 is expression as the mobile phone of transmitter with as the display unit of the TV of receiver etc. all is the key diagram of the demonstration example of Connection Step in the corresponding situation of IrSimple one direction and each equipment.
At the mobile phone as transmitter, connect after the SNRM in display unit demonstration IrSimple agreement sends and finish, and notify the user.
On the other hand, in the display unit such as TV as receiver, by before XID order, receiving SNRM, thereby identify transmitter is corresponding with IrSimple, and finish connection under the IrSimple.At this constantly, the connection under picture demonstration IrSimple is finished, and notifies the user.
By above-mentioned action, the user can easily identify the agreement after the connection.
Have again, also can be substituted in connect finish after the demonstration connection protocol, for example behind sign off, notify communication protocol by the communication marks of before communication.In addition, replace automatically display communication agreement, for example as the demonstration result of user-selected menu, also can the display communication agreement.
(3) connection between IrSimple twocouese corresponding device and the IrSimple one direction corresponding device
Figure 31 is when being illustrated in as the mobile phone of transmitter with the connection of being connected between the display unit such as TV of receiver, the key diagram of the Connection Step in the mobile phone that carries out the communication under the IrSimple twocouese and the situation that can carry out the display unit of communicating by letter under the IrSimple one direction and the demonstration example of each equipment.
At the mobile phone as transmitter, rear (one direction, twocouese selected marker the are twocouese) institute of SNRM transmission predetermined time in the IrSimple agreement, because the UA from receiver does not respond, so be used as connection failure, show this situation at display unit, and notify the user.
On the other hand, in the display unit such as TV as receiver, by before the XID order, receiving SNRM, thereby be that the situation corresponding with IrSimple identified to transmitter, but the one direction twocouese selected marker in the SNRM represents twocouese, and this method, apparatus is only supported one direction, so connection failure, show this situation in display frame, and notify the user.At this moment, the reason by connection failure shows together that also the user changes to the one direction pattern with the communication pattern of transmitter, and as the supported protocol of display unit, can obtain to tackle the firmware renewal in order again to append the twocouese agreement etc.
Have again, replace automatically display communication agreement, for example, as the demonstration result of the menu of user selection, also can the display communication agreement.
(4) connection between IrDA corresponding device and the IrSimple+IrDA corresponding device
Figure 32 be expression as the mobile phone of transmitter be connected the display unit of TV etc. of receiver and be in when connecting, carry out the key diagram of the demonstration example of Connection Step in the situation of the display unit that the agreement of the mobile phone of the communication under the IrDA in the past and available IrSimple twocouese and IrDA communicates and each equipment.
In the mobile phone as transmitter, after the XID of IrDA agreement order sends, by receiving the XID response from receiver, after the XID-End order sends, send the SNRM of IrDA form in the past, and in the moment that receives the UA response, the connection of carrying out under the IrDA is finished, this intention is presented on the display unit, and notifies the user.
On the other hand, in the display unit as TV of receiver etc., with sending and receiving of XID order, XID response, XID-End, finish the station search under the IrDA, and after the SNRM order that receives the IrDA form, in the moment of having beamed back the UA response, finished the connection under the IrDA, this intention is presented on the picture, and notifies the user.At this moment, connect in the IrDA mode, if but transmitter is supported IrSimple, then also can carry out the connection of IrSimple mode by showing, the user can obtain the reply with firmware renewal etc., in order to as the supported protocol of transmitter, newly append IrSimple twocouese agreement.
Have again, be substituted in connect finish after the demonstration connection protocol, for example, also can be behind sign off, the display communication agreement by the communication marks of previous communication.In addition, replace automatically display communication agreement, for example, as the demonstration result of the menu of user selection, also can the display communication agreement.
(5) connection between IrDA corresponding device and the IrSimple corresponding device
Figure 33 be expression as the mobile phone of transmitter be connected the display unit of TV etc. of receiver and be in when connecting, carry out the key diagram of the demonstration example of Connection Step in the situation of the mobile phone of the communication under the IrDA in the past and the display unit of communicating by letter that can carry out IrSimple one direction mode and each equipment.
In the mobile phone as transmitter, send XID order 2 and XID-End order, but because the XID that can not receive from receiver responds, so through behind the certain hour, be used as connection failure, this intention be presented on the display unit, and notify the user.
On the other hand, in the display unit such as TV as receiver, by before the XID order, receiving SNRM, thereby be identify corresponding with IrSimple to transmitter, but because receiver is not supported the IrDA agreement, so be used as connection failure, and this intention be presented on the picture, and notify the user.At this moment, the reason by connection failure also shows together, can obtain the reply with firmware renewal etc., in order to as the supported protocol of transmitter, newly append IrSimple twocouese agreement.
Have again, replace automatically display communication agreement, for example, as the demonstration result of the menu of user selection, also can the display communication agreement.
[execution mode 17]
Below, based on Figure 34 to Figure 56 another embodiment of the present invention is described.Have, the communication protocol that illustrates in the present embodiment is applicable to execution mode 1~16 again.Therefore, for the term of definition in the execution mode 1~16, only otherwise especially in advance explanation still defines to use according to it in the present embodiment.
(1) communication layers
Figure 34 is the schematic diagram of the corresponding relation between the layering of the layering of expression OSI7 hierarchical mode, IrDA and communication system of the present invention.
Each communication layers of the communication system of present embodiment also has the layering equal function corresponding with above-mentioned OSI7 layer model.But as shown in figure 34, above-mentioned communication system forms one with session layer and display layer, becomes the structure of 6 layerings.
In present embodiment, for convenience of explanation, describe based on the IrSimple of an application examples of the present invention.But the present invention is not limited to IrSimple.Have, IrSimple has improved the part of functions of IrDA in the past again.
In present embodiment, according to IrSimple, sometimes with data link layer, network layer, transport layer, session layer+display layer respectively souvenir be LAP, LAMP, SMP, OBEX.In addition, in the situation of communication layers with transmitter, receiver difference, at the upper note " P " of transmitter (main website), at the upper note " S " of receiver (secondary station).For example, " LAP (P) " means the data link layer of transmitter.
(2) order between transmitter-receiver
(2-1) order of connection
[A] has response
(a) of Figure 35 is the precedence diagram of the order of connection of expression present embodiment (response is arranged).And the key diagram of data structure of Figure 35 (c) communication data when being the order of connection of expression present embodiment (response is arranged).
Present embodiment (response is arranged), by in the Destination of SNRM Device Address, using global address (global address), can make the SNRM order have the function (the SNRM command of Figure 35 (c)) same with search.
In addition, present embodiment (response is arranged), among the SNRM order of dividing into groups as the connection of data link layer and UA response, required parameter and order in the connection of insertion network layer, transport layer, session layer, display layer contour level.Thus, can be a grouping with the connection grouping cohesion that is used for each high level of connection necessary in IrDA in the past.
Therefore, can with needed in the past the search of a plurality of groupings and the order of connection with a grouping to carrying out.
[B] is without response
(b) of Figure 35 is the precedence diagram of the order of connection of expression present embodiment (without response).And the key diagram of the data structure of Figure 35 (c) communication data when being the order of connection of expression present embodiment (without response).Have again, in present embodiment (without response), do not need UA response (the UA response for SNRM of (c) of Figure 35).
According to user or application and data class, can select will be from the response abridged communication mode of receiver.In this case, shown in Figure 35 (b), only just can finish search and be connected with the SNRM order.
Like this, the order of connection of present embodiment connected the upper required time by the connection request of a plurality of communication layers being concentrated, being shortened, so even in the situation that communication path is disconnected, it is also easy to connect again.Therefore, be particularly suitable for communication path and disconnect easily, for example ultrared radio communication.Wherein, comprising that IEEE802.11 is wireless, also be effective in other radio communications of Bluetooth and the wire communication.
In addition, in present embodiment, illustrated once communicate to connect the example of all communication layers, but the invention is not restricted to this.For example, after having connected a communication layers, also can connect remaining a plurality of communication layers.In addition, the connection of a communication layers also can be undertaken by repeatedly communicating by letter.For example, need in the connection of network layer in the situation of twice communication, also the First Contact Connections of the connection of data link layer and network layer can be concentrated is a connection request, with connect for the second time of network layer be connected with transport layer connection concentrated be a connection request.
(2-2) exchanges data order
[A] has response
(a) of Figure 36, (b) are the precedence diagrams of the exchanges data order of expression present embodiment (response is arranged).And Figure 36 (a) is the key diagram of data structure of communication data in exchanges data when order of expression present embodiment (response is arranged).
Present embodiment (response is arranged), reduce as possible low layer and high-rise response between each data, whether beam back after having sent a plurality of data has mistake.
Transmitter uses by being used for inquiry in whether no problem mark, partition data that the size of above-mentioned data based grouping the is cut apart grouping of constructing of the packet number of order and receive data when data communication.
Shown in Figure 36 (a), transmitter sends after the packet count that has sent stated number opens the grouping of (on) with above-mentioned mark.To this, receiver from before data begin to receive, or receive the opened grouping of above-mentioned mark, after beaming back, when not detecting mistake, the intention that the transmitter notice is normally received.In addition, receiver from before data begin to receive, or receive the opened grouping of above-mentioned mark, and after beaming back, when detecting mistake, ignore the later above-mentioned partition data part of grouping that can not receive, only confirm above-mentioned mark, and be in when opening the packet number that can not receive because of mistake the transmitter notice at above-mentioned mark.
And then, when transmitter receives the intention that normally receives from receiver, carry out the transmission from next one grouping.In addition, transmitter is when receiving the notice of mistake, from the packet number that can not receive, with opened packet retransmission till the grouping of above-mentioned mark.
Thus, can make between grouping and shorten, can carry out the high communication of efficient.
Shown in Figure 36 (a), present embodiment (response is arranged), use UI frame (Figure 37 (b)).Therefore, can not identify the omission of grouping in data link layer (LAP layer), and detect in transport layer.
In the data division of the transport layer of UI frame, be provided with serial number and data validation with the data of mark, the last grouping that represents data whether, reception normal mark whether, carry out the transmission of data according to these marks.
[B] is without response
(a) of Figure 38, (b) are the precedence diagrams of the exchanges data order of expression present embodiment (without response).And the key diagram of the data structure of Figure 38 (b) communication data when being the exchanges data order of expression present embodiment (without response).
In present embodiment (without response), in the situation of the response that does not need receiver, only confirm the completeness of data.Therefore, transmitter sends whole data in a continuous manner to the grouping assign sequence numbers.
Then, receiver only has been confirmed whether mistake, in situation about normally receiving, after having received whole data, in receiver normal reception is identified, and is carried out next one action.Next one action in this case for example is to show the data that receive, or prints, or preserves.On the other hand, detecting in the amiss situation, in receiver, identify can not normally receiving, and carry out next one action.Next one action in this case is failed indication to have occured or become the next wait state that receives be used to the user is known.
Have again, even in present embodiment (without response), also use the UI frame (Figure 37 (b)) shown in (b) of Figure 38.
(2-3) disconnection order
[A] has response
(a) of Figure 39 is the precedence diagram of the disconnection order of expression present embodiment (response is arranged).And Figure 39 (c) is the key diagram of data structure of communication data in disconnection when order of expression present embodiment (response is arranged).
Shown in Figure 39 (c), present embodiment (response is arranged), parameter and order required in the disconnection with network layer, transport layer, session layer, display layer contour level are inserted among DISC order and the UA response.
Thus, can be with the disconnection that needed a plurality of groupings in the past sequentially with a grouping to carrying out.
[B] is without response
(b) of Figure 39 is the precedence diagram of the disconnection order of expression present embodiment (without response).And Figure 39 (c) is the key diagram of data structure of communication data in disconnection when order of expression present embodiment (response is arranged).Have again, in present embodiment (without response), do not need UA response (the UA response of Figure 39 (c)).
Shown in Figure 39 (b), in present embodiment (without response), in the situation that the response with receiver does not connect as necessity, only just can finish to search for and disconnect with the DISC order.
(3) order in transmitter, the receiver
In Figure 40~Figure 56, for convenience of explanation, be LAP with the data link layer souvenir, be LAMP with the network layer souvenir, be TTP or SMP with the transport layer souvenir, be OBEX with session layer and display layer souvenir.In addition, for communication layers is distinguished note on transmitter " P ", note on receiver " S " with transmitter and receiver.For example, " LAP (P) " means the data link layer of transmitter.
(3-1) order of connection
[A] has response
Figure 40 is the precedence diagram of the order of connection of expression present embodiment (response is arranged).And the key diagram of the data structure of Figure 41 (a), Figure 41 (b) communication data when being the order of connection of expression present embodiment (response is arranged).
As shown in figure 40, present embodiment (response is arranged), transmitter, receiver all connect preparation.Then, when transmitter directly is transferred to low layer with the request of high level, send as a grouping (SNRM).On the other hand, receiver is accepted SNRM grouping, after having carried out being directly connected to the notice of high-rise intention, when the response of OBEX (S) directly is transferred to low layer, sends as a grouping (UA).Transmitter is finished connection by accepting UA, to high level give notice (Connect.confirm).
Order in transmitter at this moment, the receiver is following like that.
Each communication layers of transmitter at first, is described.
When OBEX (P) arrives at the connection request that comes self-application, promptly low layer (SMP (P)) is joined the connection request order and produce connection request function (Primitive) in the data.In addition, OBEX (P) confirms the response that OBEX connects, if the response of no problem (Success) then ought connect and finish from these data when having accepted from SMP (P) to connect the affirmation function.
SMP (P) accepts the connection request function from OBEX (P), promptly in the data of the connection request function of OBEX (P), additional SMP (S) with receiver communicates required parameter, thereby low layer (LMP (P)) is produced the connection request function.In addition, SMP (P) extracts the parameter of SMP (S) generation of transmitter out from the data of function in the situation of having accepted connection affirmation function from LMP (P), confirm its value, thus the 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 function sends OBEX (P).
LMP (P) accepts the connection request function from SMP (P), promptly additional LMP (S) with receiver communicates required parameter in the data of the connection request function of SMP (P), thereby low layer (LAP (P)) is produced the connection request function.In addition, LMP (P) extracts the parameter of LMP (S) generation of receiver out from the data of function in the situation of having accepted connection affirmation function from LAP (P), confirm its value, thus the negotiation of end and LMP (S).In addition, LMP (P) data that will remove the parameter of LMP (S) from data that connect to confirm function confirm that as connecting function sends SMP (P).
Have again, usually be defined LSAP (Link Service AccessPoint) for logic port is managed.Thereby, carrying out one in mode one to one when connecting, do not need to use LMP.In this case, connectionless value among the LSAP is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (P) accepts the connection request function from LMP (P), promptly in the data of the connection request function of LMP (P), additional LAP (S) with receiver communicates required parameter, to the physical layer output SNRM order of receiver.In addition, LAP (P) is accepting UA when response from the physical layer of receiver, extracts the parameter that the LAP (S) of receiver generates from the data of UA response out, confirms its value, thereby finishes the negotiation with LAP (S).In addition, LAP (P) data that will remove the parameter of LAP (S) from the data of UA response confirm that as connecting function sends LMP (P).
Each communication layers of receiver then, is described.
OBEX (S) accepts the connection request function from application, thereby becomes the reception holding state.In addition, OBEX (S) is from low layer (SMP (S)) when having accepted connection notification function (Indication), among these data, confirm the OBEX bind command, if no problem, then the response of so-called Success is replied function (Response) to SMP (S) output as connection, and finish when connecting.
SMP (S) accepts the connection request function from OBEX (S), thereby becomes the reception holding state.In addition, SMP (S) is from low layer (SMP (S)) when having accepted the connection notification function, extract the parameter that the SMP (P) of transmitter generates among the data of function out, formation is to its parameter of replying, and after the connection request function of the data gained that will add the parameter of having removed SMP (P) from the data of above-mentioned function sends to OBEX (S), wait for and reply function from the connection of OBEX (S).In addition, SMP (S) is when having accepted to reply function from the connection of OBEX (S), additional above-mentioned parameter of replying in the data of the connection of the OBEX (S) of LMP (S) being replied function, thereby LMP (S) is produced connection reply function, and finish the negotiation of SMP layer.
LMP (S) accepts the connection request function from SMP (S), thereby becomes the reception holding state.In addition, LMP (S) is from low layer (LAP (S)) when having accepted the connection notification function, from the data of function, extract the parameter of LMP (P) generation of transmitter out, formation is to its parameter of replying, and after the connection request function of the data gained that will add the parameter of having removed LMP (P) from the data of above-mentioned function sends to SMP (S), wait for and reply function from the connection of SMP (S).In addition, LMP (S) is when having accepted to reply function from the connection of SMP (S), additional above-mentioned parameter of replying in the data of the connection of the SMP (S) of LAP (S) being replied function, thus LAP (S) produced to connect replys function, and finish the negotiation of LMP layer.
Have again, usually be defined LSAP (Link Service AccessPoint) for logic port is managed.Thereby, carrying out one in mode one to one when connecting, do not need to use LMP.In this case, connectionless value among the LSAP is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (S) accepts the connection request function from LMP (S), thereby becomes the reception holding state.In addition, LAP (S) is when having accepted the SNRM order from physical layer, from the data of SNRM order, extract the parameter of LAP (P) generation of transmitter out, after the connection request function of the data gained that will add the parameter of having removed LAP (P) from the data of SNRM order sends to LMP (S), formation is to its parameter of replying, and wait is replied function from the connection of LMP (S).In addition, LAP (S) replys additional above-mentioned parameter of replying in the data of function in the connection of LMP (S) when having accepted to reply function from the connection of LMP (S), thereby to physical layer output UA response, and finish the negotiation of LAP layer.
[B] is without response
Figure 42 is the precedence diagram of the order of connection of expression present embodiment (without response).And the key diagram of the data structure of Figure 41 (a) communication data when being the order of connection of expression present embodiment (without response).
As shown in figure 42, in present embodiment (without response), transmitter, receiver all connect preparation.Then, when transmitter directly is transferred to low layer with the request of high level, send as a grouping (SNRM).Thereby transmitter was finished when connecting in the moment that has sent the SNRM grouping, from LAP (P) to high level give notice (Connect.confirm).On the other hand, receiver is accepted the SNRM grouping, carries out being directly connected to the notice of high-rise intention, finishes when connecting in the moment of having notified OBEX (S).
The transmitter of this moment, the order in the receiver are as described below.
Each communication layers of transmitter at first, is described.
When OBEX (P) arrives at the connection request that comes self-application, promptly low layer (SMP (P)) is joined the connection request order and produce connection request function (Primitive) in the data.In addition, OBEX (P) finishes when connecting when having accepted from SMP (P) to connect the affirmation function.
SMP (P) accepts the connection request function from OBEX (P), promptly in the data of the connection request function of OBEX (P), additional SMP (S) with receiver communicates required parameter, thereby low layer (LMP (P)) is produced the connection request function.In addition, SMP (P) can hold consultation with the parameter that is sent accepted to connect the moment of confirming function from LMP (P), finishes the negotiation of SMP layer.In addition, at this moment, SMP (P) sends to connect to OBEX (P) and confirms function.
LMP (P) accepts the connection request function from SMP (P), promptly in the data of the connection request function of SMP (P), additional LMP (S) with receiver communicates required parameter, and low layer (LAP (P)) is produced the connection request function.In addition, LMP (P) can hold consultation with the parameter that is sent accepted to connect the moment of confirming function from LAP (P), finishes the negotiation of LMP layer.In addition, at this moment, LMP (P) sends to connect to SMP (P) and confirms function.
Have again, usually be defined LSAP (Link Service AccessPoint) for logic port is managed.Thereby, carrying out one in mode one to one when connecting, do not need to use LMP.In this case, connectionless value among the LSAP is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (P) accepts the connection request function from LMP (P), promptly in the data of the connection request function of LMP (P), additional LAP (S) with receiver communicates required parameter, to the physical layer output SNRM order of receiver.In addition, LAP (P) can hold consultation with the parameter that is sent in the moment of having exported the SNRM order, finished the negotiation of 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) accepts the connection request function from application, becomes the reception holding state.In addition, OBEX (S), then ought connect and finish if no problem when having accepted connection notification function (Indication), confirming the OBEX bind command from low layer (SMP (S)) among these data.
SMP (S) accepts the connection request function from OBEX (S), becomes the reception holding state.In addition, SMP (S) is from low layer (SMP (S)) when having accepted the connection notification function, extracts the parameter that the SMP (P) of transmitter generates from the data of function out, uses this parameter and finishes negotiation.Then, SMP (S) the connection request function that will add the data gained of the parameter of having removed SMP (P) from the data of above-mentioned function sends to OBEX (S).
LMP (S) accepts the connection request function from SMP (S), becomes the reception holding state.In addition, LMP (S) is from low layer (LAP (S)) when having accepted the connection notification function, extracts the parameter that the LMP (P) of transmitter generates from the data of function out, uses this parameter and finishes negotiation.Then, LMP (S) the connection request function that will add the data gained of the parameter of having removed LMP (P) from the data of above-mentioned function sends to SMP (S).
Have again, usually be defined LSAP (Link Service AccessPoint) for logic port is managed.Thereby, carrying out one in mode one to one when connecting, do not need to use LMP.In this case, connectionless value among the LSAP is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (S) accepts the connection request function from LMP (S), becomes the reception holding state.In addition, LAP (S) is accepting SNRM when order from physical layer, extracts the parameter that the LAP (P) of transmitter generates from the data of SNRM order out, uses this parameter and finishes negotiation.Then, LAP (S) the connection request function that will add the data gained of the parameter of having removed LAP (P) from the data of above-mentioned function sends to LMP (S).
(3-2) exchanges data order
[A] has response
Figure 43 is the precedence diagram of the exchanges data order of expression present embodiment (response is arranged).And Figure 44 is the key diagram of data structure of communication data in exchanges data when order of expression present embodiment (response is arranged).
As shown in figure 43, present embodiment (response is arranged), transmitter produces the PUT order, and this order is transferred into low layer, and (Figure 37 (b)) is output as the UI frame.
On the other hand, receiver is accepted data, and high level is given notice.At this moment, at SMP (S), to the OBEX (S) of high level, notification data is (status=truncated) continuously.
Transmitter after the grouping that has sent certain fixed number, with confirm data whether the mark of complete arrival open (ON) and send.After receiving it, whether receiver has SMP (S) mistake, the number notifying transmitter of mistake will occur when mistake is arranged.
If be free from mistakes, the then next grouping of transmitter output, and if mistake is arranged, then transmitter is retransmitted the later grouping of grouping that mistake is arranged.
When becoming last data, transmitter is that the mark of last data is opened and sent with expression.To this, if being labeled as, this opens, then the SMP of receiver (S) gathers (status=OK) to OBEX (S) notification data, and waits for the response of OBEX (S).Then, when the response of OBEX (S) has occured, these data are sent to low layer, export as the UI frame.
If the response that receives is Success, then transmitter normal termination.
The transmitter of this moment, the order in the receiver are as described below.
At transmitter, order sends function as data to OBEX (P) to low layer output PUT.But, the response (returning under normal circumstances Continue) of the PUT order beyond OBEX (P) does not need PUT Final (last PUT) order and can send with SMP (P) time, export Next Command.During order beyond PUT Final order or PUT order, wait for the data notification function from low layer, observe 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.And the data notification function is to know the function (Data Indicate) that has received data from low layer.
At receiver, OBEX (S) accepts the data notification function from low layer, thus the data of acceptance.But OBEX (S) does not return response for the PUT order beyond the PUT Final order, in the situation of the order beyond PUT Final order or the PUT order, sends function and returns response as data.
Here, high level and the data transmission function of low layer and the head in the data notification function etc. that share in transmitter, the receiver are described.
SMP is when accepting data transmission function from OBEX, for LMP, when size that (a) can send with LMP sends data in the function big or small less than data, be the size that LMP can send with this Data Segmentation, when size that (b) can send with LMP sends size of data in the function greater than data, several data are carried out combination, the following larger data of size that formation can send.In addition, SMP forms the SMP head, this head be added into order number, to the independent variable of the last data of independent variable, the expression of the other side's equipment query data receiving state, expression the SMP of method, apparatus is needed whether normal independent variable of the independent variable of the response of OBEX, data that expression receives.Then, with added above-mentioned cut apart or the data of combination in the data of data gained after having added this SMP head send function and send to LMP.
And then SMP extracts the SMP head out the data in this function when accepting the data notification function from LMP, and confirms serial number whether normal (that is, whether sequentially arriving with omission not).Then, in normal situation, send the data notification function to OBEX.At this moment, the data notification function can be exported from the data notification function of low layer by each, output after also the data from the data notification function of several low layers can being merged.
It is to LMP that the SMP of transmitter (P) will send functional transformation from the data of OBEX (P)
(P) data send function, and the data that send certain data volume of fixing a number of defined send function.
Then, it is that True sends data transmission function that SMP (P) makes the independent variable to receiver data query accepting state, waits for the data notification function of LMP (P).
SMP (P) is to analyzing from the SMP head in the data notification function of LMP (S), in the data that receive of expression when normal independent variable is normally received, as the preparation that can send next data, become the state that can send OBEX (P).That is, under this state, can receive data from OBEX (P).
On the contrary, SMP (P) is analyzing the SMP head from the data notification function that receives of LMP (S), thereby in the data that receive of expression when normal independent variable is not normally received, send the function for the data that can not normally receive from notified, again produce data and send function, until make be True to the independent variable of the other side's equipment query data receiving state till.SMP (P) repeats again to produce data and sends function, until whole data send the notified receiver of data of function, perhaps repeats the again generation of certain stipulated number.
And, SMP (P) is that the independent variable of last data is that the data of True are when sending function having accepted from OBEX (P), the independent variable that makes this data of expression send the response of the independent variable that function is last data or the OBEX (S) that expression needs receiver is True, has been added into the data to LMP (P) that these data send the final data of function and sends function thereby send.
On the contrary, the SMP of receiver (S) is when having accepted the data notification function from LMP (S), needing the independent variable of response of the OBEX (S) of receiver in last data or expression is in the situation of True, send the data notification function to OBEX (S), this data notification function has added the data except the head of SMP (S).
In addition, SMP (S) is when having accepted the data notification function from LMP (S), and the data in this data notification function are analyzed the SMP head, and confirms serial number.If SMP (S) can normally receive before being the head of True accepting to the independent variable of receiver data query accepting state, then expression can normally receive for the data that receive of expression normal independent variable whether, thereby form the SMP head, and it is sent data transmission function as data to LMP (S).
On the other hand, detect can not normally receive the time at SMP (S), storage is predicted to be the number of the SMP head that can not normally receive.For example, receiving at 0,1,2,3,5 o'clock, the 5th should not receive in 4 the situation for 4, and being predicted to be the number that can not normally receive is 4.Then, after it, whether the independent variable to receiver data query accepting state that SMP (S) only investigates the SMP head is True, stops the output to the data notification function of OBEX (S).
SMP (S) is in the situation of data notification function of True having received to the independent variable of receiver data query accepting state, with the data independent variable whether normal independent variable can not normally receive as expression that represents to receive, the number of the SMP head that formation can not normally receive is inserted into the SMP head in the field of addition sequence number, sends function thereby it is sent data as data to LMP (S).
In addition, SMP (S) is in the situation of data notification function of True at the independent variable of the response of having accepted the independent variable that expression is last data or the OBEX (S) that expression needs receiver, after having exported the data notification function to OBEX (S), wait for the data sending request from OBEX (S).
SMP (S) is when the data sending request of having accepted from OBEX (S), the data SMP head whether normal independent variable can not normally receive that formation receives expression, it is attached in the data of data sending request of OBEX (S), sends function thereby LMP (S) is sent data.Have again, having in the situation of mistake, owing to stop notice to OBEX (S), be counted as being in when normal so wait to bide one's time.
Then, LMP when having accepted the data sending request function from high level, additional LMP head in the data in this function and form data, and LAP is sent the data sending request function that has added these data.In addition, LMP forms the data of having removed the LMP head the data in this function when having accepted the data notification function from LAP, and SMP is sent the data notification function that has added these data.
Have again, carrying out not needing to use LMP in the situation of a connection in mode one to one.In this case, in the LMP head, add the LSAP that connectionless value is arranged.
LAP is when having accepted the data sending request function from LMP, and the data in this function are added the LAP head and formed data, and physical layer is sent the UI frame that has added these data.In addition, LAP forms the data of having removed the LAP head from the data of this UI frame when having accepted the data receiver notice from physical layer, and LMP is sent the data notification function that has added these data.Have again, in present embodiment, in the LAP head, include link address and UI designator.
[B] is without response
Figure 45 is the precedence diagram of the exchanges data order of expression present embodiment (without response).And the key diagram of the data structure of the communication data of Figure 44 when being the exchanges data order of expression present embodiment (without response).
As shown in figure 45, in present embodiment (without response), transmitter produces the PUT order, and this order is transferred into low layer, is output as the UI frame.
On the other hand, receiver is accepted data, and high level is given notice.At this moment, at SMP (S), to the OBEX (S) of high level, notification data is (status=truncated) continuously.
When becoming last data, transmitter is that the mark of last data is opened and sent with expression.To this, if being labeled as, this opens, then the SMP of receiver (S) gathers (status=OK) to OBEX (S) notification data, thus the end data exchange sequence.
The transmitter of this moment, the order in the receiver are as described below.
At transmitter, order sends function as data to OBEX (P) to low layer output PUT.But OBEX (P) does not need just can the finish command to the response of all orders.Then, OBEX (P) exports Next Command in the situation that can be sent by SMP (P).
At receiver, OBEX (S) accepts the data notification function from low layer, and all orders are not returned response and only accepted data.
Here, high level and the data transmission function of low layer and the head in the data notification function etc. that share in transmitter, the receiver are described.
SMP is when accepting data transmission function from OBEX, for LMP, when size that (a) can send with LMP sends data in the function big or small less than data, be the size that LMP can send with this Data Segmentation, when size that (b) can send with LMP sends size of data in the function greater than data, several data are carried out combination, the following larger data of size that formation can send.In addition, SMP forms the SMP head, this head be added into order number, to the independent variable of the last data of independent variable, the expression of the other side's equipment query data receiving state, expression the SMP of method, apparatus is needed whether normal independent variable of the independent variable of the response of OBEX, data that expression receives.Then, with added above-mentioned cut apart or the data of combination in the data of data gained after having added this SMP head send function and send to LMP.
And then SMP extracts the SMP head out the data in this function when accepting the data notification function from LMP, and confirms serial number whether normal (that is, whether sequentially arriving with omission not).Then, in normal situation, send the data notification function to OBEX.At this moment, the data notification function can be exported from the data notification function of low layer by each, output after also the data from the data notification function of several low layers can being merged.
The SMP of transmitter (P) will be the data transmission function to LMP (P) from the data transmission functional transformation of OBEX (P).Then, be that the data of False send in the situation of function accepted independent variable as final data from OBEX (P), the data that will add the SMP head in these data send to LMP (P).On the contrary, SMP (P) is that the data of Ture send in the situation of function accepted independent variable as final data from OBEX (P), the independent variable that makes this data of expression send the response of the independent variable that function is last data or the OBEX (S) that expression needs receiver is True, thereby the data that send LMP (P) send function, and these data send the final data that function has added this data transmission function.
On the other hand, the SMP of receiver (S) is when having accepted the data notification function from low layer, and the data in this data notification function are analyzed the SMP head, the number of affirmation order.Then, SMP (S) analyzes the SMP head, thereby can confirm in the situation that can normally receive, and LMP (S) is sent data send function.
On the contrary, SMP (S) is detecting can not normally receive the time, and OBEX (S) notice has been produced mistake.For example, receiving at 0,1,2,3,5 o'clock, being the 5th should not receive 4 situation for 4.
Then, SMP (S) waits for that the independent variable of the response of the independent variable of the last data that represent the SMP head or the OBEX (S) that expression needs receiver is True, OBEX (S) is not carried out data notification, until data notification function (having again, even accept also not notify OBEX (S)) or the acceptance accepted as True disconnect till notification function or certain certain hour of process.
Then, the LMP of transmitter (P) when having accepted the data sending request function from SMP (S), additional LMP head in the data in this function and form data, and send the data sending request function that has added these data to LAP (P).
On the other hand, the LMP of receiver (S) is accepting from LAP (S) in the situation of data notification function, forms the data of having removed the LMP head the data in this function, and sends the data notification function that has added these data to SMP (S).
Have again, carrying out not needing to use LMP in the situation of a connection in mode one to one.In this case, in the LMP head, add the LSAP that connectionless value is arranged.
The LAP of transmitter (P) when having accepted the data sending request function from LMP (P), additional LAP head in the data in this function and form data, and send the UI frame that has added these data to physical layer.
On the other hand, the LAP of receiver (S) forms the data of having removed the LAP head from the data of UI frame, and LMP (S) is sent the data notification function that has added these data in the situation of having accepted the data receiver notice from physical layer.Have again, in present embodiment, in the LAP head, comprise link address and UI designator.
(3-3) disconnection order
[A] has response
Figure 46 is the precedence diagram of the disconnection order of expression present embodiment (response is arranged).And the key diagram of the data structure of Figure 47 (a), Figure 47 (b) communication data when being the disconnection order of expression present embodiment (response is arranged).
As shown in figure 46, present embodiment (response is arranged), when the ON-and OFF-command of transmitter is sent to low layer, produce the DISC order.Receiver is accepted this DISC order and notice when high-rise, returns its response, produces the UA response.Then, notify to the rear end of the high level of transmitter receiving the UA response.
Order in transmitter at this moment, the receiver is following like that.
Each communication layers of transmitter at first, is described.
When OBEX (P) arrives in the disconnection request that comes self-application, promptly will disconnect request command to low layer (SMP (P)) and join generation disconnection request function (Primitive) in the data.In addition, OBEX (P) confirms the response that OBEX disconnects among these data in the situation of having accepted disconnection confirmation number from SMP (P), if the response of no problem (Success) then is used as to disconnect and is finished.
SMP (P) accepts the disconnection request function from OBEX (P), promptly additional SMP (S) with receiver communicates required parameter in the data of the disconnection request function of OBEX (P), thereby produces the disconnection request function for low layer (LMP (P)).In addition, SMP (P) extracts the parameter of SMP (S) generation of receiver out from the data of function in the situation of having accepted disconnection confirmation number from LMP (P), confirm its value, then finishes the disconnection process with SMP (S).In addition, SMP (S) will from data that disconnect to confirm function, remove SMP (S) the data of parameter as confirming that for the disconnection of OBEX (P) function sends.But, the parameter of usually when disconnecting, newly not appended by SMP (P).
LMP (P) accepts the disconnection request function from SMP (P), promptly additional LMP (S) with receiver communicates required parameter in the data of the disconnection request function of SMP (P), thereby produces the disconnection request function for low layer (LAP (P)).In addition, LMP (P) extracts the parameter of LMP (S) generation of receiver out from the data of function in the situation of having accepted disconnection confirmation number from LAP (P), confirm its value, then finishes the disconnection process with LMP (S).In addition, LMP (P) will from data that disconnect to confirm function, remove LMP (S) the data of parameter as confirming function for the disconnection of SMP (P) and sending.But, the parameter of usually when disconnecting, newly not appended by LMP (P).
LAP (P) accepts the disconnection request function from LMP (P), promptly additional LAP (S) with receiver communicates required parameter in the data of the disconnection request function of LMP (P), thereby output is for the DISC order of the physical layer of receiver.In addition, LAP (P) extracts the parameter of LAP (S) generation of receiver out from the data of UA response in the situation of having accepted the UA response from the physical layer of receiver, confirm its value, then finishes the processing that is connected with LAP (S).In addition, LAP (P) will from the data of UA response, remove LAP (S) the data of parameter as confirming function for the disconnection of LMP (P) and sending.But, the parameter of usually when disconnecting, newly not appended by LAP (P).
Each communication layers of receiver then, is described.
OBEX (S) is accepting to resolve to open in the situation of knowing function (Indication) from low layer (SMP (S)), among these data, confirm the OBEX ON-and OFF-command, if no problem, then the response of Success is replied function (Response) as disconnection and output to SMP (S), and be used as to disconnect and finish.
SMP (S) is accepting to resolve to open in the situation of knowing function from low layer (SMP (S)), from the data of function, extract the parameter of SMP (P) generation of transmitter out, formation is for the parameter of replying of this parameter, and after the disconnection request function of the data gained that has added the parameter of having removed SMP (P) from the data of above-mentioned function sends to OBEX (S), wait for and reply function from the disconnection of OBEX (S).In addition, SMP (S) replys in the situation of function from the disconnection of OBEX (S) having accepted, additional above-mentioned parameter of replying in the data of replying function for the disconnection of the OBEX (S) of LMP (S), thereby produce and reply function for the disconnection of LMP (S), and finish the disconnection process of SMP layer.But, the parameter of usually when disconnecting, newly not appended by SMP (S).
LMP (S) is accepting to resolve to open in the situation of knowing function from low layer (LAP (S)), from the data of function, extract the parameter of LMP (P) generation of transmitter out, formation is for the parameter of replying of this parameter, and after the disconnection request function of the data gained that has added the parameter of having removed LMP (P) from the data of above-mentioned function sends to SMP (S), wait for and reply function from the disconnection of SMP (S).In addition, LMP (S) replys in the situation of function from the disconnection of SMP (S) having accepted, additional above-mentioned parameter of replying in the data of replying function for the disconnection of the SMP (S) of LAP (S), thereby produce and reply function for the disconnection of LAP (S), and finish the disconnection process of LMP layer.But, the parameter of usually when disconnecting, newly not appended by LMP (S).
LAP (S) is in the situation of having accepted the DISC order from physical layer, from the data of DISC order, extract the parameter of LAP (P) generation of transmitter out, after the disconnection request function of the data gained that has added the parameter of having removed LAP (P) from the data of DISC order sends to LMP (S), formation is for its parameter of replying, and wait is replied function from the disconnection of LMP (S).In addition, LAP (S) replys in the situation of function from the disconnection of LMP (S) having accepted, reply additional above-mentioned parameter of replying in the data of function in the disconnection of LMP (S), thereby produce the UA response for physical layer, and finish the disconnection process of LAP layer.But, the parameter of usually when disconnecting, newly not appended by LAP (S).
[B] is without response
Figure 48 is the precedence diagram of the disconnection order of expression present embodiment (without response).And the key diagram of the data structure of Figure 47 (a) communication data when being the disconnection order of expression present embodiment (without response).
As shown in figure 48, in present embodiment (without response), when the ON-and OFF-command of transmitter is sent to low layer, produce the DISC order.Transmitter finishes disconnection process constantly at this.On the other hand, receiver is accepted this DISC order and when sending it to high level, just finishes disconnection process in the moment of notice till the high level.
Order in transmitter at this moment, the receiver is following like that.
Each communication layers of transmitter at first, is described.
OBEX (P) promptly will join for the disconnection request command of low layer (SMP (P)) to produce in the data to disconnect and ask function (Primitive) in the situation that the disconnection request that comes self-application arrives.In addition, OBEX (P) is used as to disconnect and finishes when having accepted the disconnection confirmation from SMP (P) and count.
SMP (P) accepts the disconnection request function from OBEX (P), promptly additional SMP (S) with receiver communicates required parameter in the data of the disconnection request function of OBEX (P), produces the disconnection request function for low layer (LMP (P)).In addition, SMP (P) as being disconnected by the parameter that sends, finishes the disconnection process of SMP layer in the moment of having accepted to disconnect the confirmation number from LMP (P).In addition, SMP (P) sends for the disconnection of OBEX (P) and confirms function.But, the parameter of usually when disconnecting, newly not appended by SMP (P).
LMP (P) accepts the disconnection request function from SMP (P), promptly additional LMP (S) with receiver communicates required parameter in the data of the disconnection request function of SMP (P), thereby produces the disconnection request function for low layer (LAP (P)).In addition, LMP (P) as being disconnected by the parameter that sends, finishes the disconnection process of LMP layer in the moment of having accepted to disconnect the confirmation number from LAP (P).In addition, LMP (P) sends for the disconnection of SMP (P) and confirms function.But, the parameter of usually when disconnecting, newly not appended by LMP (P).
LAP (P) accepts the disconnection request function from LMP (P), promptly additional LAP (S) with receiver communicates required parameter in the data of the disconnection request function of LMP (P), thereby output is for the DISC order of the physical layer of receiver.In addition, LAP (P) as being disconnected by the parameter that sends, finishes the disconnection process of LAP layer in the moment of having exported the DISC order.In addition, LAP (P) sends for the disconnection of LMP (P) and confirms function.But, the parameter of usually when disconnecting, newly not appended by LAP (P).
Each communication layers of receiver then, is described.
OBEX (S) is accepting to resolve to open in the situation of knowing function (Indication) from low layer (SMP (S)), confirms the OBEX ON-and OFF-command among these data, if no problem, then be used as to disconnect and finish.
SMP (S) opens in the situation of knowing function accepting to resolve from low layer (SMP (S)), extracts the parameter that the SMP (P) of transmitter generates from the data of function out, uses this parameter and finishes disconnection.In addition, SMP (S) the disconnection request function that will add the data gained of the parameter of having removed SMP (P) from the data of above-mentioned function sends to OBEX (S).But, the parameter of usually when disconnecting, newly not appended by SMP (S).
LMP (S) opens in the situation of knowing function accepting to resolve from low layer (LAP (S)), extracts the parameter that the LMP (P) of transmitter generates from the data of function out, uses this parameter and finishes disconnection.In addition, LMP (S) the disconnection request function that will add the data gained of the parameter of having removed LMP (P) from the data of above-mentioned function sends to SMP (S).But, the parameter of usually when disconnecting, newly not appended by LMP (S).
LAP (S) extracts the parameter that the LAP (P) of transmitter generates out from the data of DISC order in the situation of having accepted the DISC order from physical layer, use this parameter and finish disconnection.In addition, LAP (S) the disconnection request function that will add the data gained of the parameter of having removed LAP (P) from the data of DISC order sends to LMP (S).But, the parameter of usually when disconnecting, newly not appended by LAP (S).
(4) have or not the switching of response
With reference to Figure 49~Figure 56, flowing of data between the communication layers of transmitter and receiver and parameter is described.
In present embodiment, transmitter is connected each communication layers LAP, LMP, SMP, OBEX and is had the connection request function, connects notification function, connects and reply function, connect and confirm function with receiver.These functions are the functions that the LAP layer conducted interviews for from high-rise (that is, LMP layer).
And above-mentioned function can specify Data (below, be designated as data) and Requested-Qos or Returned-Qos as independent variable.As described above, above-mentioned data are set in each communication layers.
On the other hand, appointment and the negotiation result notice of the consultation parameter of the baud rate that Qos will be determined by LAP etc. are high-rise, and high level has comprised OBEX.Have again, even Qos IrDA in the past also is used.
For example, when the application of transmitter or OBEX (P) sent the Qos added the parameter that needs/do not need respond, it was in turn transmitted to low layer until LAP (P).Then, LAP (P) is reflected the value of this Qos value as consultation parameter (Ack Less Connect), is sent to receiver.
Its result, each communication layers of transmitter and receiver is moved according to the appointment of the application of transmitter or the needs of OBEX (P)/do not need to respond, and can carry out twocouese/unidirectional connection.
Data between the communication layers when Figure 49~Figure 53 is the order of connection (Figure 40) of expression present embodiment (response is arranged) and the key diagram that flows of parameter.Have, the parameter of the QoS between OBEX-SMP, between SMP-LMP, between LMP-LAP can be identical again, also can be different.Therefore, in the drawings, attached Li Jia-a ,-b ,-c distinguishes.
At transmitter, as shown in figure 49, by con.req (data) (Figure 40), the Data that will send receiver and the data of QoS-1 (QoS of transmitter request) are transferred to low layer from high level.
On the other hand, at receiver, as shown in figure 50, by con.req, only the data with Qos-2 (QoS of receiver request) are transferred to respectively low layer from high level.
Then, at receiver, accepted moment of SNRM order at LAP (S), the relatively QoS-1 of transmitter and the QoS-2 of the machine form QoS-3 as the parameter of common connection.Then, shown in Figure 51, LAP (S) notifies high level with QoS-3 with the data from transmitter by con.ind (data).Each high-rise this QoS-3 of storage, the connection parameter during as connection is preserved.
Then, at receiver, when notice con.resp (data), do not need QoS.Therefore, shown in Figure 52, only data are transferred to low layer from high level in con.resp (data).Then, when LAP (S) accepts con.resp (data), in the UA response, add QoS-3, then send the UA response.
Then, at transmitter, LAP (P) accepts the UA response and QoS-3 is stored as the parameter that connects.Then, shown in Figure 53, LAP (P) notifies high level with QoS-3 with the data of receiver by con.conf (data).Each communication layers is preserved this QoS-3 as being established the connection parameter that connects.
In present embodiment, for example, as the QoS of con.req, use Requested-QoS:Baud-Rate+Max-Turn-Around-Time+Disconnect+ DataSize+Ack lessconnection+Min-Packet-Interval.And as Con.ind, the QoS of con.conf uses Resultant-QoS:Baud-Rate+Disconnect-Threshold+DataSize+Ac k less connection (indication primitive only).
In addition, when the order of connection (Figure 42) of present embodiment (without response), the data between communication layers and parameter mobile following such.
At transmitter, as shown in figure 49, by con.req (data) (Figure 42), the Data that will send receiver and the data of QoS-1 (QoS of transmitter request) are transferred to low layer from high level.
Then, the LAP of transmitter (P) directly stores QoS-1 as QoS-3.Then, shown in Figure 53, LAP (P) is high-rise with the QoS-3 notice by con.conf.Each communication layers is preserved this QoS-3 as the connection parameter of the connection of having established.
On the other hand, at receiver, as shown in figure 50, by con.req, only the data with Qos-2 (QoS of receiver request) are transferred to respectively low layer from high level.
Then, at receiver, in the moment that LAP (S) has accepted the SNRM order, according to the QoS-1 of transmitter, set QoS-3.Have again, in the situation of the combination of the parameter that does not satisfy QoS-2 and QoS-1, can not receive.
Then, shown in Figure 51, LAP (S) notifies high level with QoS-3 with the data from transmitter by con.ind (data).Each high-rise this QoS-3 of storage, the connection parameter during as connection is preserved.
Thus, by using above-mentioned QoS-1 and QoS-2 are carried out high level (application) operation, can switch with/without response.
Here, as the switching benchmark with/without response, the file format of the file that consideration sends, application, user's selection etc.
Specifically, during take file format as benchmark, for example, in the situation of multimedia associated with, should select with/without response two sides, being the file of phone directory, mail, timetable etc. and will confirming in the received situation of data, also can automatically select response.In addition, when being applied as benchmark, in the situation that lantern slide shows, also can automatically select without response.In addition, in the situation based on user's selection, for example, the user from showing, the menu with/without response is selected.
The key diagram of the data between the communication layers when Figure 54~Figure 56 is the order of connection of expression present embodiment and the variation that flows of parameter.
In transmitter, in initial SNRM order, contain in the situation of information of all communication layers (Figure 40), also can constitute and not be that one side relaying in each communication layers transmits (Figure 49) on one side with data and parameter, but shown in Figure 54, data and parameter directly are transferred to the LAP layer from each communication layers.
On the contrary, shown in Figure 55, in receiver, also can constitute the data and the parameter that comprise in the SNRM order are all taken out, directly be transferred to as each communication layers that mails to the destination from the LAP layer.
In addition, shown in Figure 56, in transmitter, in the data and parameter set of LMP (P) with OBEX (P), SMP (P), LMP (P), and then by LAP (P) after above-mentioned concentrate data and parameter in append LAP (P) parameter, thereby generate the SNRM order.
Each communication steps of putting down in writing in the above-mentioned execution mode of the present invention (communication means, agreement) can realize in software, can be by the program of computer execution, also can be with the recording medium of such procedure stores in embodied on computer readable.As above-mentioned recording medium, can enumerate CD, DVD, memory, hard disk etc.
In order to solve above-mentioned problem, wireless communication machine as transmitter-receiver of the present invention, using infrared ray to send in the wireless communication machine of transmission data of the capacity with regulation, also can have sending controling unit, this sending controling unit does not send the station search command (XID) for search communication counterpart station, but but and uses the SNRM order communication counterpart station to be sent the connection parameter of the maximum transfer rate, maximum receive data length etc. of our station.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, using infrared receiver to have in the wireless communication machine of transmission data of capacity of regulation, also can have reception control unit, this reception control unit is in the situation of SNRM order in the first order that is received by transmitter, but but respond to send the connection parameter of the maximum transfer rate, maximum receive data length etc. of our station with UA, but but described SNRM order makes wireless communication machine know the parameter of the maximum transfer rate of transmitter, maximum receive data length etc.
In above-mentioned wireless communication machine, also can have setup unit, remote station address (the Destination Device Address) field that this setup unit is ordered SNRM is set in the non-of regulation and utilizes in the code (0xFFFFFFFF).
In above-mentioned wireless communication machine, has recognition unit, whether remote station address (the Destination Device Address) field to the SNRM of described reception order is that the non-code (0xFFFFFFFF) that utilizes is identified, described reception control unit also can be only is in the non-situation of utilizing code (0xFFFFFFFF) in remote station address (Destination DeviceAddress) field, sends immediately described UA response.
At above-mentioned wireless communication machine, be provided with the zone that in SNRM order, adds from the user data of high level, described sending controling unit also can send together with described connection parameter with from the user data of high level.At above-mentioned wireless communication machine, before the user data from described high level, also can configure user data identifier and User Data Length.
At above-mentioned wireless communication machine, in the user data from described high level, also can comprise the CONNECT order of OBEX.
At above-mentioned wireless communication machine, be provided with the zone that in UA response, adds from the user data of high level, described reception control unit also can send together with described connection parameter with from the user data of high level.At above-mentioned wireless communication machine, before the user data from described high level, also can configure user data identifier and User Data Length.
In above-mentioned wireless communication machine, in the user data from described high level, also can comprise the SUCCESS response of OBEX.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can have sending controling unit, this sending controling unit is provided with the zone that adds from the user data of high level especially in the DISC order, also send from high-rise user data.At above-mentioned wireless communication machine, before the user data from described high level, also can configure user data identifier and User Data Length.
At above-mentioned wireless communication machine, particularly in the user data from described high level, also can comprise the DISCONNECT order of OBEX.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can be after having sent the SNRM order, in the UA response that receives, do not comprise in the situation from the user data of high level, as connection failure, do not transfer to data transfer state.At above-mentioned wireless communication machine, particularly the user data from described high level also can be the SUCCESS response of OBEX.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can have sending controling unit, this sending controling unit is in the situation that has received the DISC order, be provided with especially the zone that in the UA response, adds from the user data of high level, also send from high-rise user data.At above-mentioned wireless communication machine, special in the user data from described high level, also can comprise the SUCCESS response of OBEX.At above-mentioned wireless communication machine, before the user data from above-mentioned high level, also can configure user data identifier and User Data Length.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can be after having sent the DISC order, in the UA response that receives, do not comprise in the situation from the user data of high level, as connection failure, process.At above-mentioned wireless communication machine, particularly the user data from described high level also can be the SUCCESS response of OBEX.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can have sending controling unit, this sending controling unit is in the situation that has received the SNRM order, be provided with especially the zone that in the DM response, adds from the user data of high level, also send from high-rise user data.At above-mentioned wireless communication machine, special in the user data from described high level, also can comprise the Internal Server Error response of OBEX.At above-mentioned wireless communication machine, before the user data from above-mentioned high level, also can configure user data identifier and User Data Length.
In above-mentioned wireless communication machine, preferably the exchanged form once to divide into groups makes from low layer to high-rise connection or disconnection and finishes.
At above-mentioned wireless communication machine, described sending controling unit also can be after sending described SNRM order, in situation about not receiving through predetermined certain hour from the UA response of remote station, sends the XID order.
In above-mentioned wireless communication machine, for described XID order, also can in the situation that receives the XID response, after sending the XID-END order, send the SNRM order based on IrDA, and the connection of transferring to IrDA is processed.
At above-mentioned wireless communication machine, can after sending described XID order, not receive from remote station through predetermined certain hour in the situation of XID response yet, after sending the XID-END order, wait for predetermined time after, again send described SNRM order.
In above-mentioned wireless communication machine, can be in the situation of XID order in the 1st order that receives also, the fact storage of XID order will be received, again receive in the situation of the XID order that is not the XID-END order not receiving the SNRM order, send the XID response according to predetermined rule among the IrDA.
At above-mentioned wireless communication machine, can be in the situation of XID order in the 1st order that receives also, will receive the fact storage of XID order, and when under our station does not send the state of XID response, receiving the SNRM order, send described UA response.
In above-mentioned wireless communication machine, also can be when the 1st order that receives be ordered for XID, value to the Discovery flag zone in the XID order is confirmed, and be in the situation of expression 6,8,16 any one value at the XID time slot, send the XID response according to predetermined rule among the IrDA.
At above-mentioned wireless communication machine, also can additionally in the SNRM order especially be used for representing that communication direction is one direction or the mark of twocouese, it is sent with described connection parameter.
In above-mentioned wireless communication machine, can be after unidirectional SNRM orders sending the flag settings that will represent communication direction also, do not wait for that beginning data from replying of receiving station transmits.
At above-mentioned wireless communication machine, also can be in SNRM order the additional mark that is used for the expression communication direction, and when receiving communication direction and be set to unidirectional order, do not return that UA responds and the receive status of transferring to packet.
Have the mobile phone that sends and receives function of the present invention, also can be with the data configuration of described high level in SNRM order or UA response, and connect, disconnection process.In addition, also the mark of the communication of control one direction, twocouese communication can be configured in the SNRM order, send or receive, in the situation of one direction communication, in the situation of transmitter, after SNRM sends, wait-for-response and carry out data and transmit not, in the situation of receiver, after SNRM receives, do not send response and receive data.
Have the display unit that sends and receives function of the present invention, also can be with the data configuration of described high level in SNRM order or UA response, and connect, disconnection process.In addition, also the mark of the communication of control one direction, twocouese communication can be configured in the SNRM order, send or receive, in the situation of one direction communication, in the situation of transmitter, after SNRM sends, wait-for-response and carry out data and transmit not, in the situation of receiver, after SNRM receives, do not send response and receive data.
Have the printing equipment that sends and receives function of the present invention, also can be with the data configuration of described high level in SNRM order or UA response, and connect, disconnection process.In addition, also the mark of the communication of control one direction, twocouese communication can be configured in the SNRM order, send or receive, in the situation of one direction communication, in the situation of transmitter, after SNRM sends, wait-for-response and carry out data and transmit not, in the situation of receiver, after SNRM receives, do not send response and receive data.
Have the tape deck that sends and receives function of the present invention, also can be with the data configuration of described high level in SNRM order or UA response, and connect, disconnection process.In addition, also the mark of the communication of control one direction, twocouese communication can be configured in the SNRM order, send or receive, in the situation of one direction communication, in the situation of transmitter, after SNRM sends, wait-for-response and carry out data and transmit not, in the situation of receiver, after SNRM receives, do not send response and receive data.
Secondly, each piece, particularly LAP layer 100A~100D of transmitter (communication equipment) 1,3, receiver (communication equipment) 2 can pass through hardware logic (telecommunication circuit) formation, uses CPU and realizes by software also can be following like that.
That is, transmitter 1,3, receiver 2 comprise: the CPU (central processing unit) that carries out the order of the control program that is used for each function of realization; Stored the ROM (read onlymemory) of said procedure; Launch the RAM (random access memory) of said procedure; The storage device (recording medium) of storage said procedure and various data storage devices etc. etc.And, by with computer-readable recording as transmitter 1,3, the control program (signal procedure) of receiver 2 and the recording medium of program code (execute form program, intermediate code program, source program) of the software of realizing above-mentioned functions, supply with above-mentioned transmitter 1,3, receiver 2, the program code that records is read and carried out to this computer (or CPU or MPU) in recording medium, also can realize purpose of the present invention.
As above-mentioned recording medium, disks such as the tape class that can use tape or cartridge tape etc., soft (registered trade mark) dish/hard disk or comprise the card class such as dish class, IC-card (comprising memory card)/light-card of the CD of CD-ROM/MO/MD/DVD/CD-R etc. or the semiconductor memory class of mask rom/EPROM/EEPROM/ flash rom etc. etc.
In addition, also can form the structure that transmitter 1,3, receiver 2 can be connected with communication network, and pass through communication network and supply with the said procedure code.As this communication network, be not particularly limited, for example, can utilize internet, in-house network, extranets, LAN, ISDN, VAN, CATV communication network, Virtual Private Network (virtual private network), telephone wire road network, mobile radio communication, satellite communication network etc.In addition, as the transmission medium that consists of communication network, be not particularly limited, for example, can utilize IEEE1394, USB, power line transmission, catv line, telephone wire, adsl line etc. wired, also can utilize the such infrared ray of IrDA or remote controller, Bluetooth (registered trade mark), 802.11 wireless, HDR, mobile telephone network, satellite circuit, earthwave digital network etc. wireless.In addition, the present invention also can be by realizing the said procedure code in the mode that electric transmission was specific, was embedded in the computer data signal in the carrier wave.
As described above, communication equipment of the present invention, as the main website that communicates with the pair station, it is characterized in that, it comprises: the 1st agreement control unit, when the communication connection of carrying out with the pair station, do not send for the station search command of confirming that secondary station exists, connect processing and send the 1st connection request order.
In addition, communication equipment of the present invention, as the pair station that communicates with main website, it is characterized in that, it comprises: the 1st agreement control unit, do not receive the station search command that main website is used for confirming the existence of secondary station, and when receiving the 1st connection request order from main website, send the connection response corresponding with the 1st connection request order and connect processing.
In addition, communication means of the present invention, be used for as and the communication equipment of the main website that communicates of pair station, it is characterized in that, when the communication connection of carrying out with the pair station, do not send for the station search command of confirming that secondary station exists, connect processing and send the 1st connection request order.
In addition, communication means of the present invention, be used for the communication equipment as the pair station that communicates with main website, it is characterized in that, do not receiving main website for the station search command of confirming that secondary station exists, and when receiving the 1st connection request order from main website, send the connection response corresponding with the 1st connection request order and connect processing.
In addition, communication system of the present invention is characterised in that, comprising: as the communication equipment of above-mentioned main website with as above-mentioned secondary communication equipment of standing.
According to said structure and method, in main website, when carrying out the communication connection with the pair station, do not send for confirming the station search command (XID that for example is equivalent to IrDA) that secondary station exists and send connection request order (SNRM that for example is equivalent to IrSimple).On the other hand, at the pair station, do not receive the station search command (being equivalent to above-mentioned XID) that main website is used for confirming the existence of secondary station, and receiving the connection request order from main website when (being equivalent to above-mentioned SNRM), send the connection response (UA that for example be equivalent to IrSimple) corresponding with this connection request order.
Therefore, according to the above-mentioned order of connection, do not need to carry out the communication relevant with the station search.Thereby the order during connection is simplified, so can shorten the upper required time of communication connection.
And communication equipment of the present invention is characterised in that it comprises: the 2nd agreement control unit, when the communication connection of carrying out with the pair station, sent be used for confirming station search command that secondary station exists after, send the 2nd connection request order and connect processing; And protocol switching unit, after described the 1st agreement control unit has sent described the 1st connection request order, during predetermined time, when not receiving the connection response corresponding with the 1st connection request order from the pair station, make described the 2nd agreement control unit send described station search command.
In addition, communication equipment of the present invention is characterised in that it comprises: the 2nd agreement control unit, and after the described station search command from main website had been sent the station search response, the connection response that sends the 2nd connection request order connected processing; And protocol switching unit, do not receiving described the 1st connection request order from main website, and be set to 1 described station search command receiving plural whole timeslot number, or when receiving whole timeslot numbers and being set to described station search command beyond 1, make described the 2nd agreement control unit send described station search response.
According to said structure, in main website, after the 1st agreement control unit (for example IrSimple) has sent the 1st connection request order (SNRM that for example is equivalent to IrSimple), through predetermined time durations, do not receive in the situation of the connection response corresponding with the 1st connection request order (UA that for example is equivalent to IrSimple) from the pair station, the protocol switching unit switches to the 2nd agreement control unit (for example IrDA), from the 2nd agreement control unit dispatching station search command (XID that for example is equivalent to IrDA).On the other hand, at the pair station, do not receive the 1st connection request order (SNRM that for example is equivalent to IrSimple) from main website, and when receiving plural whole timeslot number and be set to 1 above-mentioned station search command (XID that for example is equivalent to IrDA), or when receiving whole timeslot numbers and being set to station search command (XID that for example is equivalent to IrDA) beyond 1, the protocol switching unit switches to the 2nd agreement control unit (for example IrDA), from the 2nd agreement control unit dispatching station search response (XID that for example is equivalent to IrDA).
Here, the 1st agreement is not carry out the exchange of the search command-search response of standing of standing, and only establishes the agreement of connection by the exchange of connection request order-connection response.On the other hand, the 2nd agreement is after the exchange of the station search command-search response of standing, and with connection request order-connection response exchange, thereby establishes the agreement that connects.
Therefore, according to the above-mentioned order of connection, connecting by the 1st agreement in the failed situation of generation, can attempt connecting by the 2nd agreement.Thus, in any one corresponding situation of main website and secondary station and the 1st agreement and the 2nd agreement (also can be corresponding with both), exchange by connection request order-connection response, the search command of the standing-search response of standing, namely do not notify clearly employed agreement on connecting, also can between main website and secondary station, select the agreement that to set up, thereby connect.
Therefore,, can connect with the short time by the 1st agreement all in the situation corresponding with the 1st agreement at main website and secondary station, not being in such situation, also can connect by the 2nd agreement simultaneously.
And, communication equipment of the present invention is characterised in that, described protocol switching unit is after described the 2nd agreement control unit has sent described station search command, during predetermined time, do not receiving from the pair station in the situation of the station search response corresponding with this station search command, making described the 1st agreement control unit send described the 1st connection request order.
In addition, communication equipment of the present invention is characterised in that, described protocol switching unit is after receiving whole timeslot numbers and being set to 1 described station search command, when receiving described the 1st connection request order, make described the 1st agreement control unit send the described connection response corresponding with the 1st connection request order.
According to said structure, in main website, after the 2nd agreement control unit (for example IrDA) has sent station search command (XID that for example is equivalent to IrDA), through predetermined time durations, do not receive in the situation of the station search response (XID that for example is equivalent to IrDA) corresponding with this station search command from the pair station, the protocol switching unit switches to the 1st agreement control unit (for example IrSimple), sends the 1st connection request order (SNRM that for example is equivalent to IrSimple) from the 1st agreement control unit.On the other hand, at the pair station, after receiving whole time slots and being set to 1 station search command (XID that for example is equivalent to IrDA), when receiving above-mentioned the 1st connection request order (SNRM that for example is equivalent to IrSimple), send the connection response (UA that for example be equivalent to IrSimple) corresponding with the 1st connection request order from the 1st agreement control unit (for example IrSimple).
Therefore, according to the above-mentioned order of connection, connecting by the 2nd agreement in the failed situation of generation, can attempt connecting by the 1st agreement.Thus, in any one corresponding situation of main website and secondary station and the 1st agreement and the 2nd agreement (also can be corresponding with both), exchange by connection request order-connection response, the search command of the standing-search response of standing, namely do not notify clearly employed agreement on connecting, also can between main website and secondary station, select the agreement that to set up, thereby connect.
Therefore,, can connect with the short time by the 1st agreement all in the situation corresponding with the 1st agreement at main website and secondary station, not being in such situation, also can connect by the 2nd agreement simultaneously.
And communication equipment of the present invention is characterised in that, described the 1st agreement control unit has set the arbitrarily information of the secondary intention of standing designated in the field at the pair station of specifying described the 1st connection request order.
In addition, communication equipment of the present invention is characterised in that, described the 1st agreement control unit only has been set with designated in the field at the pair station of specifying described the 1st connection request order arbitrarily during the information of secondary station intention, just sends described connection response.
According to said structure, in main website, in the field at the pair station of specifying the 1st connection request order, has set the arbitrarily information of secondary intention of standing designated.For example, be that making Destination Device Address is 0xFFFFFFFF in the situation of SNRM of IrSimple in the 1st connection request order.Have, at IrDA, the 0xFFFFFFFF of Destination Device Address is the non-code that utilizes again.On the other hand, at the pair station, in the field at the pair station of specifying the 1st connection request order, only being set with designated arbitrarily in the situation of the information of the intention at secondary station, just send the connection response.
Therefore, the setting of the field at the pair station by specifying the connection request order is the identifier (address) at specific secondary station, or the designated arbitrarily information of the intention at secondary station, it is the 1st connection request order that the order that receives can be differentiated in secondary station, or which of the 2nd connection request order.
Therefore, need to not the connection request order of the 1st agreement or the connection request order of the 2nd agreement and new field is set in order to represent the connection request order.Therefore, can make the form of the 2nd connection request order of the form of the 1st connection request order of the 1st agreement and the 2nd agreement identical.
And, communication equipment of the present invention is characterised in that, described the 1st agreement control unit is after having sent described the 1st connection request order, through after predetermined time, the beginning data transmit, and the information of one direction intention has been set in described the 1st connection request order designated in the field of the communication direction of specifying described the 1st connection request order.
In addition, communication equipment of the present invention, as the pair station that communicates with main website, it is characterized in that, comprise: the 1st agreement control unit, do not receiving main website for the station search command of confirming that secondary station exists, and when receiving the 1st connection request order from main website, in the 1st connection request order, specify when being set with in the field of communication direction the information of one direction intention designated, do not send the connection response corresponding with the 1st connection request order and connect processing, transfer to and to carry out the state that data transmit.
According to said structure, in main website, after the 1st agreement control unit (for example IrSimple) has sent the 1st connection request order (SNRM that for example is equivalent to IrSimple), through after the predetermined time, the beginning data transmit, and the information of unidirectional intention has been set in described the 1st connection request order designated in the field of designated communication direction.On the other hand, at the pair station, when receiving the 1st connection request order from main website, in the 1st connection request order, be set with in the situation of the information of designated unidirectional intention in the field of designated communication direction, do not send the connection response corresponding with the 1st connection request order, can transmit data mode and transfer to.
Thus, response is not returned to main website in secondary station, can carry out the one direction communication to the pair station from main website.
Have again, above-mentioned communication equipment also can pass through computer realization, in this case, by computer is moved as each unit of above-mentioned communication equipment, but thereby make the above-mentioned communication equipment of computer realization communication equipment signal procedure and recorded the recording medium that the computer of this program reads, also be included into category of the present invention.
In addition, above-mentioned communication equipment also can be realized by the telecommunication circuit that has as above-mentioned each Elementary Function.
In addition, the suitable mobile phone that communicates by this communication equipment of above-mentioned communication equipment.
In addition, the suitable display unit that shows based on the data of this communication equipment reception of above-mentioned communication equipment.
In addition, the suitable printing equipment that prints based on the data of this communication equipment reception of above-mentioned communication equipment.
In addition, the suitable tape deck that records based on the data of this communication equipment reception of above-mentioned communication equipment.
At last, communication equipment of the present invention also can followingly consist of.
(1. the SNRM of main website sends)
Using infrared ray to send and receive in the communication means of the transmission of data of the capacity with regulation, communication means of the present invention [1] is, in off-state, do not send the XID order as the station search grouping that is used for confirming that remote station exists, and the SNRM that sends as the connection request grouping orders, and is connected processing with remote station.
(2. the SNRM transmission+XID of main website sends)
Using infrared ray to send and receive in the communication means of the transmission of data of the capacity with regulation, communication means of the present invention [2] is, in off-state, after having sent connection request grouping SNRM order, at predetermined time durations, be judged as in the situation that does not have response, send the XID order as station search grouping, the search of standing is processed.
(the Destination Device Address of 3.SNRM is global address)
Communication means of the present invention in above-mentioned communication means [1] or [2], particularly also can be set as 0xFFFFFFFF (global address) with the Destination Device Address field of described SNRM order.
(4. in SNRM, disposing high level data)
Communication means of the present invention [4], in above-mentioned communication means [1] or [2], particularly also can be with the connection request data configuration of high level in described SNRM order, and send.
(CONNECT that 5. in the high level data of SNRM, adds OBEX)
Communication means of the present invention in above-mentioned communication means [4], particularly also can comprise the CONNECT order of OBEX layer at least in the connection request data of described high level.
(the XID order after 6. couple SNRM sends is just carried out the IrDA connection after having returned the XID response)
Communication means of the present invention, in above-mentioned communication means [2], particularly also can for described XID order, beam back in the situation of XID response, after having sent XID-End, transfer to the order of connection under the existing IrDA, and for described XID order, do not receiving during the certain hour in the situation of response, after having sent XID-End, again send described SNRM order, connect processing.
(high level data of 7.SNRM is PI, PL, PV form)
Communication means of the present invention, in above-mentioned communication means [4], also can be before the connection request data of described high level, be configured the identifier of being scheduled to according to the form of the identifier of the connection parameter of existing IrDA and the length of described connection request data.
(8. using the UA corresponding with SNRM to finish connection)
Communication means of the present invention [8], in above-mentioned communication means [1] or [2], particularly also can be after sending described SNRM order, predetermined certain hour with the interior situation that receives the UA response under, finish to connect and process, the line number of going forward side by side is reportedly given.
(9. only in UA, have in the situation of high level data and finish connection)
Communication means of the present invention [9] in above-mentioned communication means [8], also can especially only comprise in the situation of high-rise data in described UA response, finishes to connect and processes, and the line number of going forward side by side is reportedly sent.
(10. only in the high level data of UA, have in the situation of SUCCESS of OBEX and finish connection)
Communication means of the present invention in above-mentioned communication means [9], particularly also can comprise the SUCCESS response of OBEX layer in the data of described high level.
(configuration is used for setting the mark of one direction, twocouese communication among the 11.SNRM)
Communication means of the present invention [11], in above-mentioned communication means [1] or [2], particularly also can in the SNRM order, be provided with the field for configuration communication direction control mark, this communication direction control mark represents one direction communication or twocouese communication, when described communication direction control mark represents one direction communication, behind predetermined certain hour, the beginning data transmit.
(12. communication direction control marks are PI, PL, PV form)
Communication means of the present invention, in above-mentioned communication means [11], also can be before the field of the described communication direction control mark of configuration, the length of configuration field, be used for the form according to the identifier of the connection parameter that has IrDA, identifier and described communication direction control mark that configuration is predetermined.
(13. do not receive XID at receiving terminal orders and transmission UA response after having received SNRM)
Communication means of the present invention [13], use infrared ray, the transmission data that will have specified volume send and receive, also can be in off-state, when not receiving the SNRM order that receives as the XID order of station search grouping as the connection request grouping, send as the UA response that connects acknowledgment packet.
(14. receiving terminals are ignored first after receiving 1 time slot XID order)
Communication means of the present invention [14], use infrared ray, the transmission data that will have specified volume send and receive, also can be in off-state, when receiving the XID order of dividing into groups as the station search, the field Discovery Flag of the full timeslot number that comprises in the described XID order of expression shows in the situation of full timeslot number 1 that the 1st reception XID order for counting from off-state does not send the XID response.
(15. receiving terminals receive when 1 time slot XID orders more than two, send the XID response)
Communication means of the present invention, in above-mentioned communication means [14], particularly can from off-state, not receive the SNRM order yet, and when the XID order that receives two the above full timeslot numbers 1, after having sent the XID response, and behind the XID-End that receives from remote station, finish the station search of existing IrDA and process.
(16. when receiving the XID order that is not 1 time slot, sends the XID response and carry out the IrDA connection)
Communication means of the present invention, in above-mentioned communication means [14], particularly also can be when to receive full timeslot number be XID order beyond 1, after having sent the XID response, and after the XID-End order that has received from remote station, finish the station search of existing IrDA and process.
(17. receive an XID after, return UA after receiving SNRM)
Communication means of the present invention [17] in above-mentioned communication means [14], particularly also can in the situation that receives the SNRM order, send the UA response, and carry out the junction reason after the XID order that receives a described full timeslot number 1.
(18)
Communication means of the present invention, in above-mentioned communication means [13] or [17], the Destination Device Address field that particularly also can only order at described SNRM is in the situation of 0xFFFFFFFF, sends the UA response, and carries out the junction reason.
(19)
Communication means of the present invention [19] in above-mentioned communication means [13] or [17], particularly also can be configured in the connection reply data of high level in the described UA response, and send.
(20)
Communication means of the present invention in above-mentioned communication means [19], particularly also can comprise the SUCCESS response of OBEX layer at least among the connection reply data of described high level.
(21)
Communication means of the present invention, in above-mentioned communication means [19], particularly also can be before the connection reply data of described high level, the identifier that configuration is scheduled to according to the identifier form of the connection parameter of existing IrDA be connected the length of connection reply data.
(22)
Communication means of the present invention [22] in above-mentioned communication means [13] or [17], particularly also can only comprise in the situation of high-rise data in described SNRM order, sends the UA response.
(23)
Communication means of the present invention, in above-mentioned communication means [22], the data that particularly also can make described high level are the CONNECT order of OBEX layer.
(24. DM for the 1st SNRM send)
Communication means of the present invention [24] uses infrared ray, and the transmission data that will have the capacity of regulation send, also can be in off-state, when the 1st grouping that receives from off-state is the SNRM order, sends for the DM response that shows that refusal connects, and carry out disconnection process.
(25. DM for the SNRM behind the reception 1 time slot XID send)
Communication means of the present invention [25], in above-mentioned communication means [14], particularly also can be in off-state, after the XID order that receives a described full timeslot number 1, and in the situation that receives the SNRM order, send for the DM response that shows that refusal connects, and carry out disconnection process.
(26. dispose high level data in rejection DM)
Communication means of the present invention [26] in above-mentioned communication means [24] or [25], particularly also can be configured in the refusal connection data of high level in the described DM response, and it is sent.
(high level data of 27. rejection DM is Internal Sever Error)
Communication means of the present invention in above-mentioned communication means [26], particularly also can comprise the Internal Server Error response of OBEX layer at least in the refusal connection data of described high level.
(high level data that 28. refusals connect DM is PI, PL, PV form)
Communication means of the present invention, in above-mentioned communication means [26], particularly also can be before the refusal connection data of described high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA and the length of described refusal connection data.
(the communication direction control mark in the 29.SNRM show do not return UA in unidirectional situation)
Communication means of the present invention [29], use infrared ray, the transmission data that will have the capacity of regulation send and receive, also can be in off-state, when receiving the SNRM order of dividing into groups as connection request, in the SNRM order, be that one direction communication or the communication direction control mark of twocouese communication dispose by predetermined form with the display communication direction, when described communication direction control mark shows one direction communication, do not send UA and respond and transfer to and to carry out data transfer state.
(30. only the communication direction control mark in SNRM show one direction and have in the situation of high level data transfer to data transfer state)
Communication means of the present invention in above-mentioned communication means [29], in the time of particularly also can only disposing high-rise data in described SNRM order, is transferred to and can be carried out data transfer state.
(31. only the communication direction control mark in SNRM show one direction and have in the situation of high level data (CONNECT of OBEX) transfer to data transfer state)
Communication means of the present invention in above-mentioned communication means [29], particularly also can in the data of described high level, comprise the CONNECT order of OBEX layer at least.
(32. dispose high level data in DISC)
Communication means of the present invention [32] uses infrared ray, and the transmission data that will have the capacity of regulation send and receive, also can establish in the state that connects, when carrying out disconnection process, in as the DISC order that disconnects request, dispose high-rise disconnection request msg, and it is sent.
(33. add the DISCONNECT of OBEX in the high level data in DISC)
Communication means of the present invention in above-mentioned communication means [32], particularly also can comprise the DISCONNECT order of OBEX layer at least among the disconnection request msg of described high level.
(high level data is PI, PL, PV form in the 34.DISC),
Communication means of the present invention, in above-mentioned communication means [32], particularly also can be before the disconnection request msg of described high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA and the length of described disconnection request msg.
(35. dispose high level data when the UA for DISC sends)
Communication means of the present invention [35] uses infrared ray, and the transmission data that will have the capacity of regulation send and receive, also can be in having established the state that connects, receiving DISC when order, when sending the UA response, the disconnection reply data of high level is being configured in the UA response.
(36)
Communication means of the present invention in above-mentioned communication means [35], particularly also can comprise the SUCCESS response of OBEX layer at least in the data of described high level.
(37)
Communication means of the present invention, in above-mentioned communication means [35], particularly also can be before the disconnection request msg of described high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA and the length of described disconnection request msg.
(configuration high level data when 38. DM after connection is finished send)
Communication means of the present invention [38] uses infrared ray, and the transmission data that will have the capacity of regulation send and receive, also can be in having established the state that connects, when the disconnection request that has from high level, when sending the DM response, the disconnection request msg of high level is configured in the DM response.
(the Internal Sever Error of configuration OBEX when the DM after 39. connections are finished sends)
Communication means of the present invention in above-mentioned communication means [38], particularly also can comprise the Internal Sever Error response of OBEX layer at least in the data of described high level.
(40)
Communication means of the present invention, in above-mentioned communication means [38], particularly also can be before the disconnection request msg of described high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA and the length of described disconnection request msg.
(41. transtation mission circuits, receiving circuit, transmitter/receiver circuit)
Transtation mission circuit of the present invention, receiving circuit, transmitter/receiver circuit can be realized above-mentioned any one communication means.
(42. mobile phone)
Mobile phone of the present invention can be realized above-mentioned any one communication means.
(43. display unit)
Display unit of the present invention can realize above-mentioned any one communication means.
(44. printing equipment)
Printing equipment of the present invention can be realized above-mentioned any one communication means.
(45. tape deck)
Tape deck of the present invention can be realized above-mentioned any one communication means.
In addition, communication means of the present invention, using infrared ray, to have in the communication means that the transmission data of the capacity of regulation send, also can not send the station search command (XID) at station for the search communication counterpart, but but and the parameter of the maximum transfer rate of our station, maximum receive data length etc. be sent to the communication counterpart station with the SNRM order.
In addition, communication means of the present invention, using infrared ray, to have in the communication means that the transmission data of the capacity of regulation send, but but can be when making the other side know the isoparametric SNRM order of maximum transfer rate, maximum receive data length of transmitter in the first order that is received by transmitter also, but but the parameter of the maximum transfer rate of our station, maximum receive data length etc. be sent with the UA response.
And communication means of the present invention also can be set as 0xFFFFFFFF with the Destination DeviceAddress field of SNRM order.
And, communication means of the present invention, the Destination Device Address field that also can only order at the SNRM of described reception is in the situation of 0xFFFFFFFF, directly sends described UA response.
And communication means of the present invention also can be provided for adding the zone from the user data of high level in the SNRM order, also will send with described connection parameter from the user data of high level.
And communication means of the present invention also can in the user data from described high level, comprise the CONNECT order of OBEX.
And communication means of the present invention also can be provided for adding the zone from the user data of high level in the UA response, also will send with described connection parameter from the user data of high level.
And communication means of the present invention also can in the user data from described high level, comprise the SUCCESS response of OBEX.
In addition, communication means of the present invention is using infrared ray, and the transmission data that will have the capacity of regulation send in the communication means of receiver, particularly also can in the DISC order, be provided for adding the zone from the user data of high level, also send from high-rise user data.
And communication means of the present invention also can in the user data from described high level, comprise the DISCONNECT order of OBEX.
And communication means of the present invention also can in packet switching once, be finished from low layer to high-rise connection or disconnection.
And communication means of the present invention also can be after sending described SNRM order, when predetermined certain hour does not receive UA response from remote station, sends the XID order.
And communication means of the present invention also can when receiving the XID response, after sending the XID-END order, send the SNRM order based on IrDA for described XID order, and the connection of transferring to IrDA is processed.
And, communication means of the present invention, after sending described XID order, when predetermined certain hour does not receive XID response from remote station, after sending the XID-END order, wait for predetermined time after, again send the SNRM order.
And communication means of the present invention also can be when the 1st order that receives be ordered for XID, storing received is to the fact of XID order, do not receive SNRM order, and when again receiving the XID order that is not the XID-END order, sending the XID response according to rule predetermined among the IrDA.
And communication means of the present invention also can be when the 1st order that receives be the XID order, and storing received does not send at our station under the state of XID response to the fact of XID order, when receiving the SNRM order, sends described UA response.
And communication means of the present invention is when the 1st order that receives is the XID order, value to the Discovery flag zone in the XID order is confirmed, and be in the situation of expression 6,8,16 any one value at the XID time slot, according to rule predetermined among the IrDA, send the XID response.
And, communication means of the present invention, particularly also can add for the display communication direction in the SNRM order be one direction or the mark of twocouese, and sends with described connection parameter.
And communication means of the present invention also can be after sending flag settings with the display communication direction and being unidirectional SNRM order, do not wait for from the replying of receiving station, and just begins data and transmit.
And, communication means of the present invention, also can be in SNRM order the additional mark that is used for the display communication direction, and when receiving communication direction and be set to unidirectional order, do not return UA and respond, and transfer to the accepting state of packet.
In addition, transmitter/receiver circuit of the present invention is provided with each circuit element that can realize above-mentioned communication means.
In addition, transmitter-receiver of the present invention is provided with each circuit structure that can realize above-mentioned communication means.
The embodiment that in the detailed description of the invention item, forms or embodiment, be used to making technology contents of the present invention clear eventually, should not only limit to such concrete example and explained by narrow sense ground, in the scope of spirit of the present invention and claim, can carry out various changes and implement.
The industrial possibility of utilizing
Owing to can shorten the connect hours, so the present invention is widely applicable for communication equipment, be particularly suitable for having the communication equipment of free-space optical communication function, for example, the portable radio communication equipment such as notebook PC, PDA, mobile phone, digital camera.

Claims (12)

1. communication equipment, the main website as communicating with the pair station is characterized in that this communication equipment comprises:
The 1st agreement control unit when the communication connection of carrying out with the pair station, does not send and sends the 1st connection request order for confirming the station search command that secondary station exists and connect processing;
The 2nd agreement control unit, when the communication connection of carrying out with the pair station, sent be used for confirming station search command that secondary station exists after, send the 2nd connection request order and connect processing; And
The protocol switching unit, after described the 1st agreement control unit has sent described the 1st connection request order, during predetermined time, when not receiving the connection response corresponding with the 1st connection request order from the pair station, make described the 2nd agreement control unit send described station search command.
2. communication equipment as claimed in claim 1, it is characterized in that, described protocol switching unit is after described the 2nd agreement control unit has sent described station search command, during predetermined time, when not receiving corresponding with this station search command station search response from the pair station, make described the 1st agreement control unit send described the 1st connection request order.
3. communication equipment, the pair station as communicating with main website is characterized in that this communication equipment comprises:
The 1st agreement control unit does not receive the station search command that main website is used for confirming the existence of secondary station, and when receiving the 1st connection request order from main website, sends the connection response corresponding with the 1st connection request order and connect processing;
The 2nd agreement control unit after the station search command for the existence of confirming described secondary station from main website has been sent the station search response, sends the connection response to the 2nd connection request order and connects processing; And
The protocol switching unit, do not receiving described the 1st connection request order from main website, and be set to 1 described station search command receiving plural whole timeslot number, or when receiving whole timeslot numbers and being set to described station search command beyond 1, make described the 2nd agreement control unit send described station search response.
4. communication equipment as claimed in claim 3, it is characterized in that, described protocol switching unit is after receiving whole timeslot numbers and being set to 1 described station search command, when receiving described the 1st connection request order, make described the 1st agreement control unit send the described connection response corresponding with the 1st connection request order.
5. one kind is used for the communication means as the communication equipment of main website that communicates with the pair station, it is characterized in that described communication equipment has the 1st agreement control unit, the 2nd agreement control unit and protocol switching unit, and described method comprises:
Described the 1st agreement control unit does not send and sends the 1st connection request order for confirming the station search command that secondary station exists and connect processing when the communication connection of carrying out with the pair station; The protocol switching unit is after described the 1st agreement control unit has sent described the 1st connection request order, during predetermined time, when not receiving the connection response corresponding with the 1st connection request order from the pair station, make described the 2nd agreement control unit dispatching station search command; The 2nd agreement control unit when the communication connection of carrying out with the pair station, send be used for confirming described station search command that secondary station exists after, send the 2nd connection request order and connect processing.
6. a communication means that is used for the communication equipment at the secondary station of conduct that communicates with main website is characterized in that described communication equipment has the 1st agreement control unit, the 2nd agreement control unit and protocol switching unit, and the method comprises:
Described the 1st agreement control unit does not receive the station search command that main website is used for confirming the existence of secondary station, and when receiving the 1st connection request order from described main website, sends the connection response corresponding with the 1st connection request order and connect processing;
The protocol switching unit is not receiving described the 1st connection request order from described main website, and be set to 1 described station search command receiving plural whole timeslot number, or when receiving whole timeslot numbers and being set to described station search command beyond 1, make described the 2nd agreement control unit dispatching station search response;
Described the 2nd agreement control unit sends the connection response to the 2nd connection request order and connects processing after having sent described station search response.
7. a communication system is characterized in that, comprising: claim 1 and 3 described communication equipments.
8. a telecommunication circuit is characterized in that, makes any one described communication equipment action of claim 1 to 4, has the function of described each unit.
9. a mobile phone is characterized in that, loads any one described communication equipment of claim 1 to 4, communicates by this communication equipment.
10. a display unit is characterized in that, loads any one described communication equipment of claim 1 to 4, shows based on the data that received by this communication equipment.
11. a printing equipment is characterized in that, loads any one described communication equipment of claim 1 to 4, prints based on the data that received by this communication equipment.
12. a tape deck is characterized in that, loads any one described communication equipment of claim 1 to 4, the data that record is received by this communication equipment.
CN2006800031465A 2005-01-28 2006-01-25 Communication device, communication system, communication method, communication program, and communication circuit Active CN101107834B (en)

Applications Claiming Priority (17)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN2008100954777A Division CN101262480B (en) 2005-01-28 2006-01-25 Communication device, communication method and mobile telephone

Publications (2)

Publication Number Publication Date
CN101107834A CN101107834A (en) 2008-01-16
CN101107834B true CN101107834B (en) 2013-02-27

Family

ID=38704652

Family Applications (5)

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

Family Applications After (4)

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
CN2006800033174A Active CN101112068B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, mobile telephone, display device and printing device
CN2006800033193A Active CN101112069B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, and communication circuit

Country Status (1)

Country Link
CN (5) CN101107834B (en)

Families Citing this family (4)

* 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
WO2016136256A1 (en) * 2015-02-27 2016-09-01 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Signal generation method, signal generation device and program
CN110636016B (en) * 2019-08-08 2023-09-29 西安万像电子科技有限公司 Data transmission method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5585952A (en) * 1994-07-26 1996-12-17 Sharp Kabushiki Kaisha Communication apparatus automatically selecting one of two operation modes
US6211797B1 (en) * 1997-07-29 2001-04-03 Sharp Kabushiki Kaisha Infrared communication control apparatus and method
US6336142B1 (en) * 1997-06-02 2002-01-01 International Business Machines Corporation Methods and apparatus for downloading data between an information processing device and an external device via a wireless communications technique
US6519644B1 (en) * 1998-12-01 2003-02-11 Telefonaktiebolaget Lm Ericsson (Publ) System and method for dial-up networking over infrared data link

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6011796A (en) * 1997-06-17 2000-01-04 Qualcomm Incorporated Extended range sequence numbering for selective repeat data transmission protocol
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5585952A (en) * 1994-07-26 1996-12-17 Sharp Kabushiki Kaisha Communication apparatus automatically selecting one of two operation modes
US6336142B1 (en) * 1997-06-02 2002-01-01 International Business Machines Corporation Methods and apparatus for downloading data between an information processing device and an external device via a wireless communications technique
US6211797B1 (en) * 1997-07-29 2001-04-03 Sharp Kabushiki Kaisha Infrared communication control apparatus 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2003-258880A 2003.09.12

Also Published As

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

Similar Documents

Publication Publication Date Title
KR100902341B1 (en) Communication device, communication system, communication method, computer-readable recording media having communication program recorded therein, and communication circuit
CN102958190B (en) Radio communication device
JP4091095B2 (en) Transmitter, receiver, communication system, communication method, communication program
CN101640581B (en) Wireless device, matching method thereof and method for removing matching
JP4094657B2 (en) Communication device, communication system, communication method, communication program, communication circuit
CN101523937B (en) Communication apparatus, communication method, communication circuit, mobile phone, program, and computer readable recording medium with program recorded therein
US20080189422A1 (en) Communication Device, Communication System, Communication Method, Communication Program, and Communication Circuit
US7787391B2 (en) Communication device, communication system, communication method, communication program, and communication circuit
JPH07336370A (en) Communication controller and communication controlling method
CN104322037A (en) Buffer transfer service
WO2006095787A1 (en) Relay device
CN101107834B (en) Communication device, communication system, communication method, communication program, and communication circuit
CN109005532A (en) A kind of Bluetooth connecting method, bluetooth master and Bluetooth slave devices
CN101179304A (en) Wireless communication system and wireless communication apparatus
CN100380884C (en) Wireless access point apparatus, wireless LAN system, wireless communicating method
CN106603559B (en) A kind of method of wireless communication terminal data transmission anti-intercepting and capturing
CN105163306B (en) Communication device and its control method
JP4948113B2 (en) Transmitter, receiver, communication system, communication method, communication program
CN103746887A (en) Method for activating locomotive access network
CN1910888B (en) Transmitter, receiver, communication system and communication method
JP4430054B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, RECORDING MEDIUM
KR102107427B1 (en) Method for exchanging information using near field communication, computer readable medium for performing the method
CN103141138B (en) Use communication means and the communication equipment of multi radio
JP4137992B2 (en) Communication device, communication system, communication method, communication program, communication circuit, mobile phone, display device, printing device, recording device
CN117440533A (en) Method and device for connecting Wi-Fi module to cloud and intelligent device

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