CN104079371A - Method, equipment and system of data communication - Google Patents
Method, equipment and system of data communication Download PDFInfo
- Publication number
- CN104079371A CN104079371A CN201310103363.3A CN201310103363A CN104079371A CN 104079371 A CN104079371 A CN 104079371A CN 201310103363 A CN201310103363 A CN 201310103363A CN 104079371 A CN104079371 A CN 104079371A
- Authority
- CN
- China
- Prior art keywords
- receiving device
- state variable
- message
- sequence number
- communications status
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
Abstract
The invention provides a method, equipment and a system of data communication. The method comprises the following steps that: when a message is received, receiving end equipment judges whether the own communication state is in the initial state, and a serial number, which is synchronous to a sending state variable of sending end equipment, is carried by the message; if so, the receiving end equipment updates the communication state according to the serial number carried by the message, so that the communication state is synchronous to the sending state variable of the sending end equipment. According to the method, the equipment and the system of data communication, which are provided by the invention, the unnecessary data loss can be effectively avoided and the access time delay can be reduced.
Description
Technical field
The present invention relates to the network communications technology, relate in particular to a kind of data communications method, equipment and system, belong to the communications field.
Background technology
Along with the development of the communication technology, man-to-man simple communication pattern cannot meet communication requirement instantly gradually, so the trunking communication pattern of one-to-many or multi-to-multi is arisen at the historic moment.
(the Radio Link Control of wireless link control in prior art, RLC) layer protocol is safeguarded reciprocity entity recipient and transmit leg, for non-common signaling data, adopt Unacknowledged Mode (Unacknowledged Mode, and affirmation mode (Acknowledged Mode UM), AM), by peer-entities ensure receive message can submit according to the order of sequence upper strata.RLC peer-entities ensures the variable that maintenance is consistent, makes transmit leg correctly send according to the order of sequence data, and recipient sorts to the data that receive, and is correctly submitted to upper-layer protocol.For example UM pattern, transmit leg is safeguarded send state variable (VT (S)), recipient safeguards that maximum receives state variable (VR (UH)) and accepting state variable (VR (UR)).Initial condition VT (S), VR (UH), VR (UR) are 0.RLC regulation is when receiving sequence number (Sequence Number from lower floor, SN) unacknowledged mode data (the Unacknowledged Mode Data of=X, UMD) protocol Data Unit (UMD Protocol Data Unit, PDU) time, if the UMD PDU of VR (UR) <X<VR (UH) is received before, or (VR (UH)-UM_Window_Size(UM receive window size))≤X < VR (UR), abandon the UMD PDU that this receives, VT (S) value that wherein X is transmit leg.As can be seen here, prior art is to be based upon in the situation that both sides' state variable is consistent, if when sending and receiving side's state variable is inconsistent, there will be and extremely abandons data.
But in trunking communication process or in other practical application scenes, all likely there is receiving terminal and the inconsistent situation of transmitting terminal state variable.Taking trunking communication as example, when subscriber equipment switches to new cluster by former cluster, or while having new user to add in cluster, the user who switch/newly adds is difficult to consistent with miscellaneous equipment hold mode variable in trunking communication, thereby caused unnecessary data to abandon, and increase access delay.
Summary of the invention
For the defect existing in prior art, the invention provides a kind of data communications method, equipment and system, for avoiding unnecessary data to abandon and reducing access delay.
According to an aspect of the present invention, provide a kind of data communications method, comprising:
In the time receiving message, receiving device judges whether the communications status of self is initial condition, and described message carries the sequence number of synchronizeing with the send state variable of sending ending equipment;
If so, communications status described in the sequence number update that described receiving device carries according to described message, so that described communications status is synchronizeed with the send state variable of described sending ending equipment.
According to a further aspect in the invention, provide a kind of receiving device, comprising:
Judge module, in the time receiving message, judges whether the communications status of receiving device is initial condition, and described message carries the sequence number of synchronizeing with the send state variable of sending ending equipment;
Update module, if be judged as YES for described judge module, communications status described in the sequence number update carrying according to described message, so that described communications status is synchronizeed with the send state variable of described sending ending equipment.
According to another aspect of the invention, provide a kind of data communication system, comprise receiving device provided by the invention, and the sending ending equipment of communicating by letter with described receiving device.
According to data communications method provided by the invention, equipment and system, because receiving device is in the time receiving message, the communications status of knowing self if judge is initial condition, the sequence number carrying according to message upgrades the communications status of self, Fast synchronization with realization with sending ending equipment, thereby effectively avoid the data that cause because receiving device is asynchronous with sending ending equipment state to abandon, reduced access delay.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of the data communications method of one embodiment of the invention.
Fig. 2 is the schematic flow sheet of the data communications method of another embodiment of the present invention.
Fig. 3 is the structural representation of the receiving device of one embodiment of the invention.
Fig. 4 is the system architecture diagram of the data communication system of one embodiment of the invention.
Embodiment
Fig. 1 is the schematic flow sheet of the data communications method of one embodiment of the invention, and as shown in Figure 1, this data communications method comprises:
Step S101, in the time receiving message, receiving device judges whether the communications status of self is initial condition, and described message carries the sequence number of synchronizeing with the send state variable of sending ending equipment;
Step S102, the sequence number update communications status that if so, receiving device carries according to described message, so that described communications status is synchronizeed with the send state variable of described sending ending equipment.
In above-mentioned steps, receiving device and sending ending equipment can be the arbitrary equipment in network, and can adopt any data transmission pattern to carry out data communication, and such as UM or AM etc., all do not limit in the embodiment of the present invention.
Particularly, sending ending equipment sends and carries the SN of synchronizeing with the send state variable of self to receiving device, and after transmission message, the send state variable of self maintained is upgraded.For example, current VT (S) value of sending ending equipment is 25, and the SN carrying in the message now sending is 25, and complete message send after VT (S) value is added to 1, be that VT (S) value is 26, and upper while once sending message, the SN of message is set to 26.
In the time that receiving device receives this message, parse the entrained SN of this message, and judge whether the communications status of self is initial condition.More specifically, what receiving device for example set in advance by identification is used to indicate the status identifier that communications status is initial condition or synchronous regime, or determines whether initial condition by the communication correlated variables of identifying self.For example, status identifier takies 1 bit, and 0 represents initial condition, and 1 represents synchronous regime, if receiving device to identify current status identifier be 0, judgement is known from as initial condition; Again for example, under UM pattern, receiving device judges whether the VR (UH) of self maintained and VR (UR) are 0, if so, judges and knows that the communications status of self is initial condition.
After receiving device determines that the communications status of self is initial condition, the SN entrained according to message upgrades the communications status of self, so that communications status synchronizes with sending ending equipment, thereby all can carry out normal process for this message and the follow-up message from sending ending equipment receiving.
According to the data communications method of above-described embodiment, because receiving device is in the time receiving message, the communications status of knowing self if judge is initial condition, the sequence number carrying according to message upgrades communications status, Fast synchronization with realization with sending ending equipment, thereby effectively avoid the data that cause because receiving device is asynchronous with sending ending equipment state to abandon, reduced access delay.
In addition, taking trunking communication as example, when receiving device is to postpone while adding the new user of trunking communication, communications status is initial condition, but because miscellaneous equipment in cluster is non-initial condition, the entrained SN of message that therefore this new user receives is not 0 conventionally, for example, be 15.Under this scene, if process according to prior art, because falling into, message abandons window, i.e. (VR (UH)-UM_Window_Size(UM receive window size))≤X < VR (UR), receiving device abandons this message receiving, and proceed to abandon for the follow-up message receiving, until the entrained SN of message is again circulated at 0 o'clock after arrival maximum, receiving device can be deposited message to buffer memory, before this, this new use cannot normally be listened to the information of broadcasting in cluster per family.And according to the data communications method of above-described embodiment, because receiving device can be adding while receiving first message after cluster, by the SN that carries according to message, the state of self is carried out to self adaptation synchronous, thereby complete state synchronized fast with sending ending equipment, the time delay of data communication while greatly having reduced initial access, significantly improve user's perception, and effectively saved the communication resource.
Further, in the data communications method of above-described embodiment, the sequence number update communications status that receiving device carries according to message specifically comprises:
Status identifier is updated to synchronous regime, and described status identifier is used to indicate described receiving device in initial condition or synchronous regime;
The sequence number update maximum of carrying according to described message is received state variable and accepting state variable.
Further, described sequence number update maximum of carrying according to described message receives that state variable and accepting state variable specifically comprise:
Described maximum is received to state variable is updated to the sequence number that described message carries and adds 1;
Be that the sequence number that described message carries adds 1 by described accepting state variable update.
For example, under UM pattern, if the SN that message carries is 15, receiving device is updated to 1 by the status identifier of self, and VR (UR) and VR (UH) are all updated to 16; Similarly, under AM pattern, receiving device is updated to 1 by the status identifier of self, and VR (R) and VR (H) are all updated to 16.
Fig. 2 is the schematic flow sheet of the data communications method of another embodiment of the present invention, and as shown in Figure 2, the method comprises:
Step S201, receiving device receives message;
Step S202, receiving device judges and self whether in trunking communication, if perform step S203, performs step if not S205;
Can control flexibly receiving device by this step and whether enable and the self adaptation synchronization mechanism of sending ending equipment, for example, only trunking communication be enabled.
Step S203, receiving device judges that whether self is in initial condition, if perform step S204, performs step if not S205;
Step S204, status identifier is updated to synchronous regime by receiving device, and according to the sequence number of message, maximum is received to state variable value and accepting state variate-value are all updated to sequence number and add 1, performs step afterwards S205;
Step S205, receiving device is pressed this message of predetermined processing of RLC;
Particularly, for example judge according to the regulation of RLC whether this message is exception message, be whether message is in the scope in (VR (UH)-UM_Window_Size)≤X < VR (UR), if within the scope of this, this message is judged as exception message and falls into and abandon window, abandons.If or meet VR (UR) <X<VR (UH), but this message is received before, also abandons.Otherwise, message is carried out to buffer memory.
Fig. 3 is the structural representation of the receiving device of one embodiment of the invention.As shown in Figure 3, this receiving device comprises:
Judge module 31, in the time receiving message, judges whether the communications status of receiving device is initial condition, and described message carries the sequence number of synchronizeing with the send state variable of sending ending equipment;
Update module 32, if be judged as YES for judge module 31, communications status described in the sequence number update carrying according to described message, so that described communications status is synchronizeed with the send state variable of described sending ending equipment.
The flow process of the receiving device executing data communication of the embodiment of the present invention is identical with the data communications method of above-described embodiment, so locate to repeat no more.And this receiving device and corresponding sending ending equipment can be the arbitrary equipment in network, and can adopt any data transmission pattern to carry out data communication, and such as UM or AM etc., all do not limit in the embodiment of the present invention.
According to the receiving device of the embodiment of the present invention, due in the time receiving message, the communications status of knowing self if judge is initial condition, the sequence number carrying according to message upgrades communications status, Fast synchronization with realization with sending ending equipment, thereby effectively avoid the data that cause because receiving device is asynchronous with sending ending equipment state to abandon, reduced access delay.
Further, in the receiving device of above-described embodiment, described judge module also for: judge that whether described receiving device is in trunking communication, and in the time being judged as YES, judge whether described communications status is initial condition.
According to the receiving device of the present embodiment, can realize more neatly the On/Off of self adaptation synchronization mechanism, only in the time being positioned at trunking communication and initial access set group communication, carrying out and synchronize with the self adaptation of sending ending equipment.
Further, in the receiving device of above-described embodiment, update module specifically comprises:
Identifier updating block, for status identifier is updated to synchronous regime, described status identifier is used to indicate described receiving device in initial condition or synchronous regime;
Variable update unit, receives state variable and accepting state variable for the sequence number update maximum of carrying according to described message.
Further, in the receiving device of above-described embodiment, described variable update unit specifically for: described maximum is received to state variable is updated to the sequence number that described message carries and adds 1; And be that the sequence number that described message carries adds 1 by described accepting state variable update.
Fig. 4 is the system architecture diagram of the data communication system of one embodiment of the invention.As shown in Figure 4, this data communication system comprises the receiving device 41 of the arbitrary embodiment of the present invention, and the sending ending equipment 42 of communicating by letter with described receiving device 41.
Wherein, receiving device 41 and sending ending equipment 42 can be the arbitrary equipment in network, and can adopt any data transmission pattern to carry out data communication, and such as UM or AM etc., all do not limit in the embodiment of the present invention.
According to the data communication system of the embodiment of the present invention, because receiving device is in the time receiving message, the communications status of knowing self if judge is initial condition, the sequence number carrying according to message upgrades communications status, Fast synchronization with realization with sending ending equipment, thereby effectively avoid the data that cause because receiving device is asynchronous with sending ending equipment state to abandon, reduced access delay.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of program command.Aforesaid program can be stored in a computer read/write memory medium.This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (9)
1. a data communications method, is characterized in that, comprising:
In the time receiving message, receiving device judges whether the communications status of self is initial condition, and described message carries the sequence number of synchronizeing with the send state variable of sending ending equipment;
If so, communications status described in the sequence number update that described receiving device carries according to described message, so that described communications status is synchronizeed with the send state variable of described sending ending equipment.
2. data communications method according to claim 1, it is characterized in that, described receiving device judges whether the communications status of self is that initial condition specifically comprises: judge that self is whether in trunking communication, and in the time being judged as YES, judge whether described communications status is initial condition.
3. according to data communications method described in claim 1 or 2, it is characterized in that, communications status specifically comprises described in the sequence number update that described receiving device carries according to described message:
Status identifier is updated to synchronous regime, and described status identifier is used to indicate described receiving device in initial condition or synchronous regime;
The sequence number update maximum of carrying according to described message is received state variable and accepting state variable.
4. data communications method according to claim 3, is characterized in that, described sequence number update maximum of carrying according to described message receives that state variable and accepting state variable specifically comprise:
Described maximum is received to state variable is updated to the sequence number that described message carries and adds 1;
Be that the sequence number that described message carries adds 1 by described accepting state variable update.
5. a receiving device, is characterized in that, comprising:
Judge module, in the time receiving message, judges whether the communications status of receiving device is initial condition, and described message carries the sequence number of synchronizeing with the send state variable of sending ending equipment;
Update module, if be judged as YES for described judge module, communications status described in the sequence number update carrying according to described message, so that described communications status is synchronizeed with the send state variable of described sending ending equipment.
6. receiving device according to claim 5, is characterized in that, described judge module also for: judge that whether described receiving device is in trunking communication, and in the time being judged as YES, judge whether described communications status is initial condition.
7. according to the receiving device described in claim 5 or 6, it is characterized in that, described update module specifically comprises:
Identifier updating block, for status identifier is updated to synchronous regime, described status identifier is used to indicate described receiving device in initial condition or synchronous regime;
Variable update unit, receives state variable and accepting state variable for the sequence number update maximum of carrying according to described message.
8. receiving device according to claim 7, is characterized in that, described variable update unit specifically for: described maximum is received to state variable is updated to the sequence number that described message carries and adds 1; And be that the sequence number that described message carries adds 1 by described accepting state variable update.
9. a data communication system, is characterized in that, comprises the arbitrary described receiving device of claim 5-8, and the sending ending equipment of communicating by letter with described receiving device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310103363.3A CN104079371B (en) | 2013-03-27 | 2013-03-27 | A kind of data communications method, equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310103363.3A CN104079371B (en) | 2013-03-27 | 2013-03-27 | A kind of data communications method, equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104079371A true CN104079371A (en) | 2014-10-01 |
CN104079371B CN104079371B (en) | 2018-05-08 |
Family
ID=51600434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310103363.3A Active CN104079371B (en) | 2013-03-27 | 2013-03-27 | A kind of data communications method, equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104079371B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104768136A (en) * | 2015-04-21 | 2015-07-08 | 四川西结微波科技发展有限责任公司 | SN processing method for cluster service lagged access RLC |
CN105007137A (en) * | 2014-04-23 | 2015-10-28 | 电信科学技术研究院 | Method for processing data packet in RLC layer and RLC entity |
CN108347308A (en) * | 2017-01-22 | 2018-07-31 | 成都鼎桥通信技术有限公司 | The method of reseptance and device of point multipoint message traffic |
CN110995612A (en) * | 2019-11-25 | 2020-04-10 | 浙江中控技术股份有限公司 | Message processing method, system and communication equipment |
WO2022085664A1 (en) * | 2020-10-21 | 2022-04-28 | シャープ株式会社 | Terminal device, base station device, and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030223385A1 (en) * | 2002-05-06 | 2003-12-04 | Jiang Sam Shiaw-Shiang | Abnormal case handling for acknowledged mode transmission and unacknowledged mode transmission |
CN101102222A (en) * | 2007-06-05 | 2008-01-09 | 中兴通讯股份有限公司 | A communication network connection method and its device |
CN101127585A (en) * | 2007-08-08 | 2008-02-20 | 北京佳讯飞鸿电气股份有限公司 | A retransmission mechanism for ISDN user-network interface data link layer |
CN101325539A (en) * | 2007-06-15 | 2008-12-17 | 中兴通讯股份有限公司 | Dependable communication method for LAN |
CN102104535A (en) * | 2009-12-18 | 2011-06-22 | 华为技术有限公司 | Method, device and system for transmitting PDCP data |
CN102137435A (en) * | 2010-10-21 | 2011-07-27 | 上海华为技术有限公司 | Method, device and system for processing data |
-
2013
- 2013-03-27 CN CN201310103363.3A patent/CN104079371B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030223385A1 (en) * | 2002-05-06 | 2003-12-04 | Jiang Sam Shiaw-Shiang | Abnormal case handling for acknowledged mode transmission and unacknowledged mode transmission |
CN101102222A (en) * | 2007-06-05 | 2008-01-09 | 中兴通讯股份有限公司 | A communication network connection method and its device |
CN101325539A (en) * | 2007-06-15 | 2008-12-17 | 中兴通讯股份有限公司 | Dependable communication method for LAN |
CN101127585A (en) * | 2007-08-08 | 2008-02-20 | 北京佳讯飞鸿电气股份有限公司 | A retransmission mechanism for ISDN user-network interface data link layer |
CN102104535A (en) * | 2009-12-18 | 2011-06-22 | 华为技术有限公司 | Method, device and system for transmitting PDCP data |
CN102137435A (en) * | 2010-10-21 | 2011-07-27 | 上海华为技术有限公司 | Method, device and system for processing data |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105007137A (en) * | 2014-04-23 | 2015-10-28 | 电信科学技术研究院 | Method for processing data packet in RLC layer and RLC entity |
CN105007137B (en) * | 2014-04-23 | 2018-10-23 | 电信科学技术研究院 | A kind of data package processing method and RLC entities of rlc layer |
CN104768136A (en) * | 2015-04-21 | 2015-07-08 | 四川西结微波科技发展有限责任公司 | SN processing method for cluster service lagged access RLC |
CN108347308A (en) * | 2017-01-22 | 2018-07-31 | 成都鼎桥通信技术有限公司 | The method of reseptance and device of point multipoint message traffic |
CN110995612A (en) * | 2019-11-25 | 2020-04-10 | 浙江中控技术股份有限公司 | Message processing method, system and communication equipment |
CN110995612B (en) * | 2019-11-25 | 2023-08-29 | 浙江中控技术股份有限公司 | Message processing method, system and communication equipment |
WO2022085664A1 (en) * | 2020-10-21 | 2022-04-28 | シャープ株式会社 | Terminal device, base station device, and method |
Also Published As
Publication number | Publication date |
---|---|
CN104079371B (en) | 2018-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102546784B (en) | Method for conducting batch upgrading for device firmware based on controller area network (CAN) bus | |
CN108293060B (en) | Method and system for updating firmware of slave station, master station and slave station | |
CN101820435B (en) | Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system | |
CN104079371A (en) | Method, equipment and system of data communication | |
WO2006051159A1 (en) | Method and device arrangement for managing the use profile of a terminal device | |
CN105338078A (en) | Data storage method and device used for storing system | |
US11929827B2 (en) | Apparatus and method for transmitting synchronization information in communication system | |
CN105391486A (en) | Spaceborne data communication method and device | |
CN113721966A (en) | Node upgrading method and device, storage medium and electronic device | |
KR101428778B1 (en) | Apparatus and method for upgrading firmware of automatic meter reading terminal on the remote | |
CN103178943A (en) | Method, device and system for link adaption | |
CN109600853B (en) | Uplink data transmission method and device | |
CN106792844B (en) | Data transmission method and device | |
CN103179016B (en) | Method, system and server that a kind of many example terminal roaming configuration datas upgrade | |
CN103973417A (en) | Data transmission method and user equipment | |
US11212220B2 (en) | Optimized reconciliation in a controller-switch network | |
CN107872479B (en) | Cloud management platform and controller integration method and system and related modules | |
CN104185169A (en) | Stator synchronization method of air write card, device and system thereof | |
CN104754550A (en) | Method, device and system for transferring Diameter messages | |
CN113396573B (en) | Migration of computing services | |
CN1756261B (en) | Buffer area managing method based on SCTP end-point | |
CN102695128A (en) | Method, device and system for sending notification command in group call service | |
CN102013918B (en) | Method, system and device for transmitting data | |
CN107438257B (en) | IR frame format conversion method and device for BBU interface board of baseband processing unit | |
CN104581978A (en) | User terminal and channel access method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |