CN101262480A - Communication device, communication method, communication circuit, communication program, recording medium and mobile telephone - Google Patents

Communication device, communication method, communication circuit, communication program, recording medium and mobile telephone Download PDF

Info

Publication number
CN101262480A
CN101262480A CNA2008100954777A CN200810095477A CN101262480A CN 101262480 A CN101262480 A CN 101262480A CN A2008100954777 A CNA2008100954777 A CN A2008100954777A CN 200810095477 A CN200810095477 A CN 200810095477A CN 101262480 A CN101262480 A CN 101262480A
Authority
CN
China
Prior art keywords
data
order
response
communication
station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008100954777A
Other languages
Chinese (zh)
Other versions
CN101262480B (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

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 and method, telecommunication circuit and program, recording medium, mobile phone
The present invention is dividing an application of following patent application: application number: 200680003146.5, and the applying date: on January 25th, 2006, denomination of invention: communication equipment, communication system, communication means, signal procedure, telecommunication circuit
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 having shelter between communication equipment, can not carry out the transmission of data, and the path between communication equipment can carry out data at a high speed and transmit when good.In the IrDA standard, it is that Fast IR (FIR), the communication speed of Very Fast IR (VFIR), the 4Mbps of 16Mbps is the following SIR of 115.2kbps that maximum transfer rate is arranged, and is product till the 4Mbps but the product of selling in the existing market is maximum transfer rate.
Figure 14 is illustrated in the IrDA standard of one of standard as infrared communication, the step till the connection of IrLAP layer is set up.
Main website is the station of at first searching for a side of communication counterpart, that is, be the station that data transfer state is set up in request, is the station of a side of dispatching station search command (XID order).And secondary station is the station of accepting this request, is 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 to search for whether there is the order that can become secondary station from main website in the distance that can communicate by letter.The SlotNumber of number is illustrated in and sends which order in the expression bracket.
The XID response as the station search response is beamed back at the pair station of having accepted the XID order, makes main website know the processing that our station exists.Main website sends the XID order of the number of regulation, and the SlotNumber of last XID order is made as 255.SlotNumber255 represents that it is last order (XID-END).
Then, but 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 select from 1,6,8,16 from the transmission number of the grouping of the XID of main website order, this value is recorded and narrated in the Discovery flag that XID orders.Then, for example, as shown in Figure 14, with the grouping of XID order is each when sending 8, from the 1st to the 8th till, make SlotNumber respectively from 0 to 7, make 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 to beam back the XID response after receiving the 1st grouping, still beams back the XID response after receiving the 8th grouping.As an example, in Figure 14, be illustrated in the situation of beaming back the XID response after the 3rd grouping that receives.
Have, this XID order and XID response are carried out with the transfer rate of 9600bps according to SIR by the decision of IrDA standard again.This transfer rate is compared very slow with the 4Mbps of the transfer rate of Frame described later.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 by 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 by the packet of IrLAP, and the IrLMP at secondary station connects the packet of replying by IrLAP and is sent to main website, carries out the connection of IrLMP.
Then, the connection request of Tiny TP is sent to secondary station by the packet of IrLAP, and the Tiny TP at secondary station connects the packet of replying by IrLAP and is sent to main website, carries out the connection of Tiny TP.
And then, the connection request of the OBEX of main website is sent to secondary station by the packet of IrLAP, the OBEX at secondary station connects the packet of replying by IrLAP and is sent to main website, carries out the connection of OBEX, thereby sets up the connection status that can carry out the transmission of information data.
When disconnecting, the disconnection request of OBEX and reply, the disconnection request of Tiny TP and reply, the disconnection request of IrLMP and the packet of replying by IrLAP transmit, then, transmission is as the DISC order of the disconnection request command grouping of IrLAP and the UA response of dividing into groups as acknowledgement command, and the communications status between main website and the secondary station is disconnected.
In addition, in IrDA, 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 information that is used for discerning these I, S, U frame is included in above-mentioned control field.
Usually, because the data that are transmitted can not be in the majority with the situation that 1 frame sends, so send after being split into a plurality of I frames or UI frame.The I frame has the data that will transmit in data field, be used for the consecutive number that data are lost check by 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 mentioned above, before the foundation of in IrDA, communicating by letter, need 500 milliseconds read (sensing), based on the station search of XID order, based on the exchange of negotiation (negotiation) parameter of SNRM, UA.
When in communication zone, having a plurality of communication station,, 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 to carry out the station search based on the automatic communication zone of equipment.
And, being defined as 9600bps based on the search of the station of this XID according to the IrDA standard, speed is more much lower than the speed of the 4Mbps of swap data.In addition, before transfer information data, as shown in figure 15, after the connection of having finished IrLAP, IrLMP, Tiny TP, OBEX are carried out the packet exchange of IrLAP successively, each layer sequentially need be connected.Order with OBEX, Tiny TP, IrLMP, IrLAP disconnects similarly when disconnecting.
Because of above reason, transmitting the using method 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 using method of portable terminal, when in transmission, having produced mistake, can easily differentiate to send by the user sometimes and fail 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 once more by operating 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 transtation mission circuit and device need 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 select to establish between main website and secondary station connects, communication means, signal procedure, embodied on computer readable is provided.
In order to achieve the above object, communication equipment of the present invention, the main website as communicating with the pair station is characterized in that this communication equipment comprises: the 1st agreement control unit, do not send and be used to the station search command of confirming that secondary station exists, send the 1st connection request order; The 2nd agreement control unit, sent be used to confirm station search command that secondary station exists after, when having received the response corresponding to this station search command from the pair station, send the 2nd connection request order; And the agreement switch unit, after having sent described station search command, in the preset time, when not receiving the response corresponding, make described the 1st agreement control unit send described the 1st connection request order with described station search command.
In addition, communication equipment of the present invention, the main website as communicating with the pair station is characterized in that, changeable the 1st agreement control unit of this communication equipment does not send and is used to the station search command of confirming that secondary station exists, sends the 1st connection request order; And the 2nd agreement control unit, sent be used to confirm station search command that secondary station exists after, when having received the response corresponding to this station search command from the pair station, send the 2nd connection request order, before described the 1st connection request order, send described station search command, when receiving the response corresponding to this station search command, send the 2nd connection request order, after sending described station search command in the preset time, when not receiving the response corresponding, send the 1st connection request order with described station search command.
In addition, communication means of the present invention, be used for communication equipment as the main website that communicates with the pair station, it is characterized in that, this communication means comprises: the 2nd agreement controlled step, sent be used to confirm station search command that secondary station exists after, when having received the response corresponding to this station search command from the pair station, send the 2nd connection request order; The 1st agreement controlled step does not send the station search command that is used to confirm the existence of secondary station, sends the 1st connection request order; And the agreement switch step, after having sent described station search command, in the preset time, when not receiving the response corresponding, send described the 1st connection request order by described the 1st agreement controlled step with described station search command.
In addition, described communication equipment also can pass through computer realization, at this moment, by making computer also belong to category of the present invention by the signal procedure of the communication equipment of the described 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 described communication equipment.
In addition, described communication equipment also can be realized by the telecommunication circuit that has as the function of described each unit.
In addition, described communication equipment also is applicable to the mobile phone that communicates by this communication equipment.
Other purposes of the present invention, feature and advantage, fully aware of by record shown below.In addition, will become clearly in the following explanation that is in well with reference to accompanying drawing of the present invention.
Description of drawings
Fig. 1 is the block diagram as the transmitter of embodiment of the present invention 1.
Fig. 2 is the block diagram as the receiver of embodiment of the present invention 2.
Fig. 3 is the block diagram as the transmitter of embodiment of the present invention 3.
Fig. 4 is the signal sequence diagram when sending the SNRM order as 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 represents to have been added the UA response of high-rise user data, and (a) expression of Fig. 7 is for the response of SNRM, and (b) expression of Fig. 7 is for the response of DISC, and (c) expression DM of Fig. 7 responds.
Fig. 8 continues SNRM order and signal sequence diagram when sending the XID order in the above-mentioned transmitter.
Fig. 9 be above-mentioned transmitter with receiver in the SNRM order that continues, XID order and the signal sequence diagram of beginning IrDA 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 has added the order of communication direction in the SNRM of IrDA order in the above-mentioned transmitter of expression.
Figure 14 is the signal sequence diagram of 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 is as the mobile phone of transmitter with all be in as the display unit of the TV of receiver etc. under the situation of IrSimple twocouese correspondence and carry out.
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 carry out under the situation of correspondence.
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 precedence diagram of the function (order, message) of each interlayer when Figure 40 is the order of connection of expression embodiment of the present invention and the stream that divides into groups.
The key diagram of the data variation in the function of each interlayer of arrow to the right among Figure 40 when (a) of Figure 41 is the order of connection of expression embodiment of the present invention and Figure 42, (b) of Figure 41 are the figure of the data variation in the function of each interlayer of expression embodiment of the present invention.
The precedence diagram of the function (order, message) of each interlayer when Figure 42 is the order of connection of expression embodiment of the present invention and the stream that divides into groups.
The precedence diagram of the function (order, message) of each interlayer when Figure 43 is the exchanges data of expression embodiment of the present invention and the stream that divides into groups.
Figure 43 when Figure 44 is the exchanges data of expression embodiment of the present invention and the figure of the data variation in the function of each interlayer among Figure 45.
The precedence diagram of the function (order, message) of each interlayer when Figure 45 is the exchanges data of expression embodiment of the present invention and the stream that divides into groups.
Figure 46 is the function (order, message) of each interlayer in disconnection when order of expression embodiment of the present invention and the precedence diagram of the stream that divides into groups.
(a) of Figure 47 is the key diagram of the data variation in the function of each interlayer of the Figure 46 in disconnection when order of expression embodiment of the present invention and the arrow to the right among Figure 48, and (b) of Figure 47 is the key diagram of the data variation in the function of each interlayer of expression embodiment of the present invention.
Figure 48 is the function (order, message) of each interlayer in disconnection when order of expression embodiment of the present invention and the precedence diagram of the stream that divides into groups.
Figure 49 is the data and the ideograph that passes on that is connected parameter of connection request function in the main website of expression embodiment of the present invention.
Figure 50 is the ideograph that passes on of connection parameter of the connection request function in the pair station of expression embodiment of the present invention.
Figure 51 is that the data that are connected notification function in function and the secondary station and the ideograph that passes on of connection parameter are 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 the data and the ideograph that passes on that is connected parameter of the connection request function in the main website that is illustrated under the situation that interlayer share to connect parameter.
Figure 55 is the variation of execution mode, is the data and the ideograph that passes on that is connected parameter of the connection notification function in the pair station that is illustrated under the situation that interlayer share to connect 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, adopt 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)
In execution mode described later, explain the structure and the action of the transmitter and the receiver of communication system of the present invention based on the OSI7 layer model.Here, the OSI7 layer model is also referred to as so-called ' OSI basic reference model ', ' OSI hierarchical mode '.
In the OSI7 layer model, in order to realize the data communication between different machines, the communication function that computer should have is split into 7 layers, to the functional module of each layer definition standard.
Specifically, the 1st layer (physical layer) takes on electric conversion or the mechanical operation that is used for data are sent to communication line.The 2nd layer (data link layer) guarantees the communication path of physical property, and carries out the error detection occurs etc. of the data that flow at communication path.The 3rd layer (network layer) communicates the selection in path or the management of the address in the communication path.The 4th layer (transport layer) carries out data compression or error correction, repeating transmission control etc.The 5th layer (session layer) is 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 the user understands easily 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 be widely used in that transmitter is set up being connected of a plurality of communication layers with receiver and the communication system that communicates.That is, cutting apart of communication function also can be according to the OSI7 layer model.In addition, if that the communication layers that connects has is a plurality of, then the number of communication layers can at random be selected.
In addition, the present invention can connect at short notice by the 1st agreement of having omitted the station search command, and by using the 1st agreement can suitably switch the 2nd agreement that can be connected more reliably with the station search command, disconnect easily so be particularly suitable for communication path, for example based on ultrared radio communication.But the present invention also is effective in other radio communications and wire communication.
(IrSimple and IrDA)
At each execution mode, for convenience of explanation, describe based on the IrSimple of an application examples of the present invention.But the present invention is not limited to IrSimple.Have, IrSimple has improved the part of functions of IrDA in the past again.
In each execution mode, when enumerating object lesson and describe, communication means of the present invention is illustrated as IrSimple (the 1st agreement), will be loaded in the identical communication means that device loaded with this communication means and illustrate 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, under the situation of the agreement of using station search command (XID) and connection request order (SNRM), can have the hand-off process of the agreement as feature of the present invention described later.Certainly, also can not 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 expression present embodiment.As shown in Figure 1, transmitter 1 comprises: CPU11, memory 12, controller 13 and transmitting element (the 1st transmitting element) 14, for example, it is according to the IrDA standard, data can 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 present embodiment can constitute by hardware logic (telecommunication circuit) again, also can use CPU and realizes by 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, finish 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 sends from transmitting element 14, and the transmission end notification of the transmission that will represent to order situation about having finished is sent to CPU11.
Command packet generation unit 132 generates the connection request order according to the connection request of accepting from control unit 131.In addition, when the data that comprised exist, accept data in the connection request order, 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 by the infrared communication path, and the grouping time interval in accordance with regulations that slave controller 13 is received sends to the outside.
As shown in Figure 4, in the transmitter 1 of present embodiment, when CPU11 has connection request, control unit 131 is generated by command packet generation unit 132 and is used to preserve the SNRM grouping of set point as the 1st grouping that is generated, and it is sent to the outside by 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 present embodiment is described with reference to Fig. 2.Fig. 2 is the block diagram of structure of the receiver (transmitter/receiver circuit, transmitter-receiver) 2 of expression present embodiment.As shown in Figure 2, receiver 2 comprises: CPU21, memory 22, controller 23, CDR (clock data recovery) 26, receiving element 25, transmitting element 24.Have, each piece of the transmitter 1 of present embodiment can constitute by hardware logic (telecommunication circuit), also can use CPU to pass through software and realize again.
Receiving element 25 receive the grouping that sends from transmitter 1, and the grouping that will receive is sent to CDR26 by the infrared communication path.CDR26 is used for extracting (recovery) clock signal and command signal based on the grouping that receives from received signal.CDR26 is sent to controller 23 with the clock signal and the command signal of being restored.
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 by 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 corresponding processing of the notice of control unit 231.
As shown in Figure 4, in the receiver 2 of present embodiment, grouping 25 that receive by packet identification unit 233 identification, that send by the transmitter 1 of present embodiment 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 present embodiment 1, when the command packet that is generated by command packet generation unit 132 is the SNRM order of IrDA shown in Figure 5, will be made as 0xFFFFFFFF as the Destination Device Address of the remote station address in this SNRM order.Destination DeviceAddress is 0xFFFFFFFF, is defined as broadcast address in IrDA, but it is the non-code that utilizes that is not used.Therefore, even use the SNRM order of IrDA, also can will be sent to specific transmitter-receiver in the situation of using the communication mode different with IrDA.
In addition, in the receiver 2 of present embodiment 2, when the Destination Device Address of the SNRM order of the IrDA that receives in packet identification unit 233 is 0xFFFFFFFF, be judged as and using the communication mode different with IrDA, and directly generate the UA response by command packet generation unit 232, send by transmitting element 24.
[execution mode 4]
Required in the SNRM order of the expression IrDA connection on the middle and senior level among (a) of Fig. 6, added the grouping that adds the zone of user data from high level.Have, this additional areas also can not be in the position of Fig. 6 (a) again.
(c) of Fig. 6 but 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 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 by differentiating this parameter recognition symbol.For the high level data of record in Fig. 6 (a), accord with by 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 represents the block diagram of the transmitter of present embodiment.As shown in Figure 3, this transmitter is on transmitter shown in Figure 11, has added the transmitter 3 of receiving element 35 and CDR36, packet identification unit 333, timer 37.
Accepted the control unit 331 of connection request by CPU31, by directly accepting the user data that is used for high-rise connection from high level by CPU31 or via memory 32, it is transferred to command packet generation unit 332, but and can receive parameter such as data length with maximum transfer rate, the maximum of our station and be added in the SNRM order, send these orders by transmitting element 34.For example, as this high-rise user data, can enumerate the CONNECT order of IrDA-OBEX layer.
In addition, after sending the SNRM order, when 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 by directly accepting from user data high level, that be used for high-rise disconnection by CPU31 or via memory 32, it is transferred to command packet generation unit 332, and joins in the DISC order, send this order by transmitting element 34.For example, as this high-rise user data, can enumerate the DISCONNECT order of IrDA-OBEX layer.
In addition, after sending the DISC order, when 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, be UA when response receive grouping by packet identification unit 333, notify this situation to control unit 331, control unit 331 is when the data of UA response memory at high level, for example with in its write memory 32, and notice CPU31 simultaneously.CPU31 analyzes the 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 disconnecting failure.
For the high level data of record in Fig. 6 (b), reset the parameter recognition symbol, shown in Fig. 6 (d), by high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and handle.
[execution mode 5]
Be illustrated respectively among (a) of Fig. 7 and (b) of Fig. 7 added in the UA response of IrDA high-rise be connected required, 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), by high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and handle.
Present embodiment is that in the receiver 2 of Fig. 2, when being received the SNRM order by transmitter 1, control unit 231 will receive the advisory CPU21 of SNRM order, when having high level data simultaneously in the SNRM order, write high level data in memory 22.CPU21 analyzes high level data, differentiates the CONNECT order that whether includes OBEX in high level data.When the CONNECT order that does not comprise OBEX, it is illegal that connection request is used as, and it is just passable not beam back connection response.Differentiating 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 by 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, send these responses by transmitting element 24.For example, as this high-rise user data, the SUCCESS response of IrDA-OBEX layer is arranged, but be not limited 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.Also can dispose high-rise data in this DM response, the data as in this case high level for example have the Internal Server Error response of OBEX, but are not limited 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 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 by differentiating this parameter recognition symbol.For (a) of Fig. 7 and (c) middle high level data of putting down in writing of Fig. 7, by 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 required user data in the high-rise disconnection from high level by CPU21 or by memory 22, it is transferred to command packet generation unit 232, join in the UA response, send this response by transmitting element 24.For example, as the user data of this high level, the SUCCESS response of IrDA-OBEX layer is arranged.
[execution mode 6]
In the transmitter of in execution mode 4 and 5, putting down in writing 3 and receiver 2, receive the receiver 2 of execution mode 5 of the SNRM order that comprises high-rise user data of execution mode 4 record, to receive the advisory CPU21 of SNRM order, the user data of the high level that is comprised in also SNRM being ordered simultaneously directly or by memory 22 is sent to CPU21.
CPU21 is based on this high-rise user data, carries out high-rise connection, will directly or by memory 22 be transferred to control unit 231 as the user data of the connection response of high level simultaneously.
Control unit 231 is transferred to packet generating part 232 with this user data, 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, to receive the advisory CPU31 of response, the user data of the high level that is comprised in simultaneously UA being responded directly or by memory 32 is sent to CPU31.CPU31 carries out high-rise connection based on this high-rise user data.
On the other hand, in the transmitter of in execution mode 4 and 5, putting down in writing 3 and receiver 2, receive the receiver 2 of execution mode 5 of the DISC order of comprising of execution mode 4 of high-rise data, to receive the advisory CPU21 of DISC order, the user data of the high level that is comprised in simultaneously DISC being ordered directly or by memory 22 is sent to CPU21.
CPU21 is based on this high-rise user data, carries out high-rise disconnection, will be transferred to control unit 231 as the user data of the response of the disconnection of high level directly or by 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 being judged as high-rise data, not comprising the DISCONNECT order of OBEX,, can not beam back and reply, also the Internal Server Error response of OBEX can be configured in the DV response and send as illegal disconnection request.
In addition, high level data for record in Fig. 7 (b), by resetting the parameter recognition symbol, such shown in Fig. 6 (d), high level data is set as parameter, in the receiving circuit of original IrDA mode, also can easily know position, length, the data of high level data, and 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, to receive the advisory CPU31 of response, the user data of the high level that is comprised in simultaneously UA being responded directly or by memory 32 is sent to CPU31.CPU31 carries out high-rise disconnection based on this high-rise user data.At this moment, when 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.
By above step, in 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 by a packet switching.Figure 18 represents the signal sequence of present embodiment.
[execution mode 7]
Fig. 3 represents the transmitter 3 of present embodiment.Within each structure of above-mentioned transmitter 3, the each several part of the receiver 2 of record is identical in receiving element 35, CDR36, packet identification unit 333 and the execution mode 2, and timer 37 is according to from the request of control unit 331 and Measuring Time.
As shown in Figure 8, when 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 finished is sent to CPU31.Then, generate, send SNRM order, transfer to the connection processing of IrDA based on IrDA.Fig. 9 represents to be used to represent the signal sequence of this form.
In addition, when sending the XID order, timer 37 is started, do not receive XID when response within a certain period of time from receiver, 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 represents the signal sequence of this form.
[execution mode 8]
Fig. 2 represents the receiver 2 of present embodiment.In receiver 2, in packet identification unit 233, be identified as under the situation of XID order by first order of accepting unit 25 receptions, in Discovery-flag in order shown in Figure 19 (discovery mark) zone, at the XID time slot is when meaning 1 value, 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 represents 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 is not all finished, so after the XID order, 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 it can be included in the above-mentioned UA response by CPU21.Figure 12 represents 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, as 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 present embodiment, and Fig. 2 represents the receiver 2 of present embodiment.But receiver 2 also can not comprise command packet generation unit 232 and transmitting element 24.
In addition, Figure 13 represents that having added the expression communication direction in the SNRM order of IrDA is 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.In present embodiment, but maximum transfer rate, the maximum of our station can be received set point required in the isoparametric communication of data length and represent that the data of communication direction send with the SNRM order.
As shown in figure 17, having sent the flag settings that will represent communication direction is that the transmitter 1,3 that unidirectional SNRM orders does not wait for that the UA from receiver 2 responds, and uses I frame or UI frame to begin data and transmits.Have again, in the time of in the mark that will represent described communication direction is configured in the SNRM order, shown in Fig. 6 (d), by the form of parameter recognition symbol (PI), parameter length (PL), parameter value (PV), and the parameter recognition symbol pre-determined be remote station, 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. the I frame of transmitter to be used or the data of UI frame transmit.When in the SNRM order that receives, not comprising above-mentioned high level data, also can not transfer to data and transmit holding state, as illegal connection request.In addition, when in above-mentioned high level data, not comprising the CONNECT order of OBEX, also can not transfer to data and transmit holding state, as illegal connection request.
The folk prescription of realizing by 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 failing as User Recognition, the view data of user's transmission sometimes is not presented on the receiving terminal image display, and shows different images.
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, by one of them method of the present invention, in the state of having established with remote station that is connected, produced when disconnecting request at high level by the CPU21 management, by memory 22, disconnect request msg and be transferred to control unit 231.Control unit 231 should disconnect request msg and be transferred to packet generating part 232, and packet generating part 232 joins this user data in the DM response, sends it by transmitting element 24.Disconnection request in this case 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, high level data for record in Fig. 7 (c), by 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]
In present embodiment,, illustrate that the communication means that the respective embodiments described above are illustrated is applied to the situation of mobile phone with reference to Figure 20.Have again, in present embodiment, on transmitter and receiver, used mobile phone, if but transmitter or receiver wherein once the side for mobile phone can, if can carry out sending or receiving by any one mode of the present invention, even be not that mobile phone is also passable then to method, apparatus based on the data of infrared ray etc.
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, by with the data configuration of high level in SNRM order and UA respond, and send reception, the data of high level can be sent to remote station with a grouping.Therefore, with the method for attachment of a plurality of groupings of in the past IrDA mode relatively, can in the shorter time, finish 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, odds reduces errors.
[execution mode 12]
In present embodiment,, illustrate that the communication means that the respective embodiments described above are illustrated is applied to the situation of mobile phone and display unit with reference to Figure 21.Have again,, use mobile phone, but if can carry out the transmission of the data of infrared ray etc. by one of them mode of the present invention, transmitting apparatus not that mobile phone is also passable as transmitter in present embodiment.
In Figure 21, use infrared ray, the data in the mobile phone A are sent to display unit B (TV or monitor etc.).At display unit B, carry out suitable processing for the data that send from mobile phone A, for example, when being view data, as required compressed data being carried out decompress(ion) etc., thereby show, but be not limited 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, by with the data configuration of high level in SNRM order and UA respond, and send reception, the data of high level can be sent to remote station with a grouping.Therefore, with the method for attachment of a plurality of groupings of in the past IrDA mode relatively, can in the shorter time, finish 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, odds reduces errors.
[execution mode 13]
In present embodiment, with reference to Figure 22, explanation will be applicable to the situation of mobile phone and printing equipment with the illustrated communication means of the respective embodiments described above.Have, in present embodiment, 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 by 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 suitable processing for the data that send 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, by with the data configuration of high level in SNRM order and UA respond, and send reception, the data of high level can be sent to remote station with a grouping.Therefore, compare, can in the shorter time, finish 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, and the odds that reduces errors.
[execution mode 14]
In present embodiment, with reference to Figure 23, explanation will be applicable to the situation of mobile phone and tape deck with the illustrated communication means of the respective embodiments described above.Have, in present embodiment, 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 by 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 suitable processing for the data that send 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 in the tape deck B or 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, by with the data configuration of high level in SNRM order and UA respond, and send, the data of high level can be sent to remote station with a grouping.Therefore, compare, can in the shorter time, finish 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, and the odds that reduces errors.
[execution mode 15]
In present embodiment,, explain the function of realization with the LPA layer of the illustrated communication means of the respective embodiments described above with reference to Figure 24 to Figure 27.
(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, disconnect control unit 111c.Connection control unit 111a carries out the connection processing based on the IrSimple-LPA agreement.Data transmit control unit 111b carries out transmitting based on the data of IrSimple-LAP agreement.Disconnection control unit 111c carries out the disconnection process based on the IrSimple-LAP agreement.Therefore, IrSimple-LAP control unit 111 carries out connection processing by connecting control unit 111a when connecting, when data transmit, carry out data by data transmit control unit 111b and transmit, when disconnecting, carry out disconnection process by disconnecting control unit 111c.
The communication that IrDA-LAP control unit 112 carries out based on the IrDA-LAP agreement.Therefore, IrDA-LAP control unit 112 comprises: connect control unit 112a, data transmit control unit 112b, disconnect control unit 112c.Connection control unit 112a carries out the connection processing based on the IrDA-LAP agreement.Data transmit control unit 112b carries out transmitting based on the data of IrDA-LAP agreement.Disconnection control unit 112c carries out the disconnection process based on the IrDA-LAP agreement.Therefore, IrDA-LAP control unit 112 carries out connection processing by connecting control unit 112a when connecting, and when data transmit, carries out data by data transmit control unit 112b and transmits, and when disconnecting, carries out disconnection process by disconnecting control unit 112c.
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, after having sent the station search command that after the SNRM order as the connection request order sends, sends that continues, under the situation of having beamed back the XID response next, switch to IrDA-LAP control unit 112.In addition, agreement switch unit 113 is under the situation at receiver (secondary station), IrSimple-LAP control unit 111 is at first moved, in the XID order (1 time slot) that receives continuously as the station search command, and receive 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 are subjected to agreement control unit 110A control.Timer 120 for example is used when agreement control unit 110A carries out overtime judgement.
Sending 130 pairs of transmission request commands from high-rise (LMP layer) of request command analytic unit analyzes.Here so-called transmission request command is connection request, data transmission requests, disconnection request.Analysis result is notified to agreement control unit 130.
Send with the transmission data of high level data memory cell 140 storages from high-rise (LMP layer).The data of 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 (disconnecting request), under the situation at pair station, be UA response (connection is replied, disconnected and replying), UI response (data transmit and reply).
160 pairs of received frames from low layer (PHY layer) of received frame analytic unit are analyzed, and analysis result is notified to agreement control unit 110A.The high level data that will 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, disconnect 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 situation about 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 that sends.
LAP layer 100C comprise agreement control unit 110C, timer 120, send request command analytic unit 130, send with high level data memory cell 140, 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, the data transmit control unit 111Cb that possess of IrSimple-LAP control unit 111C, disconnect connection processing, data transfer process, disconnection process that control unit 111Cc carries out transmitter respectively.
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, transmission high level data memory cell 140, transmit frame generation unit 150 simultaneously 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, the data transmit control unit 111Db that are possessed of IrSimple-LAP control unit 111D, disconnect connection processing, data transfer process, disconnection process that control unit 111Dc carries out receiver respectively.
In other respects, LAP layer 100D is identical with LAP layer 100A, so omit explanation.
[execution mode 16]
In present embodiment,, the combination between the agreement of the agreement of transmitter and receiver 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.As shown in figure 28, transmitter and receiver are according to corresponding to which of, IrDA with twocouese/folk prescription of IrSimple 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., in general, only preparing has the interface (interface) of infrared communication being connected (ON), shutoff (OFF) degree.
In such state, when the agreement of supporting at transmitter and receiver is different, transmitter of the present invention and receiver are when the combination of the agreement that can select to communicate by letter, handoff protocol as described above, and when the combination of the agreement that can not select to communicate by letter, for example, the reason that can not communicate by letter to user notification.This reason that can not connect is, 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 finished connection, show the agreement that is connected, when not finishing connection, show the situation of not finishing connection, the reason that can not connect simultaneously also can show by combination carries out.Thereby by the reason that can not communicate by letter of notice, the user can carry out suitable reply (for example, for the communication protocol of not supporting is supported, with firmware update etc.).
Below represent several examples.Have again, in the following description,, 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 under the corresponding situation of IrSimple twocouese and each equipment.
At mobile phone as transmitter, after the SNRM of IrSimple agreement sends, owing to receive UA immediately, thus finish being connected under receiver and the IrSimple agreement showing on the display unit, and notify the user.
On the other hand, in display unit, by before the XID order, receiving SNRM, thereby discern, and, finish the connection under the IrSimple by beaming back UA to transmitter is corresponding with IrSimple as the TV of receiver etc.At this constantly, the connection under demonstration IrSimple on the picture is finished, and notifies the user.
By above-mentioned action, the user can easily discern the agreement after the connection.
Have again, also can be substituted in to connect and finish the back and show connection protocol, for example behind sign off, come the notifying communication agreement by the communication marks of communicating by letter before.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 transmission back connection in the IrSimple agreement is finished, and notify the user as transmitter.
On the other hand,, by before XID order, receiving SNRM, thereby discern, and finish connection under the IrSimple transmitter is corresponding with IrSimple in display unit such as TV as receiver.At this constantly, the connection under demonstration IrSimple on the picture is finished, and notifies the user.
By above-mentioned action, the user can easily discern the agreement after the connection.
Have again, also can be substituted in to connect and finish the back and show connection protocol, for example behind sign off, come the notifying communication agreement by the communication marks of communicating by letter before.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 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 and each equipment.
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 as receiver, by before the XID order, receiving SNRM, 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 by 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 under the situation of the display unit that the agreement of the mobile phone of the communication under the IrDA in the past and available IrSimple twocouese and IrDA communicates and each equipment.
In mobile phone as transmitter, after the XID of IrDA agreement order sends, by receiving XID response from receiver, after the XID-End order sends, send the SNRM of IrDA form in the past, and in the moment that receives the UA response, the connection of carrying out under the IrDA is finished, this intention is presented on the display unit, and notifies the user.
On the other hand, in display unit as TV of receiver etc., transmission with XID order, XID response, XID-End receives, finish the station search under the IrDA, and after the SNRM order that receives the IrDA form,, finished 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 in the IrDA mode, if but transmitter is supported IrSimple, then also can carry out the connection of IrSimple mode by showing, the user can obtain the reply with firmware update etc., so that as the supported protocol of transmitter, newly append IrSimple twocouese agreement.
Have again, be substituted in to connect and finish back demonstration connection protocol, for example, also can be behind sign off, the display communication agreement by the communication marks of previous communication.In addition, replace 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 because the XID that can not receive from receiver responds as transmitter.
On the other hand, in display unit such as TV as receiver, by before the XID order, receiving SNRM, thereby to transmitter is discern corresponding with IrSimple, but because receiver is not supported the IrDA agreement, so be used as connection failure, and this intention be presented on the picture, and notify the user.At this moment, the reason by connection failure also shows together, can obtain the reply with firmware 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 that illustrates in the present embodiment is applicable to execution mode 1~16 again.Therefore, for the term of definition in the execution mode 1~16, only otherwise explanation especially in advance still defines according to it in the present embodiment and uses.
(1) communication layers
Figure 34 is the schematic diagram of the corresponding relation between the layering of the layering of expression OSI7 hierarchical mode, IrDA and communication system of the present invention.
Each communication layers of the communication system of present embodiment also has the layering equal function corresponding with above-mentioned OSI7 layer model.But as shown in figure 34, above-mentioned communication system forms one with session layer and display layer, becomes the structure of 6 layerings.
In present embodiment, for convenience of explanation, describe based on the IrSimple of an application examples of the present invention.But the present invention is not limited to IrSimple.Have, IrSimple has improved the part of functions of IrDA in the past again.
In present embodiment, according to IrSimple, sometimes with data link layer, network layer, transport layer, session layer+display layer respectively souvenir be LAP, LAMP, SMP, OBEX.In addition, 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 expression present embodiment (response is arranged).And the key diagram of data structure of Figure 35 (c) communication data when being the order of connection of expression present embodiment (response is arranged).
Present embodiment (response is arranged),, can make the SNRM order have the function (the SNRM command of Figure 35 (c)) same with search by in the Destination of SNRM Device Address, using global address (global address).
In addition, present embodiment (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, the connection grouping cohesion that necessary being used in IrDA in the past can be connected each high level is a grouping.
Therefore, can with needed in the past the search of a plurality of groupings and the order of connection with a grouping to carrying out.
[B] do not have response
(b) of Figure 35 is the precedence diagram of the order of connection of expression present embodiment (not having response).And the key diagram of the data structure of Figure 35 (c) communication data when being the order of connection of expression present embodiment (do not have response).Have again,, do not need UA response (the UA response for SNRM of (c) of Figure 35) present embodiment (not having response).
According to user or application and data class, can select will be from the response abridged communication mode of receiver.In this case, shown in Figure 35 (b), only just can finish to search for and be connected with the SNRM order.
Like this, the order of connection of present embodiment goes up the required time by 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 disconnect easily, for example ultrared radio communication.Wherein, comprising that IEEE802.11 is wireless, also be effective in other radio communications of Bluetooth and the wire communication.
In addition, in present embodiment, illustrated once communicating to connect the example of all communication layers, but the invention is not restricted to this.For example, after having connected a communication layers, also can connect remaining a plurality of communication layers.In addition, the connection of a communication layers also can be undertaken by repeatedly communicating by letter.For example, need in the connection of network layer 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, second time of network layer is connected 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 expression present embodiment (response is arranged).And Figure 36 (a) is the key diagram of data structure of communication data in exchanges data when order of expression present embodiment (response is arranged).
Present embodiment (response is arranged), reduce low layer and high-rise response between each data as possible, whether beam back after having sent a plurality of data has mistake.
Transmitter when data communication, use by be used for inquiring about in the packet number of order and receive the whether no problem mark of data, grouping that partition data that the size of above-mentioned data based grouping is cut apart is constructed.
Shown in Figure 36 (a), transmitter sends after the packet count that has sent stated number opens the grouping of (on) with above-mentioned mark.To this, receiver from before data begin to receive, or receive the opened grouping of above-mentioned mark, after beaming back, when not detecting mistake, the intention that the transmitter notice is normally received.In addition, receiver from before data begin to receive, or receive the opened grouping of above-mentioned mark, and after beaming back, when detecting mistake, ignore the later above-mentioned partition data part of grouping that can not receive, only confirm above-mentioned mark, and be in when opening the packet number that can not receive because of mistake the transmitter notice at above-mentioned mark.
And then,, when receiving normally the intention that receives, receiver carries out at transmitter from the transmission of next one grouping.In addition, transmitter is when receiving the notice of mistake, from the packet number that can not receive, with opened packet retransmission till the grouping of above-mentioned mark.
Thus, can make between grouping and shorten, can carry out the high communication of efficient.
Shown in Figure 36 (a),, use UI frame (Figure 37 (b)) present embodiment (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 expression present embodiment (not having response).And the key diagram of the data structure of Figure 38 (b) communication data when being the exchanges data order of expression present embodiment (do not have response).
Present embodiment (not having response), under the situation of the response that does not need receiver, only confirm the completeness of data.Therefore, transmitter sends whole data in a continuous manner to the packet allocation serial number.
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 present embodiment (do not have response).
(2-3) disconnection order
[A] has response
(a) of Figure 39 is the precedence diagram of the disconnection order of expression present embodiment (response is arranged).And Figure 39 (c) is the key diagram of data structure of communication data in disconnection when order of expression present embodiment (response is arranged).
Shown in Figure 39 (c), present embodiment (response is arranged), parameter and order required in the disconnection with network layer, transport layer, session layer, display layer contour level are inserted among DISC order and the UA response.
Thus, can be with the disconnection that needed a plurality of groupings in the past 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 expression present embodiment (not having response).And Figure 39 (c) is the key diagram of data structure of communication data in disconnection when order of expression present embodiment (response is arranged).Have again,, do not need UA response (the UA response of Figure 39 (c)) present embodiment (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 disconnect with the DISC order present embodiment (not having response).
(3) order in transmitter, the receiver
In Figure 40~Figure 56, for convenience of explanation, be LAP with the data link layer souvenir, be LAMP with the network layer souvenir, be TTP or SMP with the transport layer souvenir, be OBEX with session layer and display layer souvenir.In addition, for communication layers is distinguished note on transmitter " P ", note on receiver " S " with transmitter and receiver.For example, " LAP (P) " means the data link layer of transmitter.
(3-1) order of connection
[A] has response
Figure 40 is the precedence diagram of the order of connection of expression present embodiment (response is arranged).And the key diagram of the data structure of Figure 41 (a), Figure 41 (b) communication data when being the order of connection of expression present embodiment (response is arranged).
As shown in figure 40, present embodiment (response is arranged), transmitter, receiver all connect preparation.Then, when transmitter directly is transferred to low layer with the request of high level, send as a grouping (SNRM).On the other hand, receiver is accepted SNRM grouping, after having carried out being directly connected to the notice of high-rise intention, when the response of OBEX (S) directly is transferred to low layer, sends as a grouping (UA).Transmitter is finished connection by accepting UA, to high level give notice (Connect.confirm).
Order in transmitter at this moment, the receiver is following like that.
Each communication layers of transmitter at first, is described.
When OBEX (P) arrives at the connection request that comes self-application, promptly low layer (SMP (P)) is joined the connection request order and produce connection request function (Primitive) in the data.In addition, OBEX (P) confirms the response that OBEX connects, if the response of no problem (Success) then ought connect and finish from these data when having accepted from SMP (P) to connect the affirmation function.
SMP (P) accepts the connection request function from OBEX (P), 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 remove from data that connect to confirm function after the parameter of SMP (S) of SMP (P) confirm that as connecting function sends OBEX (P).
LMP (P) accepts the connection request function from SMP (P), 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 remove the parameter of LMP (S) from data that connect to confirm function confirm that as connecting function sends SMP (P).
Have again, be defined LSAP (Link Service AccessPoint) usually for logic port is managed.Thereby, carrying out one in mode one to one when connecting, do not need to use LMP.In this case, connectionless value among the LSAP is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (P) accepts the connection request function from LMP (P), 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, extracts the parameter that the LAP (S) of receiver generates from the data of UA response out, confirms its value, thereby finishes the negotiation with LAP (S).In addition, LAP (P) data that will remove the parameter of LAP (S) from the data of UA response confirm that as connecting function sends LMP (P).
Each communication layers of receiver then, is described.
OBEX (S) accepts the connection request function from application, thereby becomes the reception holding state.In addition, OBEX (S) is from low layer (SMP (S)) when having accepted connection notification function (Indication), among these data, confirm the OBEX bind command, if it is no problem, then the response of so-called Success is replied function (Response) to SMP (S) output as connection, and finish when connecting.
SMP (S) accepts the connection request function from OBEX (S), thereby becomes the reception holding state.In addition, SMP (S) is from low layer (SMP (S)) when having accepted the connection notification function, extract the parameter that the SMP (P) of transmitter generates among the data of function out, formation is to its parameter of replying, and after the connection request function of the data gained that will add the parameter of having removed SMP (P) from the data of above-mentioned function sends to OBEX (S), wait for and reply function from the connection of OBEX (S).In addition, SMP (S) is when having accepted to reply function from the connection of OBEX (S), additional above-mentioned parameter of replying in the data of the connection of the OBEX (S) of LMP (S) being replied function, thus LMP (S) produced to connect replys function, and finish the negotiation of SMP layer.
LMP (S) accepts the connection request function from SMP (S), thereby becomes the reception holding state.In addition, LMP (S) is from low layer (LAP (S)) when having accepted the connection notification function, from the data of function, extract the parameter of LMP (P) generation of transmitter out, formation is to its parameter of replying, and after the connection request function of the data gained that will add the parameter of having removed LMP (P) from the data of above-mentioned function sends to SMP (S), wait for and reply function from the connection of SMP (S).In addition, LMP (S) 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, be defined LSAP (Link Service AccessPoint) usually for logic port is managed.Thereby, carrying out one in mode one to one when connecting, do not need to use LMP.In this case, connectionless value among the LSAP is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (S) accepts the connection request function from LMP (S), thereby becomes the reception holding state.In addition, LAP (S) is when having accepted the SNRM order from physical layer, from the data of SNRM order, extract the parameter of LAP (P) generation of transmitter out, after the connection request function of the data gained that will add the parameter of having removed LAP (P) from the data of SNRM order sends to LMP (S), formation is to its parameter of replying, and wait is replied function from the connection of LMP (S).In addition, LAP (S) replys additional above-mentioned parameter of replying in the data of function in the connection of LMP (S) when having accepted to reply function from the connection of LMP (S), thereby to physical layer output UA response, and finish the negotiation of LAP layer.
[B] do not have response
Figure 42 is the precedence diagram of the order of connection of expression present embodiment (not having response).And the key diagram of the data structure of Figure 41 (a) communication data when being the order of connection of expression present embodiment (do not have response).
As shown in figure 42, present embodiment (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 was finished when connecting in the moment that has sent the SNRM grouping, from LAP (P) to high level give notice (Connect.confirm).On the other hand, receiver is accepted the SNRM grouping, carries out being directly connected to the notice of high-rise intention, finishes when connecting in the moment of having notified OBEX (S).
The transmitter of this moment, the order in the receiver are as described below.
Each communication layers of transmitter at first, is described.
When OBEX (P) arrives at the connection request that comes self-application, promptly low layer (SMP (P)) is joined the connection request order and produce connection request function (Primitive) in the data.In addition, OBEX (P) finishes when connecting when having accepted from SMP (P) to connect the affirmation function.
SMP (P) accepts the connection request function from OBEX (P), 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 that is sent accepted to connect the moment of confirming function from LMP (P), finishes the negotiation of SMP layer.In addition, at this moment, SMP (P) sends to connect to OBEX (P) and confirms function.
LMP (P) accepts the connection request function from SMP (P), 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 that is sent accepted to connect the moment of confirming function from LAP (P), finishes the negotiation of LMP layer.In addition, at this moment, LMP (P) sends to connect to SMP (P) and confirms function.
Have again, be defined LSAP (Link Service AccessPoint) usually for logic port is managed.Thereby, carrying out one in mode one to one when connecting, do not need to use LMP.In this case, connectionless value among the LSAP is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (P) accepts the connection request function from LMP (P), 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 that is sent in the moment of having exported the SNRM order, finished the negotiation of LAP layer.In addition, at this moment, LAP (P) sends to connect to LMP (P) and confirms function.
Each communication layers of receiver then, is described.
OBEX (S) accepts the connection request function from application, becomes the reception holding state.In addition, OBEX (S), then ought connect and finish if no problem when having accepted connection notification function (Indication), confirming the OBEX bind command from low layer (SMP (S)) among these data.
SMP (S) accepts the connection request function from OBEX (S), becomes the reception holding state.In addition, SMP (S) is from low layer (SMP (S)) when having accepted the connection notification function, extracts the parameter that the SMP (P) of transmitter generates from the data of function out, uses this parameter and finishes negotiation.Then, SMP (S) the connection request function that will add the data gained of the parameter of having removed SMP (P) from the data of above-mentioned function sends to OBEX (S).
LMP (S) accepts the connection request function from SMP (S), becomes the reception holding state.In addition, LMP (S) is from low layer (LAP (S)) when having accepted the connection notification function, extracts the parameter that the LMP (P) of transmitter generates from the data of function out, uses this parameter and finishes negotiation.Then, LMP (S) the connection request function that will add the data gained of the parameter of having removed LMP (P) from the data of above-mentioned function sends to SMP (S).
Have again, be defined LSAP (Link Service AccessPoint) usually for logic port is managed.Thereby, carrying out one in mode one to one when connecting, do not need to use LMP.In this case, connectionless value among the LSAP is used as fixed value.Therefore, do not need the connection parameter exchange of LMP.
LAP (S) accepts the connection request function from LMP (S), becomes the reception holding state.In addition, LAP (S) is accepting SNRM when order from physical layer, extracts the parameter that the LAP (P) of transmitter generates from the data of SNRM order out, uses this parameter and finishes negotiation.Then, LAP (S) the connection request function that will add the data gained of the parameter of having removed LAP (P) from the data of above-mentioned function sends to LMP (S).
(3-2) exchanges data order
[A] has response
Figure 43 is the precedence diagram of the exchanges data order of expression present embodiment (response is arranged).And Figure 44 is the key diagram of data structure of communication data in exchanges data when order of expression present embodiment (response is arranged).
As shown in figure 43, present embodiment (response is arranged), transmitter produces the PUT order, and this order is transferred into low layer, and (Figure 37 (b)) is output as the UI frame.
On the other hand, receiver is accepted data, and high level is given notice.At this moment, at SMP (S), to the OBEX (S) of high level, notification data is (status=truncated) continuously.
Transmitter after the grouping that has sent certain fixed number, with confirm data whether the mark of complete arrival open (ON) and send.After receiving it, whether receiver has SMP (S) mistake, the number notifying transmitter of mistake will take place when mistake is arranged.
If be free from mistakes, the then next grouping of transmitter output, and if mistake is arranged, then transmitter is retransmitted the later grouping of grouping that mistake is arranged.
When becoming last data, transmitter is that the mark of last data is opened and sent with expression.To this, if being labeled as, this opens, then the SMP of receiver (S) gathers (status=OK) to OBEX (S) notification data, and waits for the response of OBEX (S).Then, when the response of OBEX (S) has 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 described below.
At transmitter, order sends function as data to OBEX (P) to low layer output PUT.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.During order beyond PUT Final order or PUT order, wait for data notification function, observe response in these data and the finish command from low layer.
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 the order beyond PUT Final order or the PUT order, sends function and returns response as data.
Here, the data transmission function of high level 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 sends data in the function big or small less than data, these data are divided into the size that LMP can send, when size that (b) can send with LMP sends size of data in the function greater than data, several data are carried out combination, the following bigger data of size that formation can send.In addition, SMP forms the SMP head, this head be added into order number, to the independent variable of the last data of independent variable, the expression of the other side's equipment query data receiving state, expression the SMP of method, apparatus is needed whether normal independent variable of the independent variable of the response of OBEX, data that expression is received.Then, with added above-mentioned cut apart or the data of combination in the data of data gained after having added this SMP head send function and send to LMP.
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 the data from the data notification function of several low layers can be merged back output.
The SMP of transmitter (P) will be the data transmission function to LMP (P) from the data transmission functional transformation of OBEX (P), and the data that send certain data volume of fixing a number of defined send function.Then, it is that True sends data transmission function that SMP (P) makes the independent variable to receiver data query accepting state, waits for the data notification function of LMP (P).
SMP (P) is to analyzing from the SMP head in the data notification function of LMP (S), 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, from notified data transmission function for can not normally receiving, 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.SMP (P) repeats to produce once more data and sends function, and the notified receiver of data until whole data transmission functions 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 to LMP (P) that these data send the final data of function and sends function thereby send.
On the contrary, the SMP of receiver (S) is when 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 transmission function as data to LMP (S).
On the other hand, detect can not normally receive the time at SMP (S), storage is predicted to be the number of the SMP head that can not normally receive.For example, receiving 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 independent variable of representing to be received 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 the 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 counted as being in just often so wait to bide one's time owing to the notice that stops 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 not needing to use LMP under the situation of a connection in mode one to one.In this case, in the LMP head, add the LSAP that 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 having removed the LAP head from the data of this UI frame 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 in present embodiment.
[B] do not have response
Figure 45 is the precedence diagram of the exchanges data order of expression present embodiment (not having response).And the key diagram of the data structure of the communication data of Figure 44 when being the exchanges data order of expression present embodiment (do not have response).
As shown in figure 45, present embodiment (not having response), transmitter produces the PUT order, and this order is transferred into low layer, is output as the UI frame.
On the other hand, receiver is accepted data, and high level is given notice.At this moment, at SMP (S), to the OBEX (S) of high level, notification data is (status=truncated) continuously.
When becoming last data, transmitter is that the mark of last data is opened and sent with expression.To this, if being labeled as, this opens, then the SMP of receiver (S) gathers (status=OK) to OBEX (S) notification data, thus the end data exchange sequence.
The transmitter of this moment, the order in the receiver are as described below.
At transmitter, order sends function as data to OBEX (P) to low layer output PUT.But OBEX (P) does not need just can the finish command to the response of all orders.Then, OBEX (P) exports Next Command under the situation that can be sent by SMP (P).
At receiver, OBEX (S) accepts the data notification function from low layer, and all orders are not returned response and only accepted data.
Here, 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 sends data in the function big or small less than data, these data are divided into the size that LMP can send, when size that (b) can send with LMP sends size of data in the function greater than data, several data are carried out combination, the following bigger data of size that formation can send.In addition, SMP forms the SMP head, this head be added into order number, to the independent variable of the last data of independent variable, the expression of the other side's equipment query data receiving state, expression the SMP of method, apparatus is needed whether normal independent variable of the independent variable of the response of OBEX, data that expression is received.Then, with added above-mentioned cut apart or the data of combination in the data of data gained after having added this SMP head send function and send to LMP.
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 the data from the data notification function of several low layers can be merged back output.
The SMP of transmitter (P) will be the data transmission function to LMP (P) from the data transmission functional transformation of OBEX (P).Then, be that the data of False send under the situation of function accepted independent variable as final data from OBEX (P), the data that will add the SMP head in these data send to LMP (P).On the contrary, SMP (P) is that the data of Ture send 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 the data that send LMP (P) send function, and these data send the final data that function has added this data transmission function.
On the other hand, the SMP of receiver (S) is when having accepted the data notification function from low layer, and the data in this data notification function are analyzed the SMP head, the number of affirmation order.Then, SMP (S) analyzes the SMP head, thereby can confirm 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 disconnect 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 not needing to use LMP under the situation of a connection in mode one to one.In this case, in the LMP head, add the LSAP that 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 having removed the LAP head from the data of UI frame, and LMP (S) is sent the data notification function that has added these data 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 in present embodiment.
(3-3) disconnection order
[A] has response
Figure 46 is the precedence diagram of the disconnection order of expression present embodiment (response is arranged).And the key diagram of the data structure of Figure 47 (a), Figure 47 (b) communication data when being the disconnection order of expression present embodiment (response is arranged).
As shown in figure 46, present embodiment (response is arranged), when the ON-and OFF-command of transmitter is sent to low layer, produce the DISC order.Receiver is accepted this DISC order and notice when high-rise, returns its response, produces the UA response.Then, respond the high-rise back end of notifying to transmitter with receiving UA.
Order in transmitter at this moment, the receiver is following like that.
Each communication layers of transmitter at first, is described.
OBEX (P) promptly will disconnect 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 disconnects 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 disconnect and is finished.
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 process with SMP (S) then.In addition, SMP (S) will from data that disconnect to confirm function, remove SMP (S) the data of parameter as confirming that for the disconnection of OBEX (P) function sends.But, when disconnecting, do not have the parameter of newly appending usually by SMP (P).
LMP (P) accepts the disconnection request function from SMP (P), and promptly 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 process with LMP (S) then.In addition, LMP (P) will from data that disconnect to confirm function, remove LMP (S) the data of parameter as confirming function for the disconnection of SMP (P) and sending.But, when disconnecting, do not have the parameter of newly appending usually by LMP (P).
LAP (P) accepts the disconnection request function from LMP (P), and promptly 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, when disconnecting, do not have the parameter of newly appending usually by LAP (P).
Each communication layers of receiver then, is described.
OBEX (S) is accepting to resolve to open under the situation of knowing function (Indication) from low layer (SMP (S)), among these data, confirm the OBEX ON-and OFF-command, if it is no problem, then the response of Success is replied function (Response) as disconnection and output to SMP (S), and be used as to disconnect and finish.
SMP (S) is accepting to resolve to open under the situation of knowing function from low layer (SMP (S)), from the data of function, extract the parameter of SMP (P) generation of transmitter out, formation is for the parameter of replying of this parameter, and after the disconnection request function of the data gained that has added the parameter of having removed SMP (P) from the data of above-mentioned function sends to OBEX (S), wait for and reply function from the disconnection of OBEX (S).In addition, SMP (S) replys 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 finishes the disconnection process of SMP layer.But, when disconnecting, do not have the parameter of newly appending usually by SMP (S).
LMP (S) is accepting to resolve to open under the situation of knowing function from low layer (LAP (S)), from the data of function, extract the parameter of LMP (P) generation of transmitter out, formation is for the parameter of replying of this parameter, and after the disconnection request function of the data gained that has added the parameter of having removed LMP (P) from the data of above-mentioned function sends to SMP (S), wait for and reply function from the disconnection of SMP (S).In addition, LMP (S) replys 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 finishes the disconnection process of LMP layer.But, when disconnecting, do not have the parameter of newly 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 having removed LAP (P) from the data of DISC order sends to LMP (S), formation is for its parameter of replying, and wait is replied function from the disconnection of LMP (S).In addition, LAP (S) replys under the situation of function from the disconnection of LMP (S) having accepted, and replys additional above-mentioned parameter of replying in the data of function in the disconnection of LMP (S), thereby produces the UA response for physical layer, and finishes the disconnection process of LAP layer.But, when disconnecting, do not have the parameter of newly appending usually by LAP (S).
[B] do not have response
Figure 48 is the precedence diagram of the disconnection order of expression present embodiment (not having response).And the key diagram of the data structure of Figure 47 (a) communication data when being the disconnection order of expression present embodiment (do not have response).
As shown in figure 48, present embodiment (not having response), when the ON-and OFF-command of transmitter is sent to low layer, produce the DISC order.Transmitter finishes disconnection process constantly at this.On the other hand, receiver is accepted this DISC order and when sending it to high level, the moment till notifying high level just finishes disconnection process.
Order in transmitter at this moment, the receiver is following like that.
Each communication layers of transmitter at first, is described.
OBEX (P) promptly will join for the disconnection request command of low layer (SMP (P)) to produce in the data to disconnect and ask function (Primitive) under the situation of the disconnection request comes of coming self-application.In addition, OBEX (P) is used as to disconnect and finishes when having accepted the disconnection confirmation from SMP (P) and count.
SMP (P) accepts the disconnection request function from OBEX (P), 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) as being disconnected by the parameter that is sent, finishes the disconnection process of SMP layer in the moment of having accepted to disconnect the confirmation number from LMP (P).In addition, SMP (P) sends for the disconnection of OBEX (P) and confirms function.But, when disconnecting, do not have the parameter of newly appending usually by SMP (P).
LMP (P) accepts the disconnection request function from SMP (P), and promptly additional LMP (S) with receiver communicates required parameter in the data of the disconnection request function of SMP (P), thereby produces the disconnection request function for low layer (LAP (P)).In addition, LMP (P) as being disconnected by the parameter that is sent, finishes the disconnection process of LMP layer in the moment of having accepted to disconnect the confirmation number from LAP (P).In addition, LMP (P) sends for the disconnection of SMP (P) and confirms function.But, when disconnecting, do not have the parameter of newly appending usually by LMP (P).
LAP (P) accepts the disconnection request function from LMP (P), and promptly additional LAP (S) with receiver communicates required parameter in the data of the disconnection request function of LMP (P), thereby output is for the DISC order of the physical layer of receiver.In addition, LAP (P) as being disconnected by the parameter that is sent, finishes the disconnection process of LAP layer in the moment of having exported the DISC order.In addition, LAP (P) sends for the disconnection of LMP (P) and confirms function.But, when disconnecting, do not have the parameter of newly appending usually by LAP (P).
Each communication layers of receiver then, is described.
OBEX (S) is accepting to resolve to open under the situation of knowing function (Indication) from low layer (SMP (S)), confirms the OBEX ON-and OFF-command among these data, if no problem, then be used as to disconnect and finish.
SMP (S) opens under the situation of knowing function accepting to resolve from low layer (SMP (S)), extracts the parameter that the SMP (P) of transmitter generates from the data of function out, uses this parameter and finishes disconnection.In addition, SMP (S) the disconnection request function that will add the data gained of the parameter of having removed SMP (P) from the data of above-mentioned function sends to OBEX (S).But, when disconnecting, do not have the parameter of newly appending usually by SMP (S).
LMP (S) opens under the situation of knowing function accepting to resolve from low layer (LAP (S)), extracts the parameter that the LMP (P) of transmitter generates from the data of function out, uses this parameter and finishes disconnection.In addition, LMP (S) the disconnection request function that will add the data gained of the parameter of having removed LMP (P) from the data of above-mentioned function sends to SMP (S).But, when disconnecting, do not have the parameter of newly 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 finish disconnection.In addition, LAP (S) the disconnection request function that will add the data gained of the parameter of having removed LAP (P) from the data of DISC order sends to LMP (S).But, when disconnecting, do not have the parameter of newly appending usually by LAP (S).
(4) have or not the switching of response
With reference to Figure 49~Figure 56, flowing of data between the communication layers of transmitter and receiver and parameter is described.
In present embodiment, each communication layers LAP, LMP of transmitter and receiver, 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 described above, above-mentioned data are set in each communication layers.
On the other hand, the appointment and the negotiation result notice of the consultation parameter of the baud rate that Qos will be determined by LAP etc. are high-rise, and high level has comprised OBEX.Have again, even Qos IrDA in the past also is used.
For example, when the application of transmitter or OBEX (P) sent the Qos added the parameter that needs/do not need respond, 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)/do not need to respond, and can carry out twocouese/unidirectional connection.
The data between the communication layers when Figure 49~Figure 53 is the order of connection (Figure 40) of expression present embodiment (response is arranged) and the key diagram that flows of parameter.Have, the parameter of the QoS between OBEX-SMP, between SMP-LMP, between LMP-LAP can be identical again, also can be different.Therefore, in the drawings, additional-a ,-b ,-c distinguishes.
At transmitter, as shown in figure 49, by 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, at receiver, as shown in figure 50, by con.req, only the data with Qos-2 (QoS of receiver request) are transferred to low layer respectively from high level.
Then, at receiver, accepted 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 by con.ind (data).Each high-rise this QoS-3 of storage, the connection parameter during as connection is preserved.
Then, at receiver, when notice con.resp (data), do not need QoS.Therefore, shown in Figure 52, only data are transferred to low layer from high level in con.resp (data).Then, when LAP (S) accepts con.resp (data), in the UA response, add QoS-3, 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 by con.conf (data).Each communication layers is preserved this QoS-3 as being established the connection parameter that connects.
In present embodiment, for example,, 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 (indication primitive only).
In addition, when the order of connection (Figure 42) of present embodiment (do not have response), data between communication layers and parameter mobile following such.
At transmitter, as shown in figure 49, by 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 by con.conf.Each communication layers is preserved this QoS-3 as the connection parameter of the connection of having established.
On the other hand, at receiver, as shown in figure 50, by con.req, only the data with Qos-2 (QoS of receiver request) are transferred to 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 by con.ind (data).Each high-rise this QoS-3 of storage, the connection parameter during as connection is preserved.
Thus, by using above-mentioned QoS-1 and QoS-2 are carried out high level (application) operation, can switch 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 from showing, the menu that has/do not have response is selected based on user's selection.
The key diagram of the data between the communication layers when Figure 54~Figure 56 is the order of connection of expression present embodiment and the variation that flows of parameter.
In transmitter, in initial SNRM order, contain under the situation of information of all communication layers (Figure 40), also can constitute and not be that one side relaying in each communication layers transmits (Figure 49) on one side with data and parameter, but shown in Figure 54, data and parameter directly are transferred to the LAP layer from each communication layers.
On the contrary, shown in Figure 55, in receiver, also can constitute the data and the parameter that 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) with OBEX (P), SMP (P), LMP (P), and then by LAP (P) after above-mentioned concentrate data and parameter in append LAP (P) parameter, thereby generate the SNRM order.
Each communication steps of putting down in writing in the above-mentioned execution mode of the present invention (communication means, agreement) can realize in software, can be 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, also 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, but and maximum transfer rate, the maximum of using the SNRM order that the communication counterpart station is sent our 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 use UA to respond the connection parameter that the maximum transfer rate, the maximum that send our station can receive data length etc., but described SNRM order make 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 described reception order is that the non-code (0xFFFFFFFF) that utilizes is discerned, described reception control unit also can be only is under the non-situation of utilizing code (0xFFFFFFFF) in remote station address (Destination DeviceAddress) field, sends described 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, described sending controling unit also can send together with described connection parameter with from the user data of high level.At above-mentioned wireless communication machine, before user data from described 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 described 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, described reception control unit also can send together with described connection parameter with from the user data of high level.At above-mentioned wireless communication machine, before user data from described 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 described high level.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can have sending controling unit, this sending controling unit is provided with the zone that adds from the user data of high level especially in the DISC order, also send from high-rise user data.At above-mentioned wireless communication machine, before user data from described 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 described high level.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can be after having sent the SNRM order, in the UA response that receives, do not comprise 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 described high level also can be the SUCCESS response of OBEX.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can have sending controling unit, this sending controling unit is under the situation that has received the DISC order, be provided with the zone that in the UA response, 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 described 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, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can be after having sent the DISC order, in the UA response that receives, do not comprise 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 described high level also can be the SUCCESS response of OBEX.
In order to solve above-mentioned problem, other wireless communication machine as transmitter-receiver of the present invention, send in the wireless communication machine of receiver in the transmission data of using infrared ray will have the capacity of regulation, also can have sending controling unit, this sending controling unit is under the situation that has received the SNRM order, be provided with the zone that in the DM response, 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 described 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 finishes.
At above-mentioned wireless communication machine, described sending controling unit also can be after sending described 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 described XID order.
At above-mentioned wireless communication machine, can after sending described 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 described 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, the fact storage of XID order will be received, 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, will receive the fact storage of XID order, and when under our station does not send the state of XID response, receiving the SNRM order, send described UA response.
In above-mentioned wireless communication machine, also can be when the 1st order that receives be ordered for XID, value to the Discovery flag zone in the XID order is confirmed, and be 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 described 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 described high level in SNRM order or UA response, and connect, disconnection process.In addition, also the mark of control folk prescription to communication, twocouese communication can 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 described high level in SNRM order or UA response, and connect, disconnection process.In addition, also the mark of control folk prescription to communication, twocouese communication can 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 described high level in SNRM order or UA response, and connect, disconnection process.In addition, also the mark of control folk prescription to communication, twocouese communication can 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 described high level in SNRM order or UA response, and connect, disconnection process.In addition, also the mark of control folk prescription to communication, twocouese communication can 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) formation, uses CPU and realizes by software also can be following like that.
That is, transmitter 1,3, receiver 2 comprise: the CPU (central processing unit) that carries out the order of the control program 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, by with computer-readable recording as transmitter 1,3, the control program (signal procedure) of receiver 2 and the recording medium of program code (execute form program, intermediate code program, source program) of the software of realizing above-mentioned functions, supply with above-mentioned transmitter 1,3, receiver 2, the program code that this computer (or CPU or MPU) is read and carried out in recording medium to be write down also can be realized purpose of the present 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 card class such as dish class, IC-card (comprising memory card)/light-card of the CD of CD-ROM/MO/MD/DVD/CD-R etc. or the semiconductor memory class of mask rom/EPROM/EEPROM/ flash rom etc. etc.
In addition, also can form the structure that transmitter 1,3, receiver 2 can be connected with communication network, and pass through communication network and supply with the said procedure code.As this communication network, be not particularly limited, for example, can utilize internet, in-house network, extranets, LAN, ISDN, VAN, CATV communication network, Virtual Private Network (virtual private network), telephone wire road network, mobile radio communication, satellite communication network etc.In addition, as the transmission medium that constitutes communication network, do not limit especially, for example, can utilize IEEE1394, USB, power line transmission, catv line, telephone wire, adsl line etc. wired, also can utilize the such infrared ray of IrDA or remote controller, Bluetooth (registered trade mark), 802.11 wireless, HDR, mobile telephone network, satellite circuit, earthwave digital network etc. wireless.In addition, the present invention also can realize by 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 described above, communication equipment of the present invention, as the main website that communicates with the pair station, it is characterized in that, it comprises: the 1st agreement control unit, when carrying out with the communicating to connect of secondary station, do not send and be used to the station search command of confirming that secondary station exists, carry out connection processing and send the 1st connection request order.
In addition, communication equipment of the present invention, as the pair station that communicates with main website, it is characterized in that, it comprises: the 1st agreement control unit, do not receive the station search command that main website is used to confirm the existence of secondary station, and when receiving the 1st connection request order from main website, send the connection response corresponding and carry out connection processing with the 1st connection request order.
In addition, communication means of the present invention is used for the communication equipment as the main website that communicates with the pair station, it is characterized in that, when carrying out with the communicating to connect of secondary station, do not send and be used to the station search command of confirming that secondary station exists, carry out connection processing and send the 1st connection request order.
In addition, communication means of the present invention, be used for communication equipment as the pair station that communicates with main website, it is characterized in that, do not receiving the station search command that main website is used to confirm the existence of secondary station, and when main website receives the 1st connection request order, send the connection response corresponding and carry out connection processing with the 1st connection request order.
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, 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 order (SNRM that for example is equivalent to IrSimple) with the communicating to connect of 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 receiving the connection request order from main website when (being equivalent to above-mentioned SNRM), send the connection response (UA that for example be equivalent to IrSimple) corresponding with this connection request order.
Therefore, according to the above-mentioned order of connection, do not need to carry out and the relevant communication of station search.Thereby the order during connection is simplified, so can shorten the required time that communicates to connect.For example, shorten because of IrDA and make required time in main website that transmission efficiency as a whole descends and the connection between the secondary station, the higher communication protocol of transmission efficiency (communication efficiency) till can realizing transmitting from connection request to information, disconnecting.
And communication equipment of the present invention is characterised in that it comprises: the 2nd agreement control unit, when carrying out with the communicating to connect of secondary station, sent be used to confirm station search command that secondary station exists after, send the 2nd connection request order and carry out connection processing; And agreement switch unit, after described the 1st agreement control unit has sent described the 1st connection request order, during preset time, when not receiving the connection response corresponding, make described the 2nd agreement control unit send described station search command with the 1st connection request order 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 described station search command from main website had been sent the station search response, the connection response that sends the 2nd connection request order carried out connection processing; And agreement switch unit, do not receiving described the 1st connection request order from main website, and be set to 1 described station search command receiving plural whole timeslot number, or receive whole timeslot numbers when being set to described station search command beyond 1, make described the 2nd agreement control unit send described station search response.
According to said structure, in main website, after the 1st agreement control unit (for example IrSimple) has sent the 1st connection request order (SNRM that for example is equivalent to IrSimple), through predetermined time durations, do not receive under the situation of the connection response corresponding (UA that for example is equivalent to IrSimple) with the 1st connection request order 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 receive whole timeslot numbers when being set to 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 the exchange of the search command-search response of standing of standing, and only establishes the agreement of connection by the exchange of connection request order-connection response.On the other hand, the 2nd agreement is after the exchange of the station search command-search response of standing, and with connection request order-connection response exchange, thereby establishes the agreement that connects.
Therefore, according to the above-mentioned order of connection,, can attempt connecting by the 2nd agreement connecting by 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 by connection request order-connection response, the search command of the standing-search response of standing, promptly do not notify employed agreement on connecting clearly, also can between main website and secondary station, select the agreement that to set up, thereby connect.
Therefore, under all corresponding situation in main website and secondary station, can connect with the short time, not being under such situation, also can connect simultaneously by the 2nd agreement by the 1st agreement with the 1st agreement.
And, communication equipment of the present invention is characterised in that, described agreement switch unit is after described the 2nd agreement control unit has sent described station search command, during preset time, do not receiving from the pair station under the situation of the station search response corresponding, making described the 1st agreement control unit send described the 1st connection request order with this station search command.
In addition, communication equipment of the present invention is characterised in that, described agreement switch unit is receiving after whole timeslot numbers are set to 1 described station search command, when receiving described the 1st connection request order, make described the 1st agreement control unit send the described connection response corresponding with the 1st connection request order.
According to said structure, in main website, after the 2nd agreement control unit (for example IrDA) has sent station search command (XID that for example is equivalent to IrDA), through predetermined time durations, do not receive 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, 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 the connection response (UA that for example be equivalent to IrSimple) corresponding with the 1st connection request order from the 1st agreement control unit (for example IrSimple).
Therefore, according to the above-mentioned order of connection,, can attempt connecting by the 1st agreement connecting by 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 by connection request order-connection response, the search command of the standing-search response of standing, promptly do not notify employed agreement on connecting clearly, also can between main website and secondary station, select the agreement that to set up, thereby connect.
Therefore, under all corresponding situation in main website and secondary station, can connect with the short time, not being under such situation, also can connect simultaneously by the 2nd agreement by the 1st agreement with the 1st agreement.
And communication equipment of the present invention is characterised in that, described 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 described the 1st connection request order.
In addition, communication equipment of the present invention is characterised in that, when described 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 described the 1st connection request order, just sends described connection response.
According to said structure,, in the field at the pair station of specifying the 1st connection request order, 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 1st connection request order, 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 by 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 1st connection request order that the order that is received can be differentiated in secondary station, still which of the 2nd connection request order.
Therefore, need not the connection request order of the 1st agreement or the connection request order of the 2nd agreement and new field is set in order to represent the connection request order.Therefore, can make the form of the 2nd connection request order of the form of the 1st connection request order of the 1st agreement and the 2nd agreement identical.
And, communication equipment of the present invention is characterised in that, described the 1st agreement control unit is after having sent described the 1st connection request order, through behind the preset time, the beginning data transmit, and the information of folk prescription to intention has been set in described the 1st connection request order designated in the field of the communication direction of specifying described the 1st connection request order.
In addition, communication equipment of the present invention, as the pair station that communicates with main website, it is characterized in that, comprise: the 1st agreement control unit, do not receiving the station search command that main website is used to confirm the existence of secondary station, and when main website receives the 1st connection request order, in the 1st connection request order, specify and be set with in the field of communication direction folk prescription designated when the information of intention, do not send the connection response corresponding and carry out connection processing, transfer to and to carry out the state that data transmit with the 1st connection request order.
According to said structure, in main website, after the 1st agreement control unit (for example IrSimple) has sent the 1st connection request order (SNRM that for example is equivalent to IrSimple), through after the predetermined time, the beginning data transmit, and the information of unidirectional intention has been set in described the 1st connection request order designated in the field of designated communication direction.On the other hand, at the pair station, when receiving the 1st connection request order from main website, in the 1st connection request order, be set with under the situation of the information of designated unidirectional intention in the field of designated communication direction, do not send the connection response corresponding, can transmit data mode and transfer to the 1st connection request order.
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, by computer is moved as each unit of above-mentioned communication equipment, but thereby make the above-mentioned communication equipment of computer realization communication equipment signal procedure and 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 by the telecommunication circuit that has as above-mentioned each Elementary Function.
In addition, the suitable mobile phone that communicates by this communication equipment of above-mentioned communication equipment.
In addition, the suitable display unit that shows based on the data of this communication equipment reception of above-mentioned communication equipment.
In addition, the suitable printing equipment that prints based on the data of this communication equipment reception of above-mentioned communication equipment.
In addition, the suitable tape deck that 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 followingly constitute.
(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 as the station search grouping that is used to confirm that remote station exists, and the SNRM that sends as the connection request grouping orders, and carries out connection processing with remote station.
(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 the XID order as station search grouping, the search of standing is handled.
(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 described SNRM order.
(4. in SNRM, disposing high level data)
Communication means of the present invention [4], in above-mentioned communication means [1] or [2], particularly also can be in described 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 described high level.
(the XID order after 6. couple SNRM sends is just carried out the IrDA connection after having returned the XID response)
Communication means of the present invention, in above-mentioned communication means [2], particularly also can beam back under the situation of XID response, after having sent XID-End for described XID order, transfer to the order of connection under the existing IrDA, and for described XID order, do not receiving during the certain hour under the situation of response, after having sent XID-End, send described 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 described high level, be configured the identifier of being scheduled to and the length of described connection request data according to the form of the identifier of the connection parameter of existing IrDA.
(8. using the UA corresponding to finish connection) with SNRM
Communication means of the present invention [8], in above-mentioned communication means [1] or [2], particularly also can be after sending described SNRM order, predetermined certain hour with the interior situation that receives the UA response under, finish connection processing, the line data of going forward side by side transmits.
(9. only in UA, have under the situation of high level data and finish connection)
Communication means of the present invention [9] in above-mentioned communication means [8], also can especially only comprise under the high-rise data conditions in described UA response, finishes connection processing, and the line data of going forward side by side transmits.
(10. only in the high level data of UA, have under the situation of SUCCESS of OBEX and finish connection)
Communication means of the present invention in above-mentioned communication means [9], particularly also can comprise the SUCCESS response of OBEX layer in the data of described high level.
(configuration is used 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 represents that folk prescription is to communication or twocouese communication, when described 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 described communication direction control mark of configuration, the length of configuration field, be used for form, identifier and described 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 send and receive, also can be in off-state, when not receiving the SNRM order that receives as the XID order of station search grouping as the connection request grouping, send as the UA response that connects acknowledgment packet.
(14. receiving terminals are ignored first after receiving 1 time slot XID order)
Communication means of the present invention [14], use infrared ray, the transmission data that will have specified volume send and receive, also can be in off-state, when receiving the XID order of dividing into groups as the station search, the field Discovery Flag of the full timeslot number that is comprised in the described XID order of expression shows under the situation of full timeslot number 1 that the 1st reception XID order for 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 search of existing IrDA and handle.
(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 when to receive full timeslot number be XID order beyond 1, after having sent the XID response, and after the XID-End order that has received from remote station, finish the station search of existing IrDA and handle.
(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 described full timeslot number 1.
(18)
Communication means of the present invention, in above-mentioned communication means [13] or [17], particularly the Destination Device Address field that also can only order at described 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 described UA response, and send.
(20)
Communication means of the present invention in above-mentioned communication means [19], particularly also can comprise the SUCCESS response of OBEX layer at least among the connection reply data of described high level.
(21)
Communication means of the present invention, in above-mentioned communication means [19], particularly also can be before the connection reply data of described high level, identifier and the described 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 described SNRM order, sends the UA response.
(23)
Communication means of the present invention, in above-mentioned communication means [22], the data that particularly also can make described high level are the CONNECT order of OBEX layer.
(24. DM for the 1st SNRM send)
Communication means of the present invention [24] uses infrared ray, and the transmission data that will have the capacity of regulation send, also can be in off-state, when the 1st grouping that receives from off-state is the SNRM order, sends the DM response that is used to show the refusal connection, and carry out disconnection process.
(25. DM for the SNRM behind the reception 1 time slot XID send)
Communication means of the present invention [25], in above-mentioned communication means [14], particularly also can be in off-state, after the XID order that receives a described full timeslot number 1, and under the situation that receives the SNRM order, send the DM response that is used to show the refusal connection, and carry out disconnection process.
(26. dispose high level data in rejection DM)
Communication means of the present invention [26] in above-mentioned communication means [24] or [25], particularly also can connect the refusal of high level data and be configured in the described DM response, and it is sent.
(high level data of 27. rejection DM is Internal Sever Error)
Communication means of the present invention in above-mentioned communication means [26], particularly also can connect the Internal Server Error response that comprises the OBEX layer in the data at least at the refusal of described high level.
(high level data that 28. refusals connect DM is PI, PL, PV form)
Communication means of the present invention, in above-mentioned communication means [26], particularly also can be before the refusal connection data of described high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA is connected the length of data with described 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], use infrared ray, the transmission data that will have the capacity of regulation send and receive, also can be in off-state, when the SNRM order that receives as connection request grouping, 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 by predetermined form, when described 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 disposing high-rise data in described SNRM order, is transferred to and can be carried out data transfer state.
(31. only the communication direction control mark in SNRM show 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 described 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 send and receive, also can establish in the state that connects, when carrying out disconnection process, in as the DISC order that disconnects request, dispose high-rise disconnection request msg, and it is sent.
(33. add the DISCONNECT of OBEX in the high level data in DISC)
Communication means of the present invention in above-mentioned communication means [32], particularly also can comprise the DISCONNECT order of OBEX layer at least among the disconnection request msg of described high level.
(high level data is PI, PL, PV form in the 34.DISC),
Communication means of the present invention, in above-mentioned communication means [32], particularly also can be before the disconnection request msg of described high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA and the length of described disconnection request msg.
(35. dispose high level data when the UA for DISC sends)
Communication means of the present invention [35] uses infrared ray, and the transmission data that will have the capacity of regulation send and receive, also can be in having established the state that connects, receiving DISC when order, when sending the UA response, the disconnection reply data of high level is being configured in the UA response.
(36)
Communication means of the present invention in above-mentioned communication means [35], particularly also can comprise the SUCCESS response of OBEX layer at least in the data of described high level.
(37)
Communication means of the present invention, in above-mentioned communication means [35], particularly also can be before the disconnection request msg of described high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA and the length of described disconnection request msg.
(configuration high level data when 38. DM after connection is finished send)
Communication means of the present invention [38] uses infrared ray, and the transmission data that will have the capacity of regulation send and receive, also can be in having established the state that connects, when the disconnection request that has from high level, when sending the DM response, the disconnection request msg of high level is configured in the DM response.
(the Internal Sever Error of configuration OBEX when the DM after 39. connections are finished sends)
Communication means of the present invention in above-mentioned communication means [38], particularly also can comprise the Internal Sever Error response of OBEX layer at least in the data of described high level.
(40)
Communication means of the present invention, in above-mentioned communication means [38], particularly also can be before the disconnection request msg of described high level, the identifier that configuration is scheduled to according to the form of the identifier of the connection parameter of existing IrDA and the length of described disconnection request msg.
(41. transtation mission circuits, receiving circuit, transmitter/receiver circuit)
Transtation mission circuit of the present invention, receiving circuit, transmitter/receiver circuit can be realized above-mentioned any one communication means.
(42. mobile phone)
Mobile phone of the present invention can be realized above-mentioned any one communication means.
(43. display unit)
Display unit of the present invention can realize above-mentioned any one communication means.
(44. printing equipment)
Printing equipment of the present invention can be realized above-mentioned any one communication means.
(45. tape deck)
Tape deck of the present invention can be realized above-mentioned any one communication means.
In addition, communication means of the present invention, using infrared ray, to have in the communication means that the transmission data of the capacity of regulation send, also can not send the station search command (XID) at 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. be sent to the communication counterpart station with the SNRM order.
In addition, communication means of the present invention, using infrared ray, to have in the communication means that the transmission data of the capacity of regulation send, can be when making the other side know that but 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. is 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 DeviceAddress field of SNRM order.
And, communication means of the present invention, also the Destination Device Address field that can only order at the SNRM of described reception is under the situation of 0xFFFFFFFF, directly sends described UA response.
And communication means of the present invention also can be provided for adding the zone from the user data of high level in the SNRM order, also will send with described connection parameter from the user data of high level.
And communication means of the present invention also can comprise the CONNECT order of OBEX in the user data from described 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 described 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 described 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 described high level.
And communication means of the present invention also can be finished 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 described SNRM order, when predetermined certain hour does not receive UA response from remote station, sends the XID order.
And communication means of the present invention also can when receiving the XID response, after sending the XID-END order, send the SNRM order based on IrDA, and transfer to the connection processing of IrDA for described XID order.
And, communication means of the present invention, after sending described XID order, when predetermined certain hour does not receive XID response from remote station, after sending the XID-END order, wait for 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 described UA response.
And communication means of the present invention is when the 1st order that receives is the XID order, value to the Discovery flag zone in the XID order is confirmed, and be 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 described connection parameter.
And communication means of the present invention also can be after sending flag settings with the display communication direction and being unidirectional SNRM order, do not wait for from the replying of receiving station, and just begins data and transmit.
And, communication means of the present invention, also can be in SNRM order the additional mark that is used for the display communication direction, and, 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.
The industrial possibility of utilizing
The present invention is owing to the agreement that can select to establish between main website and secondary station connects, so extensively Be applicable to communication equipment, be particularly suitable for having the communication equipment of free-space optical communication function, for example, the pen Remember the portable radio communication equipment such as this PC, PDA, mobile phone, digital camera.

Claims (8)

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 sends the 1st connection request order and does not send the station search command that is used to confirm that secondary station exists;
The 2nd agreement control unit, 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 2nd connection request order; And
The agreement switch unit after having sent described station search command in the preset time, when not receiving the response for described station search command, makes described the 1st agreement control unit send described the 1st connection request order.
2. communication equipment, the main website as communicating with the pair station is characterized in that this communication equipment is changeable
The 1st agreement control unit sends the 1st connection request order and does not send the station search command that is used to confirm that secondary station exists; And
The 2nd agreement control unit, 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 2nd connection request order,
Before described the 1st connection request order, send described station search command, when receiving the response for this station search command, send the 2nd connection request order,
After sending described station search command in the preset time, when not receiving the response for described station search command, send the 1st connection request order.
3. communication equipment as claimed in claim 1 or 2 is characterized in that,
Described the 2nd agreement is IrDA (Infrared Data Association) agreement, and described the 1st agreement is the IrSimple agreement.
4. communication means is used for the communication equipment as the main website that communicates with the pair station, it is characterized in that this communication means comprises:
The 2nd agreement controlled step, 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 2nd connection request order;
The 1st agreement controlled step sends the 1st connection request order and does not send the station search command that is used to confirm that secondary station exists; And
The agreement switch step after having sent described station search command in the preset time, when not receiving the response for described station search command, utilizes described the 1st agreement controlled step to send described the 1st connection request order.
5. a program makes any one described communication equipment action of claim 1 to 3, makes computer have the function of above-mentioned each unit.
6. the recording medium of an embodied on computer readable has write down the described program of claim 5.
7. a telecommunication circuit makes any one described communication equipment action of claim 1 to 3, has the function as described each unit.
8. 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 by 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
JP022209/05 2005-01-28
JP2005022209 2005-01-28
JP023901/05 2005-01-31
JP023929/05 2005-01-31
JP2005023901 2005-01-31
JP2005023929 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
PCT/JP2005/014446 WO2006013979A1 (en) 2004-08-06 2005-08-05 Transmitter, receiver, communication system, communication method, and communication program
JPPCT/JP2005/014446 2005-08-05
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 true CN101262480A (en) 2008-09-10
CN101262480B 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
CN2008100954777A Active CN101262480B (en) 2005-01-28 2006-01-25 Communication device, communication method and mobile telephone
CN2006800031465A Active CN101107834B (en) 2005-01-28 2006-01-25 Communication device, communication system, communication method, communication program, 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
CN2006800033193A Active CN101112069B (en) 2005-01-28 2006-01-26 Communication device, communication system, communication method, and communication circuit

Family Applications Before (1)

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

Family Applications After (3)

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

Country Status (1)

Country Link
CN (5) 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
KR102419544B1 (en) * 2015-02-27 2022-07-11 파나소닉 인텔렉츄얼 프로퍼티 코포레이션 오브 아메리카 Signal generation method, signal generation device and program
CN110636016B (en) * 2019-08-08 2023-09-29 西安万像电子科技有限公司 Data transmission method and system

Family Cites Families (12)

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

Also Published As

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

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
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
CN102958190B (en) Radio communication device
JP4094657B2 (en) Communication device, communication system, communication method, communication program, communication circuit
EP1780984A1 (en) Transmitter, receiver, communication system, communication method, and communication program
CN101523937B (en) Communication apparatus, communication method, communication circuit, mobile phone, program, and computer readable recording medium with program recorded therein
US7787391B2 (en) Communication device, communication system, communication method, communication program, and communication circuit
JP3871113B2 (en) Communication terminal device, communication establishment method, and program related to the method
US20080189422A1 (en) Communication Device, Communication System, Communication Method, Communication Program, and Communication Circuit
JPH07336370A (en) Communication controller and communication controlling method
CN101262480B (en) Communication device, communication method and mobile telephone
CN101179304A (en) Wireless communication system and wireless communication apparatus
CN108012305A (en) Smart machine matches somebody with somebody network method, system and smart machine
CN100380884C (en) Wireless access point apparatus, wireless LAN system, wireless communicating method
CN104601206A (en) method and an apparatus for controlling messages between host and controller
CN106603559B (en) A kind of method of wireless communication terminal data transmission anti-intercepting and capturing
CN1910888B (en) Transmitter, receiver, communication system and communication method
JP2007174625A (en) Transmitter, receiver, communication system, communication method, and communication program
CN103746887A (en) Method for activating locomotive access network
JP3037233B2 (en) Personal communication system
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
WO2006080372A1 (en) Communication device, communication system, communication method, communication program, and communication circuit
KR20060033279A (en) System and method for setting up the path for rfid communication

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