[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101262480B - Communication device, communication method and mobile telephone - Google Patents

Communication device, communication method and mobile telephone Download PDF

Info

Publication number
CN101262480B
CN101262480B CN2008100954777A CN200810095477A CN101262480B CN 101262480 B CN101262480 B CN 101262480B CN 2008100954777 A CN2008100954777 A CN 2008100954777A CN 200810095477 A CN200810095477 A CN 200810095477A CN 101262480 B CN101262480 B CN 101262480B
Authority
CN
China
Prior art keywords
data
order
response
communication
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
CN2008100954777A
Other languages
Chinese (zh)
Other versions
CN101262480A (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
Publication of CN101262480A publication Critical patent/CN101262480A/en
Application granted granted Critical
Publication of CN101262480B publication Critical patent/CN101262480B/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

An communication apparatus (1) according to the invention comprises the following components: a first protocol control unit (111) which transmits a first connection request command and not transmits a station searching command which is used for confirming the existence of the auxiliary station; a second protocol control unit (112) which transmits a second connection request command when a station searching command for confirming the existence of the auxiliary station is transmitted and the response corresponding with the station searching command is received from the auxiliary station; and a protocol switching unit (113) which leads to that the first protocol control unit (111) transmits the first connection request command when no response according to the station searching command is received in the prescribed time after the transmitting of the station searching command.

Description

Communication equipment, communication means and mobile phone
This present invention relates to recording medium, telecommunication circuit and the mobile phone of communication equipment that the transmission of the transmission that is used to carry out data receives, communication means, signal procedure, embodied on computer readable.
Technical field
The present invention relates to be used to carry out recording medium, telecommunication circuit and the mobile phone of communication equipment that the transmission of the transmission of data receives, communication means, signal procedure, embodied on computer readable.
Background technology
In recent years, additional cameras function on mobile phone, thereby the view data of shot by camera is sent to equipment such as television set, printer, and this equipment to carry out the application that image shows predetermined process such as processings universal.
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 between communication equipment, having shelter, 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 Very Fast IR (VFIR), the Fast IR (FIR) of 4Mbps, the communication speed of 16Mbps is the SIR below the 115.2kbps that maximum transfer rate is arranged, and is the 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 the station of transmission to 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 in the distance that can communicate by letter, to search for whether there is the order that can become secondary station from main website.The SlotNumber of number is illustrated in and sends which order in the expression bracket.
Accepted the pair station of XID order and beamed back XID response, made main website know the processing that our station exists as the station search response.Main website sends the XID order of the number of regulation, and the SlotNumber of last XID order is made as 255.SlotNumber255 representes that it is last order (XID-END).
Then, but main website uses the SNRM order to make secondary station know that maximum transfer rate, the maximum of our station can receive upward necessary parameter of communication such as 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 it is discuss in more detail, then following such.That is, in the IrDA standard, can from 1,6,8,16, select 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 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 SlotNumber 255 send XID-END order at last, and be the pair station of the advisory of last grouping as remote station with it.Then, after sending last grouping, the time through about 500 milliseconds, repeat to send once more 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 after receiving the 1st grouping, to beam back the XID response, still after receiving the 8th grouping, beams back the XID response.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 carried out with the transfer rate of 9600bps according to SIR by the decision of IrDA standard again.This transfer rate with after the 4Mbps of transfer rate of the Frame stated compare very slow.Therefore, it is long to receive the required time in the transmission that this XID orders and XID responds.Through above step, the station search step between main website and the secondary station finishes.
After the station search step finishes, but main website uses the SNRM order to make secondary station know that maximum transfer rate, the maximum of our station can receive required parameter in the communication of data length etc.The pair station of having accepted this order uses the UA response to make main website know that but the maximum transfer rate of our station, maximum can receive required parameter in the communication of data length etc.; But can transmit data length etc. thereby set up, the connection status of the IrLAP between main website and the secondary station by decision maximum transfer rate, maximum.
After connection,, carry out the connection of IrLMP, Tiny TP, OBEX through the packet of IrLAP based on the IrLAP of the command packet of above-mentioned IrLAP.
The connection request of the IrLMP of main website is sent to secondary station through the packet of IrLAP, and the IrLMP at secondary station connects the packet of replying through 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 through the packet of IrLAP, and the Tiny TP at secondary station connects the packet of replying through 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 through the packet of IrLAP; The OBEX at secondary station connects the packet of replying through 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 breaking off; 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 through 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 secondary the station is disconnected.
In addition, in IrDA, decision is that unit communicates with the frame.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 to generate receiving terminal employed receive clock in receiving circuit.In addition, in FCS, comprise the error detection code that is used for error detection occurs.
In frame, S (Supervisory) frame that I (Information) frame that the information that is useful on transmits, the supervision that is used to communicate by letter are controlled and U (Unnumbered) frame of connection that is used to communicate by letter and disconnection.The packets of information that is used for discerning these I, S, U frame is contained in above-mentioned control field.
Usually, because the situation that the data that are transmitted can not use 1 frame to send is in the majority, 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, be used for the consecutive number that data are lost check through having, and realizes the high communication of reliability.The UI frame has the data that will transmit in the I field, be not used for the consecutive number that data are lost check but do not have.The S frame is the structure that is not used in the data field of preserving 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, the foundation or the disconnection of data link.
[non-patent literature 1] Infrared Data Association Serial Infrared Link AccessProtocol (IrLAP) Versionl.1 (June 16,1996)
[non-patent literature 2] Infrared Data Association Serial Infrared Physical LayerSpecification Versionl.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 stated, 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,, need control the station in the zone in order to prevent the luminous phenomenon that hinders communication because of unexpected station.But, ultrared good directionality, in addition, in fact carrying out under the situation of infrared communication is One-to-one communication mostly, so also need 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, shown in figure 15 before transfer information data, after the connection of having accomplished IrLAP, IrLMP, Tiny TP, OBEX are carried out the packet exchange of IrLAP successively, need each layer sequentially be connected.When breaking off, break off with the order of OBEX, Tiny TP, IrLMP, IrLAP similarly.
Because of above reason, transmitting the method for using of data with infrared ray to another station information terminal from a certain station information terminal, because the time till time of carrying out this data transmission and disconnection, so transmission efficiency as a whole descends.
In addition, from the method for using of portable terminal, when in transmission, having produced mistake, can easily differentiate through the user sometimes and send failure the image display device transmitted image.For example, sometimes the demonstration of receiving terminal image display device and user send different, show sometimes not to be updated.
The user carries out transmit operation, if until judging that this transmission is that the success or the time of failure are short, even the reliable communication that then is free from mistakes, the user sends through operating once more again sometimes, also can not produce big burden.In such device, the reception that can carry out data is just passable, can save transtation mission circuit and device.
But, also beam back response owing in IrDA, stipulated receiver, so need transtation mission circuit and device be arranged in all receivers to order.
Summary of the invention
The objective of the invention is, recording medium, telecommunication circuit and the mobile phone of communication equipment that the agreement that can between main website and secondary station, select to establish connects, communication means, signal procedure, embodied on computer readable is provided.
In order to achieve the above object; Communication equipment of the present invention, as the main website that communicates with the pair station, this communication equipment comprises: the 1st agreement control unit; It is according to the order of connection of IrSimple, sends the order of the 1st connection request and does not send and be used to the station search command of confirming that secondary station exists; The 2nd agreement control unit, it is according to the order of connection of IrDA, sent be used to confirm station search command that secondary station exists after, when receiving the response for this station search command from the pair station, send the order of the 2nd connection request; And the agreement switch unit, after having sent said station search command in the preset time, when not receiving the response for said station search command, make said the 1st agreement control unit send said the 1st connection request order.
In addition; Communication equipment of the present invention, as the main website that communicates with the pair station, this communication equipment comprises: the 1st agreement control unit; It is according to the order of connection of IrSimple, sends the order of the 1st connection request and does not send and be used to the station search command of confirming that secondary station exists; The 2nd agreement control unit, it is according to the order of connection of IrDA, sent be used to confirm station search command that secondary station exists after, when receiving the response for this station search command from the pair station, send the order of the 2nd connection request; And agreement switch unit; After having sent said station search command in the preset time; When not receiving the response for said station search command, make said the 1st agreement control unit send said the 1st connection request order, before said the 1st connection request order, send said station search command; When receiving the response for this station search command, send the order of the 2nd connection request.
In addition; Communication means of the present invention is used for the communication equipment of the main website that conduct and pair station communicate, and this communication means comprises: the 2nd agreement controlled step; The order of connection according to IrDA; Sent be used to confirm station search command that secondary station exists after, when receiving the response for this station search command from the pair station, send the order of the 2nd connection request; The 1st agreement controlled step according to the order of connection of IrSimple, is sent the order of the 1st connection request and is not sent and be used to the station search command of confirming that secondary station exists; And the agreement switch step, after having sent said station search command in the preset time, when not receiving the response for said station search command, utilize said the 1st agreement controlled step to send said the 1st connection request order.
In addition; Said communication equipment also can pass through computer realization; At this moment, through making computer also belong to category of the present invention by the signal procedure of the communication equipment of the said communication equipment of computer realization and the recording medium that write down the embodied on computer readable of this program as each unit action of said communication equipment.
In addition, said communication equipment also can be realized through the telecommunication circuit that has as the function of said each unit.
In addition, said communication equipment also is applicable to the mobile phone that communicates through this communication equipment.
Other purposes of the present invention, feature and advantage are through the record shown in following and fully aware of.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 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 the 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 representes 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 be above-mentioned transmitter with receiver in the SNRM order that continues, XID order and the beginning IrDA signal sequence diagram when being connected.
Figure 10 is the SNRM order of continuing, XID order in the above-mentioned transmitter and signal sequence diagram when sending the SNRM order once more.
Figure 11 is the continuous reception XID order in above-mentioned transmitter and the receiver, the signal sequence diagram when going forward side by side the IrDA connection that works normal.
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 in the SNRM of IrDA order, has added the order of communication direction in the above-mentioned transmitter of expression.
Figure 14 is the signal sequence diagram of the step of the IrLAP that is connected IrDA in expression above-mentioned transmitter and the receiver.
Figure 15 is the signal sequence diagram of the Connection Step till the data of carrying out IrDA transmit in above-mentioned transmitter of expression and the receiver.
Figure 16 is the block diagram of the frame structure of the above-mentioned IrDA of expression.
Figure 17 be above-mentioned transmitter with receiver in folk prescription to the signal sequence diagram of the Connection Step that is connected.
Figure 18 is the signal sequence diagram that has also comprised in the order in above-mentioned transmitter and the receiver under 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 the function of IrSimple (twocouese communication) and IrDA simultaneously.
Figure 25 be only have IrSimple (also comprise folk prescription to send, folk prescription is to receiving function) the functional-block diagram of LAP layer of communication equipment of function.
Figure 26 only has the functional-block diagram of IrSimple folk prescription to the LAP of the communication equipment of sending function layer.
Figure 27 only has the functional-block diagram of IrSimple folk prescription to the LAP of the communication equipment of receiving function layer.
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 the corresponding situation of 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 is as the mobile phone of transmitter with all be in the IrSimple folk prescription as the display unit of the TV of receiver etc. and under the situation of correspondence, carry out.
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 when display unit as TV of receiver etc. is connected, carry out carrying out under the situation of the mobile phone of communication of the IrSimple twocouese display unit of communicating by letter downward with carrying out the IrSimple folk prescription.
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 when display unit as TV of receiver etc. is connected, 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 when display unit as TV of receiver etc. is connected, carry out carrying out under the situation of the mobile phone of the communication under the IrDA in the past display unit of communicating by letter downward with carrying out the IrSimple folk prescription.
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 Figure 35 (c) is the packet format that is used to connect 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 function (order, message) of each interlayer when Figure 40 is the order of connection of expression embodiment of the present invention and the precedence diagram of the stream of grouping.
The key diagram of the data variation in the function of each interlayer of arrow to the right among Figure 40 and Figure 42 when (a) of Figure 41 is the order of connection of expression embodiment of the present invention, (b) of Figure 41 are the figure that representes the data variation in the function of each interlayer of embodiment of the present invention.
The function (order, message) of each interlayer when Figure 42 is the order of connection of expression embodiment of the present invention and the precedence diagram of the stream of grouping.
The function (order, message) of each interlayer when Figure 43 is the exchanges data of expression embodiment of the present invention and the precedence diagram of the stream of grouping.
The figure of the data variation in the function of Figure 43 and each interlayer among Figure 45 when Figure 44 is the exchanges data of expression embodiment of the present invention.
The function (order, message) of each interlayer when Figure 45 is the exchanges data of expression embodiment of the present invention and the precedence diagram of the stream of grouping.
Figure 46 is the precedence diagram of stream of function (order, message) and grouping of each interlayer in disconnection when order of expression embodiment of the present invention.
(a) of Figure 47 is the key diagram of the data variation in the function of each interlayer of Figure 46 and the arrow to the right among Figure 48 in disconnection when order of expression embodiment of the present invention, and (b) of Figure 47 is the key diagram of representing the data variation in the function of each interlayer of embodiment of the present invention.
Figure 48 is the precedence diagram of stream of function (order, message) and grouping of each interlayer in disconnection when order of expression embodiment of the present invention.
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 data that are connected notification function and the ideograph that passes on of connection parameter in function and the secondary station confirmed in the connection in the main website of expression embodiment of the present invention.
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 to be illustrated in the data and the ideograph that passes on that is connected parameter that interlayer is shared the connection request function in the main website under the situation that connects parameter.
Figure 55 is the variation of execution mode, is to be illustrated in the data and the ideograph that passes on that is connected parameter that interlayer is shared the connection notification function in the pair station under the situation that connects 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 the connection request function in the main website under the situation that parameter is transferred to low layer respectively.
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 agreement switch unit
Embodiment
Below based on Fig. 1 to Figure 33 communication means of the present invention be described, adopted the transmitter/receiver circuit of this method, each execution mode of transmitter-receiver.Communication means of the present invention comprises the agreement that is used to communicate by letter.
[summary]
(communication layers)
After in the execution mode stated, the structure and the action of the transmitter and the receiver of communication system of the present invention at length are described based on the OSI7 layer model.Here, the OSI7 layer model also is called 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 should have is split into 7 layers, to the functional module of each layer definition standard.
Specifically, the 1st layer (physical layer) taken on electric conversion or the mechanical operation that is used for data are sent to communication line.The 2nd layer (data link layer) guaranteed the communication path of physical property, and the error detection occurs of the data of carrying out flowing at communication path etc.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) carried out data compression or error correction, repeating transmission control etc.The 5th layer (session layer) is used to communicate the foundation or the release of the virtual route (connection) that the transmission of the data between the program receives.The 6th layer (display layer) will be the form that user easier is understood from the data conversion of the 5th layer of acceptance, will be the form that is suitable for communicating by letter from the 7th layer of data conversion 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 corresponding layering identical functions with 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, omit explanation.
The present invention can set up being connected of a plurality of communication layers with receiver and the communication system that communicates adaptable across transmitter.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 through the 1st agreement of having omitted the station search command at short notice; And through using the 1st agreement can suitably switch the 2nd agreement that can be connected more reliably with the station search command; Break off 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,, describe based on the IrSimple of an application examples of the present invention for the ease of explanation.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 explained as IrSimple (the 1st agreement), will be loaded in the identical communication means that device loaded with this communication means and explain as IrDA (the 2nd agreement).Like this, under the situation that has made up IrSimple and IrDA, have can shared physical layer advantage.In addition, as IrDA, using station search command (XID) and connection request to order under the situation of agreement of (SNRM), the hand-off process of stating after can having as the agreement of characteristic of the present invention.Certainly, also can not IrDA but the different communication means of physical layer with 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 this execution mode of expression.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 data be sent to outside transmitter to use ultrared communication.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 this execution mode can constitute through hardware logic (telecommunication circuit) again, also can use CPU and realizes through software.
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 slave controller 13 accepts to be used to represent transmission end notification that the transmission of bind command finishes, accomplish connection processing.Memory 12 will connect required data to be stored temporarily, writes data by CPU11.
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.Control unit 131 exists in memory 12 when connecting required data it is read, and it is sent to command packet generation unit 132 when CPU11 has accepted connection request, makes order packet generating part 132 generate command packet simultaneously.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 is sent 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 in the connection request order, comprised exist, accept data, generate the connection request order that data are preserved by control unit 131.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 is through the infrared communication path, and the grouping that slave controller 13 is received sends to the outside at interval by official hour.
As shown in Figure 4; In the transmitter 1 of this execution mode; When CPU11 has connection request; Control unit 131 generates the SNRM that is used to preserve set point by command packet generation unit 132 and divides into groups the 1st to be divided into groups as what generate, and it is sent to the outside through transmitting element 14, but set point is maximum transfer rate, the maximum of our station can receive communications such as parameter such as data length go up essential.
[execution mode 2]
Below, the receiver of this execution mode 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 this execution mode of expression.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 this execution mode can constitute through hardware logic (telecommunication circuit), also can use CPU to pass through software and realize again.
Receiving element 25 receive the grouping of sending from transmitter 1, and the grouping that will receive is sent to CDR26 through 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 of being restored and command signal.
Controller 23 is based on the grouping of accepting from CDR26, the control and treatment of stipulating.Controller 23 comprises: control unit 231, command packet generation unit 232 and packet identification unit 233.
Packet identification unit 233 is accepted to be extracted command information through grouping, and this information is sent to control unit 231 by the grouping that CDR26 restored.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 is received when connecting required data, and it is write.CPU21 carry out with from the notice corresponding processing of control unit 231.
As shown in Figure 4; In the receiver 2 of this execution mode; Grouping 25 that receive through packet identification unit 233 identification, that send by the transmitter 1 of this execution mode 1 by receiving element; When this grouping is the SNRM order, control unit 231 will have been transmitted the advisory CPU21 of connection request by transmitter 1, as ordering corresponding replying with this SNRM; But generate the maximum transfer rate, the maximum that have our station in it by command packet generation unit 232 and can receive the isoparametric UA response of data length, and send by transmitting element 24.
[execution mode 3]
In the transmitter 1 of this execution mode 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, in IrDA, is defined as broadcast address, but it is the non-code that utilizes that is not used.Therefore, even use the SNRM order of IrDA, also can be with being sent to specific transmitter-receiver in the situation of using the communication mode different with IrDA.
In addition; In the receiver 2 of this execution mode 2; When the Destination Device Address of the SNRM order of the IrDA that in packet identification unit 233, receives is 0xFFFFFFFF; Be judged as and using the communication mode different, and directly generate the UA response, send by transmitting element 24 by command packet generation unit 232 with IrDA.
[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 in maximum transfer rate, the maximum of our station in the SNRM order of expression IrDA can receive the isoparametric form of data length.Parameter format is made up of parameter recognition symbol (PI), parameter length (PL), parameter value (PV).The parameter recognition symbol is intrinsic to each parameter, and the station that receives the SNRM order can be known to be set which kind of parameter, and handle through differentiating this parameter recognition symbol.For the high level data of record in Fig. 6 (a), accord with through resetting parameter recognition, 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 handle.
Fig. 3 representes the block diagram of the transmitter of this execution mode.As shown in Figure 3, this transmitter is on transmitter shown in Figure 11, has added the transmitter 3 of receiving element 35 with CDR36, packet identification unit 333, timer 37.
Accepted the control unit 331 of connection request through CPU31; Through directly accepting the high-rise user data that connects that is used for from high level by CPU31 or via memory 32; It is transferred to command packet generation unit 332; But and can receive parameter such as data length with maximum transfer rate, the maximum of our station and be added in the SNRM order, being sent by transmitting element 34 should order.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 remote station received the UA response, the signal that is received by receiving element 35 was recovered to clock and data by CDR36, and is sent to packet identification unit 333.Then, be UA when response in the grouping that receives 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 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 through 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, being sent by transmitting element 34 should order.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 remote station received the UA response, it was clock and data that the signal that is received by receiving element 35 is restored by CDR36, and is sent to packet identification unit 333.Then, being received by packet identification unit 333 when dividing into groups to be the UA response, 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 is write in the memory 32, differentiates the SUCCESS response that whether includes OBEX.When the SUCCESS response that does not comprise OBEX, handle just passable as breaking off failure.
For the high level data of record in Fig. 6 (b), reset the parameter recognition symbol, shown in Fig. 6 (d); Through 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 handle.
[execution mode 5]
Be illustrated respectively among (a) of Fig. 7 and (b) of Fig. 7 added in the UA response of IrDA required on high-rise being connected, add 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).For the high level data of record in Fig. 7 (a), reset the parameter recognition symbol, shown in Fig. 6 (d); Through 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 handle.
This execution mode 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 in the SNRM order, having high level data simultaneously, in memory 22, write high level data.CPU21 analyzes high level data, differentiates the CONNECT order that in high level data, whether includes OBEX.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 for when there is connection request in remote station, 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 through memory 22; It is transferred to command packet generation unit 232; Join in the UA response but can receive parameter such as data length with maximum transfer rate, the maximum of our station, being sent by transmitting element 24 should response.For example, as this high-rise user data, the SUCCESS response of IrDA-OBEX layer is arranged, but be not limited thereto.
In addition, because of the SNRM order that receives from remote station, mistake is arranged, or in the SNRM order, do not have 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.In this DM response, also can dispose high-rise data, the data as in this case high level for example have the Internal Server Error response of OBEX, but are not limited thereto.
(c) of Fig. 6 but in maximum transfer rate, the maximum of our station in the UA response of expression IrDA can receive the isoparametric form of data length.Parameter format is made up of parameter recognition symbol (PI), parameter length (PL), parameter value (PV).The parameter recognition symbol is intrinsic to each parameter, and the station that receives the UA response can be known to be set which kind of parameter, and handle through differentiating this parameter recognition symbol.For (a) of Fig. 7 and (c) middle high level data of putting down in writing of Fig. 7; Through resetting the parameter recognition symbol; 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 handle.
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 through memory 22, and it is transferred to command packet generation unit 232; Join in the UA response, being sent by transmitting element 24 should response.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 record in execution mode 4 and 5; Receive the receiver 2 of execution mode 5 of the SNRM order that comprises high-rise user data of execution mode 4 record; With the advisory CPU21 that receives the SNRM order, the user data of the high level that is comprised in also SNRM being ordered simultaneously directly or through memory 22 is sent to CPU21.
CPU21 is based on this high-rise user data, carries out high-rise connection, will directly or through 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, joins together in the UA response but packet generating part can receive maximum transfer rate, the maximum of this user data and our station parameter such as data length, sends 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; With the advisory CPU31 that receives response, the user data with the high level that is comprised in the UA response directly or through memory 32 is sent to CPU31 simultaneously.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 record in execution mode 4 and 5; Receive the receiver 2 of execution mode 5 of the DISC order of comprising of execution mode 4 of high-rise data; With the advisory CPU21 that receives the DISC order, the user data with the high level that is comprised in the DISC order directly or through memory 22 is sent to CPU21 simultaneously.
CPU21 is based on this high-rise user data, carries out high-rise disconnection, will be transferred to control unit 231 as the user data of the response of the disconnection of high level directly or through memory 22 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 the data that are judged as high level, not comprising the DISCONNECT order of OBEX,, can not beam back and reply, also can the Internal Server Error response of OBEX be configured in the DV response and also send as illegal disconnection request.
In addition; For the high level data of record in Fig. 7 (b),, such shown in Fig. 6 (d) through resetting the parameter recognition symbol; 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 handle.
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; With the advisory CPU31 that receives response, the user data with the high level that is comprised in the UA response directly or through memory 32 is sent to CPU31 simultaneously.CPU31 carries out high-rise disconnection based on this high-rise user data.At this moment, when not comprising the SUCCESS response of OBEX in the UA that receives the being judged as response, also can be used as illegal disconnection and reply and handle.
Through above step, in the transmitter 3 and receiver 2 that execution mode 4 and execution mode 5 are put down in writing,, can carry out connection or disconnection from high level to low layer through a packet switching.Figure 18 representes the signal sequence of this execution mode.
[execution mode 7]
Fig. 3 representes the transmitter 3 of this execution mode.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 CPU31 has connection request; Can receive the isoparametric SNRM grouping of data length as the 1st grouping that generates but control unit 331 generates the maximum transfer rate, the maximum that are used to preserve our station by command packet generation unit 332, and send 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, continue to generate the XID order, and send it by command packet generation unit 332 from the UA of receiver 2 response.
In addition, when sending the XID order, timer 37 is started, not when receiver 2 receives the XID response, in command packet generation unit 332, generate and send the XID-End order within a certain period of time, the situation that the station search is accomplished is sent to CPU31.Then, generate, send SNRM order, transfer to the connection processing of IrDA based on IrDA.Fig. 9 representes to be used to represent the signal sequence of this form.
In addition; When sending the XID order; Timer 37 is started, within a certain period of time not when receiver receives the XID response, in command packet generation unit 332; After having generated and sent the XID-End order, can receive the isoparametric SNRM order of data length but generate, send the maximum transfer rate, the maximum that are used to preserve our station once more.Figure 10 representes the signal sequence of this form.
[execution mode 8]
Fig. 2 representes the receiver 2 of this execution mode.In receiver 2; First order by accepting unit 25 receptions is identified as in packet identification unit 233 under the situation of XID order; In Discovery-flag in order shown in Figure 19 (discovery mark) zone, be 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 because in existing IrDA standard, the XID conformance with standard of 1 time slot, and in this stage, can not differentiate method, apparatus is original IrDA equipment or equipment of the present invention.At the station search command that the next one receives is not XID-End order, but during the XID order, transfers to the connection processing of IrDA.Figure 11 representes the signal sequence of this form.
In addition, in packet identification unit 233, under the situation for the XID order, when then receiving the SNRM order, the situation that receives the SNRM order is sent to CPU21 by first order of accepting unit 25 receptions.In original IrDA standard because till the XID response that receives for the XID order, the search of stand all not have to accomplish, so after XID orders, receive SNRM when 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, these data are sent to control unit 231, also can it be included in the above-mentioned UA response by CPU21.Figure 12 representes the signal sequence of this form.
In addition, when accepting first order that unit 25 receives and in packet identification unit 233, be identified as the XID order, shown in figure 19; In the Discovery-flag zone in order; The XID time slot is not 1, but means to be under 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 and 3 of this execution mode, and Fig. 2 representes the receiver 2 of this execution mode.But receiver 2 also can not comprise command packet generation unit 232 and transmitting element 24.
In addition, Figure 13 representes that having added the expression communication direction in the SNRM order of IrDA is that folk prescription is to the still grouping of 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.At this execution mode,, maximum transfer rate, the maximum of our station send with the SNRM order with the data of expression communication direction but can being received set point required in the isoparametric communication of data length.
Shown in figure 17, having sent the flag settings that will represent communication direction is that the transmitter 1,3 that unidirectional SNRM orders is not waited for the UA response from receiver 2, uses I frame or UI frame to begin data and transmits.Have again, in the time of in the mark that will represent said communication direction is configured in the SNRM order, shown in Fig. 6 (d); Through the form of parameter recognition symbol (PI), parameter length (PL), parameter value (PV), and the parameter recognition symbol confirmed as remote station in advance, thereby; Receive the station of SNRM order; This parameter recognition symbol is differentiated, can know the remote station request folk prescription to which of communication, twocouese communication, 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. I frame or the data of UI frame of transmitter to be used 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.
The folk prescription of realizing through said method is to communication, can shorten data and transmit and go up the required time, and the user can easily discern and mistake occur, can use allowing under the situation about carrying out again that user self transmits.For example, from information terminal image display device transmitted image data are also read sometimes.At this moment, send the example of failure as User Recognition, the view data of user's transmission sometimes is not presented on the receiving terminal image display, and shows pictures different.
Have, the transmitter 1 of Fig. 1 only can be tackled folk prescription to communication again, and the transmitter of Fig. 3 can be tackled folk prescription simultaneously to communication, twocouese communication.
[execution mode 10]
In the described receiver 2 of Fig. 2, through one of them method of the present invention, in the state of having established with remote station that is connected, produced when breaking off request at high level by the CPU21 management, through memory 22, break off request msg and be transferred to control unit 231.Control unit 231 should break off 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 for example has the user to select the situation of communication disconnection midway, but is not limited thereto.As this disconnection request msg, for example also can use the Internal Server Error response of OBEX, but be not limited thereto.
In addition; For the high level data of record in Fig. 7 (c), through resetting the parameter recognition symbol, 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 handle.
[execution mode 11]
At this execution mode,, the situation that the illustrated communication means of above-mentioned each execution mode is applied to mobile phone is described with reference to Figure 20.Have again; At this execution mode; On transmitter and receiver, used mobile phone; If but transmitter or receiver wherein once the side for mobile phone can, if can carry out data transmission or reception, even be not that mobile phone is also passable then to method, apparatus based on infrared ray etc. through any one mode of the present invention.
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 from data that mobile phone A sends, with receive that data are kept at the memory in the mobile phone B or the external memory storage that connected 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 connected 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, through with the data configuration of high level in the SNRM order responds with UA, and send reception, can the data of high level 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 in the shorter time, accomplish connection.Thus, compare with communicating by letter of IrDA mode in the past, can shorten must be in the face of the time of remote station with equipment, so can expect to improve user convenience property, odds reduces errors.
[execution mode 12]
At this execution mode,, the situation that the illustrated communication means of above-mentioned each execution mode is applied to mobile phone and display unit is described with reference to Figure 21.Have again,, use mobile phone, but if can carry out the transmission of the data of infrared ray etc. through one of them mode of the present invention, transmitting apparatus not that mobile phone is also passable as transmitter at this execution mode.
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 proper process for the data of sending 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 thereto.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 connected 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, through with the data configuration of high level in the SNRM order responds with UA, and send reception, can the data of high level 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 in the shorter time, accomplish connection.Thus, compare with communicating by letter of IrDA mode in the past, can shorten must be in the face of the time of remote station with equipment, so can expect to improve user convenience property, odds reduces errors.
[execution mode 13]
At this execution mode, with reference to Figure 22, explanation will be applicable to the situation of mobile phone and printing equipment with the illustrated communication means of above-mentioned each execution mode.Have, at this execution mode, mobile phone is as transmitter again, but so long as according to any mode of the present invention, promptly can carry out the transmission of data through infrared ray etc., and is also passable even transmitting apparatus is not a 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 proper process for the data of sending from mobile phone A, for example, under the situation that is view data, as required, the data that were compressed are carried out decompress(ion) etc., thereby print, but be not limited thereto.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 connected nonvolatile memories such as () SD cards.
According to above-mentioned method of attachment, through with the data configuration of high level in the SNRM order responds with UA, and send reception, can the data of high level be sent to remote station with a grouping.Therefore, compare, can in the shorter time, accomplish connection with the method for attachment of passing through a plurality of groupings among in the past the IrDA.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 convenience property, and the odds that reduces errors.
[execution mode 14]
At this execution mode, with reference to Figure 23, explanation will be applicable to the situation of mobile phone and tape deck with the illustrated communication means of above-mentioned each execution mode.Have, at this execution mode, mobile phone is as transmitter again, but so long as according to any mode of the present invention, promptly can carry out the transmission of data through infrared ray etc., and is also passable even transmitting apparatus is not a 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 proper process for the data of sending from mobile phone A, for example, under the situation that is view data, carry out it is recorded in the external memory storage that memory or tape deck B in the tape deck B connected.Memory in the tape deck B can be 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 medium 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 connected nonvolatile memories such as () SD cards.
According to above-mentioned method of attachment, through with the data configuration of high level in the SNRM order responds with UA, and send, can the data of high level be sent to remote station with a grouping.Therefore, compare, can in the shorter time, accomplish connection with the method for attachment of passing through a plurality of groupings among in the past the IrDA.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 convenience property, and the odds that reduces errors.
[execution mode 15]
At this execution mode, with reference to Figure 24 to Figure 27, explanation at length realizes the function with the LPA layer of the illustrated communication means of above-mentioned each execution mode.
(1) situation of IrSimple twocouese+IrDA
Figure 24 is the functional-block diagram of LPA layer 100A of communication equipment that has possessed the function of IrSimple (twocouese communication) and IrDA simultaneously.
LAP layer 100A comprises agreement control unit 110A, timer 120, sends request command analytic unit 130, sends with high level data memory cell 140, transmit frame generation unit 150, received frame analytic unit 160, receives with high level data memory cell 170, reception and order notice generation unit 180 and constitute.
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, agreement switch 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; Connect control unit 111a, data transmit control unit 111b, break off control unit 111c.Connect control unit 111a and carry out connection processing based on the IrSimple-LPA agreement.Data transmit control unit 111b carries out transmitting based on the data of IrSimple-LAP agreement.Breaking off control unit 111c carries out handling based on the disconnection of IrSimple-LAP agreement.Therefore, IrSimple-LAP control unit 111 carries out connection processing through connecting control unit 111a when connecting; When data transmit; Carry out data through data transmit control unit 111b and transmit, when breaking off, break off processing through breaking off 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: connect control unit 112a, data transmit control unit 112b, break off control unit 112c.Connect control unit 112a and carry out connection processing based on the IrDA-LAP agreement.Data transmit control unit 112b carries out transmitting based on the data of IrDA-LAP agreement.Breaking off control unit 112c carries out handling based on the disconnection of IrDA-LAP agreement.Therefore, IrDA-LAP control unit 112 carries out connection processing through connecting control unit 112a when connecting, and when data transmit, carries out data through data transmit control unit 112b and transmits, and when breaking off, breaks off processing through breaking off control unit 112c.
Agreement switch unit 113 carries out the switching of IrSimple-LAP control unit 111 and IrDA-LAP control unit 112.Specifically; Agreement switch unit 113 is under the situation of transmitter (main website); IrSimple-LAP control unit 111 is at first moved; Continue after sending the station search command that sends the back having sent, under the situation of having beamed back next XID and responding, switch to IrDA-LAP control unit 112 as the SNRM order of connection request order.In addition; Agreement switch unit 113 at first moves IrSimple-LAP control unit 111 under the situation at receiver (secondary station), in the XID order (1 time slot) that receives continuously as the station search command; And receive under 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, agreement switch unit 113 switches to IrSimple-LAP control unit 111 once more, attempts the connection based on the IrSimple-LAP agreement.
Timer 120 is the timers that receive 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 being stored are transferred to transmit frame generation unit 150, and are configured in the transmit frame.
Transmit frame generation unit 150 generates the transmit frame that low layer (PHY layer) is passed on based on from sending the data that obtain with high level data memory cell 140.Here so-called transmit frame; Under the situation of main website, be SNRM order (connection request), UI order (data transmission requests), DISC order (breaking off request); Under the situation at pair station, be UA response (connection is replied, broken off 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 be extracted 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 carried out analysis, extraction by received frame analytic unit 160.The data of being stored are transferred to high level (LMP layer).
Receive order notice generation unit 180 and generate request, generate and receive order according to reception order notice from agreement control unit 110A, and to high-rise (LMP layer) notice.Here so-called reception order is that connection request reception order, data transmission requests receive order, break off and ask to receive order.
(2) only the IrSimple twocouese (also comprise folk prescription to send, folk prescription is to receiving function) situation
Figure 25 be only possessed IrSimple (also comprise folk prescription to send, folk prescription is to receiving function) the functional-block diagram of LAP layer 100B of communication equipment of function.
LAP layer 100B comprises agreement control unit 110B, timer 120, sends request command analytic unit 130, sends with high level data memory cell 140, transmit frame generation unit 150, received frame analytic unit 160, receives with high level data memory cell 170, reception and order notice generation unit 180 and constitute.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, agreement switch unit 113.
In other respects, LAP layer 100B is identical with LAP layer 100A, so omit explanation.
(3) only the IrSimple folk prescription to the situation of sending
Figure 26 has only possessed the functional-block diagram of IrSimple folk prescription to the LAP layer 100C of the communication equipment of the function of sending.
LAP layer 100C comprise agreement control unit 110C, timer 120, send request command analytic unit 130, send with high level data memory cell 140, transmit frame generation unit 150 and constitute.Promptly; 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, agreement switch unit 113.Have, IrSimple-LAP control unit 111C only possesses the sending function of IrSimple again.That is, the connection control unit 111Ca that possesses of IrSimple-LAP control unit 111C, data transmit control unit 111Cb, break off connection processing, data transfer process, the disconnection that control unit 111Cc carries out transmitter respectively and handle.
In other respects, LAP layer 100C is identical with LAP layer 100A, so omit explanation.
(4) only the IrSimple folk prescription to situation about receiving
Figure 27 has only possessed the functional-block diagram of IrSimple folk prescription to the LAP layer 100D of the communication equipment of the function that 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 constitutes.Promptly; 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 transmission request command analytic unit 130 simultaneously, sent with high level data memory cell 140, transmit 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, agreement switch 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 that possessed of IrSimple-LAP control unit 111D, data transmit control unit 111Db, break off connection processing, data transfer process, the disconnection that control unit 111Dc carries out receiver respectively and handle.
In other respects, LAP layer 100D is identical with LAP layer 100A, so omit explanation.
[execution mode 16]
At this execution mode,, the combination between the agreement of agreement and receiver of transmitter is described with reference to Figure 28 to Figure 33.
Figure 28 be expression agreement that transmitter and receiver possessed be connected after agreement between the table of relation.Shown in figure 28, transmitter and receiver are corresponding to which of, IrDA with twocouese/folk prescription of IrSimple according to 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 under 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., by and large, 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 when the combination of the agreement that can select to communicate by letter, handoff protocol as above-mentioned, 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, the connection request that for example corresponding with only supporting unidirectional equipment twocouese is communicated by letter, with the corresponding IrDA of 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 accomplished connection, show the agreement that is connected, when not accomplishing connection; Show the situation that connects of not accomplishing, the reason that can not connect simultaneously also can show through combination carries out.Thereby through 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 firmware update etc.).
Below represent several examples.Have again, in following explanation,, the display unit of TV etc. is arranged for example as receiver, 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,, mobile phone is arranged for example as transmitter, 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 and each equipment under the corresponding situation of IrSimple twocouese.
At mobile phone as transmitter, after the SNRM of IrSimple agreement sends, owing to receive UA immediately, so in the completion that is connected that shows on the display unit under receiver and the IrSimple agreement, and notify the user.
On the other hand,, through before the XID order, receiving SNRM, thereby discern transmitter is corresponding with IrSimple in display unit as the TV of receiver etc., and through beaming back UA, the connection under the completion IrSimple.At this constantly, the connection under demonstration IrSimple on the picture is accomplished, and notifies the user.
Through above-mentioned action, the user can easily discern the agreement after the connection.
Have again, also can be substituted in and connect accomplish the back and show connection protocol, for example behind sign off, through before the communication marks of communicating by letter come the notifying communication agreement.In addition, replace display communication agreement automatically, for example as the display result of user-selected menu, also can the display communication agreement.
(2) connection of IrSimple folk prescription between 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 the Connection Step of IrSimple folk prescription under corresponding situation and each equipment.
At mobile phone, show that on display unit the SNRM in the IrSimple agreement sends back connection completion, and notify the user as transmitter.
On the other hand, in display unit such as TV, before ordering, receive SNRM, thereby discern, and accomplish the connection under the IrSimple transmitter is corresponding with IrSimple at XID as receiver.At this constantly, in the connection completion that shows on the picture under the IrSimple, and notify the user.
Through above-mentioned action, the user can easily discern the agreement after the connection.
Have again, also can be substituted in and connect accomplish the back and show connection protocol, for example behind sign off, through before the communication marks of communicating by letter come the notifying communication agreement.In addition, replace display communication agreement automatically, for example as the display result of user-selected menu, also can the display communication agreement.
(3) IrSimple twocouese corresponding device and the connection of IrSimple folk prescription between corresponding device
Figure 31 is illustrated in as the mobile phone of transmitter with as being connected between the display unit such as TV of receiver the time, carries out the key diagram of the demonstration example of Connection Step and each equipment under the situation of the mobile phone of the communication under the IrSimple twocouese display unit of communicating by letter downward with carrying out the IrSimple folk prescription.
At mobile phone as transmitter; SNRM in the IrSimple agreement sends back (folk prescription to, twocouese selected marker be twocouese) institute's preset time, because not from the UA response of receiver, so be used as connection failure; On display unit, show this situation, and notify the user.
On the other hand, in display unit such as TV, through before the XID order, receiving SNRM as receiver; Thereby to transmitter is that the situation corresponding with IrSimple discerned; But the folk prescription in the SNRM is represented twocouese to the twocouese selected marker, this method, apparatus only support folk prescription to, so connection failure; In display frame, show this situation, and notify the user.At this moment, the reason through connection failure shows together that also the user changes to folk prescription to pattern with the communication pattern of transmitter, and as the supported protocol of display unit, can obtain to tackle firmware update in order to append the twocouese agreement again etc.
Have, replace display communication agreement automatically, for example, the display result of the menu of selecting as the user also can the display communication agreement.
(4) connection between IrDA corresponding device and the IrSimple+IrDA corresponding device
To be expression be in when being connected as the mobile phone of transmitter and display unit as the TV of receiver etc. Figure 32, carries out the key diagram of the demonstration example of Connection Step and each equipment under the situation of the display unit that the agreement of mobile phone and the available IrSimple twocouese and the IrDA of the communication under the IrDA in the past communicates.
In mobile phone, after the XID of IrDA agreement order is sent, through receiving XID response from receiver as transmitter; After the XID-End order is sent; 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 accomplished; This intention is presented on the display unit, and notifies the user.
On the other hand, in display unit, receive with the transmission of XID order, XID response, XID-End as the TV of receiver etc.; Finish the station search under the IrDA; And after the SNRM order that receives the IrDA form,, accomplished the connection under the IrDA in the moment of having beamed back the UA response; This intention is presented on the picture, and notifies the user.At this moment, connect with the IrDA mode, if but transmitter is supported IrSimple; Then also can carry out the connection of IrSimple mode through showing; The user can obtain the reply with firmware update etc., so that as the supported protocol of transmitter, newly append IrSimple twocouese agreement.
Have again, be substituted in and connect accomplish back demonstration connection protocol, for example, also can be behind sign off, the display communication agreement through the communication marks of previous communication.In addition, replace display communication agreement automatically, for example, the display result of the menu of selecting as the user also can the display communication agreement.
(5) connection between IrDA corresponding device and the IrSimple corresponding device
To be expression be in when being connected as the mobile phone of transmitter and display unit as the TV of receiver etc. Figure 33, carries out the mobile phone of the communication under the IrDA in the past and can carry out the Connection Step of IrSimple folk prescription under the situation of the display unit of communicating by letter of mode and the key diagram of the demonstration example of each equipment.
In mobile phone, send XID order 2 and XID-End order, but,, this intention is presented on the display unit, and notifies the user so, be used as connection failure through behind the certain hour owing to can not receive XID response from receiver as transmitter.
On the other hand; In display unit such as TV, through before XID order, receiving SNRM, thereby be discern corresponding with IrSimple to transmitter as receiver; 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 through connection failure also shows together, can obtain the reply with firmware update etc., so that as the supported protocol of transmitter, newly append IrSimple twocouese agreement.
Have, replace display communication agreement automatically, for example, the display result of the menu of selecting as the user 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 of explaining in this execution mode is applicable to execution mode 1~16 again.Therefore, for the term of definition in the execution mode 1~16, only otherwise explanation especially in advance still defines according to it in this execution mode and uses.
(1) communication layers
Figure 34 is the sketch map of the corresponding relation between the layering of layering and communication system of the present invention of expression OSI7 hierarchical mode, IrDA.
Each communication layers of the communication system of this execution mode also has the layering equal function corresponding with above-mentioned OSI7 layer model.But shown in figure 34, above-mentioned communication system forms one with session layer and display layer, becomes the structure of 6 layerings.
At this execution mode,, describe based on the IrSimple of an application examples of the present invention for the ease of explanation.But the present invention is not limited to IrSimple.Have, IrSimple has improved the part of functions of IrDA in the past again.
At this execution mode, according to IrSimple, sometimes with data link layer, network layer, transport layer, session layer+display layer respectively souvenir be LAP, LAMP, SMP, OBEX.In addition, under with the situation of communication layers, go up note " P ", go up note " S " at receiver (secondary station) at transmitter (main website) with transmitter, receiver difference.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 this execution mode of expression (response is arranged).And the key diagram of data structure of Figure 35 (c) communication data when being the order of connection of this execution mode of expression (response is arranged).
This execution mode (response is arranged),, can make the SNRM order have the function (the SNRM command of Figure 35 (c)) same with search through in the Destination of SNRM Device Address, using global address (global address).
In addition, this execution mode (response is arranged), among SNRM order of dividing into groups and UA response as the connection of data link layer, required parameter and order in the connection of insertion network layer, transport layer, session layer, display layer contour level.Thus, can necessary being used in IrDA in the past be connected each high-rise connection grouping cohesion is a grouping.
Therefore, can be with the search that needed a plurality of groupings and the order of connection in the past with a grouping to carrying out.
[B] do not have response
(b) of Figure 35 is the precedence diagram of the order of connection of this execution mode of expression (not having response).And the key diagram of the data structure of Figure 35 (c) communication data when being the order of connection of this execution mode of expression (do not have response).Have again,, do not need UA response (the UA response for SNRM of (c) of Figure 35) this execution mode (not having response).
According to user or application and data class, can select will be from the response abridged communication mode of receiver.In this case, shown in Figure 35 (b), only just can finish to search for and be connected with the SNRM order.
Like this, the order of connection of this execution mode goes up the required time through the connection request of a plurality of communication layers being concentrated, shortened to connect, so even under the situation that communication path is disconnected, it is also easy to connect again.Therefore, be particularly suitable for communication path and break off 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, at this execution mode, explained once to communicate by letter 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 carried out through repeatedly communicating by letter.For example, need in the connection of network layer under the situation of twice communication, can be connected also that to concentrate be a connection request first time of the connection of data link layer and network layer, with the connection second time of network layer and transport layer to be connected concentrated be a connection request.
(2-2) exchanges data order
[A] has response
The (a) and (b) of Figure 36 are precedence diagrams of the exchanges data order of this execution mode of expression (response is arranged).And Figure 36 (a) is the key diagram of data structure of communication data in exchanges data when order of this execution mode of expression (response is arranged).
This execution mode (response is arranged), reduce low layer and high-rise response between each data as possible, whether after having sent a plurality of data, beam back has mistake.
Whether no problem transmitter use the grouping of constructing at the packet number of the order mark with receiving data, partition data that the size of above-mentioned data based grouping is cut apart by being used for inquiring about when data communication.
Shown in Figure 36 (a), transmitter sends after the packet count of having 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 receiver receives normally the intention that receives, carry out the transmission of dividing into groups at transmitter from the next one.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),, use UI frame (Figure 37 (b)) this execution mode (response is arranged).Therefore, can not discern 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 mark, represent whether be the data normal mark whether of last grouping, reception of data, carry out the transmission of data according to these marks.
[B] do not have response
The (a) and (b) of Figure 38 are precedence diagrams of the exchanges data order of this execution mode of expression (not having response).And the key diagram of the data structure of Figure 38 (b) communication data when being the exchanges data order of this execution mode of expression (do not have response).
This execution mode (not having response), under the situation of the response that does not need receiver, only confirm the completeness of data.Therefore, transmitter sends whole data to the packet allocation serial number with continuation mode.
Then, receiver only confirms whether mistake is arranged, and under situation about normally receiving, after having received whole data, in receiver, normal reception is discerned, and is carried out next one action.Next one action in this case for example is to show the data that received, or prints, or preserves.On the other hand,, in receiver, discern, and carry out next one action can not normally receiving detecting under the amiss situation.Next one action in this case is to be used to that the user is known the indication of failure has taken place or become the next wait state that receives.
Have again,, also use the UI frame (Figure 37 (b)) shown in (b) of Figure 38 even this execution mode (do not have response).
(2-3) disconnection order
[A] has response
(a) of Figure 39 is the precedence diagram of the disconnection order of this execution mode of expression (response is arranged).And Figure 39 (c) is the key diagram of data structure of communication data in disconnection when order of this execution mode of expression (response is arranged).
Shown in Figure 39 (c), this execution mode (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 in proper order with a grouping to carrying out.
[B] do not have response
(b) of Figure 39 is the precedence diagram of the disconnection order of this execution mode of expression (not having response).And Figure 39 (c) is the key diagram of data structure of communication data in disconnection when order of this execution mode of expression (response is arranged).Have again,, do not need UA response (the UA response of Figure 39 (c)) this execution mode (not having response).
Shown in Figure 39 (b),, under the situation that the response with receiver does not connect as necessity, only just can finish to search for and break off with the DISC order this execution mode (not having response).
(3) order in transmitter, the receiver
In Figure 40~Figure 56, for the ease 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, in order communication layers to be 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 this execution mode of expression (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 this execution mode of expression (response is arranged).
Shown in figure 40, this execution mode (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 and is divided into groups, and 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 accomplished connection through accepting UA, to high level give notice (Connect.confirm).
The transmitter of this moment, the order in the receiver are such as follows.
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 completion from these data when having accepted from SMP (P) to connect the affirmation function.
SMP (P) accepts the connection request function from OBEX (P), and 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 under 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 from data that connect to confirm function, remove 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), and 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 under 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 from data that connect to confirm function, remove the parameter of LMP (S) confirm that as connecting function sends SMP (P).
Have again, defined LSAP (Link Service AccessPoint) for logic port is managed usually.Thereby, carrying out one with mode one to one when connecting, need not 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), and 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, from the data of UA response, extracts the parameter that the LAP (S) of receiver generates out, confirms its value, thereby finishes the negotiation with LAP (S).In addition, LAP (P) data that will from the data of UA response, remove the parameter of LAP (S) 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) when having accepted connection notification function (Indication), is confirming the OBEX bind command, if no problem from low layer (SMP (S)) among these data; Then the response of so-called Success is replied function (Response) to SMP (S) output as connection, and when connecting completion.
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 from the data of above-mentioned function, having removed SMP (P) sent to OBEX (S), wait was replied function from the connection of OBEX (S).In addition, SMP (S) 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, thus LMP (S) produced to connect replys function, and finishes 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 from the data of above-mentioned function, having removed LMP (P) sent to SMP (S), wait was replied function from the connection of SMP (S).In addition, LMP (S) 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 finishes the negotiation of LMP layer.
Have again, defined LSAP (Link Service AccessPoint) for logic port is managed usually.Thereby, carrying out one with mode one to one when connecting, need not 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 from the data of SNRM order, having removed LAP (P) sends to LMP (S), form the parameter of replying, and wait for and reply function from the connection of LMP (S) to it.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] do not have response
Figure 42 is the precedence diagram of the order of connection of this execution mode of expression (not having response).And the key diagram of the data structure of Figure 41 (a) communication data when being the order of connection of this execution mode of expression (do not have response).
Shown in figure 42, this execution mode (not having 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 is sending moment that SNRM divides into groups when connecting completion, from LAP (P) to high level give notice (Connect.confirm).On the other hand, receiver is accepted SNRM and is divided into groups, and carries out being directly connected to the notice of high-rise intention, works as in the moment of having notified OBEX (S) to connect completion.
The transmitter of this moment, the order in the receiver are as following.
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) is when having accepted from SMP (P) to connect the affirmation function, when connecting completion.
SMP (P) accepts the connection request function from OBEX (P), and 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 of being 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), and 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 of being 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, defined LSAP (Link Service AccessPoint) for logic port is managed usually.Thereby, carrying out one with mode one to one when connecting, need not 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), and 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 of being 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) if no problem, then ought connect completion when having accepted connection notification function (Indication), among these data, confirming the OBEX bind command from low layer (SMP (S)).
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, from the data of function, extracts the parameter that the SMP (P) of transmitter generates out, uses this parameter and accomplishes negotiation.Then, SMP (S) the connection request function that will add the data gained of the parameter of from the data of above-mentioned function, having removed SMP (P) 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, from the data of function, extracts the parameter that the LMP (P) of transmitter generates out, uses this parameter and accomplishes negotiation.Then, LMP (S) the connection request function that will add the data gained of the parameter of from the data of above-mentioned function, having removed LMP (P) sends to SMP (S).
Have again, defined LSAP (Link Service AccessPoint) for logic port is managed usually.Thereby, carrying out one with mode one to one when connecting, need not 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, from the data of SNRM order, extracts the parameter that the LAP (P) of transmitter generates out, uses this parameter and accomplishes negotiation.Then, LAP (S) the connection request function that will add the data gained of the parameter of from the data of above-mentioned function, having removed LAP (P) sends to LMP (S).
(3-2) exchanges data order
[A] has response
Figure 43 is the precedence diagram of the exchanges data order of this execution mode of expression (response is arranged).And Figure 44 is the key diagram of data structure of communication data in exchanges data when order of this execution mode of expression (response is arranged).
Shown in figure 43, this execution mode (response is arranged), transmitter produces the PUT order, and this order is transferred into low layer, is exported as UI frame (Figure 37 (b)).
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 of having 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 take place when mistake is arranged.
If be free from mistakes, then transmitter output is next divides into groups, 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 taken place, these data are sent to low layer, export as the UI frame.
If the response that is received is Success, then transmitter normal termination.
The transmitter of this moment, the order in the receiver are as following.
At transmitter, OBEX (P) orders as data low layer output PUT and sends function.But, the response (returning Continue under the normal condition) 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.When PUT Final orders the perhaps order beyond the PUT order, wait for data notification function from low layer, observe the interior response of these data and the finish command.
Here, data transmission function is the function (Data Request) that the low layer request msg is sent.And the data notification function is 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, under the situation of PUT Final order or the order beyond the PUT order, sends function and returns response as data.
Here, the data transmission function of high level shared in transmitter, the receiver and low layer and the head in the data notification function etc. are described.
SMP is when accepting data transmission function from OBEX; For LMP; When size that (a) can send with LMP is sent data in the function big or small less than data, these data are divided into the size that LMP can send, when the size that (b) can send with LMP is sent the size of data in the function greater than data; Several data are combined the bigger data below the size that formation can be sent.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 is received.Then, send function and send to LMP having added the data of in the above-mentioned data of cutting apart or combining, having added the data gained after this SMP head.
Whether normal and then SMP extracts the SMP head out the data in this function when accepting the data notification function from LMP, and confirm serial number (that is, whether arriving in proper order with omission not).Then, under 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, also can the data from the data notification function of several low layers be merged back output.
It is that the data of LMP (P) are sent function that the SMP of transmitter (P) will send functional transformation from the data of OBEX (P), and the data of the data volume of certain fixed number of transmission defined are sent 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), and the data that received in expression as the preparation that can send next data, become the state that can send OBEX (P) when whether normal independent variable is normally received.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 is received of LMP (S); Thereby in the data that received of expression when normal independent variable is not normally received; Begin from being sent function for the data that can not normally receive, produce data once more and send function, until making till the independent variable of the other side's equipment query data receiving state is True by notice.SMP (P) repeats to produce once more data and sends function, sends the data of function until whole data and is notified receiver, perhaps repeats the generation once more 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 independent variable that function is last data or the OBEX (S) that expression needs receiver is True, has been added into the data transmission function to LMP (P) that these data are sent the final data of function thereby send.
On the contrary; The SMP of receiver (S) is when LMP (S) has accepted the data notification function; Needing the independent variable of response of the OBEX (S) of receiver in last data or expression is under 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 LMP (S) has accepted the data notification function, and the data in this data notification function are analyzed the SMP head, and confirms serial number.If SMP (S) can normally receive before the head that independent variable to receiver data query accepting state is True accepting; Then expression can normally receive and be used to represent whether normal independent variable of the data that received; Thereby form the SMP head, and it is sent data to LMP (S) and send function as data.
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 0,1,2,3,5 o'clock, the 5th should not receive under 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 receiving under the situation of data notification function that independent variable to receiver data query accepting state is True; With the data of representing the to be received independent variable whether normal independent variable can not normally receive as expression; 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 under the situation of data notification function of True at the independent variable of the response of having accepted independent variable that expression is last data or OBEX (S) that expression needs receiver; After having exported the data notification function, wait for data sending request from OBEX (S) to 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 is received 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 under the situation of mistake,, be in just often so wait to bide one's time to be counted as owing to stop notice to OBEX (S).
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 need not using LMP under the situation of a connection with mode one to one.In this case, in the LMP head, add the LSAP that connectionless value is arranged.
LAP when having accepted the data sending request function from LMP, additional LAP head on the data in this function and form data, and physical layer is sent the UI frame that has added these data.In addition, LAP forms the data of from the data of this UI frame, having removed the LAP head when having accepted the Data Receiving notice from physical layer, and LMP is sent the data notification function that has added these data.Have again,, in the LAP head, include link address and UI designator at this execution mode.
[B] do not have response
Figure 45 is the precedence diagram of the exchanges data order of this execution mode of expression (not having response).And the key diagram of the data structure of the communication data of Figure 44 when being the exchanges data order of this execution mode of expression (do not have response).
Shown in figure 45, this execution mode (not having response), transmitter produces the PUT order, and this order is transferred into low layer, is exported 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 following.
At transmitter, OBEX (P) orders as data low layer output PUT and sends function.But OBEX (P) need just can the finish command to the response of all orders.Then, OBEX (P) exports Next Command under situation about 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, the data transmission function of high level shared in transmitter, the receiver and low layer and the head in the data notification function etc. are described.
SMP is when accepting data transmission function from OBEX; For LMP; When size that (a) can send with LMP is sent data in the function big or small less than data, these data are divided into the size that LMP can send, when the size that (b) can send with LMP is sent the size of data in the function greater than data; Several data are combined the bigger data below the size that formation can be sent.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 is received.Then, send function and send to LMP having added the data of in the above-mentioned data of cutting apart or combining, having added the data gained after this SMP head.
Whether normal and then SMP extracts the SMP head out the data in this function when accepting the data notification function from LMP, and confirm serial number (that is, whether arriving in proper order with omission not).Then, under 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, also can the data from the data notification function of several low layers be merged back output.
It is that the data of LMP (P) are sent function that the SMP of transmitter (P) will send functional transformation from the data of OBEX (P).Then, be that the data of False are sent under the situation of function accepted independent variable as final data from OBEX (P), the data that will in these data, add the SMP head send to LMP (P).On the contrary; SMP (P) is that the data of Ture are sent under the situation of function accepted independent variable as final data from OBEX (P); The independent variable that makes this data of expression send the response of independent variable that function is last data or the OBEX (S) that expression needs receiver is True; Thereby send the data of LMP (P) are sent function, these data are sent 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 under 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 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 of representing the SMP head or the OBEX (S) that expression needs receiver is True; OBEX (S) is not carried out data notification; Till accepting data notification function (having again) or accepting to break off notification function or certain certain hour of process even accept also not notify OBEX (S) as True.
Then, the LMP of transmitter (P) has been when SMP (S) has accepted the data sending request function, 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) under 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 need not using LMP under the situation of a connection with mode one to one.In this case, in the LMP head, add the LSAP that connectionless value is arranged.
The LAP of transmitter (P) has been when LMP (P) has accepted the data sending request function, 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 from the data of UI frame, having removed the LAP head, and LMP (S) is sent the data notification function that has added these data under the situation of having accepted the Data Receiving notice from physical layer.Have again,, in the LAP head, comprise link address and UI designator at this execution mode.
(3-3) disconnection order
[A] has response
Figure 46 is the precedence diagram of the disconnection order of this execution mode of expression (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 this execution mode of expression (response is arranged).
Shown in figure 46, this execution mode (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 high-rise back end with receiving the UA response to transmitter.
The transmitter of this moment, the order in the receiver are such as follows.
Each communication layers of transmitter at first, is described.
OBEX (P) promptly will break off request command to low layer (SMP (P)) and join generation disconnection request function (Primitive) in the data when coming the disconnection request comes of self-application.In addition, OBEX (P) confirms the response that OBEX breaks off among these data under the situation of having accepted disconnection confirmation number from SMP (P), if the response of no problem (Success) then is used as to break off and is accomplished.
SMP (P) accepts the disconnection request function from OBEX (P), and 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 under the situation of having accepted disconnection confirmation number from LMP (P), confirm its value, finishes the disconnection processing with SMP (S) then.In addition, SMP (S) will from data that break off 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 when breaking off, newly not appending usually by SMP (P).
LMP (P) accepts the disconnection request function from SMP (P), and 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 under the situation of having accepted disconnection confirmation number from LAP (P), confirm its value, finishes the disconnection processing with LMP (S) then.In addition, LMP (P) will from data that break off 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 when breaking off, newly not appending usually by LMP (P).
LAP (P) accepts the disconnection request function from LMP (P), and 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 under the situation of having accepted the UA response from the physical layer of receiver, confirm its value, finishes the connection processing with LAP (S) then.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 when breaking off, newly not appending usually by LAP (P).
Each communication layers of receiver then, is described.
OBEX (S) is accepting to resolve under the situation of opening knowledge 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 replied function (Response) as disconnection and output to SMP (S), and be used as to break off and accomplish.
SMP (S) is accepting to resolve under the situation of opening the knowledge 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 from the data of above-mentioned function, having removed SMP (P) sends to OBEX (S), wait for and reply function from the disconnection of OBEX (S).In addition; SMP (S) replys under the situation of function from the disconnection of OBEX (S) having accepted; Additional above-mentioned parameter of replying is replied function thereby produce for the disconnection of LMP (S) in the data of replying function for the disconnection of the OBEX (S) of LMP (S), and the disconnection that finishes the SMP layer is handled.But, the parameter of when breaking off, newly not appending usually by SMP (S).
LMP (S) is accepting to resolve under the situation of opening the knowledge 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 from the data of above-mentioned function, having removed LMP (P) sends to SMP (S), wait for and reply function from the disconnection of SMP (S).In addition; LMP (S) replys under the situation of function from the disconnection of SMP (S) having accepted; Additional above-mentioned parameter of replying is replied function thereby produce for the disconnection of LAP (S) in the data of replying function for the disconnection of the SMP (S) of LAP (S), and the disconnection that finishes the LMP layer is handled.But, the parameter of when breaking off, newly not appending usually by LMP (S).
LAP (S) is under 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 from the data of DISC order, having removed LAP (P) 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 under the situation of function from the disconnection of LMP (S) having accepted, and 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 the disconnection that finishes the LAP layer is handled.But, the parameter of when breaking off, newly not appending usually by LAP (S).
[B] do not have response
Figure 48 is the precedence diagram of the disconnection order of this execution mode of expression (not having response).And the key diagram of the data structure of Figure 47 (a) communication data when being the disconnection order of this execution mode of expression (do not have response).
Shown in figure 48, this execution mode (not having response), when the ON-and OFF-command of transmitter is sent to low layer, produce the DISC order.Transmitter finishes to break off at this constantly to be handled.On the other hand, receiver is accepted this DISC order and when sending it to high level, the moment till notifying high level just finishes to break off handles.
The transmitter of this moment, the order in the receiver are such as follows.
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 and break off request function (Primitive) under the situation of the disconnection request comes of coming self-application.In addition, OBEX (P) is used as to break off and accomplishes when having accepted the disconnection confirmation from SMP (P) and count.
SMP (P) accepts the disconnection request function from OBEX (P), and 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), finished the disconnection of SMP layer and handles as being broken off by the parameter of being sent in the moment of having accepted to break off the confirmation number from LMP (P).In addition, SMP (P) sends for the disconnection of OBEX (P) and confirms function.But, the parameter of when breaking off, newly not appending usually by SMP (P).
LMP (P) accepts the disconnection request function from SMP (P), and 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), finished the disconnection of LMP layer and handles as being broken off by the parameter of being sent in the moment of having accepted to break off the confirmation number from LAP (P).In addition, LMP (P) sends for the disconnection of SMP (P) and confirms function.But, the parameter of when breaking off, newly not appending usually by LMP (P).
LAP (P) accepts the disconnection request function from LMP (P), and 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), finished the disconnection of LAP layer and handles as being broken off by the parameter of being sent 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 when breaking off, newly not appending usually by LAP (P).
Each communication layers of receiver then, is described.
OBEX (S) confirms the OBEX ON-and OFF-command accepting to resolve from low layer (SMP (S)) under the situation of opening knowledge function (Indication) among these data, if no problem, then be used as to break off and accomplish.
SMP (S) opens under the situation of knowing function accepting to resolve from low layer (SMP (S)), from the data of function, extracts the parameter that the SMP (P) of transmitter generates out, uses this parameter and accomplishes disconnection.In addition, SMP (S) the disconnection request function that will add the data gained of the parameter of from the data of above-mentioned function, having removed SMP (P) sends to OBEX (S).But, the parameter of when breaking off, newly not appending usually by SMP (S).
LMP (S) opens under the situation of knowing function accepting to resolve from low layer (LAP (S)), from the data of function, extracts the parameter that the LMP (P) of transmitter generates out, uses this parameter and accomplishes disconnection.In addition, LMP (S) the disconnection request function that will add the data gained of the parameter of from the data of above-mentioned function, having removed LMP (P) sends to SMP (S).But, the parameter of when breaking off, newly not appending usually by LMP (S).
LAP (S) extracts the parameter that the LAP (P) of transmitter generates out from the data of DISC order under the situation of having accepted the DISC order from physical layer, use this parameter and accomplish disconnection.In addition, LAP (S) the disconnection request function that will add the data gained of the parameter of from the data of DISC order, having removed LAP (P) sends to LMP (S).But, the parameter of when breaking off, newly not appending usually by LAP (S).
(4) have or not the switching of response
With reference to Figure 49~Figure 56, flowing of data and parameter between the communication layers of transmitter and receiver is described.
At this execution mode, each communication layers LAP of transmitter and receiver, LMP, SMP, OBEX have the connection request function, are connected notification function, connect and reply function, connection affirmation function.These functions are to be used for the function that the LAP layer conducted interviews 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 above-mentioned, above-mentioned data are set in each communication layers.
On the other hand, the appointment and negotiation result notice high level of the consultation parameter of the baud rate that Qos will be confirmed by LAP etc., 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 of the parameter added needs/need not respond, its quilt in turn transmitted until LAP (P) to low layer.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)/need not respond, and can carry out twocouese/unidirectional connection.
The mobile key diagram of data and parameter between the communication layers when Figure 49~Figure 53 is the order of connection (Figure 40) of this execution mode of expression (response is arranged).Have, the parameter of the QoS between OBEX-SMP, between SMP-LMP, between LMP-LAP can be identical again, also can be different.Therefore, in the drawings, additional-a ,-b ,-c distinguishes.
At transmitter, shown in figure 49, through con.req (data) (Figure 40), 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, shown in figure 50 at receiver, through con.req, only the data with Qos-2 (QoS of receiver request) are transferred to low layer respectively from high level.
Then, at receiver, accepted moment of SNRM order at LAP (S), the QoS-2 of the QoS-1 of transmitter and this machine relatively forms 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 through 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, send the UA response then.
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 through con.conf (data).Each communication layers is preserved this QoS-3 as having established the connection parameter that connects.
At this execution mode, for example,, use Requested-QoS:Baud-Rate+Max-Turn-Around-Time+Disconnect+ DataSize+Ack lessconnection+Min-Packet-Interval as the QoS of con.req.And as Con.ind, the QoS of con.conf uses Resultant-QoS:Baud-Rate+Disconnect-Threshold+DataSize+Ac k less connection (indicaion primitive only).
In addition, when the order of connection (Figure 42) of this execution mode (not having response), flowing of data between communication layers and parameter is following such.
At transmitter, shown in figure 49, through con.req (data) (Figure 42), 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 through con.conf.Each communication layers is preserved this QoS-3 as the connection parameter of the connection of having established.
On the other hand, shown in figure 50 at receiver, through con.req, only the data with Qos-2 (QoS of receiver request) are transferred to low layer respectively from high level.
Then, at receiver,,, set QoS-3 according to the QoS-1 of transmitter in the moment that LAP (S) has accepted the SNRM order.Have again, under the situation of the combination of 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 through con.ind (data).Each high-rise this QoS-3 of storage, the connection parameter during as connection is preserved.
Thus, through using above-mentioned QoS-1 and QoS-2 are carried out high level (application) operation, can switch has/does not have response.
Here, as the switching benchmark that has/do not have response, the file format of the file that consideration is sent, application, user's selection etc.
Specifically; When being benchmark, for example, response two sides under the situation of multimedia associated with, should have been selected/not have with the file format; Being the file of phone directory, mail, timetable etc. and will confirming under the received situation of data, also can automatically select response.In addition, when being applied as benchmark, under the situation that lantern slide shows, can automatically select does not have response yet.In addition, under situation, for example, the user, the menu that has/do not have response is selected from showing based on user's selection.
The key diagram of the mobile variation of data and parameter between the communication layers when Figure 54~Figure 56 is the order of connection of this execution mode of expression.
In transmitter; In initial SNRM order, contain under the situation of information of all communication layers (Figure 40); Also can constitute and not be data and parameter one side relaying in each communication layers are transmitted (Figure 49) on one side; 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 are comprised 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), and then, order thereby generate SNRM by the parameter of appending LAP (P) in the data of LAP (P) after above-mentioned concentrate and the parameter with OBEX (P), SMP (P), LMP (P).
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 also can be with the recording medium of such procedure stores in embodied on computer readable by the program of computer execution.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 capacity with regulation; Can have sending controling unit, this sending controling unit does not send the station search command (XID) that is used to search for the communication counterpart station yet, but and maximum transfer rate, the maximum of using the SNRM order that our station is sent at the communication counterpart station can receive the connection parameter of data length etc.
In order to solve above-mentioned problem; Other wireless communication machine as transmitter-receiver of the present invention; Using infrared ray to receive in the wireless communication machine of transmission data of capacity with regulation; Also can have the reception control unit; This reception control unit is under the situation of SNRM order in first order that is received by transmitter, but uses UA to respond the connection parameter that maximum transfer rate, the maximum of sending our station can receive data length etc., but said SNRM order makes wireless communication machine know that the maximum transfer rate of transmitter, maximum can receive the parameter of 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 said reception order is that the non-code (0xFFFFFFFF) that utilizes is discerned; Said reception control unit also can be only is under the non-situation of utilizing code (0xFFFFFFFF) in remote station address (Destination DeviceAddress) field, sends said UA response immediately.
At above-mentioned wireless communication machine, be provided with the zone that in SNRM order, adds from the user data of high level, said sending controling unit also can send with said connection parameter with from the user data of high level together.At above-mentioned wireless communication machine, before user data from said high level, also can configure user data identifier and User Data Length.
At above-mentioned wireless communication machine, in user data, also can comprise the CONNECT order of OBEX from said high level.
At above-mentioned wireless communication machine, be provided with the zone that in UA response, adds from the user data of high level, said reception control unit also can send with said connection parameter with from the user data of high level together.At above-mentioned wireless communication machine, before user data from said high level, also can configure user data identifier and User Data Length.
In above-mentioned wireless communication machine, in user data, also can comprise the SUCCESS response of OBEX from said high level.
In order to solve above-mentioned problem; Other wireless communication machine as transmitter-receiver of the present invention; Transmission data using infrared ray will have the capacity of regulation send in the wireless communication machine of receiver; Also can have sending controling unit, this sending controling unit is provided with especially in the DISC order and adds the zone from the user data of high level, also sends from high-rise user data.At above-mentioned wireless communication machine, before user data from said high level, also can configure user data identifier and User Data Length.
At above-mentioned wireless communication machine, particularly in user data, also can comprise the DISCONNECT order of OBEX from said high level.
In order to solve above-mentioned problem; Other wireless communication machine as transmitter-receiver of the present invention; Transmission data using infrared ray will have the capacity of regulation send in the wireless communication machine of receiver, also can be after having sent the SNRM order, in the UA response that receives, do not comprise under 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 said 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; Transmission data using infrared ray will have the capacity of regulation send in the wireless communication machine of receiver, also can have sending controling unit, and this sending controling unit is under the situation that has received the DISC order; Be provided with the zone that in UA responds, adds from the user data of high level especially, also send from high-rise user data.At above-mentioned wireless communication machine, special in user data from said high level, also can comprise the SUCCESS response of OBEX.At above-mentioned wireless communication machine, before 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; Transmission data using infrared ray will have the capacity of regulation send in the wireless communication machine of receiver, also can be after having sent the DISC order, in the UA response that receives, do not comprise under the situation from the user data of high level; As connection failure, handle.At above-mentioned wireless communication machine, particularly the user data from said 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; Transmission data using infrared ray will have the capacity of regulation send in the wireless communication machine of receiver, also can have sending controling unit, and this sending controling unit is under the situation that has received the SNRM order; Be provided with the zone that in DM responds, adds from the user data of high level especially, also send from high-rise user data.At above-mentioned wireless communication machine, special in user data from said high level, also can comprise the Internal Server Error response of OBEX.At above-mentioned wireless communication machine, before 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 accomplishes.
At above-mentioned wireless communication machine, said sending controling unit also can be after sending said SNRM order, under 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,, also can under the situation that receives the XID response, after sending the XID-END order, send SNRM order, and transfer to the connection processing of IrDA based on IrDA for said XID order.
At above-mentioned wireless communication machine, can after sending said XID order, not receive under the situation of XID response from remote station at the predetermined certain hour of process yet, after sending the XID-END order, behind the wait preset time, send said SNRM order once more.
In above-mentioned wireless communication machine; Can be under the situation of XID order also in the 1st order that is received; With the fact storage that receives the XID order; Receive once more under 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 under the situation of XID order also in the 1st order that receives, with the fact storage that receives the XID order, and when under our station does not send the state of XID response, receiving the SNRM order, send said 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 under 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 be especially in the SNRM order additional be used to represent communication direction be folk prescription to or the mark of twocouese, it is sent with said connection parameter.
In above-mentioned wireless communication machine, can be after unidirectional SNRM orders also sending the flag settings that will represent communication direction, 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 to represent communication direction, and receiving communication direction when being set to unidirectional order, do not return that UA responds and the receive status of transferring to packet.
Mobile phone with transmission receiving function of the present invention also can be with the data configuration of said high level in SNRM order or UA response, and connects, breaks off processing.In addition, also can the mark of control folk prescription to communication, twocouese communication be configured in the SNRM order, send or receive; At folk prescription under the situation of communication, under the situation of transmitter, after SNRM sends; Wait-for-response and carry out data and transmit not; Under the situation of receiver, after SNRM receives, do not send response and the reception data.
Display unit with transmission receiving function of the present invention also can be with the data configuration of said high level in SNRM order or UA response, and connects, breaks off processing.In addition, also can the mark of control folk prescription to communication, twocouese communication be configured in the SNRM order, send or receive; At folk prescription under the situation of communication, under the situation of transmitter, after SNRM sends; Wait-for-response and carry out data and transmit not; Under the situation of receiver, after SNRM receives, do not send response and the reception data.
Printing equipment with transmission receiving function of the present invention also can be with the data configuration of said high level in SNRM order or UA response, and connects, breaks off processing.In addition, also can the mark of control folk prescription to communication, twocouese communication be configured in the SNRM order, send or receive; At folk prescription under the situation of communication, under the situation of transmitter, after SNRM sends; Wait-for-response and carry out data and transmit not; Under the situation of receiver, after SNRM receives, do not send response and the reception data.
Tape deck with transmission receiving function of the present invention also can be with the data configuration of said high level in SNRM order or UA response, and connects, breaks off processing.In addition, also can the mark of control folk prescription to communication, twocouese communication be configured in the SNRM order, send or receive; At folk prescription under the situation of communication, under the situation of transmitter, after SNRM sends; Wait-for-response and carry out data and transmit not; Under the situation of receiver, after SNRM receives, do not send response and the reception 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) and constitute, and also that kind is used CPU and realized through software as follows.
That is, transmitter 1,3, receiver 2 comprise: the CPU (central processing unit) that carries out the order of the control program be used to realize each function; 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 memory of data etc. etc.And; Through 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; Institute's program recorded code in recording medium is read and carried out to this computer (or CPU or MPU), also can realize the object of the invention.
As above-mentioned recording medium, for example can use disk such as the tape class of tape or cartridge tape etc., soft (registered trade mark) dish/hard disk or comprise the semiconductor memory class etc. of cards such as dish class, IC-card (comprising memory card)/light-card type or the mask rom/EPROM/EEPROM/ flash rom etc. of the CD of CD-ROM/MO/MD/DVD/CD-R 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; Not special the qualification; For example, internet capable of using, 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 constitutes communication network; Do not limit especially; For example, IEEE1394 capable of using, USB, power line transmission, catv line, telephone wire, adsl line etc. are 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 realize through the mode that the computer data signal in the carrier wave is specialized, is embedded in to the said procedure code with electric transmission.
As above; Communication equipment of the present invention, the main website as communicating with the pair station is characterized in that; It comprises: the 1st agreement control unit; When the communication of carrying out standing with pair is connected, do not send the station search command that is used to confirm the existence of secondary station, carry out connection processing and send the 1st connection request order.
In addition; Communication equipment of the present invention, the pair station as communicating with main website is characterized in that; It comprises: the 1st agreement control unit; Do not receive the station search command that main website is used to confirm the existence of secondary station, and when receiving the order of the 1st connection request from main website, send with the corresponding connection response of the 1st connection request order and carry out connection processing.
In addition, communication means of the present invention is used for the communication equipment of the main website that conduct and pair station communicate; It is characterized in that; When the communication of carrying out standing with pair is connected, do not send the station search command that is used to confirm the existence of secondary station, carry out connection processing and send the 1st connection request order.
In addition; Communication means of the present invention; Be used for the communication equipment at the pair station that conduct and main website communicate, it is characterized in that, be used to the station search command of confirming that secondary station exists not receiving main website; And receive the 1st connection request when order from main website, send with the 1st connection request and order corresponding connection response to carry out connection 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,, when carrying out being connected, do not send and be used to confirm the station search command (XID that for example is equivalent to IrDA) that secondary station exists and send connection request and order (SNRM that for example is equivalent to IrSimple) with the communication at secondary station in main website.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 to confirm the existence of secondary station; And when receiving connection request order (being equivalent to above-mentioned SNRM) from main website, send and the corresponding connection response (UA that for example is equivalent to IrSimple) of this connection request order.
Therefore, according to the above-mentioned order of connection, need not carry out and the relevant communication of station search.Thereby the order during connection is simplified, and connects the required time so can shorten communication link.For example, shorten the higher communication protocol of transmission efficiency (communication efficiency) till realizing transmitting, breaking off from connection request to information because of IrDA makes the required time in main website that transmission efficiency as a whole descends and the connection between the secondary station.
And communication equipment of the present invention is characterised in that it comprises: the 2nd agreement control unit, when carrying out being connected with the communication at secondary station, sent be used to confirm the station search command of secondary station existence after, send the 2nd connection request order and carry out connection processing; And agreement switch unit; After said the 1st agreement control unit has sent said the 1st connection request order; During preset time, when not receiving the connection response corresponding, make said the 2nd agreement control unit send said station search command with the order of the 1st connection request from the pair station.
In addition, communication equipment of the present invention is characterised in that it comprises: the 2nd agreement control unit, and after the said station search command from main website had been sent the station search response, the connection response that sends the order of the 2nd connection request carried out connection processing; And agreement switch unit; Do not receiving said the 1st connection request order from main website; And be set to 1 said station search command receiving plural whole timeslot number; Or receive whole timeslot numbers when being set to the said station search command beyond 1, make said the 2nd agreement control unit send said 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 under the situation of the connection response (UA that for example is equivalent to IrSimple) corresponding with the order of the 1st connection request from the pair station, the agreement switch 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 receiving plural whole timeslot number when being set to 1 above-mentioned station search command (XID that for example is equivalent to IrDA); Or receiving whole timeslot numbers when being set to the station search command (XID that for example is equivalent to IrDA) beyond 1, the agreement switch 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 standing the exchange of the search command-search response of standing, and the agreement of only establishing connection through 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 the exchange of connection request order-connection response, thereby establishes the agreement that connects.
Therefore, according to the above-mentioned order of connection,, can attempt connecting through the 2nd agreement connecting through the 1st agreement under the situation that produces failure.Thus; Under 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 through connection request order-connection response, the search command of the standing-search response of standing; Promptly do not notify employed agreement on connecting clearly, can between main website and secondary station, select the agreement that to set up yet, thereby connect.
Therefore, under main website and all corresponding with the 1st agreement situation in secondary station, can connect with the short time through the 1st agreement, the while also can connect through the 2nd agreement not being under such situation.
And; Communication equipment of the present invention is characterised in that; Said agreement switch unit is after said the 2nd agreement control unit has sent said station search command; During preset time, do not receiving from the pair station under the situation of the station search response corresponding with this station search command, make said the 1st agreement control unit send said the 1st connection request order.
In addition; Communication equipment of the present invention is characterised in that; Said agreement switch unit is receiving after whole timeslot numbers are set to 1 said station search command; When receiving the order of said the 1st connection request, said the 1st agreement control unit is sent with the 1st connection request order corresponding said connection response.
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),, do not receive under 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 through predetermined time durations; The agreement switch 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; Receiving after whole time slots are 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 and the corresponding connection response (UA that for example is equivalent to IrSimple) of the 1st connection request order from the 1st agreement control unit (for example IrSimple).
Therefore, according to the above-mentioned order of connection,, can attempt connecting through the 1st agreement connecting through the 2nd agreement under the situation that produces failure.Thus; Under 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 through connection request order-connection response, the search command of the standing-search response of standing; Promptly do not notify employed agreement on connecting clearly, can between main website and secondary station, select the agreement that to set up yet, thereby connect.
Therefore, under main website and all corresponding with the 1st agreement situation in secondary station, can connect with the short time through the 1st agreement, the while also can connect through the 2nd agreement not being under such situation.
And communication equipment of the present invention is characterised in that, said the 1st agreement control unit has set the information of the secondary arbitrarily intention of standing designated in the field at the pair station of specifying said the 1st connection request order.
In addition, communication equipment of the present invention is characterised in that, when said the 1st agreement control unit only has been set with the information of secondary arbitrarily station intention designated in the field at the pair station of specifying said the 1st connection request order, just sends said connection response.
According to said structure,, in the field at the pair station of specifying the order of the 1st connection request, has set the information of secondary intention of standing arbitrarily designated in main website.For example, be that making Destination Device Address is 0xFFFFFFFF under 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 order of the 1st connection request, only, just send the connection response being set with designated arbitrarily under the situation of the information of the intention at secondary station.
Therefore; The setting of the field at the pair station through specifying the connection request order is the identifier (address) at specific pair station; Still the designated information of the intention at secondary station arbitrarily, it is the order of the 1st connection request that the order that is received can be differentiated in secondary station, still which of the 2nd connection request order.
Therefore, need not connection request order or the order of the connection request of the 2nd agreement of the 1st agreement and new field is set in order to represent connection request order.Therefore, can make the form of the 2nd connection request order of form and the 2nd agreement of the 1st connection request order of the 1st agreement identical.
And; Communication equipment of the present invention is characterised in that; Said the 1st agreement control unit is after having sent said the 1st connection request order; Through behind the preset time, the beginning data transmit, and the information of folk prescription to intention has been set in said the 1st connection request order designated in the field of the communication direction of specifying said the 1st connection request order.
In addition; Communication equipment of the present invention, the pair station as communicating with main website is characterized in that; Comprise: the 1st agreement control unit; Do not receiving the station search command that main website is used to confirm that secondary station exists, and when main website receives the order of the 1st connection request, in the order of the 1st connection request, specifying to be set with in the field of communication direction folk prescription designated when the information of intention; Do not send with the 1st connection request corresponding connection response of order and carry out connection 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 said the 1st connection request order designated in the field of designated communication direction.On the other hand; At the pair station; When receiving the order of the 1st connection request from main website; In the 1st connection request order, be set with under the situation of the information of designated unidirectional intention in the field of designated communication direction, do not send and connection response that the order of the 1st connection request is corresponding, can transmit data mode and transfer to.
Thus, response is not returned to main website in secondary station, can carry out from main website the folk prescription at pair station to communication.
Have again; Above-mentioned communication equipment also can pass through computer realization; In this case; Through computer is moved as each unit of above-mentioned communication equipment, thereby but make the above-mentioned communication equipment of computer realization communication equipment signal procedure and write down 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 through the telecommunication circuit that has as above-mentioned each Elementary Function.
In addition, the suitable mobile phone that communicates through 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 writes down based on the data of this communication equipment reception of above-mentioned communication equipment.
At last, communication equipment of the present invention also can constitute as follows.
(1. the SNRM of main website sends)
Using infrared ray to send in the communication means of the transmission data that receive capacity with regulation; Communication means of the present invention [1] is; In off-state; Do not send XID order, and send the SNRM order of dividing into groups, carry out connection processing with remote station as connection request as the station search packet that is used to confirm that remote station exists.
(2. the SNRM transmission+XID of main website sends)
Using infrared ray to send in the communication means of the transmission data that receive 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 under the situation that does not have response, send XID order, the searching disposal of standing as the station search packet.
(the Destination Device Address of 3.SNRM is a global address)
Communication means of the present invention in above-mentioned communication means [1] or [2], particularly also can be set at 0xFFFFFFFF (global address) with the Destination Device Address field of said 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 in said SNRM order with the connection request data configuration of high level, 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 said 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 ordered for said XID; Beamed back under the situation of XID response, after having sent XID-End, transferred to the order of connection under the existing IrDA; And for said XID order, do not receiving during the certain hour under the situation of response, after having sent XID-End; Send said SNRM order once more, carry out connection 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 said high level, be configured the identifier of being scheduled to and the length of said connection request data according to the form of the identifier of the connection parameter of existing IrDA.
(8. using the UA corresponding with SNRM to accomplish connects)
Communication means of the present invention [8], in above-mentioned communication means [1] or [2], particularly also can be after sending said SNRM order, predetermined certain hour with the interior situation that receives the UA response under, accomplish connection processing, the line data of going forward side by side transmits.
(9. only in UA, have to accomplish under the situation of high level data and connect)
Communication means of the present invention [9] in above-mentioned communication means [8], also can especially only comprise under the high-rise data conditions in said UA response, accomplishes connection processing, and the line data of going forward side by side transmits.
(10. only in the high level data of UA, have to accomplish under the situation of SUCCESS of OBEX and connect)
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 said high level.
(configuration is used to set the mark of folk prescription to, 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 that is used for configuration communication direction control mark, this communication direction control mark is represented folk prescription to communication or twocouese communication, when said communication direction control mark is represented folk prescription to 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 said communication direction control mark of configuration, the length of configuration field; Be used for form, identifier and said communication direction control mark that configuration is predetermined according to the identifier of the connection parameter that has IrDA.
(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 are sent reception; Also can be in off-state, do not receive when receiving the SNRM order of dividing into groups as connection request as the XID order of station search packet, 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 are sent reception, also can be in off-state; When receiving the XID order of conduct station search packet; The field Discovery Flag of the full timeslot number that in the said XID order of expression, is comprised shows under the situation of full timeslot number 1, for the 1st reception XID order from the off-state counting, 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 not receive the SNRM order from off-state 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 searching disposal of existing IrDA.
(16. when receiving the XID order that is not 1 time slot, sends XID response carrying out IrDA and connect)
Communication means of the present invention; In above-mentioned communication means [14], particularly also can be receiving full timeslot number when being the 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 searching disposal of existing IrDA.
(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 under the situation that receives the SNRM order, send the UA response, and carry out connection processing after the XID order that receives a said 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 said SNRM is under the situation of 0xFFFFFFFF, sends the UA response, and carries out connection processing.
(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 said 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 said 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 said high level, identifier and the said length that is connected reply data that configuration is scheduled to according to the identifier form of the connection parameter of existing IrDA.
(22)
Communication means of the present invention [22] in above-mentioned communication means [13] or [17], particularly also can only comprise under the high-rise data conditions in said 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 said 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 are sent; Also can be in off-state; When the 1st grouping that receives from off-state is the SNRM order, sends the DM response that is used to show the refusal connection, and carry out the gap reason.
(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 said full timeslot number 1; And under the situation that receives the SNRM order, send the DM response that is used to show the refusal connection, and carry out the gap reason.
(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 connect the refusal of high level data and be configured in the said 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 connect the Internal Server Error response that comprises the OBEX layer in the data at least at the refusal of said 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 said high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA is connected the length of data with said refusal.
(the communication direction control mark in the 29.SNRM show do not return UA under unidirectional situation)
Communication means of the present invention [29] uses infrared ray, and the transmission data that will have the capacity of regulation are sent reception; Also can be in off-state; When receiving the SNRM order of dividing into groups, in the SNRM order, be folk prescription to communication with the display communication direction still be that the communication direction control mark of twocouese communication disposes through predetermined form as connection request; When said communication direction control mark shows folk prescription to 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 folk prescription to and have under 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 in said SNRM order, disposing high-rise data, is transferred to and can be carried out data transfer state.
(31. only the communication direction control mark in SNRM show folk prescription to and have under 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 comprise the CONNECT order of OBEX layer at least in the data of said high level.
(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 are sent reception; Also can establish in the state that connects; When breaking off processing, in DISC order, dispose high-rise disconnection request msg, and it is sent as the request of breaking off.
(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 said 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 said 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 said 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 are sent reception; 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 said 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 said 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 said disconnection request msg.
(38. dispose high level data when the DM transmission that connects after accomplishing)
Communication means of the present invention [38] uses infrared ray, and the transmission data that will have the capacity of regulation are sent reception; 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 accomplished 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 said 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 said 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 said 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 the station that is used to search for communication counterpart, but and the parameter that maximum transfer rate, the maximum of our station can receive data length etc. 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 can be when making the other side know that maximum transfer rate, the maximum of transmitter can receive the isoparametric SNRM order of data length also, but the parameter that maximum transfer rate, the maximum of our station can receive data length etc. will be sent with the UA response in first order that receives by transmitter.
And communication means of the present invention also can be set at 0xFFFFFFFF with the Destination Device Address 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 said reception is under the situation of 0xFFFFFFFF, directly sends said 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 said connection parameter from the user data of high level.
And communication means of the present invention also can comprise the CONNECT order of OBEX in the user data from said high level.
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 said connection parameter from the user data of high level.
And communication means of the present invention also can comprise the SUCCESS response of OBEX in the user data from said high level.
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 zone, also send from high-rise user data from the user data of high level.
And communication means of the present invention also can comprise the DISCONNECT order of OBEX in the user data from said high level.
And communication means of the present invention also can be accomplished from low layer to high-rise connection or disconnection in packet switching once.
And communication means of the present invention also can be after sending said SNRM order, when predetermined certain hour does not receive the 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, and transfer to the connection processing of IrDA for said XID order.
And, communication means of the present invention, after sending said XID order, when predetermined certain hour does not receive the XID response from remote station, after sending the XID-END order, wait for preset time after, send the SNRM order once more.
And communication means of the present invention also can be when the 1st order that receives be ordered for XID; Storage receives the fact of XID order; Do not receiving SNRM order, and when receiving the XID order that is not the XID-END order once more, 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 storage receives the fact of XID order, does not send at our station under the state of XID response, when receiving the SNRM order, sends said 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 under 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 be in SNRM order additional to be used for the display communication direction be folk prescription to the still mark of twocouese, and send with said connection parameter.
And communication means of the present invention also can send after flag settings with the display communication direction be unidirectional SNRM order, does not wait for from the replying of receiving station, and just begins data and transmits.
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, do not return UA and respond, and transfer to the accepting state of packet receiving communication direction when being set to unidirectional order.
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.
Embodiment that in the detailed description of the invention item, forms or embodiment; Be to be used to make technology contents of the present invention clear eventually; Should not only limit to such concrete example and explained, in the scope of spirit of the present invention and claim, can carry out various changes and implement by narrow sense ground.
Utilize possibility in the industry
The present invention is owing to the agreement that can between main website and secondary station, select to establish connects; So be applicable to communication equipment widely; Be particularly suitable for having the communication equipment of free-space optical communication function, for example, portable radio communication equipment such as notebook PC, PDA, mobile phone, digital camera.

Claims (5)

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, it is according to the order of connection of IrSimple, sends the order of the 1st connection request and does not send and be used to the station search command of confirming that secondary station exists;
The 2nd agreement control unit, it is according to the order of connection of IrDA, sent be used to confirm station search command that secondary station exists after, when receiving the response for this station search command from the pair station, send the order of the 2nd connection request; And
The agreement switch unit after having sent said station search command in the preset time, when not receiving the response for said station search command, makes said the 1st agreement control unit send said the 1st connection request order.
2. communication equipment as claimed in claim 1 is characterized in that, before the order of said the 1st connection request, sends said station search command, when receiving the response for this station search command, sends the order of the 2nd connection request.
3. according to claim 1 or claim 2 communication equipment is characterized in that,
Said the 2nd agreement is the IrDA agreement, and said the 1st agreement is the IrSimple agreement.
4. communication means is used for the communication equipment of the main website that conduct and pair station communicate, and it is characterized in that this communication means comprises:
The 2nd agreement controlled step, according to the order of connection of IrDA, sent be used to confirm station search command that secondary station exists after, when receiving the response for this station search command from the pair station, send the order of the 2nd connection request;
The 1st agreement controlled step according to the order of connection of IrSimple, is sent the order of the 1st connection request and is not sent and be used to the station search command of confirming that secondary station exists; And
The agreement switch step after having sent said station search command in the preset time, when not receiving the response for said station search command, utilizes said the 1st agreement controlled step to send said the 1st connection request order.
5. a mobile phone is characterized in that, loads any one described communication equipment of claim 1 to 3, sends the data that receive from the communicator via the outside that communication network connected through this communication equipment.
CN2008100954777A 2005-01-28 2006-01-25 Communication device, communication method and mobile telephone Active CN101262480B (en)

Applications Claiming Priority (16)

Application Number Priority Date Filing Date Title
JP2005022209 2005-01-28
JP022209/05 2005-01-28
JP2005023929 2005-01-31
JP023929/05 2005-01-31
JP2005023901 2005-01-31
JP023901/05 2005-01-31
JP2005116096 2005-04-13
JP116096/05 2005-04-13
JP2005152910 2005-05-25
JP152910/05 2005-05-25
JP192903/05 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/05 2005-09-16
JP2005271230 2005-09-16

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
CN101262480A CN101262480A (en) 2008-09-10
CN101262480B true CN101262480B (en) 2012-06-13

Family

ID=38704652

Family Applications (5)

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

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN2006800006069A Expired - Fee Related CN101006706B (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method
CN2006800031465A Active CN101107834B (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method, communication program, and communication circuit

Family Applications After (2)

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

Country Status (1)

Country Link
CN (5) CN101006706B (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
CN106605377B (en) * 2015-02-27 2020-09-15 松下电器(美国)知识产权公司 Signal generation method, signal generation device, and program
CN110636016B (en) * 2019-08-08 2023-09-29 西安万像电子科技有限公司 Data transmission method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1299573A (en) * 1999-01-09 2001-06-13 皇家菲利浦电子有限公司 Signalling configuration in a radio communication system
JP2003258880A (en) * 2002-03-01 2003-09-12 Nippon Telegr & Teleph Corp <Ntt> Network, node, and method for data transfer
JP2004343246A (en) * 2003-05-13 2004-12-02 Nippon Telegr & Teleph Corp <Ntt> Starting method and apparatus for radio data communication

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3161910B2 (en) * 1994-07-26 2001-04-25 シャープ株式会社 Communication device
JPH1115761A (en) * 1997-06-02 1999-01-22 Internatl Business Mach Corp <Ibm> Information processor having infrared communication function and its control method
US6011796A (en) * 1997-06-17 2000-01-04 Qualcomm Incorporated Extended range sequence numbering for selective repeat data transmission protocol
JP3482103B2 (en) * 1997-07-29 2003-12-22 シャープ株式会社 Infrared communication control device and method
US6519644B1 (en) * 1998-12-01 2003-02-11 Telefonaktiebolaget Lm Ericsson (Publ) System and method for dial-up networking over infrared data link
JP3180790B2 (en) * 1998-12-28 2001-06-25 日本電気株式会社 Infrared non-connection type object exchange communication method and apparatus
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
JP2003263403A (en) * 2002-03-07 2003-09-19 Canon Inc Object exchanging device and object receiving method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1299573A (en) * 1999-01-09 2001-06-13 皇家菲利浦电子有限公司 Signalling configuration in a radio communication system
JP2003258880A (en) * 2002-03-01 2003-09-12 Nippon Telegr & Teleph Corp <Ntt> Network, node, and method for data transfer
JP2004343246A (en) * 2003-05-13 2004-12-02 Nippon Telegr & Teleph Corp <Ntt> Starting method and apparatus for radio data communication

Also Published As

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

Similar Documents

Publication Publication Date Title
JP4689689B2 (en) Communication device, communication system, communication method, communication program, communication circuit, mobile phone, display device, printing device, and recording device
KR100869540B1 (en) Transmitter, receiver, communication system, communication method, and computer-readable recording medium having communication program recorded therein
CN101640581B (en) Wireless device, matching method thereof and method for removing matching
US9268510B2 (en) Information processing apparatus and connection control method for searching for a printer having a predetermined function identified by identification information included in a beacon signal and sending a print request directly to the printer which is operating as an access point without going through an external access point
JP4094657B2 (en) Communication device, communication system, communication method, communication program, communication circuit
CN102958190B (en) Radio communication device
US8051182B2 (en) Communication device, communication system, communication method, communication program, and communication circuit
JP4219950B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION CIRCUIT, MOBILE PHONE, PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
US7787391B2 (en) Communication device, communication system, communication method, communication program, and communication circuit
CN101262480B (en) Communication device, communication method and mobile telephone
CN106603559B (en) A kind of method of wireless communication terminal data transmission anti-intercepting and capturing
JP4948113B2 (en) Transmitter, receiver, communication system, communication method, communication program
CN100380884C (en) Wireless access point apparatus, wireless LAN system, wireless communicating method
WO2005112502A1 (en) Method and device for controlling communication mode of mobile communication terminal
CN1910888B (en) Transmitter, receiver, communication system and communication method
JP4430054B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, RECORDING MEDIUM
JP4137992B2 (en) Communication device, communication system, communication method, communication program, communication circuit, mobile phone, display device, printing device, recording device
JPH0918956A (en) Radio data communication system
EP1345461A2 (en) Bearer selection based on incoming call type
JP2009060652A (en) Communication equipment
WO2006080372A1 (en) Communication device, communication system, communication method, communication program, and communication circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant