CN1747441A - Transmission of data link layer - Google Patents

Transmission of data link layer Download PDF

Info

Publication number
CN1747441A
CN1747441A CNA2004100718210A CN200410071821A CN1747441A CN 1747441 A CN1747441 A CN 1747441A CN A2004100718210 A CNA2004100718210 A CN A2004100718210A CN 200410071821 A CN200410071821 A CN 200410071821A CN 1747441 A CN1747441 A CN 1747441A
Authority
CN
China
Prior art keywords
data
stage
transmission
transmission method
link layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2004100718210A
Other languages
Chinese (zh)
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.)
LG Electronics Tianjin Appliances Co Ltd
Original Assignee
LG Electronics Tianjin Appliances Co Ltd
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
Application filed by LG Electronics Tianjin Appliances Co Ltd filed Critical LG Electronics Tianjin Appliances Co Ltd
Priority to CNA2004100718210A priority Critical patent/CN1747441A/en
Publication of CN1747441A publication Critical patent/CN1747441A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention is used in home electrical appliance network. The home electrical appliance network includes more than one electrical device, network manager and communication network. In home electrical appliance network, at least the physical layer, data link layer and upper layer protocol is applied. The method by which data link layer transmits data packet received from upper layer to physical layer is includes following steps: decides if the state of network is at first confirmation stage of idle; according to first confirmation stage, selects stage of specified transmission delay time; decides if the network state in delay time is at second confirmation stage of idle; according to second conformation stage, transmits the received data packet to physical layer.

Description

The data transmission method of data link layer
Technical field
The present invention relates to a kind of data transmission method of data link layer.
Background technology
Appliance network (home Network) is a kind of network that each digitlization man is electrically connected.By appliance network, can control the household electrical appliances in the family easily whenever and wherever possible, can bring enjoyment in life.Along with the development of digital information processing, household electrical appliances such as refrigerator or washing machine are developing into the digitlization home appliance gradually.Along with the fast development of household electrical appliances use system technology and high-speed digital communication technology, the information household appliances of above-mentioned technology are appearring fully utilizing.Under above-mentioned background, household electric appliance network system has appearred.
This appliance network such as following table 1 can be divided into data network according to the COS that is provided, amusement net and interactive network.
Table 1
Classification Function COS
Data network Network between PC and peripheral equipment Exchanges data, and network service
The amusement net The network of A/V (Audio/Video) equipment room Music, services such as animation
Interactive network The home appliance Control Network The control of home appliance, automation appliance, Long-distance Control, information service etc.
Here, data network (data network) belongs between PC and the peripheral equipment, for the exchanges data or the network type of providing services on the Internet etc. and to set up.Amusement net (entertainment network) belongs to handles ODO, the appliance network type of information such as VDO.In addition, interactive network (living network) is meant the network that is controlled to be purpose with automation appliance or Long-distance Control etc. merely.
This household electric appliance network system that is used for family is formed by master control (master) equipment and slave as electric equipment.As electric equipment, main control device controls or shows the state of other electric equipments to other electric equipments.As electric equipment, slave is pressed characteristic or other key elements of electric equipment, the requirement of main control device is replied, and export the state change information of self.The electric equipment that uses in the specification of the present invention (or new equipment) comprises that not only washing machine, refrigerator etc. are used for the household electrical appliances of above-mentioned interactive network service, the household electrical appliances that also comprise the household electrical appliances that are used for the data network service and be used for the entertainment network service.In addition, also comprise automatic null device of coal gas and automatically-controlled door, electrical equipment such as electric light.
This conventional art can not provide the communication specification of the electric equipment in the household electric appliance network system being fulfiled functions such as control and supervision.In addition, the procotol in the household electric appliance network system of conventional art can not provide effective packet packet transfer approach.
Summary of the invention
In order to overcome the above-mentioned shortcoming that prior art exists, the invention provides the data pack transmission method in a kind of data link layer, be a kind of meeting to the household electrical appliances in the household electric appliance network system, the communication specification of control and functions such as supervision is provided, promptly meets the data pack transmission method in the data link layer of Network Control Protocol.
Purpose of the present invention for provide a kind of can be according to network state efficiently the packet that receives from upper layer, the data pack transmission method of data link layer.
Purpose of the present invention is for providing a kind of at the data pack transmission method that can prevent the conflicting data link layer between packet on the network.
Purpose of the present invention can be according to the data pack transmission method of the data link layer of the number of times termination transmission of transmission repeatedly when a kind of transmits data packets is provided.
Purpose of the present invention is for providing a kind of data pack transmission method of the data link layer according to the termination transmission of required transmission time of data packet transmission.
Purpose of the present invention is suitable for variable transportation lag when a kind of transmits data packets is provided, and improves repeatedly the data pack transmission method of data link layer of the transmission success rate of data packets for transmission.
The technical solution adopted for the present invention to solve the technical problems is:
The data pack transmission method that is used for a kind of data link layer of household electric appliance network system, household electric appliance network system comprises at least more than one electric equipment, network manager and the network that is used for the communication between them, in described household electric appliance network system, described network is observed the procotol that comprises physical layer and data link layer and upper layer at least, the method of the data packet transmission that receives from described upper layer to described physical layer, it is characterized in that it comprised with the next stage: the state of confirming described network is the 1st an idle the stage of recognition as described data link layer; According to described the 1st the stage of recognition, select the stage of specific transportation lag; Confirm that the interior described network state of described transmission delay is the 2nd idle true stage in this world; According to described the 2nd the stage of recognition to physical layer in the stage of the data packet transmission of described reception.
The data pack transmission method of aforesaid data link layer, wherein the 1st the stage of recognition is to confirm in the minimum data inter-packet gap time whether idle described network state is.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprises and judges that whether described packet is by the 1st judgement stage of normal transmission.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprises according to described the 1st judgement, to the described data packet transmission result's of described upper layer transmission stage.
The data pack transmission method of aforesaid data link layer, if wherein described data packets for transmission is by normal transmission in the 1st judgement stage, then described transmission result comprises transmission success.
The data pack transmission method of aforesaid data link layer, wherein transmission method also is included in described the 2nd the stage of recognition, described network state is for taking or when the described the 1st judges the described packet in rank not by normal transmission, the number of transmissions repeatedly of the packet of described reception is increased to stage of specific number of times, the 1st comparison phase that described the number of transmissions repeatedly and rollback number of attempt compare and according to described the 1st comparison phase to stage that described upper layer transmits the transmission result.
The data pack transmission method of aforesaid data link layer, the number of transmissions repeatedly that wherein increases described in the 1st comparison phase are during more than described rollback number of attempt, and described transmission result comprises bust this.
The data pack transmission method of aforesaid data link layer, wherein transmission method is in described the 1st comparison phase, and the transmission time repeatedly of described increase is carried out described the 1st the stage of recognition when being less than described rollback number of attempt again.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprises the transmission time of more described data accepted bag and the 2nd comparison phase that specific maximum transmitted allows the time; The described network state of described the 1st the stage of recognition be take or described the 1st comparison phase described in the number of transmissions repeatedly that increases during less than described rollback number of attempt, carry out described the 2nd comparison phase.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprised according to the stage of described the 2nd comparison phase to described upper layer transmission transmission result.
The data pack transmission method of aforesaid data link layer, when wherein the transmission time of the described data accepted bag of the 2nd comparison phase allowed the time greater than described maximum transmitted, described transmission result comprised bust this.
The data pack transmission method of aforesaid data link layer when wherein the transmission time of the described data accepted bag of the 2nd comparison phase allows the time less than described maximum transmitted, carries out each later stage of the 1st the stage of recognition again.
The data pack transmission method of aforesaid data link layer, wherein the selected stage of transportation lag is included in the window ranges of the described defined competition of data, services order of priority that has received, the stage of selected transportation lag.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprises and carrying out again before described the 1st the stage of recognition, and described window ranges is changed to stage according to the defined width of cloth size of service priority order of the described packet that has received.
The data pack transmission method of aforesaid data link layer, wherein in order to increase the transmission success probability, the described change stage reduces to the size of the described width of cloth to the lower limit of described competition window scope and/or higher limit.
The data pack transmission method of aforesaid data link layer, wherein in the described change stage, described higher limit only is reduced to offset.
The data pack transmission method of aforesaid data link layer is characterized in that described change rank increase into described width of cloth size to higher limit and/or lower limit in the described competition window scope in order to reduce transmission collision.
The data pack transmission method of aforesaid data link layer, wherein in the described change stage, described lower limit is fixed.
The data pack transmission method of aforesaid data link layer, wherein the 1st judgement stage comprised the described stage of comparing with data packets for transmission that received, judged according to described comparative result whether the transmission of described data packets for transmission is normal.
The data pack transmission method of aforesaid data link layer, wherein procotol is the interactive network control protocol.
The present invention solves its technical problem also can adopt following technical scheme:
The data pack transmission method that is used for a kind of data link layer of household electric appliance network system, household electric appliance network system comprises at least more than one electric equipment, network manager, and the network that is used for the communication between them, in described household electric appliance network system, described network is observed the procotol that comprises physical layer and data link layer and upper layer at least; The transmission method of the data packet transmission that receives from described upper layer to described physical layer, it is characterized in that it comprised with the next stage: the state of confirming described network is the 1st an idle the stage of recognition as described data link layer; According to the result of described the 1st the stage of recognition, to described physical layer in the stage of the described data packet transmission that has received; Judge the described data packet transmission that has received normal the 1st judgement stage whether.
The data pack transmission method of aforesaid data link layer, wherein whether idle the 1st the stage of recognition be to described network state in the minimum data inter-packet gap time, the stage of confirming.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprises the result according to described the 1st judgement stage, to the described data packet transmission result's of described upper layer transmission stage.
The data pack transmission method of aforesaid data link layer, wherein in described the 1st judgement stage, during the transmission normal termination of described packet, described transmission result comprises transmission success.
The data pack transmission method of aforesaid data link layer, wherein data pack transmission method also comprises following each stage; If promptly described packet then is increased to the number of transmissions repeatedly of the packet of described reception the stage of specific number of times not by normal transmission in described the 1st judgement stage; To described the number of transmissions repeatedly that has increased and rollback number of attempt, the 1st comparison phase that compares; According to the result of described the 1st comparison phase, to the stage that described upper layer transmits the transmission result.
The data pack transmission method of aforesaid data link layer, the number of transmissions repeatedly that wherein increases described in the 1st comparison phase are during more than described rollback number of attempt, and described transmission result comprises bust this.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprises following each stage; The transmission time of more described data accepted bag and specific maximum transmitted allow the 2nd comparison phase of time; Confirm that at described the 1st the stage of recognition described network state is to take or the described the number of transmissions repeatedly that has increased of described the 1st comparison phase during less than described rollback number of attempt, fulfils described the 2nd comparison phase.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprised according to the stage of described the 2nd comparison phase to described upper layer transmission transmission result.
The data pack transmission method of aforesaid data link layer, when wherein the transmission time of the described data accepted bag of the 2nd comparison phase allowed the time greater than described maximum transmitted, described transmission result comprised bust this.
The data pack transmission method of aforesaid data link layer when wherein the transmission time of the described data accepted bag of the 2nd comparison phase allows the time less than described maximum transmitted, carries out each later stage of the 1st the stage of recognition again.
The data pack transmission method of aforesaid data link layer, wherein the 1st judgement stage comprised the described stage of comparing with data packets for transmission that received, according to described comparative result, judged whether the transmission of described data packets for transmission is normal.
The data pack transmission method of aforesaid data link layer, wherein procotol is the interactive network control protocol.
The present invention solves its technical problem still can adopt following technical scheme:
The data pack transmission method that is used for a kind of data link layer of household electric appliance network system, household electric appliance network system comprise at least more than one electric equipment, network manager and the network that is used for the communication between them; In described household electric appliance network system, described network is observed the procotol that comprises physical layer and data link layer and upper layer at least; The method of the data packet transmission that receives from described upper layer to described physical layer, it is characterized in that it comprised with the next stage: the state of confirming described network is the 1st an idle the stage of recognition as described data link layer; According to the service priority order of the packet that has received, in defined specific competition window scope, the stage of selected transportation lag; In described selected transportation lag, whether the state of described network is in idle condition, the 2nd the stage of recognition of confirming; According to described the 2nd the stage of recognition to physical layer in the stage of the data packet transmission of described reception.
The data pack transmission method of aforesaid data link layer wherein in the 1st the stage of recognition, in the minimum data inter-packet gap time, confirms whether idle described network state is.
The data pack transmission method of aforesaid data link layer, wherein to the normal transmission of described packet whether transmission method also comprises, the judgement stage of judging.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprised according to the described judgement stage, to the described data packet transmission result's of described upper layer transmission stage.
The data pack transmission method of aforesaid data link layer, wherein transmission method is in the described judgement stage, and described data packets for transmission is during by normal transmission, and described transmission result comprises transmission success.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprises the comparison phase that transmission time of more described data accepted bag and specific maximum transmitted permission time compare; In the described network state of described the 1st the stage of recognition is to take or the affirmation result of described the 2nd the stage of recognition when failing normal transmission for described packet, carries out described comparison phase.
The data pack transmission method of aforesaid data link layer, wherein transmission method also comprised according to the stage of described comparison phase to described upper layer transmission transmission result.
The data pack transmission method of aforesaid data link layer, the data packet transmission time of wherein accepting described in the comparison phase, described transmission result comprised bust this when allowing the time greater than described maximum transmitted.
The data pack transmission method of aforesaid data link layer, wherein data pack transmission method carries out the 1st the stage of recognition each stage afterwards again when the transmission time of the described data accepted bag of described the 2nd comparison phase allows the time less than described maximum transmitted.
The data pack transmission method of aforesaid data link layer, wherein transmission method also is included in and carries out again before described the 1st the stage of recognition, described window ranges, by the amplitude size of definition, the stage of changing; And the amplitude of described definition is the amplitude that the service priority order according to the described packet that has received defines.
The data pack transmission method of aforesaid data link layer, the stage of wherein changing is in order to increase the transmission success probability, the lower limit of described competition window and/or higher limit reduced to the size of the described width of cloth.
The data pack transmission method of aforesaid data link layer wherein in the described change stage, allows the size of described higher limit reduce by the offset size.
The data pack transmission method of aforesaid data link layer, wherein in order to reduce transmission collision, the described change stage increases higher limit and/or lower limit in the described competition window scope by described range value.
The data pack transmission method of aforesaid data link layer, wherein in the described change stage, described lower limit is fixed as the data pack transmission method of the data link layer of feature.
The data pack transmission method of aforesaid data link layer, wherein the judgement stage comprises the described stage of comparing with data packets for transmission that received, according to described comparative result, judges whether the transmission of described data packets for transmission is normal.
The data pack transmission method of aforesaid data link layer, wherein procotol is the interactive network control protocol.
Description of drawings
The present invention is further described below in conjunction with drawings and Examples.
Fig. 1 is the pie graph of household electric appliance network system of the present invention.
The pie graph of the interactive network control protocol that Fig. 2 is suitable for for the present invention.
Fig. 3 a and Fig. 3 b are the pie graph of interface of the interlayer of Fig. 2.
Fig. 4 a to 4f is the detailed pie graph of the interface that reaches 3b of Fig. 3 a.
Fig. 5 is the flow chart of the data pack transmission method of data link layer of the present invention.
Fig. 6 is a schematic diagram of pressing the packet of each electric equipment that data pack transmission method handles of the present invention.
The number in the figure explanation:
1; Household electric appliance network system 2:inter network
3:LnCP server 4: customer equipment
10: gateway 20~23: network manager
30,31:LnCP router four 0~49: electric equipment
Embodiment
Below, by embodiment and accompanying drawing, household electric appliance network system of the present invention is elaborated.Indubitable, scope of the present invention is not subject to following embodiment and accompanying drawing.Interest field of the present invention should make an explanation based on right request scope.
As shown in Figure 1, household electric appliance network system 1 is connected to LnCP server 3 by internet network 2.Customer equipment 4 is connected to LnCP server 3 by internet network 2 in addition.That is, household electric appliance network system 1 is connected into the information of can transmitting mutually to LnCP server 3 and/or customer equipment 4.
The external network of household electric appliance network system 1 comprises internet network 2, and the kind of the network based customer equipment 4 of said external also can possess miscellaneous equipment.That is, be example with this internet network 2, customer equipment 4 possesses Web server (Websever) (not shown) during for computer, and customer equipment 4 possesses the communication server (Wap sever) (not shown) during for the networking telephone.
LnCP server 3 is connected to household electric appliance network system 1 and customer equipment 4 respectively by specific registration and deregistration procedure, receives supervision and control command etc. from customer equipment 4, and the information by internet network 2 usefulness particular forms is sent to household electric appliance network system 1 again.In addition, LnCP server 3 receives and stores the information of particular form or it is sent to customer equipment 4 from household electric appliance network system 1.In addition, LnCP server 3 stores self or the information of generation is sent to above-mentioned household electric appliance network system 1.That is, household electric appliance network system 1 is connected in LnCP server 3, can download the service content that LnCP server 3 is provided.
Household electric appliance network system 1 comprises gateway 10, network manager 20~23, LnCP router three 0,31, LnCP adapter (adapter) 35,36 and a plurality of electric equipment 40~49.Gateway 10 has the function that connects the internet.Network manager 20~23 is fulfiled the environment set of electric equipment 40~49 and management function.The connection that LnCP router three 0,31 is responsible between the transmission medium.LnCP adapter 35,36 can make network manager 22 and electric equipment 46 be connected to transmission medium.
Network in the household electric appliance network system 1 is coupled to each other by each electric equipment 40~49 shared transmission medium to be formed.This transmission medium can utilize the transmission medium (non-standardized transmission medium) of data link layer unnormalizeds such as RS-485 or lower powered RF, maybe can utilize the transmission medium (standardized transmission medium) of normalization such as power line or IEEE802.11.
Network in the household electric appliance network system 1 by with internet network 2 are the networks that are separated from each other.That is, the network in the above-mentioned household electric appliance network system 1 constitutes the separate network that is connected by wired or wireless transmission medium.Here, though separate network comprises the network that the coupled situation that is in is physically separated in theory.
Household electric appliance network system 1 comprises master control (Master) equipment, subordinate (Slave) equipment.Main control device can control apparatus equipment 40~49 or is monitored its operating state.Slave can be responded the request of main control device and the variation information of notice oneself state.This main control device comprises network manager 20~23, and slave comprises electric equipment 40~49.This network manager 20~23 comprises the information and the control code of the electric equipment 40~49 that will control, and programmed mode is carried out control operation, or receives after the information of LnCP server and/or customer equipment 4 inputs, carries out control operation.In addition, as shown in Figure 1, be connected with a plurality of network managers 20~23 o'clock, for carry out and other network manager 20~23 between exchange message, also for the synchronization of information and control, these network managers 20~23 promptly can be that main control device can be again a slave.Both should be a kind of, from physical significance equipment just, but be to have master control simultaneously and from the equipment (being compatible equipment) of the function of dominant in theory.
In addition, these network managers 20~23 and electric equipment 40~49 can directly be connected on the network (power line network as shown in Figure 1, RS-485 network, RF network).In addition, can also connect by LnCP router three 0,31 and/or LnCP network adapter 35,36.
In addition, electric equipment 40~49 and/or LnCP router three 0,31 and/or LnCP network adapter 35,36 are registered on the network manager 20~23, and according to product information, receive unique theoretical address (for example 0x00,0x01 etc.).This theoretical address and product code (for example air-conditioning is ' 0x02 ', and washing machine is ' 0x01 ') in conjunction with after, use as node address (Node Address).For example, the identical node address by 0x02009 (air-conditioning 1) and 0x0201 (air-conditioning 2) is by electric equipment 40~49 and/or LnCP router three 0,31 and/or 35,36 identifications of LnCP network adapter.In addition, can also use by specific benchmark (product of the same race, product position, user etc. are set) group address that is provided with, can the more than one electric equipment 40~49 of disposable identification and/or LnCP router three 0,31 and/or LnCP network adapter 35,36 when using the group address.In this group address, this dominance group address is group (cluster) address of a plurality of customer equipment of appointment when being set at " 1 " address choice value (following is mark flag) in the dominance group address.The tacit declaration group address is added to " 1 " to all bits (byte) value of theoretical address and/or product code, and then can specify a plurality of customer equipments.Here, it is to be noted especially and be commonly referred to group's sign indicating number expressing the group address.
Household electric appliance network system 1 can make network manager 20~23 by interactive network control protocol (LnCP) as shown in Figure 2, LnCP router three 0,31, mutual transmission information between LnCP network adapter 35,36 and the electric equipment 40~49.And then, network manager 20~23, LnCP router three 0,31, LnCP network adapter 35,36 and electric equipment 40~49 are carried out network service by this LnCP.
As shown in Figure 2, LnCP comprises application software 50, application layer 60, network layer 70, data link layer 80, physical layer 90 and instrumental variable management level 100.Application software 50 performance network managers 20~23, LnCP router three 0,31, LnCP network adapter 35,36, and the inherent function of electric equipment 40~49.And the function that connects with application layer 60 is provided, so that on network, carry out remote operation and supervision.Application layer 60 provides service to the user, and has the function that is communicated to lower layer after information that the user is provided or the order composition information.Network layer 70 can be network manager 20~23, LnCP router three 0,31, and connecting between LnCP network adapter 35,36 and the electric equipment 40~49 is reliable network.Data link layer 80 provides the connection controlled function, is used to connect the common transmitted medium.Physical layer 90 provides network manager 20~23, LnCP router three 0,31, the rule of the physical interface between LnCP network adapter 35,36 and the electric equipment 40~49 and the bit (byte) that will transmit.The instrumental variable (node parameter) of the node that uses in instrumental variable management level 100 each layers of management configuration.
Detailed says, application software 50 also comprises network management subsidiary layer 51.Network management subsidiary layer 51 has the management node instrumental variable, and management is connected in the network manager 20~23 on the network, LnCP router three 0,31, the function of LnCP network adapter 35,36 and electric equipment 40~49.That is, this network management subsidiary layer 51 has a kind of function, can pass through instrumental variable management level 100, sets the instrumental variable numerical value or the variable that utilizes the medium instrumental variable is managed.When the equipment that is applicable to LnCP was main control device, this network management subsidiary layer 51 also has fulfiled the function that constitutes network or supervising the network.
In addition, network layer 70 also comprises appliance network sign indicating number control subsidiary layer 71.Net connection has network manager 20~23, LnCP router three 0,31, LnCP network adapter 35,36 and electric equipment 40~49.When utilize power line or IEEE 802.11, non-independent shape transmission medium such as wireless (for example LnCP comprise power line communication (PLC) agreement/or during wireless (wireless) agreement) when constituting above-mentioned network, in order to divide each network in theory, the function of appliance network sign indicating number and management appliance network sign indicating number is set in 71 performances of appliance network sign indicating number control subsidiary layer.This appliance network sign indicating number control subsidiary layer 71, is not included among the LnCP during from physical significance separation individual networks by independent shape transmission mediums such as picture RS-485.This appliance network sign indicating number is formed with 4 bytes (byte), is set at random (random) value or user's set point.
The interface of the interlayer the when interface of the interlayer the when physical layer 90 shown in Fig. 3 a is connected to non-independent shape transmission medium and the physical layer shown in Fig. 3 b 90 are connected to independent shape transmission medium.
Household electric appliance network system 1 is the header of each layer needs (header) and pull sign indicating number (trailer) information and be added to from the network protocol message unit (Protocol Data Unit:PDU) that upper layer receives, and is communicated to lower layer again.
Shown in Fig. 3 a, 3b, APDU (Application layer PDU) is the data value (data) that transmits between application layer 60 and the network layer 70.NPDU (Network Layer PDU) is the data value that transmits between network layer 70 and data link layer 80 or the appliance network sign indicating number subsidiary layer 71.HCNPDU (Home CodeControl Sublayer PDU) is the data value that transmits between network layer 70 (the definite appliance network sign indicating number subsidiary layer 71 of saying so) and data link layer 80 or the appliance network sign indicating number subsidiary layer 71.Press data value (data) between data link layer 80 and the physical layer 90, data framework unit forms interface.
The APDU structure in application layer 60 shown in Fig. 4 a.
AL (APDU Length) digit groups is the digit groups of the length (AL is to the length of data framework group) of expression APDU, and minimum value is that 4 maximums are 77.
AHL (APDU Header Length) digit groups be the expression APDU header (header) length (AL is to the length of ALO), digit groups, be 3 bytes when not expanding, can expand to 7 bytes.For the encipherment of data framework group, can expand to 7 bytes in the LnCP procotol in order to change APDU headers (header) such as application protocol.
ALO (Application Layer Option) digit groups is the digit groups that is used for extend information 3, and when for example this digit groups was set to " 0 ", information processing was out in the cold when other value was housed.
The data framework group is processing user's the control information or the digit groups of project information, and its structure is along with the variation of the contained value of ALO changes.
SLP shown in Fig. 4 b (Start of LnCP Packet) digit groups is the initial number group of expression packet, and its value is 0x02.
The digit groups of DA (Destination Address) and SA (Source Address) is the destination of the packet that will transmit and the node address of the side of delivering letters, and each is made of 16 bits.Here upper 1 bit is the mark (flag) of demonstration group address, the kind (product code) that ensuing 7 bits are product, and the next 8 bits comprise the theoretical address of getting.Have the network manager 20~23 of a plurality of same kinds or electric equipment 40~49 o'clock, above-mentioned the next 8 bits are used to divide above-mentioned each network manager 20~23 or electric equipment 40~49.
PL (Packet Length) digit groups is for showing the digit groups of the NPDU length overall that will transmit, and its minimum value is 12 bytes, and maximum is 100 bytes.
SP shown in Fig. 4 c (Service Priority) digit groups is to give the digit groups that transmission information transmits priority bit, is made of 3 bits.Each transmits the order of priority such as the table 2 of information.
When the subordinate customer equipment is replied the request of master control customer equipment, the order of priority of the solicited message that retinue's master control customer equipment receives.
Table 2
Order of priority Value Be suitable for (Application Layer)
High (High) 0 -when transmitting emergence message
In (Middle) 1 -when transmitting the general data bag-during the project information of the online and non-presence of transmissions map network (Online State) (Offline State) variation
Standard (Normal) 2 -when transmitting notice and constituting the information of network-during transmission general item information
Low (Low) 3 -when transmitting the value according to the producer that downloads or upload
NHL (NPDU Header Length) digit groups is to be used for expanding the digit groups that NPDU header (header) (the NLC digit groups of SLP) uses, and is 9 bytes when not expanding, and maximum can expand to 16 bytes.
PV (Protocol Version) digit groups is the digit groups that shows 1 byte of the network protocol version that is adopted, and is made of upper 4 bits and the next 4 bits.Upper 4 bits are version (version) digit groups, and the next 4 bits are server version (sub-version) digit groups.Version (version) and server version (sub-version) are respectively with 16 systems mark method version of display.
NPT (Network layer Packet Type) digit groups is 4 digital bit groups of dividing data bag kind in network layer.LnCP comprises request data package (Request Packet), reply data bag (Response Packet), notification data bag (Notification Packet).The NPL digit groups of master control customer equipment should be set at request data package or notification data bag, and the NPL digit groups of slave should be set at reply data bag or notification data bag.The NPT value of packet kind is as shown in table 3 below.
Table 3
Value Explanation
0 Request data package
1~3 Do not use
4 The reply data bag
5~7 Do not use
8 The notification data bag
9~12 Do not use
13~15 The interface that connects with appliance network sign indicating number control subsidiary layer is worth with reservation
TC (Transmission Counter) digit groups is a network layer generation communication failure, in the time of can not successfully sending request data package or reply data bag, in order to improve the success rate that transmits request data package or reply data bag, transmission or 2 digital bit groups of transmission more repeatedly.The destination can utilize the numerical value of TC digit groups, detects duplicate message.With the scope of the TC of NPT value numeral class value with following table 4.
Table 4
The packet kind Value (scope)
Request data package 1~3
The reply data bag 1
The notification data bag 1~3
PN (Packet Number) digit groups is made of 2 bits.In slave, be used with TC in order to detect repetitive data packet PN (Packet Number) digit groups.In the master control customer equipment, be used in order to handle a plurality of communication cycles.Scope with the PN digit groups of NPT value is as shown in table 5 below.
Table 5
The packet kind Value (scope)
Request data package 0~3
The reply data bag The PN numeral class value of duplicate requests packet
The notification data bag 0~3
The APDU digit groups is the unit of the Internet protocol data value (data) of the application layer of transmission between application layer 60 and the network layer 70.The APDU minimum value is 0 byte, and maximum is 88 bytes.
CRC (Cyclic Redundancy Check) digit groups is 16 digital bit groups for the mistake that detects data accepted bag (SLP is to the APDU digit groups).
ELP (End of LnCP Packet) digit groups is the digit groups of video data Bao Weiduan, and its value is 0x03.If receive with the data packet length digit groups in length corresponding data values (data), can not detect the ELP digit groups, then be shown packet error.
Shown in Fig. 4 d, the last bit position of NPDU also comprises HC (Home Code) digit groups.
The numerical value of this appliance network sign indicating number is made of 4 bytes.This appliance network sign indicating number has unique value in the distance of the propagable circuit of packet.
Shown in Fig. 4 e, the header of the data framework of the data link layer of LnCP (header) and pull the sign indicating number (trailer) form different structures according to transmission medium.When data link layer 80 is used the transmission medium of unnormalizeds, the header of data framework (header) and pull sign indicating number and should have Null digit groups (NullField).As use normalized transmission medium, then with the regulation of procotol.The NPDU digit groups is the unit from the data value of upper network layer 70 transmission.The data value unit that HCNPDU used when being physical layer 90 for non-independent shape transmission medium such as power line or IEEE802.11 is the data value unit of appending 4 byte appliance network sign indicating numbers at the NPDU front end.Data link layer 80 is not divided the processing of NPDU and HCNPDU.
Fig. 4 f is the data framework structure in the physical layer 90.
The physical layer 90 of LnCP has the function that physical signalling is sent to transmission medium.As the physical layer 90 of LnCP procotol, the transmission medium of the unnormalized data link layer 80 that can use be equal to RS-485 or low power RF.Can also use the normalization transmission medium that is equal to as power line or IEEE 802.11.Be suitable in the household electric appliance network system 1 of LnCP network, for network manager 20~23 and electric equipment 40~49 and RS-485 or LnCP router three 0,31, and LnCP adapter 35,36 connects the nimble signal standards (level) of having used UART (Universal Asynchronous Receiver and Transmitter) data framework structure and RS-232.When utilizing netting twine (serial bus) to connect between each equipment, UART is at communication line control bit signal flow.Shown in Fig. 4 f, in LnCP, the packet that upper layer is sent here, be transformed into the UART data framework unit of 10 bit sizes after, transmit by transmission medium.The UART data framework is made of the start bit (Start Bit) of 1 bit, the data value (data) of 8 bits and the position of rest (Stop Bit) of 1 bit.Above-mentioned UART data framework does not use effect position (ParityBit).The UART data framework is passed on from start bit, passes on position of rest at last.When the household electric appliance network system 1 of suitable LnCP utilizes UART, do not use the data framework header (frame header) and the framework that append to pull sign indicating number (a frame trailer).
As shown in Figure 5, after data link layer 80 received packets (NPDU/HCNPDU) from network layer 70, additional information framework header and information framework pulled a yard configuration information framework again.This information framework passes to network (power line network shown in Figure 1, RS-485 network, RF network etc.) by physical layer 90.Though data link layer 80 transmission information frameworks, the information transmitted framework comprises the packet that receives from network layer, so specification of the present invention and request scope are transferred to physical layer to the information framework that receives from network layer 70 with data link layer 80 and show.
Data pack transmission method is the incipient stage, and the number of transmissions repeatedly (RetryCount) when promptly the packet that receives from network layer 70 being begun to transmit is set at " 0 ".
In stage (S61), confirm whether idle network state (LineStatus) is.The state of this network is confirmed to confirm from the information that physical layer 90 receives network state by data link layer 80.If the state of network carries out the stage (S62) when being idle (LINE_IDLE),, then carry out the stage (S71) if the state of network is for taking (LINE_BUSY).
In stage (S62), confirm whether idle the state of network is in the minimum data bag allows blanking time (MinPktInterval).Each network manager 20~23 on network reaches electric equipment 40~49 when transmission over networks data value (packet), and above-mentioned minimum data bag allows can prevent blanking time the conflict of data value.So the data link layer 80 of each network manager 20~23 and electric equipment 40~49 in the stage (S62), confirms whether idle the state of network is in the minimum data bag allows blanking time also in order to prevent the conflict of this data value.If the state of network is in seizure condition in the minimum data bag allows blanking time, then carry out the stage (S71).Otherwise carry out the stage (S63).
In stage (S63), according to selected in the defined specific competition window of service priority order (SvcPriority) (Wc) scope of the packet that has received and setting transportation lag (RandomDelayTime).Table 6 is competition window (Wc) scope according to the transmission order of priority.
Table 6
The transmission order of priority Value Competition window (Wc) scope (IUT)
High (High) 0 0~5
In (Middle) 1 10~20
Standard (Normal) 2 10~30
Low (Low) 3 30~60
As shown in table 6, the numerical value of order of priority is big more, and it is wide more that promptly the numerical value of order of priority is got over the width of cloth of competition window (Wc) scope of low transmission order of priority.Its lower limit numerical value also can increase.For example, the lower limit of high-precedence is that 0 higher limit is 5, and the standard min value is 10, and higher limit is 30.Selected transportation lag in this competition window (Wc) scope so the numerical value of order of priority is more little, can increase the probability of selecting littler transportation lag in addition.
In stage (S64), confirm whether idle the state of network is in selected transportation lag.Conflict on the network that this stage (S64) may occur when preventing transmits data packets is carried out.If the state of network when taking, carries out the stage (S68).Otherwise, when the state of network is idle, carry out the stage (S65) in selected transportation lag.
In stage (S65), data transmission method is the packet that receives to physical layer 90 transmission from data link layer 80.
In stage (S66), whether the transmission of judgment data bag is normal.In this judgement stage, the packet that data link layer 80 is transferred to physical layer 90 is compared from the packet that network layer 70 receives with data link layer 80, if identical being judged as transmitted normally, carries out the stage (S67), if difference is carried out (S68).
In stage (S67), transmit the transmission result from data link layer 80 to network layer 70, this transmission result comprises transmission success (SEND_OK).
In stage (S68), the state of stage (S64) network in transportation lag for taking or packet when failing by normal transmission, the number of transmissions repeatedly (RetryCount) of data accepted bag is increased to certain amount.For example, the incipient stage repeatedly the number of transmissions be set to " 0 ", so increase specific amount " 1 ", making repeatedly, the number of transmissions becomes " 1 ".
In stage (S69), the number of transmissions repeatedly of increase and specific rollback number of attempt (BackOffRetries) are compared.The maximum of same packet is transmitted in this rollback number of attempt (BackOffRetries) expression repeatedly to physical layer 90 from data link layer 80.This stage (S69), limit the number of transmissions repeatedly that transmits same packet repeatedly with rollback number of attempt (BackOffRetries), prevent 40~49 resources of using the same packet of transmission of network manager 20~23 and electric equipment.If the number of transmissions is equal to or greater than rollback number of attempt (BackOffRetries) repeatedly, just carries out the stage (S70), otherwise carry out (S71).
In stage (S70), the transmission result of data accepted bag is transferred to network layer 70 from data link layer 80.This transmission result comprises bust this (SEND_FAILED).
In stage (S71), the transmission time of data accepted bag and specific maximum transmitted permission time are compared.This transmission time is in order to transmit the packet that has received, required All Time till this comparison phase.Transmit a packet required time and be restricted to and be no more than maximum transmitted and allow the time (MACExecTime), prevent 40~49 resources of using the same packet of transmission of network manager 20~23 and electric equipment.If the transmission time of data accepted bag allows the time just to carry out the stage (S70) greater than above-mentioned maximum transmitted, transmit bust thiss (SEND_FAILED) to network layer 70 from data link layer 80.If the transmission time of data accepted bag allows the time just to carry out the stage (S72) less than above-mentioned maximum transmitted.
In stage (S72), competition window (Wc) scope changes to, according to the defined width of cloth size of the transmission order of priority of data accepted bag laggard row order section (S61).
In stage (S72), in order to increase the probability of transfer of data, shown in table 7a, according to the transmission order of priority, the size reduction of competition window (Wc) scope by the minimizing width of cloth (Window Shift).
Table 7a
The transmission order of priority Value Competition window (Wc) Reduce the width of cloth
High (High) 0 0~5 0
In (Middle) 1 10~20 1
Standard (Normal) 2 10~30 1
Low (Low) 3 30~60 3
According to above-mentioned minimizing amplitude variation more during competition window (Wc) scope, for example during the intermediate conveyor order of priority, and during the 1st transmission, competition window (Wc) scope is 10~20.During the 2nd transmission, reduce lower limit and higher limit and make competition window (Wc) scope become 9~19, so can increase the probability of selecting less transportation lag (RandomDelayime) in the stage (S63).And then can make the state (Line_Status) of reaffirming network in the short period of time, and then increase the transmission success probability.
In stage (S72), can be according to the above-mentioned minimizing width of cloth (WindowShift) minimizing lower limit and any in the higher limit.For example can the fixed upper limit value, according to the number of transmissions and the specific minimizing width of cloth (WindowShift) only reduce lower limit repeatedly.
In stage (S72), lower limit can not be reduced to below the specific offset (offset), it is at interval above to make lower limit of each transmission order of priority keep the specific width of cloth.And then when transmits data packets is transmitted repeatedly, also can keep and transmit the corresponding different transmission success probability of order of priority difference.
Perhaps, in the stage (S72),, shown in table 7b,, the scope of competition window (Wc) is increased by increasing the width of cloth (WindowShift) size according to the transmission order of priority for the conflict (probability) that reduces the packet in the Network Transmission.
Table 7b
Transmission is preferential Value Competition window (Wc) Increase the width of cloth
High (High) 0 0~5 0
In 1 10~20 20
Standard 2 10~30 30
Low (Low) 3 30~60 60
According to above-mentioned increase amplitude variation more during competition window (Wc) scope, for example during the intermediate conveyor order of priority, and during the 1st transmission, competition window (Wc) scope is 10~20.But during the 2nd transmission, increase lower limit and higher limit and make the scope of competition window (Wc) become 30~40, so can increase the probability of selecting bigger transportation lag (RandomDelayime) in the stage (S63).And then can make the state (Line_Status) of reaffirming network in the short period of time, and then reduce the conflict (probability) of packet.
In addition, can be in the stage (S72) according to the above-mentioned increase width of cloth (WindowShift) increase lower limit and any in the higher limit.Fixing lower limit for example according to the number of transmissions and the specific increase width of cloth (WindowShift) repeatedly, only increases the situation of higher limit.
This data pack transmission method can comprise selectively that the stage, (S72), the stage, (S68 S69) and the stage (S71), so as shown in Figure 5, also might be the data transmission method that comprises all stages for S63, S64.It also may be the data transmission method that is omitted in the part stage.
As shown in Figure 6, performance is electric equipment 40~43 will transmit specific packet by network situation.Concrete manifestation be that electric equipment 41~43 is finished the data pack transmission method that the transmission of specific packet is prepared respectively when electric equipment 40 carries out transmission to specific packet.
Electric equipment 41~43 is fulfiled the stage (S61) respectively, and the state of network is confirmed.From the end of transmission of electric equipment 40, in the minimum data bag allowed blanking time, electric equipment 41~43 was fulfiled the stage (S62).Fulfil stage (S63), respectively according to the selected transportation lag of the transmission order of priority of the packet that has received thereafter.
Along with the elapsed time, the transportation lag of electric equipment 42 is the shortest, and (last electric equipment 41~43 carries out the state confirmation to network in transportation lag separately for S64, S65) transmits data packets so electric equipment 42 is in the stage.After electric equipment 42 had transmitted specific packet, electric equipment 41~43 was fulfiled the stage with above-mentioned method.
The invention effect
The present invention has the effect of the data packet transmission fulfiled. That is, meet the household electrical appliances in the household electric appliance network system, the communication specification of the functions such as control and supervision is provided, namely meet the data packet transmission of Network Control Protocol.
In addition, the present invention has the packet that a kind of handle receives from upper layer, the effect of effectively transmitting according to network state.
In addition, the present invention has the effect of conflicting between the packet that prevents on the network.
In addition, the present invention has the transmission of data Bao Shike according to the number of times termination transmission of repeatedly transmission, prevents the partially effect of usefulness of resource quilt.
In addition, the present invention has the transmission time termination transmission required according to data packet transmission, prevents that resource is by the effect of inclined to one side usefulness.
In addition, when the present invention has the transmission of data bag, applicable variable transportation lag, the transmission success probability of raising packet makes according to the more effective effect of the transmission of transmission preferences order.

Claims (48)

1, the data pack transmission method that is used for a kind of data link layer of household electric appliance network system, household electric appliance network system comprises at least more than one electric equipment, network manager and the network that is used for the communication between them, in described household electric appliance network system, described network is observed the procotol that comprises physical layer and data link layer and upper layer at least, the method of the data packet transmission that receives from described upper layer, it is characterized in that it comprised with the next stage as described data link layer to described physical layer:
The state of confirming described network is the 1st an idle the stage of recognition;
According to described the 1st the stage of recognition, select the stage of specific transportation lag;
Confirm that described network state is the 2nd idle true stage in the described transportation lag;
According to described the 2nd the stage of recognition to physical layer in the stage of the data packet transmission of described reception.
2, the data pack transmission method of data link layer according to claim 1 is characterized in that described the 1st the stage of recognition is to confirm in the minimum data inter-packet gap time whether idle described network state is.
3, the data pack transmission method of data link layer according to claim 1 is characterized in that described transmission method also comprises and judges that whether described packet is by the 1st judgement stage of normal transmission.
4, the data pack transmission method of data link layer according to claim 3 is characterized in that described transmission method also comprises according to described the 1st judgement, to the described data packet transmission result's of described upper layer transmission stage.
5, the data pack transmission method of data link layer according to claim 4, if it is characterized in that described data packets for transmission is by normal transmission in described the 1st judgement stage, then described transmission result comprises transmission success.
6, the data pack transmission method of data link layer according to claim 3, it is characterized in that described transmission method also is included in described the 2nd the stage of recognition, described network state is for taking or when the described the 1st judges the described packet in rank not by normal transmission, the number of transmissions repeatedly of the packet of described reception is increased to stage of specific number of times, described the number of transmissions repeatedly and rollback attempt the 1st comparison phase that the rollback number of attempt compares and according to described the 1st comparison phase to stage that described upper layer transmits the transmission result.
7, the data pack transmission method of data link layer according to claim 6, when it is characterized in that the number of transmissions repeatedly that increases described in described the 1st comparison phase more than described rollback number of attempt, described transmission result comprises bust this.
8, the data pack transmission method of data link layer according to claim 6, it is characterized in that described transmission method is in described the 1st comparison phase, when the number of transmissions repeatedly of described increase is less than described rollback number of attempt, carry out described the 1st the stage of recognition again.
9,, it is characterized in that described transmission method also comprises the transmission time of more described data accepted bag and the 2nd comparison phase that specific maximum transmitted allows the time according to the data pack transmission method of claim 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 described data link layers; The described network state of described the 1st the stage of recognition be take or described the 1st comparison phase described in the number of transmissions repeatedly that increases during less than described rollback number of attempt, carry out described the 2nd comparison phase.
10, the data pack transmission method of data link layer according to claim 9 is characterized in that described transmission method also comprised according to the stage of described the 2nd comparison phase to described upper layer transmission transmission result.
11, the data pack transmission method of data link layer according to claim 10, the transmission time that it is characterized in that the described data accepted bag of described the 2nd comparison phase, described transmission result comprised bust this when allowing the time greater than described maximum transmitted.
12, the data pack transmission method of data link layer according to claim 10, the transmission time that it is characterized in that the described data accepted bag of described the 2nd comparison phase during the time, is carried out each later stage of the 1st the stage of recognition less than described maximum transmitted permission again.
13, the data pack transmission method of data link layer according to claim 12, the selected stage that it is characterized in that described transportation lag is included in the window ranges of the described defined competition of data, services order of priority that has received, the stage of selected transportation lag.
14, the data pack transmission method of data link layer according to claim 13, it is characterized in that described transmission method also comprises carries out before described the 1st the stage of recognition again, and described window (Wc) scope is changed to stage according to the defined width of cloth size of service priority order of the described packet that has received.
15, the data pack transmission method of data link layer according to claim 14 is characterized in that the described change stage reduces to the size of the described width of cloth to the lower limit and/or the higher limit of described competition window (Wc) scope in order to increase the transmission success probability.
16, the data pack transmission method of data link layer according to claim 15 is characterized in that in the described change stage, described higher limit only is reduced to offset.
17, the data pack transmission method of data link layer according to claim 14 is characterized in that described change rank increase into described width of cloth size to higher limit and/or lower limit in the described competition window scope in order to reduce transmission collision.
18, the data pack transmission method of data link layer according to claim 17 is characterized in that in the described change stage, described lower limit is fixed.
19, according to the data pack transmission method of claim 3 or 4 or 5 described data link layers, it is characterized in that described the 1st judgement stage comprises the described stage of comparing with data packets for transmission that received, judge according to described comparative result whether the transmission of described data packets for transmission is normal.
20, the data pack transmission method of data link layer according to claim 1 is characterized in that described procotol is the interactive network control protocol.
21, the data pack transmission method that is used for a kind of data link layer of household electric appliance network system, household electric appliance network system comprises at least more than one electric equipment, network manager, and the network that is used for the communication between them, in described household electric appliance network system, described network is observed the procotol that comprises physical layer and data link layer and upper layer at least; The transmission method of the data packet transmission that receives from described upper layer, it is characterized in that it comprised with the next stage as described data link layer to described physical layer:
The state of confirming described network is the 1st an idle the stage of recognition;
According to the result of described the 1st the stage of recognition, to described physical layer in the stage of the described data packet transmission that has received;
Judge the described data packet transmission that has received normal the 1st judgement stage whether.
22, the data pack transmission method of data link layer according to claim 21 is characterized in that whether idle described the 1st the stage of recognition be to described network state in the minimum data inter-packet gap time, the stage of confirming.
23, the data pack transmission method of data link layer according to claim 21 is characterized in that described transmission method also comprises the result according to described the 1st judgement stage, to the described data packet transmission result's of described upper layer transmission stage.
24, the data pack transmission method of data link layer according to claim 23 is characterized in that in described the 1st judgement stage, during the transmission normal termination of described packet, described transmission result comprises transmission success.
25, the data pack transmission method of data link layer according to claim 21 is characterized in that described data pack transmission method also comprises following each stage; If promptly described packet then is increased to the number of transmissions repeatedly of the packet of described reception the stage of specific number of times not by normal transmission in described the 1st judgement stage; To described the number of transmissions repeatedly that has increased and rollback number of attempt, the 1st comparison phase that compares; According to the result of described the 1st comparison phase, to the stage that described upper layer transmits the transmission result.
26, the data pack transmission method of data link layer according to claim 25, when it is characterized in that the number of transmissions repeatedly that increases described in described the 1st comparison phase more than described rollback number of attempt, described transmission result comprises bust this.
27,, it is characterized in that described transmission method also comprises following each stage according to the data pack transmission method of claim 21 or 22 or 23 or 24 or 25 or 26 described data link layers; The transmission time of more described data accepted bag and specific maximum transmitted allow the 2nd comparison phase of time; Confirm that at described the 1st the stage of recognition described network state is to take or the described the number of transmissions repeatedly that has increased of described the 1st comparison phase during less than described rollback number of attempt, fulfils described the 2nd comparison phase.
28, the data pack transmission method of data link layer according to claim 27 is characterized in that described transmission method also comprised according to the stage of described the 2nd comparison phase to described upper layer transmission transmission result.
29, the data pack transmission method of data link layer according to claim 28, the transmission time that it is characterized in that the described data accepted bag of described the 2nd comparison phase, described transmission result comprised bust this when allowing the time greater than described maximum transmitted.
30, the data pack transmission method of data link layer according to claim 28, the transmission time that it is characterized in that the described data accepted bag of described the 2nd comparison phase during the time, is carried out each later stage of the 1st the stage of recognition less than described maximum transmitted permission again.
31, the data pack transmission method of data link layer according to claim 21, it is characterized in that described the 1st judgement stage comprises the described stage of comparing with data packets for transmission that received, according to described comparative result, judge whether the transmission of described data packets for transmission is normal.
32, the data pack transmission method of data link layer according to claim 21 is characterized in that described procotol is the interactive network control protocol.
33, the data pack transmission method that is used for a kind of data link layer of household electric appliance network system, household electric appliance network system comprise at least more than one electric equipment, network manager and the network that is used for the communication between them; In described household electric appliance network system, described network is observed the procotol that comprises physical layer and data link layer and upper layer at least; The method of the data packet transmission that receives from described upper layer, it is characterized in that it comprised with the next stage as described data link layer to described physical layer:
The state of confirming described network is the 1st an idle the stage of recognition;
According to the service priority order of the packet that has received, in defined specific competition window scope, the stage of selected transportation lag;
In described selected transportation lag, whether the state of described network is in idle condition, the 2nd the stage of recognition of confirming;
According to described the 2nd the stage of recognition to physical layer in the stage of the data packet transmission of described reception.
34, the data pack transmission method of data link layer according to claim 33 is characterized in that in described the 1st the stage of recognition, in the minimum data inter-packet gap time, confirms whether idle described network state is.
35, the data pack transmission method of data link layer according to claim 33 is characterized in that to the normal transmission of described packet whether described transmission method also comprises the judgement stage of judging.
36, the data pack transmission method of data link layer according to claim 35 is characterized in that described transmission method also comprised according to the described judgement stage, to the described data packet transmission result's of described upper layer transmission stage.
37, the data pack transmission method of data link layer according to claim 35 is characterized in that described transmission method in the described judgement stage, and described data packets for transmission is during by normal transmission, and described transmission result comprises transmission success.
38,, it is characterized in that described transmission method also comprises the comparison phase that transmission time of more described data accepted bag and specific maximum transmitted permission time compare according to the data pack transmission method of claim 33 or 34 or 35 or 36 or 37 described data link layers; In the described network state of described the 1st the stage of recognition is to take or the affirmation result of described the 2nd the stage of recognition when failing normal transmission for described packet, carries out described comparison phase.
39,, it is characterized in that described transmission method also comprised according to the stage of described comparison phase to described upper layer transmission transmission result according to the data pack transmission method of the described data link layer of claim 38.
40, according to the data pack transmission method of the described data link layer of claim 39, when it is characterized in that the data packet transmission time of accepting described in the described comparison phase allows the time greater than described maximum transmitted, described transmission result comprises bust this.
41, according to the data pack transmission method of the described data link layer of claim 39, it is characterized in that described data pack transmission method when the transmission time of the described data accepted bag of described the 2nd comparison phase allows the time less than described maximum transmitted, carries out the 1st the stage of recognition each stage afterwards again.
42, according to the data pack transmission method of the described data link layer of claim 38, it is characterized in that described transmission method also is included in carries out before described the 1st the stage of recognition again, described window (Wc) scope, by the amplitude size of definition, the stage of changing; And the amplitude of described definition is the amplitude that the service priority order according to the described packet that has received defines.
43, according to the data pack transmission method of the described data link layer of claim 42, it is characterized in that the described change stage in order to increase the transmission success probability, the lower limit of described competition window and/or higher limit are reduced to the size of the described width of cloth.
44, according to the data pack transmission method of the described data link layer of claim 43, it is characterized in that in the described change stage, allow the size of described higher limit reduce by the offset size.
45,, it is characterized in that the described change stage increases higher limit and/or lower limit in the described competition window scope by described range value in order to reduce transmission collision according to the data pack transmission method of the described data link layer of claim 42.
46,, it is characterized in that in the described change stage, described lower limit is fixed as the data pack transmission method of the data link layer of feature according to the data pack transmission method of the described data link layer of claim 45.
47, according to the data pack transmission method of claim 35 or 36 or 37 described data link layers, it is characterized in that the described judgement stage comprises the described stage of comparing with data packets for transmission that received, according to described comparative result, judge whether the transmission of described data packets for transmission is normal.
48, the data pack transmission method of data link layer according to claim 33 is characterized in that described procotol is the interactive network control protocol.
CNA2004100718210A 2004-09-06 2004-09-06 Transmission of data link layer Pending CN1747441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2004100718210A CN1747441A (en) 2004-09-06 2004-09-06 Transmission of data link layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2004100718210A CN1747441A (en) 2004-09-06 2004-09-06 Transmission of data link layer

Publications (1)

Publication Number Publication Date
CN1747441A true CN1747441A (en) 2006-03-15

Family

ID=36166773

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2004100718210A Pending CN1747441A (en) 2004-09-06 2004-09-06 Transmission of data link layer

Country Status (1)

Country Link
CN (1) CN1747441A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107534896A (en) * 2015-05-14 2018-01-02 有线电视实验室公司 Hybrid automatic repeat-request in Listen Before Talk system(HARQ)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107534896A (en) * 2015-05-14 2018-01-02 有线电视实验室公司 Hybrid automatic repeat-request in Listen Before Talk system(HARQ)

Similar Documents

Publication Publication Date Title
CN1820457A (en) Home network system
CN101080704A (en) AV server
CN1160909C (en) Digital home network system
CN1957566A (en) Server for routing connection to client device
CN101056277A (en) Method for transferring a content in dlna system
WO2011103728A1 (en) Method and system for m2m service group resource configuration and allocation
CN102665134B (en) Method for realizing DLNA media sharing by using set-top box
CN109561340A (en) Multimedia service processing method, equipment, multimedia service group and storage medium
CN1466064A (en) Method for discovering equipment in dynamic network combination of family network
CN103442287B (en) STB network extends player method automatically
CN1465164A (en) Information processing apparatus and method
CN105246128B (en) The network-building method and device of a kind of intelligent terminal
CN1747441A (en) Transmission of data link layer
CN1231850C (en) Intelligent domestic network system bus interface unit
CN1767467A (en) Household network system
CN1767459A (en) Household network system and its electrical appliance equipment
CN1767472A (en) Household network system
CN1747412A (en) Household network system
CN1767470A (en) Household network system
CN1767465A (en) Household network system
CN1767481A (en) Household network system and information acquisition method and electrical appliance
CN1747411A (en) Household network system
CN1747410A (en) Household network system and repeating data packet discrimination therefor
CN1767469A (en) Household network system
CN1747416A (en) Household network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20060315